stripe 20.1.0 → 20.2.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +4 -0
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/errors.rb +6 -0
- data/lib/stripe/event_types.rb +193 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_data_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/events/v2_signals_account_evaluation_complete_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +53 -0
- data/lib/stripe/params/account_create_params.rb +299 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_session_create_params.rb +191 -0
- data/lib/stripe/params/account_update_params.rb +261 -0
- data/lib/stripe/params/balance_settings_update_params.rb +9 -1
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1646 -0
- data/lib/stripe/params/charge_update_params.rb +1646 -0
- data/lib/stripe/params/checkout/session_create_params.rb +87 -3
- data/lib/stripe/params/checkout/session_update_params.rb +161 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +92 -0
- data/lib/stripe/params/coupon_create_params.rb +17 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +38 -1
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +64 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +772 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +33 -1
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_update_params.rb +64 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/cardholder_update_params.rb +4 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_create_params.rb +2083 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2087 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1643 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +3038 -85
- data/lib/stripe/params/payment_intent_create_params.rb +3050 -97
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +297 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +37 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3039 -55
- data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +88 -0
- data/lib/stripe/params/payment_plan_create_params.rb +128 -0
- data/lib/stripe/params/payment_plan_list_params.rb +25 -0
- data/lib/stripe/params/payment_plan_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_plan_update_params.rb +105 -0
- data/lib/stripe/params/price_update_params.rb +19 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/quote_create_params.rb +809 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +817 -4
- data/lib/stripe/params/radar/billing_evaluation_create_params.rb +231 -0
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_list_params.rb +37 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +122 -3
- data/lib/stripe/params/setup_intent_create_params.rb +122 -3
- data/lib/stripe/params/setup_intent_update_params.rb +122 -3
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +71 -0
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_create_params.rb +133 -6
- data/lib/stripe/params/subscription_item_create_params.rb +50 -3
- data/lib/stripe/params/subscription_item_update_params.rb +33 -2
- data/lib/stripe/params/subscription_schedule_amend_params.rb +578 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +167 -5
- data/lib/stripe/params/subscription_update_params.rb +116 -5
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +13 -1
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +92 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/transfer_create_params.rb +4 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +19 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +253 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +75 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +392 -5
- data/lib/stripe/params/v2/core/account_token_create_params.rb +29 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +376 -4
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +47 -0
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +17 -0
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +53 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +21 -0
- data/lib/stripe/params/v2/data/query_run_create_params.rb +50 -0
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +23 -0
- data/lib/stripe/params/v2/data/report_list_params.rb +23 -0
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/data/report_run_create_params.rb +48 -0
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +23 -0
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/data/schema_list_params.rb +26 -0
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +30 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +35 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +21 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +113 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +40 -1
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +22 -1
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +112 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_disable_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_generate_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_activity_create_params.rb +200 -0
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +192 -0
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +35 -0
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +10 -0
- data/lib/stripe/params.rb +364 -0
- data/lib/stripe/resources/account.rb +176 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/balance_settings.rb +4 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +4 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/capital/financing_offer.rb +144 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +18 -1
- data/lib/stripe/resources/charge.rb +227 -1
- data/lib/stripe/resources/checkout/session.rb +91 -3
- data/lib/stripe/resources/confirmation_token.rb +131 -0
- data/lib/stripe/resources/coupon.rb +26 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer.rb +16 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/dispute.rb +18 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +45 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +24 -1
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +92 -0
- data/lib/stripe/resources/fx_quote.rb +149 -0
- data/lib/stripe/resources/invoice.rb +106 -1
- data/lib/stripe/resources/invoice_item.rb +2 -0
- data/lib/stripe/resources/invoice_line_item.rb +40 -0
- data/lib/stripe/resources/issuing/authorization.rb +16 -0
- data/lib/stripe/resources/issuing/card.rb +16 -0
- data/lib/stripe/resources/issuing/cardholder.rb +16 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +16 -1
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +18 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +12 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +927 -0
- data/lib/stripe/resources/payment_attempt_record.rb +177 -1
- data/lib/stripe/resources/payment_intent.rb +1588 -10
- data/lib/stripe/resources/payment_method.rb +151 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_plan.rb +213 -0
- data/lib/stripe/resources/payment_record.rb +177 -1
- data/lib/stripe/resources/price.rb +20 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/quote.rb +569 -2
- data/lib/stripe/resources/quote_line.rb +525 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1241 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +968 -0
- data/lib/stripe/resources/radar/billing_evaluation.rb +281 -0
- data/lib/stripe/resources/radar/value_list_item.rb +15 -1
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +7 -0
- data/lib/stripe/resources/reserve/plan.rb +7 -0
- data/lib/stripe/resources/reserve/release.rb +12 -0
- data/lib/stripe/resources/setup_attempt.rb +35 -0
- data/lib/stripe/resources/setup_intent.rb +38 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +681 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +310 -0
- data/lib/stripe/resources/source.rb +54 -0
- data/lib/stripe/resources/subscription.rb +73 -0
- data/lib/stripe/resources/subscription_item.rb +22 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/registration.rb +16 -1
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/token.rb +15 -1
- data/lib/stripe/resources/transfer.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +710 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/core/account.rb +802 -2
- data/lib/stripe/resources/v2/core/approval_request.rb +395 -0
- data/lib/stripe/resources/v2/core/batch_job.rb +536 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +91 -1
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +26 -1
- data/lib/stripe/resources/v2/data/query_run.rb +255 -0
- data/lib/stripe/resources/v2/data/report.rb +104 -0
- data/lib/stripe/resources/v2/data/report_run.rb +246 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +142 -0
- data/lib/stripe/resources/v2/data/schema.rb +121 -0
- data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
- data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +368 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +4 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +50 -1
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +33 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +2 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +63 -1
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +255 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +31 -1
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +260 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +50 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +2 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +137 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +2 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources/v2/signals/account_activity.rb +252 -0
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +249 -0
- data/lib/stripe/resources/v2/signals/account_signal.rb +184 -0
- data/lib/stripe/resources.rb +341 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_service.rb +15 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/coupon_service.rb +14 -0
- data/lib/stripe/services/customer_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/invoice_service.rb +11 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -0
- data/lib/stripe/services/payment_plan_service.rb +50 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/promotion_code_service.rb +29 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/radar/billing_evaluation_service.rb +19 -0
- data/lib/stripe/services/radar_service.rb +2 -1
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +30 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +45 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +2 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +11 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +5 -1
- data/lib/stripe/services/v2/core/approval_request_service.rb +58 -0
- data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
- data/lib/stripe/services/v2/core_service.rb +3 -1
- data/lib/stripe/services/v2/data/query_run_service.rb +34 -0
- data/lib/stripe/services/v2/data/report_run_service.rb +36 -0
- data/lib/stripe/services/v2/data/report_service.rb +34 -0
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data/schema_service.rb +32 -0
- data/lib/stripe/services/v2/data_service.rb +19 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +27 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +35 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +61 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +13 -0
- data/lib/stripe/services/v2/money_management_service.rb +5 -1
- data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
- data/lib/stripe/services/v2/signals/account_activity_service.rb +43 -0
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +32 -0
- data/lib/stripe/services/v2/signals/account_signal_service.rb +32 -0
- data/lib/stripe/services/v2/signals_service.rb +17 -0
- data/lib/stripe/services/v2_services.rb +7 -1
- data/lib/stripe/services.rb +181 -0
- data/lib/stripe/stripe_client.rb +4 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_event_notification_handler.rb +216 -0
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +2 -0
- data/rbi/stripe.rbi +133319 -66595
- metadata +331 -3
data/lib/stripe/services.rb
CHANGED
|
@@ -6,6 +6,7 @@ module Stripe
|
|
|
6
6
|
autoload :AccountExternalAccountService, "stripe/services/account_external_account_service"
|
|
7
7
|
autoload :AccountLinkService, "stripe/services/account_link_service"
|
|
8
8
|
autoload :AccountLoginLinkService, "stripe/services/account_login_link_service"
|
|
9
|
+
autoload :AccountNoticeService, "stripe/services/account_notice_service"
|
|
9
10
|
autoload :AccountPersonService, "stripe/services/account_person_service"
|
|
10
11
|
autoload :AccountService, "stripe/services/account_service"
|
|
11
12
|
autoload :AccountSessionService, "stripe/services/account_session_service"
|
|
@@ -18,6 +19,7 @@ module Stripe
|
|
|
18
19
|
autoload :BalanceTransactionService, "stripe/services/balance_transaction_service"
|
|
19
20
|
autoload :BillingPortalService, "stripe/services/billing_portal_service"
|
|
20
21
|
autoload :BillingService, "stripe/services/billing_service"
|
|
22
|
+
autoload :CapitalService, "stripe/services/capital_service"
|
|
21
23
|
autoload :ChargeService, "stripe/services/charge_service"
|
|
22
24
|
autoload :CheckoutService, "stripe/services/checkout_service"
|
|
23
25
|
autoload :ClimateService, "stripe/services/climate_service"
|
|
@@ -41,10 +43,12 @@ module Stripe
|
|
|
41
43
|
autoload :EphemeralKeyService, "stripe/services/ephemeral_key_service"
|
|
42
44
|
autoload :EventService, "stripe/services/event_service"
|
|
43
45
|
autoload :ExchangeRateService, "stripe/services/exchange_rate_service"
|
|
46
|
+
autoload :ExternalAccountService, "stripe/services/external_account_service"
|
|
44
47
|
autoload :FileLinkService, "stripe/services/file_link_service"
|
|
45
48
|
autoload :FileService, "stripe/services/file_service"
|
|
46
49
|
autoload :FinancialConnectionsService, "stripe/services/financial_connections_service"
|
|
47
50
|
autoload :ForwardingService, "stripe/services/forwarding_service"
|
|
51
|
+
autoload :FxQuoteService, "stripe/services/fx_quote_service"
|
|
48
52
|
autoload :IdentityService, "stripe/services/identity_service"
|
|
49
53
|
autoload :InvoiceItemService, "stripe/services/invoice_item_service"
|
|
50
54
|
autoload :InvoiceLineItemService, "stripe/services/invoice_line_item_service"
|
|
@@ -53,6 +57,8 @@ module Stripe
|
|
|
53
57
|
autoload :InvoiceService, "stripe/services/invoice_service"
|
|
54
58
|
autoload :IssuingService, "stripe/services/issuing_service"
|
|
55
59
|
autoload :MandateService, "stripe/services/mandate_service"
|
|
60
|
+
autoload :MarginService, "stripe/services/margin_service"
|
|
61
|
+
autoload :OrderService, "stripe/services/order_service"
|
|
56
62
|
autoload :PaymentAttemptRecordService, "stripe/services/payment_attempt_record_service"
|
|
57
63
|
autoload :PaymentIntentAmountDetailsLineItemService, "stripe/services/payment_intent_amount_details_line_item_service"
|
|
58
64
|
autoload :PaymentIntentService, "stripe/services/payment_intent_service"
|
|
@@ -61,23 +67,30 @@ module Stripe
|
|
|
61
67
|
autoload :PaymentMethodConfigurationService, "stripe/services/payment_method_configuration_service"
|
|
62
68
|
autoload :PaymentMethodDomainService, "stripe/services/payment_method_domain_service"
|
|
63
69
|
autoload :PaymentMethodService, "stripe/services/payment_method_service"
|
|
70
|
+
autoload :PaymentPlanService, "stripe/services/payment_plan_service"
|
|
64
71
|
autoload :PaymentRecordService, "stripe/services/payment_record_service"
|
|
65
72
|
autoload :PayoutService, "stripe/services/payout_service"
|
|
66
73
|
autoload :PlanService, "stripe/services/plan_service"
|
|
67
74
|
autoload :PriceService, "stripe/services/price_service"
|
|
75
|
+
autoload :PrivacyService, "stripe/services/privacy_service"
|
|
68
76
|
autoload :ProductCatalogService, "stripe/services/product_catalog_service"
|
|
69
77
|
autoload :ProductFeatureService, "stripe/services/product_feature_service"
|
|
70
78
|
autoload :ProductService, "stripe/services/product_service"
|
|
71
79
|
autoload :PromotionCodeService, "stripe/services/promotion_code_service"
|
|
72
80
|
autoload :QuoteComputedUpfrontLineItemsService, "stripe/services/quote_computed_upfront_line_items_service"
|
|
73
81
|
autoload :QuoteLineItemService, "stripe/services/quote_line_item_service"
|
|
82
|
+
autoload :QuoteLineService, "stripe/services/quote_line_service"
|
|
83
|
+
autoload :QuotePreviewInvoiceService, "stripe/services/quote_preview_invoice_service"
|
|
84
|
+
autoload :QuotePreviewSubscriptionScheduleService, "stripe/services/quote_preview_subscription_schedule_service"
|
|
74
85
|
autoload :QuoteService, "stripe/services/quote_service"
|
|
75
86
|
autoload :RadarService, "stripe/services/radar_service"
|
|
76
87
|
autoload :RefundService, "stripe/services/refund_service"
|
|
77
88
|
autoload :ReportingService, "stripe/services/reporting_service"
|
|
89
|
+
autoload :ReserveService, "stripe/services/reserve_service"
|
|
78
90
|
autoload :ReviewService, "stripe/services/review_service"
|
|
79
91
|
autoload :SetupAttemptService, "stripe/services/setup_attempt_service"
|
|
80
92
|
autoload :SetupIntentService, "stripe/services/setup_intent_service"
|
|
93
|
+
autoload :SharedPaymentService, "stripe/services/shared_payment_service"
|
|
81
94
|
autoload :ShippingRateService, "stripe/services/shipping_rate_service"
|
|
82
95
|
autoload :SigmaService, "stripe/services/sigma_service"
|
|
83
96
|
autoload :SourceService, "stripe/services/source_service"
|
|
@@ -108,6 +121,7 @@ module Stripe
|
|
|
108
121
|
|
|
109
122
|
module Billing
|
|
110
123
|
autoload :AlertService, "stripe/services/billing/alert_service"
|
|
124
|
+
autoload :AnalyticsService, "stripe/services/billing/analytics_service"
|
|
111
125
|
autoload :CreditBalanceSummaryService, "stripe/services/billing/credit_balance_summary_service"
|
|
112
126
|
autoload :CreditBalanceTransactionService, "stripe/services/billing/credit_balance_transaction_service"
|
|
113
127
|
autoload :CreditGrantService, "stripe/services/billing/credit_grant_service"
|
|
@@ -116,6 +130,10 @@ module Stripe
|
|
|
116
130
|
autoload :MeterEventService, "stripe/services/billing/meter_event_service"
|
|
117
131
|
autoload :MeterEventSummaryService, "stripe/services/billing/meter_event_summary_service"
|
|
118
132
|
autoload :MeterService, "stripe/services/billing/meter_service"
|
|
133
|
+
|
|
134
|
+
module Analytics
|
|
135
|
+
autoload :MeterUsageService, "stripe/services/billing/analytics/meter_usage_service"
|
|
136
|
+
end
|
|
119
137
|
end
|
|
120
138
|
|
|
121
139
|
module BillingPortal
|
|
@@ -123,6 +141,12 @@ module Stripe
|
|
|
123
141
|
autoload :SessionService, "stripe/services/billing_portal/session_service"
|
|
124
142
|
end
|
|
125
143
|
|
|
144
|
+
module Capital
|
|
145
|
+
autoload :FinancingOfferService, "stripe/services/capital/financing_offer_service"
|
|
146
|
+
autoload :FinancingSummaryService, "stripe/services/capital/financing_summary_service"
|
|
147
|
+
autoload :FinancingTransactionService, "stripe/services/capital/financing_transaction_service"
|
|
148
|
+
end
|
|
149
|
+
|
|
126
150
|
module Checkout
|
|
127
151
|
autoload :SessionLineItemService, "stripe/services/checkout/session_line_item_service"
|
|
128
152
|
autoload :SessionService, "stripe/services/checkout/session_service"
|
|
@@ -140,8 +164,11 @@ module Stripe
|
|
|
140
164
|
end
|
|
141
165
|
|
|
142
166
|
module FinancialConnections
|
|
167
|
+
autoload :AccountInferredBalanceService, "stripe/services/financial_connections/account_inferred_balance_service"
|
|
143
168
|
autoload :AccountOwnerService, "stripe/services/financial_connections/account_owner_service"
|
|
144
169
|
autoload :AccountService, "stripe/services/financial_connections/account_service"
|
|
170
|
+
autoload :AuthorizationService, "stripe/services/financial_connections/authorization_service"
|
|
171
|
+
autoload :InstitutionService, "stripe/services/financial_connections/institution_service"
|
|
145
172
|
autoload :SessionService, "stripe/services/financial_connections/session_service"
|
|
146
173
|
autoload :TransactionService, "stripe/services/financial_connections/transaction_service"
|
|
147
174
|
end
|
|
@@ -159,18 +186,27 @@ module Stripe
|
|
|
159
186
|
autoload :AuthorizationService, "stripe/services/issuing/authorization_service"
|
|
160
187
|
autoload :CardholderService, "stripe/services/issuing/cardholder_service"
|
|
161
188
|
autoload :CardService, "stripe/services/issuing/card_service"
|
|
189
|
+
autoload :CreditUnderwritingRecordService, "stripe/services/issuing/credit_underwriting_record_service"
|
|
162
190
|
autoload :DisputeService, "stripe/services/issuing/dispute_service"
|
|
191
|
+
autoload :DisputeSettlementDetailService, "stripe/services/issuing/dispute_settlement_detail_service"
|
|
192
|
+
autoload :FraudLiabilityDebitService, "stripe/services/issuing/fraud_liability_debit_service"
|
|
163
193
|
autoload :PersonalizationDesignService, "stripe/services/issuing/personalization_design_service"
|
|
164
194
|
autoload :PhysicalBundleService, "stripe/services/issuing/physical_bundle_service"
|
|
165
195
|
autoload :TokenService, "stripe/services/issuing/token_service"
|
|
166
196
|
autoload :TransactionService, "stripe/services/issuing/transaction_service"
|
|
167
197
|
end
|
|
168
198
|
|
|
199
|
+
module Privacy
|
|
200
|
+
autoload :RedactionJobService, "stripe/services/privacy/redaction_job_service"
|
|
201
|
+
autoload :RedactionJobValidationErrorService, "stripe/services/privacy/redaction_job_validation_error_service"
|
|
202
|
+
end
|
|
203
|
+
|
|
169
204
|
module ProductCatalog
|
|
170
205
|
autoload :TrialOfferService, "stripe/services/product_catalog/trial_offer_service"
|
|
171
206
|
end
|
|
172
207
|
|
|
173
208
|
module Radar
|
|
209
|
+
autoload :BillingEvaluationService, "stripe/services/radar/billing_evaluation_service"
|
|
174
210
|
autoload :EarlyFraudWarningService, "stripe/services/radar/early_fraud_warning_service"
|
|
175
211
|
autoload :PaymentEvaluationService, "stripe/services/radar/payment_evaluation_service"
|
|
176
212
|
autoload :ValueListItemService, "stripe/services/radar/value_list_item_service"
|
|
@@ -182,6 +218,17 @@ module Stripe
|
|
|
182
218
|
autoload :ReportTypeService, "stripe/services/reporting/report_type_service"
|
|
183
219
|
end
|
|
184
220
|
|
|
221
|
+
module Reserve
|
|
222
|
+
autoload :HoldService, "stripe/services/reserve/hold_service"
|
|
223
|
+
autoload :PlanService, "stripe/services/reserve/plan_service"
|
|
224
|
+
autoload :ReleaseService, "stripe/services/reserve/release_service"
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
module SharedPayment
|
|
228
|
+
autoload :GrantedTokenService, "stripe/services/shared_payment/granted_token_service"
|
|
229
|
+
autoload :IssuedTokenService, "stripe/services/shared_payment/issued_token_service"
|
|
230
|
+
end
|
|
231
|
+
|
|
185
232
|
module Sigma
|
|
186
233
|
autoload :ScheduledQueryRunService, "stripe/services/sigma/scheduled_query_run_service"
|
|
187
234
|
end
|
|
@@ -190,6 +237,7 @@ module Stripe
|
|
|
190
237
|
autoload :AssociationService, "stripe/services/tax/association_service"
|
|
191
238
|
autoload :CalculationLineItemService, "stripe/services/tax/calculation_line_item_service"
|
|
192
239
|
autoload :CalculationService, "stripe/services/tax/calculation_service"
|
|
240
|
+
autoload :FormService, "stripe/services/tax/form_service"
|
|
193
241
|
autoload :LocationService, "stripe/services/tax/location_service"
|
|
194
242
|
autoload :RegistrationService, "stripe/services/tax/registration_service"
|
|
195
243
|
autoload :SettingsService, "stripe/services/tax/settings_service"
|
|
@@ -202,6 +250,7 @@ module Stripe
|
|
|
202
250
|
autoload :ConnectionTokenService, "stripe/services/terminal/connection_token_service"
|
|
203
251
|
autoload :LocationService, "stripe/services/terminal/location_service"
|
|
204
252
|
autoload :OnboardingLinkService, "stripe/services/terminal/onboarding_link_service"
|
|
253
|
+
autoload :ReaderCollectedDataService, "stripe/services/terminal/reader_collected_data_service"
|
|
205
254
|
autoload :ReaderService, "stripe/services/terminal/reader_service"
|
|
206
255
|
end
|
|
207
256
|
|
|
@@ -210,6 +259,7 @@ module Stripe
|
|
|
210
259
|
autoload :CustomerService, "stripe/services/test_helpers/customer_service"
|
|
211
260
|
autoload :IssuingService, "stripe/services/test_helpers/issuing_service"
|
|
212
261
|
autoload :RefundService, "stripe/services/test_helpers/refund_service"
|
|
262
|
+
autoload :SharedPaymentService, "stripe/services/test_helpers/shared_payment_service"
|
|
213
263
|
autoload :TerminalService, "stripe/services/test_helpers/terminal_service"
|
|
214
264
|
autoload :TestClockService, "stripe/services/test_helpers/test_clock_service"
|
|
215
265
|
autoload :TreasuryService, "stripe/services/test_helpers/treasury_service"
|
|
@@ -221,6 +271,10 @@ module Stripe
|
|
|
221
271
|
autoload :TransactionService, "stripe/services/test_helpers/issuing/transaction_service"
|
|
222
272
|
end
|
|
223
273
|
|
|
274
|
+
module SharedPayment
|
|
275
|
+
autoload :GrantedTokenService, "stripe/services/test_helpers/shared_payment/granted_token_service"
|
|
276
|
+
end
|
|
277
|
+
|
|
224
278
|
module Terminal
|
|
225
279
|
autoload :ReaderService, "stripe/services/test_helpers/terminal/reader_service"
|
|
226
280
|
end
|
|
@@ -256,14 +310,32 @@ module Stripe
|
|
|
256
310
|
autoload :BillingService, "stripe/services/v2/billing_service"
|
|
257
311
|
autoload :CommerceService, "stripe/services/v2/commerce_service"
|
|
258
312
|
autoload :CoreService, "stripe/services/v2/core_service"
|
|
313
|
+
autoload :DataService, "stripe/services/v2/data_service"
|
|
314
|
+
autoload :ExtendService, "stripe/services/v2/extend_service"
|
|
315
|
+
autoload :IamService, "stripe/services/v2/iam_service"
|
|
259
316
|
autoload :MoneyManagementService, "stripe/services/v2/money_management_service"
|
|
317
|
+
autoload :NetworkService, "stripe/services/v2/network_service"
|
|
318
|
+
autoload :OrchestratedCommerceService, "stripe/services/v2/orchestrated_commerce_service"
|
|
319
|
+
autoload :SignalsService, "stripe/services/v2/signals_service"
|
|
260
320
|
autoload :TestHelperService, "stripe/services/v2/test_helper_service"
|
|
261
321
|
|
|
262
322
|
module Billing
|
|
323
|
+
autoload :BillSettingService, "stripe/services/v2/billing/bill_setting_service"
|
|
324
|
+
autoload :CadenceService, "stripe/services/v2/billing/cadence_service"
|
|
325
|
+
autoload :CollectionSettingService, "stripe/services/v2/billing/collection_setting_service"
|
|
263
326
|
autoload :MeterEventAdjustmentService, "stripe/services/v2/billing/meter_event_adjustment_service"
|
|
264
327
|
autoload :MeterEventService, "stripe/services/v2/billing/meter_event_service"
|
|
265
328
|
autoload :MeterEventSessionService, "stripe/services/v2/billing/meter_event_session_service"
|
|
266
329
|
autoload :MeterEventStreamService, "stripe/services/v2/billing/meter_event_stream_service"
|
|
330
|
+
autoload :ProfileService, "stripe/services/v2/billing/profile_service"
|
|
331
|
+
|
|
332
|
+
module BillSettings
|
|
333
|
+
autoload :VersionService, "stripe/services/v2/billing/bill_settings/version_service"
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
module CollectionSettings
|
|
337
|
+
autoload :VersionService, "stripe/services/v2/billing/collection_settings/version_service"
|
|
338
|
+
end
|
|
267
339
|
end
|
|
268
340
|
|
|
269
341
|
module Commerce
|
|
@@ -278,6 +350,8 @@ module Stripe
|
|
|
278
350
|
autoload :AccountLinkService, "stripe/services/v2/core/account_link_service"
|
|
279
351
|
autoload :AccountService, "stripe/services/v2/core/account_service"
|
|
280
352
|
autoload :AccountTokenService, "stripe/services/v2/core/account_token_service"
|
|
353
|
+
autoload :ApprovalRequestService, "stripe/services/v2/core/approval_request_service"
|
|
354
|
+
autoload :BatchJobService, "stripe/services/v2/core/batch_job_service"
|
|
281
355
|
autoload :EventDestinationService, "stripe/services/v2/core/event_destination_service"
|
|
282
356
|
autoload :EventService, "stripe/services/v2/core/event_service"
|
|
283
357
|
autoload :VaultService, "stripe/services/v2/core/vault_service"
|
|
@@ -293,18 +367,42 @@ module Stripe
|
|
|
293
367
|
end
|
|
294
368
|
end
|
|
295
369
|
|
|
370
|
+
module Data
|
|
371
|
+
autoload :QueryRunService, "stripe/services/v2/data/query_run_service"
|
|
372
|
+
autoload :ReportingService, "stripe/services/v2/data/reporting_service"
|
|
373
|
+
autoload :ReportRunService, "stripe/services/v2/data/report_run_service"
|
|
374
|
+
autoload :ReportService, "stripe/services/v2/data/report_service"
|
|
375
|
+
autoload :SchemaService, "stripe/services/v2/data/schema_service"
|
|
376
|
+
|
|
377
|
+
module Reporting
|
|
378
|
+
autoload :QueryRunService, "stripe/services/v2/data/reporting/query_run_service"
|
|
379
|
+
end
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
module Extend
|
|
383
|
+
autoload :WorkflowRunService, "stripe/services/v2/extend/workflow_run_service"
|
|
384
|
+
autoload :WorkflowService, "stripe/services/v2/extend/workflow_service"
|
|
385
|
+
end
|
|
386
|
+
|
|
387
|
+
module Iam
|
|
388
|
+
autoload :ActivityLogService, "stripe/services/v2/iam/activity_log_service"
|
|
389
|
+
end
|
|
390
|
+
|
|
296
391
|
module MoneyManagement
|
|
297
392
|
autoload :AdjustmentService, "stripe/services/v2/money_management/adjustment_service"
|
|
298
393
|
autoload :FinancialAccountService, "stripe/services/v2/money_management/financial_account_service"
|
|
299
394
|
autoload :FinancialAddressService, "stripe/services/v2/money_management/financial_address_service"
|
|
300
395
|
autoload :InboundTransferService, "stripe/services/v2/money_management/inbound_transfer_service"
|
|
396
|
+
autoload :OutboundPaymentQuoteService, "stripe/services/v2/money_management/outbound_payment_quote_service"
|
|
301
397
|
autoload :OutboundPaymentService, "stripe/services/v2/money_management/outbound_payment_service"
|
|
302
398
|
autoload :OutboundSetupIntentService, "stripe/services/v2/money_management/outbound_setup_intent_service"
|
|
399
|
+
autoload :OutboundTransferService, "stripe/services/v2/money_management/outbound_transfer_service"
|
|
303
400
|
autoload :PayoutIntentService, "stripe/services/v2/money_management/payout_intent_service"
|
|
304
401
|
autoload :PayoutMethodsBankAccountSpecService,
|
|
305
402
|
"stripe/services/v2/money_management/payout_methods_bank_account_spec_service"
|
|
306
403
|
autoload :PayoutMethodService, "stripe/services/v2/money_management/payout_method_service"
|
|
307
404
|
autoload :ReceivedCreditService, "stripe/services/v2/money_management/received_credit_service"
|
|
405
|
+
autoload :ReceivedDebitService, "stripe/services/v2/money_management/received_debit_service"
|
|
308
406
|
autoload :RecipientVerificationService, "stripe/services/v2/money_management/recipient_verification_service"
|
|
309
407
|
autoload :TestHelpersService, "stripe/services/v2/money_management/test_helpers_service"
|
|
310
408
|
autoload :TransactionEntryService, "stripe/services/v2/money_management/transaction_entry_service"
|
|
@@ -315,6 +413,20 @@ module Stripe
|
|
|
315
413
|
end
|
|
316
414
|
end
|
|
317
415
|
|
|
416
|
+
module Network
|
|
417
|
+
autoload :BusinessProfileService, "stripe/services/v2/network/business_profile_service"
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
module OrchestratedCommerce
|
|
421
|
+
autoload :AgreementService, "stripe/services/v2/orchestrated_commerce/agreement_service"
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
module Signals
|
|
425
|
+
autoload :AccountActivityService, "stripe/services/v2/signals/account_activity_service"
|
|
426
|
+
autoload :AccountEvaluationService, "stripe/services/v2/signals/account_evaluation_service"
|
|
427
|
+
autoload :AccountSignalService, "stripe/services/v2/signals/account_signal_service"
|
|
428
|
+
end
|
|
429
|
+
|
|
318
430
|
module TestHelpers
|
|
319
431
|
autoload :MoneyManagementService, "stripe/services/v2/test_helpers/money_management_service"
|
|
320
432
|
end
|
|
@@ -322,11 +434,13 @@ module Stripe
|
|
|
322
434
|
end
|
|
323
435
|
|
|
324
436
|
module Stripe
|
|
437
|
+
# rubocop:disable Metrics/CollectionLiteralLength
|
|
325
438
|
SERVICE_FILES = %w[
|
|
326
439
|
stripe/services/account_capability_service
|
|
327
440
|
stripe/services/account_external_account_service
|
|
328
441
|
stripe/services/account_link_service
|
|
329
442
|
stripe/services/account_login_link_service
|
|
443
|
+
stripe/services/account_notice_service
|
|
330
444
|
stripe/services/account_person_service
|
|
331
445
|
stripe/services/account_service
|
|
332
446
|
stripe/services/account_session_service
|
|
@@ -340,6 +454,8 @@ module Stripe
|
|
|
340
454
|
stripe/services/balance_settings_service
|
|
341
455
|
stripe/services/balance_transaction_service
|
|
342
456
|
stripe/services/billing/alert_service
|
|
457
|
+
stripe/services/billing/analytics/meter_usage_service
|
|
458
|
+
stripe/services/billing/analytics_service
|
|
343
459
|
stripe/services/billing/credit_balance_summary_service
|
|
344
460
|
stripe/services/billing/credit_balance_transaction_service
|
|
345
461
|
stripe/services/billing/credit_grant_service
|
|
@@ -352,6 +468,10 @@ module Stripe
|
|
|
352
468
|
stripe/services/billing_portal/session_service
|
|
353
469
|
stripe/services/billing_portal_service
|
|
354
470
|
stripe/services/billing_service
|
|
471
|
+
stripe/services/capital/financing_offer_service
|
|
472
|
+
stripe/services/capital/financing_summary_service
|
|
473
|
+
stripe/services/capital/financing_transaction_service
|
|
474
|
+
stripe/services/capital_service
|
|
355
475
|
stripe/services/charge_service
|
|
356
476
|
stripe/services/checkout/session_line_item_service
|
|
357
477
|
stripe/services/checkout/session_service
|
|
@@ -382,15 +502,20 @@ module Stripe
|
|
|
382
502
|
stripe/services/ephemeral_key_service
|
|
383
503
|
stripe/services/event_service
|
|
384
504
|
stripe/services/exchange_rate_service
|
|
505
|
+
stripe/services/external_account_service
|
|
385
506
|
stripe/services/file_link_service
|
|
386
507
|
stripe/services/file_service
|
|
508
|
+
stripe/services/financial_connections/account_inferred_balance_service
|
|
387
509
|
stripe/services/financial_connections/account_owner_service
|
|
388
510
|
stripe/services/financial_connections/account_service
|
|
511
|
+
stripe/services/financial_connections/authorization_service
|
|
512
|
+
stripe/services/financial_connections/institution_service
|
|
389
513
|
stripe/services/financial_connections/session_service
|
|
390
514
|
stripe/services/financial_connections/transaction_service
|
|
391
515
|
stripe/services/financial_connections_service
|
|
392
516
|
stripe/services/forwarding/request_service
|
|
393
517
|
stripe/services/forwarding_service
|
|
518
|
+
stripe/services/fx_quote_service
|
|
394
519
|
stripe/services/identity/verification_report_service
|
|
395
520
|
stripe/services/identity/verification_session_service
|
|
396
521
|
stripe/services/identity_service
|
|
@@ -402,13 +527,18 @@ module Stripe
|
|
|
402
527
|
stripe/services/issuing/authorization_service
|
|
403
528
|
stripe/services/issuing/card_service
|
|
404
529
|
stripe/services/issuing/cardholder_service
|
|
530
|
+
stripe/services/issuing/credit_underwriting_record_service
|
|
405
531
|
stripe/services/issuing/dispute_service
|
|
532
|
+
stripe/services/issuing/dispute_settlement_detail_service
|
|
533
|
+
stripe/services/issuing/fraud_liability_debit_service
|
|
406
534
|
stripe/services/issuing/personalization_design_service
|
|
407
535
|
stripe/services/issuing/physical_bundle_service
|
|
408
536
|
stripe/services/issuing/token_service
|
|
409
537
|
stripe/services/issuing/transaction_service
|
|
410
538
|
stripe/services/issuing_service
|
|
411
539
|
stripe/services/mandate_service
|
|
540
|
+
stripe/services/margin_service
|
|
541
|
+
stripe/services/order_service
|
|
412
542
|
stripe/services/payment_attempt_record_service
|
|
413
543
|
stripe/services/payment_intent_amount_details_line_item_service
|
|
414
544
|
stripe/services/payment_intent_service
|
|
@@ -417,10 +547,14 @@ module Stripe
|
|
|
417
547
|
stripe/services/payment_method_configuration_service
|
|
418
548
|
stripe/services/payment_method_domain_service
|
|
419
549
|
stripe/services/payment_method_service
|
|
550
|
+
stripe/services/payment_plan_service
|
|
420
551
|
stripe/services/payment_record_service
|
|
421
552
|
stripe/services/payout_service
|
|
422
553
|
stripe/services/plan_service
|
|
423
554
|
stripe/services/price_service
|
|
555
|
+
stripe/services/privacy/redaction_job_service
|
|
556
|
+
stripe/services/privacy/redaction_job_validation_error_service
|
|
557
|
+
stripe/services/privacy_service
|
|
424
558
|
stripe/services/product_catalog/trial_offer_service
|
|
425
559
|
stripe/services/product_catalog_service
|
|
426
560
|
stripe/services/product_feature_service
|
|
@@ -428,7 +562,11 @@ module Stripe
|
|
|
428
562
|
stripe/services/promotion_code_service
|
|
429
563
|
stripe/services/quote_computed_upfront_line_items_service
|
|
430
564
|
stripe/services/quote_line_item_service
|
|
565
|
+
stripe/services/quote_line_service
|
|
566
|
+
stripe/services/quote_preview_invoice_service
|
|
567
|
+
stripe/services/quote_preview_subscription_schedule_service
|
|
431
568
|
stripe/services/quote_service
|
|
569
|
+
stripe/services/radar/billing_evaluation_service
|
|
432
570
|
stripe/services/radar/early_fraud_warning_service
|
|
433
571
|
stripe/services/radar/payment_evaluation_service
|
|
434
572
|
stripe/services/radar/value_list_item_service
|
|
@@ -438,9 +576,16 @@ module Stripe
|
|
|
438
576
|
stripe/services/reporting/report_run_service
|
|
439
577
|
stripe/services/reporting/report_type_service
|
|
440
578
|
stripe/services/reporting_service
|
|
579
|
+
stripe/services/reserve/hold_service
|
|
580
|
+
stripe/services/reserve/plan_service
|
|
581
|
+
stripe/services/reserve/release_service
|
|
582
|
+
stripe/services/reserve_service
|
|
441
583
|
stripe/services/review_service
|
|
442
584
|
stripe/services/setup_attempt_service
|
|
443
585
|
stripe/services/setup_intent_service
|
|
586
|
+
stripe/services/shared_payment/granted_token_service
|
|
587
|
+
stripe/services/shared_payment/issued_token_service
|
|
588
|
+
stripe/services/shared_payment_service
|
|
444
589
|
stripe/services/shipping_rate_service
|
|
445
590
|
stripe/services/sigma/scheduled_query_run_service
|
|
446
591
|
stripe/services/sigma_service
|
|
@@ -452,6 +597,7 @@ module Stripe
|
|
|
452
597
|
stripe/services/tax/association_service
|
|
453
598
|
stripe/services/tax/calculation_line_item_service
|
|
454
599
|
stripe/services/tax/calculation_service
|
|
600
|
+
stripe/services/tax/form_service
|
|
455
601
|
stripe/services/tax/location_service
|
|
456
602
|
stripe/services/tax/registration_service
|
|
457
603
|
stripe/services/tax/settings_service
|
|
@@ -465,6 +611,7 @@ module Stripe
|
|
|
465
611
|
stripe/services/terminal/connection_token_service
|
|
466
612
|
stripe/services/terminal/location_service
|
|
467
613
|
stripe/services/terminal/onboarding_link_service
|
|
614
|
+
stripe/services/terminal/reader_collected_data_service
|
|
468
615
|
stripe/services/terminal/reader_service
|
|
469
616
|
stripe/services/terminal_service
|
|
470
617
|
stripe/services/test_helpers/confirmation_token_service
|
|
@@ -475,6 +622,8 @@ module Stripe
|
|
|
475
622
|
stripe/services/test_helpers/issuing/transaction_service
|
|
476
623
|
stripe/services/test_helpers/issuing_service
|
|
477
624
|
stripe/services/test_helpers/refund_service
|
|
625
|
+
stripe/services/test_helpers/shared_payment/granted_token_service
|
|
626
|
+
stripe/services/test_helpers/shared_payment_service
|
|
478
627
|
stripe/services/test_helpers/terminal/reader_service
|
|
479
628
|
stripe/services/test_helpers/terminal_service
|
|
480
629
|
stripe/services/test_helpers/test_clock_service
|
|
@@ -504,10 +653,16 @@ module Stripe
|
|
|
504
653
|
stripe/services/treasury/transaction_service
|
|
505
654
|
stripe/services/treasury_service
|
|
506
655
|
stripe/services/v1_services
|
|
656
|
+
stripe/services/v2/billing/bill_setting_service
|
|
657
|
+
stripe/services/v2/billing/bill_settings/version_service
|
|
658
|
+
stripe/services/v2/billing/cadence_service
|
|
659
|
+
stripe/services/v2/billing/collection_setting_service
|
|
660
|
+
stripe/services/v2/billing/collection_settings/version_service
|
|
507
661
|
stripe/services/v2/billing/meter_event_adjustment_service
|
|
508
662
|
stripe/services/v2/billing/meter_event_service
|
|
509
663
|
stripe/services/v2/billing/meter_event_session_service
|
|
510
664
|
stripe/services/v2/billing/meter_event_stream_service
|
|
665
|
+
stripe/services/v2/billing/profile_service
|
|
511
666
|
stripe/services/v2/billing_service
|
|
512
667
|
stripe/services/v2/commerce/product_catalog/import_service
|
|
513
668
|
stripe/services/v2/commerce/product_catalog_service
|
|
@@ -517,31 +672,57 @@ module Stripe
|
|
|
517
672
|
stripe/services/v2/core/account_token_service
|
|
518
673
|
stripe/services/v2/core/accounts/person_service
|
|
519
674
|
stripe/services/v2/core/accounts/person_token_service
|
|
675
|
+
stripe/services/v2/core/approval_request_service
|
|
676
|
+
stripe/services/v2/core/batch_job_service
|
|
520
677
|
stripe/services/v2/core/event_destination_service
|
|
521
678
|
stripe/services/v2/core/event_service
|
|
522
679
|
stripe/services/v2/core/vault/gb_bank_account_service
|
|
523
680
|
stripe/services/v2/core/vault/us_bank_account_service
|
|
524
681
|
stripe/services/v2/core/vault_service
|
|
525
682
|
stripe/services/v2/core_service
|
|
683
|
+
stripe/services/v2/data/query_run_service
|
|
684
|
+
stripe/services/v2/data/report_run_service
|
|
685
|
+
stripe/services/v2/data/report_service
|
|
686
|
+
stripe/services/v2/data/reporting/query_run_service
|
|
687
|
+
stripe/services/v2/data/reporting_service
|
|
688
|
+
stripe/services/v2/data/schema_service
|
|
689
|
+
stripe/services/v2/data_service
|
|
690
|
+
stripe/services/v2/extend/workflow_run_service
|
|
691
|
+
stripe/services/v2/extend/workflow_service
|
|
692
|
+
stripe/services/v2/extend_service
|
|
693
|
+
stripe/services/v2/iam/activity_log_service
|
|
694
|
+
stripe/services/v2/iam_service
|
|
526
695
|
stripe/services/v2/money_management/adjustment_service
|
|
527
696
|
stripe/services/v2/money_management/financial_account_service
|
|
528
697
|
stripe/services/v2/money_management/financial_address_service
|
|
529
698
|
stripe/services/v2/money_management/inbound_transfer_service
|
|
699
|
+
stripe/services/v2/money_management/outbound_payment_quote_service
|
|
530
700
|
stripe/services/v2/money_management/outbound_payment_service
|
|
531
701
|
stripe/services/v2/money_management/outbound_setup_intent_service
|
|
702
|
+
stripe/services/v2/money_management/outbound_transfer_service
|
|
532
703
|
stripe/services/v2/money_management/payout_intent_service
|
|
533
704
|
stripe/services/v2/money_management/payout_method_service
|
|
534
705
|
stripe/services/v2/money_management/payout_methods_bank_account_spec_service
|
|
535
706
|
stripe/services/v2/money_management/received_credit_service
|
|
707
|
+
stripe/services/v2/money_management/received_debit_service
|
|
536
708
|
stripe/services/v2/money_management/recipient_verification_service
|
|
537
709
|
stripe/services/v2/money_management/test_helpers/financial_address_service
|
|
538
710
|
stripe/services/v2/money_management/test_helpers_service
|
|
539
711
|
stripe/services/v2/money_management/transaction_entry_service
|
|
540
712
|
stripe/services/v2/money_management/transaction_service
|
|
541
713
|
stripe/services/v2/money_management_service
|
|
714
|
+
stripe/services/v2/network/business_profile_service
|
|
715
|
+
stripe/services/v2/network_service
|
|
716
|
+
stripe/services/v2/orchestrated_commerce/agreement_service
|
|
717
|
+
stripe/services/v2/orchestrated_commerce_service
|
|
718
|
+
stripe/services/v2/signals/account_activity_service
|
|
719
|
+
stripe/services/v2/signals/account_evaluation_service
|
|
720
|
+
stripe/services/v2/signals/account_signal_service
|
|
721
|
+
stripe/services/v2/signals_service
|
|
542
722
|
stripe/services/v2/test_helper_service
|
|
543
723
|
stripe/services/v2/test_helpers/money_management_service
|
|
544
724
|
stripe/services/v2_services
|
|
545
725
|
stripe/services/webhook_endpoint_service
|
|
546
726
|
].freeze
|
|
727
|
+
# rubocop:enable Metrics/CollectionLiteralLength
|
|
547
728
|
end
|
data/lib/stripe/stripe_client.rb
CHANGED
|
@@ -8,9 +8,12 @@ module Stripe
|
|
|
8
8
|
# attr_readers: The beginning of the section generated from our OpenAPI spec
|
|
9
9
|
attr_reader :v1
|
|
10
10
|
attr_reader :v2
|
|
11
|
-
|
|
12
11
|
# attr_readers: The end of the section generated from our OpenAPI spec
|
|
13
12
|
|
|
13
|
+
# For internal use only. Does not provide a stable API and may be broken
|
|
14
|
+
# with future non-major changes.
|
|
15
|
+
attr_reader :requestor
|
|
16
|
+
|
|
14
17
|
# For internal use only. Does not provide a stable API and may be broken
|
|
15
18
|
# with future non-major changes.
|
|
16
19
|
CLIENT_OPTIONS = Set.new(%i[api_key stripe_account stripe_context api_version api_base uploads_base connect_base meter_events_base client_id])
|
|
@@ -25,7 +25,8 @@ module Stripe
|
|
|
25
25
|
# If `.logger` is set, the value of `.log_level` is ignored. The decision on
|
|
26
26
|
# what levels to print is entirely deferred to the logger.
|
|
27
27
|
class StripeConfiguration
|
|
28
|
-
attr_accessor :api_key, :api_version, :client_id, :enable_telemetry, :logger,
|
|
28
|
+
attr_accessor :api_key, :api_version, :authenticator, :client_id, :enable_telemetry, :logger,
|
|
29
|
+
:stripe_account, :stripe_context
|
|
29
30
|
|
|
30
31
|
attr_reader :api_base, :uploads_base, :connect_base, :meter_events_base, :base_addresses, :ca_bundle_path,
|
|
31
32
|
:log_level, :initial_network_retry_delay, :max_network_retries, :max_network_retry_delay,
|
|
@@ -66,6 +67,7 @@ module Stripe
|
|
|
66
67
|
|
|
67
68
|
def initialize
|
|
68
69
|
@api_version = ApiVersion::CURRENT
|
|
70
|
+
|
|
69
71
|
@ca_bundle_path = Stripe::DEFAULT_CA_BUNDLE_PATH
|
|
70
72
|
@enable_telemetry = true
|
|
71
73
|
@verify_ssl_certs = true
|