stripe 19.2.0 → 19.3.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 +36 -3
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +87 -0
- data/lib/stripe/event_types.rb +228 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_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_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_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_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_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_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_money_management_transaction_created_event.rb +63 -0
- data/lib/stripe/events/v2_money_management_transaction_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/object_types.rb +61 -0
- data/lib/stripe/params/account_create_params.rb +374 -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 +226 -1
- data/lib/stripe/params/account_update_params.rb +336 -0
- 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 +126 -3
- data/lib/stripe/params/checkout/session_update_params.rb +176 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +78 -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/dispute_update_params.rb +10 -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 +64 -2
- 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 +48 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +70 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +790 -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 +48 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_update_params.rb +70 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- 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 +3022 -87
- data/lib/stripe/params/payment_intent_create_params.rb +3034 -99
- 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 +3023 -57
- data/lib/stripe/params/payment_link_create_params.rb +15 -0
- 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 +74 -0
- data/lib/stripe/params/plan_create_params.rb +15 -0
- data/lib/stripe/params/price_create_params.rb +15 -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/product_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_create_params.rb +16 -0
- data/lib/stripe/params/product_update_params.rb +16 -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/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -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 +108 -3
- data/lib/stripe/params/setup_intent_create_params.rb +108 -3
- data/lib/stripe/params/setup_intent_update_params.rb +108 -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 +67 -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 +170 -6
- data/lib/stripe/params/subscription_item_create_params.rb +62 -2
- data/lib/stripe/params/subscription_item_update_params.rb +45 -1
- data/lib/stripe/params/subscription_pause_params.rb +50 -0
- data/lib/stripe/params/subscription_resume_params.rb +4 -0
- 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 +153 -5
- data/lib/stripe/params/tax/calculation_create_params.rb +4 -0
- 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/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +104 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +78 -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 +4 -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 +282 -5
- data/lib/stripe/params/v2/core/account_token_create_params.rb +13 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +274 -4
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -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/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/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +102 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +67 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +92 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +88 -0
- 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 +77 -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_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_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/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -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/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params.rb +426 -0
- data/lib/stripe/resources/account.rb +259 -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/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 +142 -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 +2 -0
- data/lib/stripe/resources/charge.rb +211 -1
- data/lib/stripe/resources/checkout/session.rb +75 -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_session.rb +36 -0
- data/lib/stripe/resources/dispute.rb +22 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +57 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +82 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +125 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/invoice.rb +117 -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/credit_underwriting_record.rb +263 -0
- 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 +2 -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 +1561 -8
- data/lib/stripe/resources/payment_method.rb +135 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -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/product.rb +18 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +106 -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 +1183 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +736 -0
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.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 +22 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +1792 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +291 -0
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +167 -0
- data/lib/stripe/resources/subscription_item.rb +41 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/location.rb +72 -0
- data/lib/stripe/resources/tax/registration.rb +128 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- 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 +597 -3
- data/lib/stripe/resources/v2/core/batch_job.rb +488 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +142 -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/financial_address_credit_simulation.rb +29 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +31 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +187 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +160 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +219 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +196 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +145 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +230 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +135 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -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.rb +417 -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/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/product_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_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/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -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 +56 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax_service.rb +3 -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/batch_job_service.rb +43 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +3 -1
- 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_service.rb +15 -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/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +66 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- 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/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2_services.rb +8 -1
- data/lib/stripe/services.rb +209 -0
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_event_notification_handler.rb +582 -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 +54 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +124159 -57389
- metadata +378 -3
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Tax
|
|
6
|
+
# Tax locations represent venues for services, tickets, or other product types.
|
|
7
|
+
class Location < APIResource
|
|
8
|
+
extend Stripe::APIOperations::Create
|
|
9
|
+
extend Stripe::APIOperations::List
|
|
10
|
+
|
|
11
|
+
OBJECT_NAME = "tax.location"
|
|
12
|
+
def self.object_name
|
|
13
|
+
"tax.location"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class Address < ::Stripe::StripeObject
|
|
17
|
+
# City, district, suburb, town, or village.
|
|
18
|
+
attr_reader :city
|
|
19
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
20
|
+
attr_reader :country
|
|
21
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
22
|
+
attr_reader :line1
|
|
23
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
24
|
+
attr_reader :line2
|
|
25
|
+
# ZIP or postal code.
|
|
26
|
+
attr_reader :postal_code
|
|
27
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
28
|
+
attr_reader :state
|
|
29
|
+
|
|
30
|
+
def self.inner_class_types
|
|
31
|
+
@inner_class_types = {}
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def self.field_remappings
|
|
35
|
+
@field_remappings = {}
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
# Attribute for field address
|
|
39
|
+
attr_reader :address
|
|
40
|
+
# A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (e.g., "A spacious auditorium suitable for large concerts and events.").
|
|
41
|
+
attr_reader :description
|
|
42
|
+
# Unique identifier for the object.
|
|
43
|
+
attr_reader :id
|
|
44
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
45
|
+
attr_reader :object
|
|
46
|
+
# The type of tax location to be defined. Currently the only option is `performance`.
|
|
47
|
+
attr_reader :type
|
|
48
|
+
|
|
49
|
+
# Create a tax location to use in calculating taxes for a service, ticket, or other type of product. The resulting object contains the id, address, name, description, and current operational status of the tax location.
|
|
50
|
+
def self.create(params = {}, opts = {})
|
|
51
|
+
request_stripe_object(method: :post, path: "/v1/tax/locations", params: params, opts: opts)
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Retrieve a list of all tax locations. Tax locations can represent the venues for services, tickets, or other product types.
|
|
55
|
+
#
|
|
56
|
+
# The response includes detailed information for each tax location, such as its address, name, description, and current operational status.
|
|
57
|
+
#
|
|
58
|
+
# You can paginate through the list by using the limit parameter to control the number of results returned in each request.
|
|
59
|
+
def self.list(params = {}, opts = {})
|
|
60
|
+
request_stripe_object(method: :get, path: "/v1/tax/locations", params: params, opts: opts)
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def self.inner_class_types
|
|
64
|
+
@inner_class_types = { address: Address }
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
def self.field_remappings
|
|
68
|
+
@field_remappings = {}
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
@@ -1746,6 +1746,71 @@ module Stripe
|
|
|
1746
1746
|
end
|
|
1747
1747
|
|
|
1748
1748
|
class Us < ::Stripe::StripeObject
|
|
1749
|
+
class AdmissionsTax < ::Stripe::StripeObject
|
|
1750
|
+
# A [jurisdiction code](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types) representing the local jurisdiction.
|
|
1751
|
+
attr_reader :jurisdiction
|
|
1752
|
+
|
|
1753
|
+
def self.inner_class_types
|
|
1754
|
+
@inner_class_types = {}
|
|
1755
|
+
end
|
|
1756
|
+
|
|
1757
|
+
def self.field_remappings
|
|
1758
|
+
@field_remappings = {}
|
|
1759
|
+
end
|
|
1760
|
+
end
|
|
1761
|
+
|
|
1762
|
+
class AttendanceTax < ::Stripe::StripeObject
|
|
1763
|
+
# A [jurisdiction code](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types) representing the local jurisdiction.
|
|
1764
|
+
attr_reader :jurisdiction
|
|
1765
|
+
|
|
1766
|
+
def self.inner_class_types
|
|
1767
|
+
@inner_class_types = {}
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
def self.field_remappings
|
|
1771
|
+
@field_remappings = {}
|
|
1772
|
+
end
|
|
1773
|
+
end
|
|
1774
|
+
|
|
1775
|
+
class EntertainmentTax < ::Stripe::StripeObject
|
|
1776
|
+
# A [jurisdiction code](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types) representing the local jurisdiction.
|
|
1777
|
+
attr_reader :jurisdiction
|
|
1778
|
+
|
|
1779
|
+
def self.inner_class_types
|
|
1780
|
+
@inner_class_types = {}
|
|
1781
|
+
end
|
|
1782
|
+
|
|
1783
|
+
def self.field_remappings
|
|
1784
|
+
@field_remappings = {}
|
|
1785
|
+
end
|
|
1786
|
+
end
|
|
1787
|
+
|
|
1788
|
+
class GrossReceiptsTax < ::Stripe::StripeObject
|
|
1789
|
+
# A [jurisdiction code](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types) representing the local jurisdiction.
|
|
1790
|
+
attr_reader :jurisdiction
|
|
1791
|
+
|
|
1792
|
+
def self.inner_class_types
|
|
1793
|
+
@inner_class_types = {}
|
|
1794
|
+
end
|
|
1795
|
+
|
|
1796
|
+
def self.field_remappings
|
|
1797
|
+
@field_remappings = {}
|
|
1798
|
+
end
|
|
1799
|
+
end
|
|
1800
|
+
|
|
1801
|
+
class HospitalityTax < ::Stripe::StripeObject
|
|
1802
|
+
# A [jurisdiction code](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types) representing the local jurisdiction.
|
|
1803
|
+
attr_reader :jurisdiction
|
|
1804
|
+
|
|
1805
|
+
def self.inner_class_types
|
|
1806
|
+
@inner_class_types = {}
|
|
1807
|
+
end
|
|
1808
|
+
|
|
1809
|
+
def self.field_remappings
|
|
1810
|
+
@field_remappings = {}
|
|
1811
|
+
end
|
|
1812
|
+
end
|
|
1813
|
+
|
|
1749
1814
|
class LocalAmusementTax < ::Stripe::StripeObject
|
|
1750
1815
|
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
|
|
1751
1816
|
attr_reader :jurisdiction
|
|
@@ -1772,6 +1837,32 @@ module Stripe
|
|
|
1772
1837
|
end
|
|
1773
1838
|
end
|
|
1774
1839
|
|
|
1840
|
+
class LuxuryTax < ::Stripe::StripeObject
|
|
1841
|
+
# A [jurisdiction code](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types) representing the local jurisdiction.
|
|
1842
|
+
attr_reader :jurisdiction
|
|
1843
|
+
|
|
1844
|
+
def self.inner_class_types
|
|
1845
|
+
@inner_class_types = {}
|
|
1846
|
+
end
|
|
1847
|
+
|
|
1848
|
+
def self.field_remappings
|
|
1849
|
+
@field_remappings = {}
|
|
1850
|
+
end
|
|
1851
|
+
end
|
|
1852
|
+
|
|
1853
|
+
class ResortTax < ::Stripe::StripeObject
|
|
1854
|
+
# A [jurisdiction code](https://docs.stripe.com/tax/registering?type=resort_tax#registration-types) representing the local jurisdiction.
|
|
1855
|
+
attr_reader :jurisdiction
|
|
1856
|
+
|
|
1857
|
+
def self.inner_class_types
|
|
1858
|
+
@inner_class_types = {}
|
|
1859
|
+
end
|
|
1860
|
+
|
|
1861
|
+
def self.field_remappings
|
|
1862
|
+
@field_remappings = {}
|
|
1863
|
+
end
|
|
1864
|
+
end
|
|
1865
|
+
|
|
1775
1866
|
class StateSalesTax < ::Stripe::StripeObject
|
|
1776
1867
|
class Election < ::Stripe::StripeObject
|
|
1777
1868
|
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
|
|
@@ -1798,22 +1889,59 @@ module Stripe
|
|
|
1798
1889
|
@field_remappings = {}
|
|
1799
1890
|
end
|
|
1800
1891
|
end
|
|
1892
|
+
|
|
1893
|
+
class TourismTax < ::Stripe::StripeObject
|
|
1894
|
+
# A [jurisdiction code](https://docs.stripe.com/tax/registering?type=tourism_tax#registration-types) representing the local jurisdiction.
|
|
1895
|
+
attr_reader :jurisdiction
|
|
1896
|
+
|
|
1897
|
+
def self.inner_class_types
|
|
1898
|
+
@inner_class_types = {}
|
|
1899
|
+
end
|
|
1900
|
+
|
|
1901
|
+
def self.field_remappings
|
|
1902
|
+
@field_remappings = {}
|
|
1903
|
+
end
|
|
1904
|
+
end
|
|
1905
|
+
# Attribute for field admissions_tax
|
|
1906
|
+
attr_reader :admissions_tax
|
|
1907
|
+
# Attribute for field attendance_tax
|
|
1908
|
+
attr_reader :attendance_tax
|
|
1909
|
+
# Attribute for field entertainment_tax
|
|
1910
|
+
attr_reader :entertainment_tax
|
|
1911
|
+
# Attribute for field gross_receipts_tax
|
|
1912
|
+
attr_reader :gross_receipts_tax
|
|
1913
|
+
# Attribute for field hospitality_tax
|
|
1914
|
+
attr_reader :hospitality_tax
|
|
1801
1915
|
# Attribute for field local_amusement_tax
|
|
1802
1916
|
attr_reader :local_amusement_tax
|
|
1803
1917
|
# Attribute for field local_lease_tax
|
|
1804
1918
|
attr_reader :local_lease_tax
|
|
1919
|
+
# Attribute for field luxury_tax
|
|
1920
|
+
attr_reader :luxury_tax
|
|
1921
|
+
# Attribute for field resort_tax
|
|
1922
|
+
attr_reader :resort_tax
|
|
1805
1923
|
# Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1806
1924
|
attr_reader :state
|
|
1807
1925
|
# Attribute for field state_sales_tax
|
|
1808
1926
|
attr_reader :state_sales_tax
|
|
1927
|
+
# Attribute for field tourism_tax
|
|
1928
|
+
attr_reader :tourism_tax
|
|
1809
1929
|
# Type of registration in the US.
|
|
1810
1930
|
attr_reader :type
|
|
1811
1931
|
|
|
1812
1932
|
def self.inner_class_types
|
|
1813
1933
|
@inner_class_types = {
|
|
1934
|
+
admissions_tax: AdmissionsTax,
|
|
1935
|
+
attendance_tax: AttendanceTax,
|
|
1936
|
+
entertainment_tax: EntertainmentTax,
|
|
1937
|
+
gross_receipts_tax: GrossReceiptsTax,
|
|
1938
|
+
hospitality_tax: HospitalityTax,
|
|
1814
1939
|
local_amusement_tax: LocalAmusementTax,
|
|
1815
1940
|
local_lease_tax: LocalLeaseTax,
|
|
1941
|
+
luxury_tax: LuxuryTax,
|
|
1942
|
+
resort_tax: ResortTax,
|
|
1816
1943
|
state_sales_tax: StateSalesTax,
|
|
1944
|
+
tourism_tax: TourismTax,
|
|
1817
1945
|
}
|
|
1818
1946
|
end
|
|
1819
1947
|
|
|
@@ -11,6 +11,18 @@ module Stripe
|
|
|
11
11
|
"tax_code"
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
class Requirements < ::Stripe::StripeObject
|
|
15
|
+
# Describes whether a performance location is required for a successful tax calculation with a tax code.
|
|
16
|
+
attr_reader :performance_location
|
|
17
|
+
|
|
18
|
+
def self.inner_class_types
|
|
19
|
+
@inner_class_types = {}
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def self.field_remappings
|
|
23
|
+
@field_remappings = {}
|
|
24
|
+
end
|
|
25
|
+
end
|
|
14
26
|
# A detailed description of which types of products the tax code represents.
|
|
15
27
|
attr_reader :description
|
|
16
28
|
# Unique identifier for the object.
|
|
@@ -19,6 +31,8 @@ module Stripe
|
|
|
19
31
|
attr_reader :name
|
|
20
32
|
# String representing the object's type. Objects of the same type share the same value.
|
|
21
33
|
attr_reader :object
|
|
34
|
+
# An object that describes more information about the tax location required for this tax code. Some [tax codes](/tax/tax-for-tickets/integration-guide#types-of-products) require a tax location of type `performance` to calculate tax correctly.
|
|
35
|
+
attr_reader :requirements
|
|
22
36
|
|
|
23
37
|
# 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.
|
|
24
38
|
def self.list(params = {}, opts = {})
|
|
@@ -26,7 +40,7 @@ module Stripe
|
|
|
26
40
|
end
|
|
27
41
|
|
|
28
42
|
def self.inner_class_types
|
|
29
|
-
@inner_class_types = {}
|
|
43
|
+
@inner_class_types = { requirements: Requirements }
|
|
30
44
|
end
|
|
31
45
|
|
|
32
46
|
def self.field_remappings
|
|
@@ -68,6 +68,19 @@ module Stripe
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
+
class ReaderSecurity < ::Stripe::StripeObject
|
|
72
|
+
# Passcode used to access a reader's admin menu.
|
|
73
|
+
attr_reader :admin_menu_passcode
|
|
74
|
+
|
|
75
|
+
def self.inner_class_types
|
|
76
|
+
@inner_class_types = {}
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
def self.field_remappings
|
|
80
|
+
@field_remappings = {}
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
71
84
|
class RebootWindow < ::Stripe::StripeObject
|
|
72
85
|
# Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
73
86
|
attr_reader :end_hour
|
|
@@ -701,6 +714,8 @@ module Stripe
|
|
|
701
714
|
attr_reader :object
|
|
702
715
|
# Attribute for field offline
|
|
703
716
|
attr_reader :offline
|
|
717
|
+
# Attribute for field reader_security
|
|
718
|
+
attr_reader :reader_security
|
|
704
719
|
# Attribute for field reboot_window
|
|
705
720
|
attr_reader :reboot_window
|
|
706
721
|
# Attribute for field stripe_s700
|
|
@@ -778,6 +793,7 @@ module Stripe
|
|
|
778
793
|
bbpos_wisepos_e: BbposWiseposE,
|
|
779
794
|
cellular: Cellular,
|
|
780
795
|
offline: Offline,
|
|
796
|
+
reader_security: ReaderSecurity,
|
|
781
797
|
reboot_window: RebootWindow,
|
|
782
798
|
stripe_s700: StripeS700,
|
|
783
799
|
stripe_s710: StripeS710,
|
|
@@ -315,6 +315,8 @@ module Stripe
|
|
|
315
315
|
@field_remappings = {}
|
|
316
316
|
end
|
|
317
317
|
end
|
|
318
|
+
# Account the payment intent belongs to.
|
|
319
|
+
attr_reader :account
|
|
318
320
|
# Represents a per-transaction override of a reader configuration
|
|
319
321
|
attr_reader :collect_config
|
|
320
322
|
# Most recent PaymentIntent processed by the reader.
|
|
@@ -348,6 +350,8 @@ module Stripe
|
|
|
348
350
|
@field_remappings = {}
|
|
349
351
|
end
|
|
350
352
|
end
|
|
353
|
+
# Account the payment intent belongs to.
|
|
354
|
+
attr_reader :account
|
|
351
355
|
# Represents a per-transaction override of a reader configuration
|
|
352
356
|
attr_reader :confirm_config
|
|
353
357
|
# Most recent PaymentIntent processed by the reader.
|
|
@@ -426,6 +430,8 @@ module Stripe
|
|
|
426
430
|
@field_remappings = {}
|
|
427
431
|
end
|
|
428
432
|
end
|
|
433
|
+
# Account the payment intent belongs to.
|
|
434
|
+
attr_reader :account
|
|
429
435
|
# Most recent PaymentIntent processed by the reader.
|
|
430
436
|
attr_reader :payment_intent
|
|
431
437
|
# Represents a per-transaction override of a reader configuration
|
|
@@ -482,6 +488,8 @@ module Stripe
|
|
|
482
488
|
@field_remappings = {}
|
|
483
489
|
end
|
|
484
490
|
end
|
|
491
|
+
# Account the payment intent belongs to.
|
|
492
|
+
attr_reader :account
|
|
485
493
|
# The amount being refunded.
|
|
486
494
|
attr_reader :amount
|
|
487
495
|
# Charge that is being refunded.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Terminal
|
|
6
|
+
# Returns data collected by Terminal readers. This data is only stored for 24 hours.
|
|
7
|
+
class ReaderCollectedData < APIResource
|
|
8
|
+
OBJECT_NAME = "terminal.reader_collected_data"
|
|
9
|
+
def self.object_name
|
|
10
|
+
"terminal.reader_collected_data"
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
class Magstripe < ::Stripe::StripeObject
|
|
14
|
+
# The raw magstripe data collected by the reader.
|
|
15
|
+
attr_reader :data
|
|
16
|
+
|
|
17
|
+
def self.inner_class_types
|
|
18
|
+
@inner_class_types = {}
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def self.field_remappings
|
|
22
|
+
@field_remappings = {}
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
26
|
+
attr_reader :created
|
|
27
|
+
# Unique identifier for the object.
|
|
28
|
+
attr_reader :id
|
|
29
|
+
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
30
|
+
attr_reader :livemode
|
|
31
|
+
# The magstripe data collected by the reader.
|
|
32
|
+
attr_reader :magstripe
|
|
33
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
34
|
+
attr_reader :object
|
|
35
|
+
# The type of data collected by the reader.
|
|
36
|
+
attr_reader :type
|
|
37
|
+
|
|
38
|
+
def self.inner_class_types
|
|
39
|
+
@inner_class_types = { magstripe: Magstripe }
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def self.field_remappings
|
|
43
|
+
@field_remappings = {}
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -41,6 +41,8 @@ module Stripe
|
|
|
41
41
|
attr_reader :destination
|
|
42
42
|
# If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer.
|
|
43
43
|
attr_reader :destination_payment
|
|
44
|
+
# The FX Quote used for the transfer.
|
|
45
|
+
attr_reader :fx_quote
|
|
44
46
|
# Unique identifier for the object.
|
|
45
47
|
attr_reader :id
|
|
46
48
|
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
@@ -116,6 +116,8 @@ module Stripe
|
|
|
116
116
|
attr_reader :country
|
|
117
117
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
118
118
|
attr_reader :created
|
|
119
|
+
# The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
120
|
+
attr_reader :display_name
|
|
119
121
|
# Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.
|
|
120
122
|
# Stripe or the platform can control Features via the requested field.
|
|
121
123
|
attr_reader :features
|
|
@@ -246,6 +246,8 @@ module Stripe
|
|
|
246
246
|
attr_reader :metadata
|
|
247
247
|
# String representing the object's type. Objects of the same type share the same value.
|
|
248
248
|
attr_reader :object
|
|
249
|
+
# The purpose of the OutboundPayment, if applicable.
|
|
250
|
+
attr_reader :purpose
|
|
249
251
|
# Details about a returned OutboundPayment. Only set when the status is `returned`.
|
|
250
252
|
attr_reader :returned_details
|
|
251
253
|
# The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer).
|
|
@@ -120,6 +120,33 @@ module Stripe
|
|
|
120
120
|
end
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
+
class NetworkDetails < ::Stripe::StripeObject
|
|
124
|
+
class Ach < ::Stripe::StripeObject
|
|
125
|
+
# ACH Addenda record
|
|
126
|
+
attr_reader :addenda
|
|
127
|
+
|
|
128
|
+
def self.inner_class_types
|
|
129
|
+
@inner_class_types = {}
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
def self.field_remappings
|
|
133
|
+
@field_remappings = {}
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
# Details about an ACH transaction.
|
|
137
|
+
attr_reader :ach
|
|
138
|
+
# The type of flow that originated the OutboundTransfer.
|
|
139
|
+
attr_reader :type
|
|
140
|
+
|
|
141
|
+
def self.inner_class_types
|
|
142
|
+
@inner_class_types = { ach: Ach }
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
def self.field_remappings
|
|
146
|
+
@field_remappings = {}
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
123
150
|
class ReturnedDetails < ::Stripe::StripeObject
|
|
124
151
|
# Reason for the return.
|
|
125
152
|
attr_reader :code
|
|
@@ -225,6 +252,8 @@ module Stripe
|
|
|
225
252
|
attr_reader :livemode
|
|
226
253
|
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
227
254
|
attr_reader :metadata
|
|
255
|
+
# Details about the network used for the OutboundTransfer.
|
|
256
|
+
attr_reader :network_details
|
|
228
257
|
# String representing the object's type. Objects of the same type share the same value.
|
|
229
258
|
attr_reader :object
|
|
230
259
|
# Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
|
@@ -374,6 +403,7 @@ module Stripe
|
|
|
374
403
|
def self.inner_class_types
|
|
375
404
|
@inner_class_types = {
|
|
376
405
|
destination_payment_method_details: DestinationPaymentMethodDetails,
|
|
406
|
+
network_details: NetworkDetails,
|
|
377
407
|
returned_details: ReturnedDetails,
|
|
378
408
|
status_transitions: StatusTransitions,
|
|
379
409
|
tracking_details: TrackingDetails,
|
|
@@ -167,6 +167,33 @@ module Stripe
|
|
|
167
167
|
end
|
|
168
168
|
end
|
|
169
169
|
|
|
170
|
+
class NetworkDetails < ::Stripe::StripeObject
|
|
171
|
+
class Ach < ::Stripe::StripeObject
|
|
172
|
+
# ACH Addenda record
|
|
173
|
+
attr_reader :addenda
|
|
174
|
+
|
|
175
|
+
def self.inner_class_types
|
|
176
|
+
@inner_class_types = {}
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
def self.field_remappings
|
|
180
|
+
@field_remappings = {}
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
# Details about an ACH transaction.
|
|
184
|
+
attr_reader :ach
|
|
185
|
+
# The type of flow that originated the ReceivedCredit.
|
|
186
|
+
attr_reader :type
|
|
187
|
+
|
|
188
|
+
def self.inner_class_types
|
|
189
|
+
@inner_class_types = { ach: Ach }
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
def self.field_remappings
|
|
193
|
+
@field_remappings = {}
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
|
|
170
197
|
class ReversalDetails < ::Stripe::StripeObject
|
|
171
198
|
# Time before which a ReceivedCredit can be reversed.
|
|
172
199
|
attr_reader :deadline
|
|
@@ -205,6 +232,8 @@ module Stripe
|
|
|
205
232
|
attr_reader :livemode
|
|
206
233
|
# The rails used to send the funds.
|
|
207
234
|
attr_reader :network
|
|
235
|
+
# Details specific to the money movement rails.
|
|
236
|
+
attr_reader :network_details
|
|
208
237
|
# String representing the object's type. Objects of the same type share the same value.
|
|
209
238
|
attr_reader :object
|
|
210
239
|
# Details describing when a ReceivedCredit may be reversed.
|
|
@@ -249,6 +278,7 @@ module Stripe
|
|
|
249
278
|
@inner_class_types = {
|
|
250
279
|
initiating_payment_method_details: InitiatingPaymentMethodDetails,
|
|
251
280
|
linked_flows: LinkedFlows,
|
|
281
|
+
network_details: NetworkDetails,
|
|
252
282
|
reversal_details: ReversalDetails,
|
|
253
283
|
}
|
|
254
284
|
end
|
|
@@ -120,6 +120,8 @@ module Stripe
|
|
|
120
120
|
attr_reader :issuing_transaction
|
|
121
121
|
# Set if the ReceivedDebit was created due to a [Payout](https://api.stripe.com#payouts) object.
|
|
122
122
|
attr_reader :payout
|
|
123
|
+
# The ReceivedCredit that Capital withheld from
|
|
124
|
+
attr_reader :received_credit_capital_withholding
|
|
123
125
|
# Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object.
|
|
124
126
|
attr_reader :topup
|
|
125
127
|
|
|
@@ -132,6 +134,33 @@ module Stripe
|
|
|
132
134
|
end
|
|
133
135
|
end
|
|
134
136
|
|
|
137
|
+
class NetworkDetails < ::Stripe::StripeObject
|
|
138
|
+
class Ach < ::Stripe::StripeObject
|
|
139
|
+
# ACH Addenda record
|
|
140
|
+
attr_reader :addenda
|
|
141
|
+
|
|
142
|
+
def self.inner_class_types
|
|
143
|
+
@inner_class_types = {}
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
def self.field_remappings
|
|
147
|
+
@field_remappings = {}
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
# Details about an ACH transaction.
|
|
151
|
+
attr_reader :ach
|
|
152
|
+
# The type of flow that originated the ReceivedDebit.
|
|
153
|
+
attr_reader :type
|
|
154
|
+
|
|
155
|
+
def self.inner_class_types
|
|
156
|
+
@inner_class_types = { ach: Ach }
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
def self.field_remappings
|
|
160
|
+
@field_remappings = {}
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
135
164
|
class ReversalDetails < ::Stripe::StripeObject
|
|
136
165
|
# Time before which a ReceivedDebit can be reversed.
|
|
137
166
|
attr_reader :deadline
|
|
@@ -170,6 +199,8 @@ module Stripe
|
|
|
170
199
|
attr_reader :livemode
|
|
171
200
|
# The network used for the ReceivedDebit.
|
|
172
201
|
attr_reader :network
|
|
202
|
+
# Details specific to the money movement rails.
|
|
203
|
+
attr_reader :network_details
|
|
173
204
|
# String representing the object's type. Objects of the same type share the same value.
|
|
174
205
|
attr_reader :object
|
|
175
206
|
# Details describing when a ReceivedDebit might be reversed.
|
|
@@ -214,6 +245,7 @@ module Stripe
|
|
|
214
245
|
@inner_class_types = {
|
|
215
246
|
initiating_payment_method_details: InitiatingPaymentMethodDetails,
|
|
216
247
|
linked_flows: LinkedFlows,
|
|
248
|
+
network_details: NetworkDetails,
|
|
217
249
|
reversal_details: ReversalDetails,
|
|
218
250
|
}
|
|
219
251
|
end
|