stripe 20.2.0.pre.beta.1 → 21.0.0
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_operations/request.rb +2 -0
- data/lib/stripe/api_requestor.rb +1 -4
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/errors.rb +0 -6
- data/lib/stripe/event_types.rb +0 -193
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -53
- data/lib/stripe/params/account_create_params.rb +1 -299
- data/lib/stripe/params/account_session_create_params.rb +0 -191
- data/lib/stripe/params/account_update_params.rb +0 -261
- data/lib/stripe/params/balance_settings_update_params.rb +1 -9
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +3 -87
- data/lib/stripe/params/checkout/session_update_params.rb +1 -161
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/financial_connections/session_create_params.rb +1 -38
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -64
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -772
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -64
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/cardholder_update_params.rb +0 -4
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +109 -3062
- data/lib/stripe/params/payment_intent_create_params.rb +122 -3075
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +76 -3060
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
- data/lib/stripe/params/payment_method_create_params.rb +0 -88
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/quote_create_params.rb +3 -809
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -817
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -122
- data/lib/stripe/params/setup_intent_create_params.rb +3 -122
- data/lib/stripe/params/setup_intent_update_params.rb +3 -122
- data/lib/stripe/params/subscription_create_params.rb +6 -133
- data/lib/stripe/params/subscription_item_create_params.rb +3 -50
- data/lib/stripe/params/subscription_item_update_params.rb +2 -33
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -167
- data/lib/stripe/params/subscription_update_params.rb +5 -116
- data/lib/stripe/params/tax/registration_create_params.rb +1 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -19
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/account_create_params.rb +5 -392
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -29
- data/lib/stripe/params/v2/core/account_update_params.rb +4 -376
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -40
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +1 -22
- data/lib/stripe/params.rb +0 -364
- data/lib/stripe/request_options.rb +18 -0
- data/lib/stripe/resources/account.rb +1 -176
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +0 -4
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +1 -227
- data/lib/stripe/resources/checkout/session.rb +3 -91
- data/lib/stripe/resources/confirmation_token.rb +0 -131
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +0 -18
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +0 -92
- data/lib/stripe/resources/invoice.rb +1 -106
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/authorization.rb +0 -16
- data/lib/stripe/resources/issuing/card.rb +0 -16
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +0 -18
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -12
- data/lib/stripe/resources/payment_attempt_record.rb +1 -177
- data/lib/stripe/resources/payment_intent.rb +24 -1602
- data/lib/stripe/resources/payment_method.rb +0 -151
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +1 -177
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/plan.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +0 -35
- data/lib/stripe/resources/setup_intent.rb +1 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -73
- data/lib/stripe/resources/subscription_item.rb +1 -22
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax/registration.rb +1 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/core/account.rb +2 -802
- data/lib/stripe/resources/v2/core/event.rb +1 -1
- data/lib/stripe/resources/v2/core/event_base.rb +36 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +1 -91
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +1 -26
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -4
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -50
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -63
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +1 -31
- data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -50
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -2
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -2
- data/lib/stripe/resources.rb +2 -341
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -11
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/radar_service.rb +1 -2
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -45
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -27
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +0 -13
- data/lib/stripe/services/v2/money_management_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -7
- data/lib/stripe/services.rb +0 -181
- data/lib/stripe/stripe_client.rb +1 -4
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_event_notification_handler.rb +0 -216
- data/lib/stripe/stripe_object.rb +60 -1
- data/lib/stripe/stripe_service.rb +13 -9
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +68 -3
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/v2/core/event_base.rbi +11 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -2
- data/rbi/stripe.rbi +33552 -100276
- metadata +6 -332
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
- data/lib/stripe/events/v2_signals_account_evaluation_complete_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +0 -15
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/invoice_detach_payment_params.rb +0 -16
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_create_params.rb +0 -2083
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -2087
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/payment_plan_create_params.rb +0 -128
- data/lib/stripe/params/payment_plan_list_params.rb +0 -25
- data/lib/stripe/params/payment_plan_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_plan_update_params.rb +0 -105
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/radar/billing_evaluation_create_params.rb +0 -231
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_list_params.rb +0 -37
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -71
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +0 -47
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +0 -17
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -53
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/data/query_run_create_params.rb +0 -50
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_list_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/data/report_run_create_params.rb +0 -48
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/data/schema_list_params.rb +0 -26
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -30
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -35
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -113
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -112
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_disable_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_generate_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_create_params.rb +0 -200
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +0 -192
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +0 -35
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -149
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -927
- data/lib/stripe/resources/payment_plan.rb +0 -213
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1241
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -968
- data/lib/stripe/resources/radar/billing_evaluation.rb +0 -281
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -681
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -310
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -91
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
- data/lib/stripe/resources/v2/billing/profile.rb +0 -47
- data/lib/stripe/resources/v2/core/approval_request.rb +0 -395
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -536
- data/lib/stripe/resources/v2/data/query_run.rb +0 -255
- data/lib/stripe/resources/v2/data/report.rb +0 -104
- data/lib/stripe/resources/v2/data/report_run.rb +0 -246
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/data/schema.rb +0 -121
- data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
- data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -368
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +0 -33
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -255
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -260
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -137
- data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
- data/lib/stripe/resources/v2/signals/account_activity.rb +0 -252
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +0 -249
- data/lib/stripe/resources/v2/signals/account_signal.rb +0 -184
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/authorization_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_service.rb +0 -53
- data/lib/stripe/services/payment_plan_service.rb +0 -50
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/radar/billing_evaluation_service.rb +0 -19
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -30
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
- data/lib/stripe/services/shared_payment_service.rb +0 -14
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/approval_request_service.rb +0 -58
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/data/query_run_service.rb +0 -34
- data/lib/stripe/services/v2/data/report_run_service.rb +0 -36
- data/lib/stripe/services/v2/data/report_service.rb +0 -34
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/data/schema_service.rb +0 -32
- data/lib/stripe/services/v2/data_service.rb +0 -19
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -32
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -35
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -61
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/signals/account_activity_service.rb +0 -43
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +0 -32
- data/lib/stripe/services/v2/signals/account_signal_service.rb +0 -32
- data/lib/stripe/services/v2/signals_service.rb +0 -17
|
@@ -16,18 +16,6 @@ module Stripe
|
|
|
16
16
|
"radar.value_list_item"
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
-
class Redaction < ::Stripe::StripeObject
|
|
20
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
21
|
-
attr_reader :status
|
|
22
|
-
|
|
23
|
-
def self.inner_class_types
|
|
24
|
-
@inner_class_types = {}
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
def self.field_remappings
|
|
28
|
-
@field_remappings = {}
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
19
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
32
20
|
attr_reader :created
|
|
33
21
|
# The name or email address of the user who added this item to the value list.
|
|
@@ -40,8 +28,6 @@ module Stripe
|
|
|
40
28
|
attr_reader :livemode
|
|
41
29
|
# String representing the object's type. Objects of the same type share the same value.
|
|
42
30
|
attr_reader :object
|
|
43
|
-
# Redaction status of this item. If not null, this item is associated to a redaction job.
|
|
44
|
-
attr_reader :redaction
|
|
45
31
|
# The value of the item.
|
|
46
32
|
attr_reader :value
|
|
47
33
|
# The identifier of the value list this item belongs to.
|
|
@@ -88,7 +74,7 @@ module Stripe
|
|
|
88
74
|
end
|
|
89
75
|
|
|
90
76
|
def self.inner_class_types
|
|
91
|
-
@inner_class_types = {
|
|
77
|
+
@inner_class_types = {}
|
|
92
78
|
end
|
|
93
79
|
|
|
94
80
|
def self.field_remappings
|
|
@@ -227,21 +227,6 @@ module Stripe
|
|
|
227
227
|
end
|
|
228
228
|
end
|
|
229
229
|
|
|
230
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
231
|
-
# The reference assigned to the refund.
|
|
232
|
-
attr_reader :reference
|
|
233
|
-
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
|
234
|
-
attr_reader :reference_status
|
|
235
|
-
|
|
236
|
-
def self.inner_class_types
|
|
237
|
-
@inner_class_types = {}
|
|
238
|
-
end
|
|
239
|
-
|
|
240
|
-
def self.field_remappings
|
|
241
|
-
@field_remappings = {}
|
|
242
|
-
end
|
|
243
|
-
end
|
|
244
|
-
|
|
245
230
|
class JpBankTransfer < ::Stripe::StripeObject
|
|
246
231
|
# The reference assigned to the refund.
|
|
247
232
|
attr_reader :reference
|
|
@@ -519,8 +504,6 @@ module Stripe
|
|
|
519
504
|
attr_reader :giropay
|
|
520
505
|
# Attribute for field grabpay
|
|
521
506
|
attr_reader :grabpay
|
|
522
|
-
# Attribute for field id_bank_transfer
|
|
523
|
-
attr_reader :id_bank_transfer
|
|
524
507
|
# Attribute for field jp_bank_transfer
|
|
525
508
|
attr_reader :jp_bank_transfer
|
|
526
509
|
# Attribute for field klarna
|
|
@@ -581,7 +564,6 @@ module Stripe
|
|
|
581
564
|
gb_bank_transfer: GbBankTransfer,
|
|
582
565
|
giropay: Giropay,
|
|
583
566
|
grabpay: Grabpay,
|
|
584
|
-
id_bank_transfer: IdBankTransfer,
|
|
585
567
|
jp_bank_transfer: JpBankTransfer,
|
|
586
568
|
klarna: Klarna,
|
|
587
569
|
mb_way: MbWay,
|
|
@@ -5,8 +5,6 @@ module Stripe
|
|
|
5
5
|
module Reserve
|
|
6
6
|
# ReserveHolds are used to place a temporary ReserveHold on a merchant's funds.
|
|
7
7
|
class Hold < APIResource
|
|
8
|
-
extend Stripe::APIOperations::List
|
|
9
|
-
|
|
10
8
|
OBJECT_NAME = "reserve.hold"
|
|
11
9
|
def self.object_name
|
|
12
10
|
"reserve.hold"
|
|
@@ -76,11 +74,6 @@ module Stripe
|
|
|
76
74
|
# Which source balance type this ReserveHold reserves funds from. One of `bank_account`, `card`, or `fpx`.
|
|
77
75
|
attr_reader :source_type
|
|
78
76
|
|
|
79
|
-
# Returns a list of ReserveHolds previously created. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
|
|
80
|
-
def self.list(params = {}, opts = {})
|
|
81
|
-
request_stripe_object(method: :get, path: "/v1/reserve/holds", params: params, opts: opts)
|
|
82
|
-
end
|
|
83
|
-
|
|
84
77
|
def self.inner_class_types
|
|
85
78
|
@inner_class_types = { release_details: ReleaseDetail, release_schedule: ReleaseSchedule }
|
|
86
79
|
end
|
|
@@ -5,8 +5,6 @@ module Stripe
|
|
|
5
5
|
module Reserve
|
|
6
6
|
# ReservePlans are used to automatically place holds on a merchant's funds until the plan expires. It takes a portion of each incoming Charge (including those resulting from a Transfer from a platform account).
|
|
7
7
|
class Plan < APIResource
|
|
8
|
-
extend Stripe::APIOperations::List
|
|
9
|
-
|
|
10
8
|
OBJECT_NAME = "reserve.plan"
|
|
11
9
|
def self.object_name
|
|
12
10
|
"reserve.plan"
|
|
@@ -82,11 +80,6 @@ module Stripe
|
|
|
82
80
|
# The type of the ReservePlan.
|
|
83
81
|
attr_reader :type
|
|
84
82
|
|
|
85
|
-
# Returns a list of ReservePlans previously created. The ReservePlans are returned in sorted order, with the most recent ReservePlans appearing first.
|
|
86
|
-
def self.list(params = {}, opts = {})
|
|
87
|
-
request_stripe_object(method: :get, path: "/v1/reserve/plans", params: params, opts: opts)
|
|
88
|
-
end
|
|
89
|
-
|
|
90
83
|
def self.inner_class_types
|
|
91
84
|
@inner_class_types = {
|
|
92
85
|
fixed_release: FixedRelease,
|
|
@@ -5,8 +5,6 @@ module Stripe
|
|
|
5
5
|
module Reserve
|
|
6
6
|
# ReserveReleases represent the release of funds from a ReserveHold.
|
|
7
7
|
class Release < APIResource
|
|
8
|
-
extend Stripe::APIOperations::List
|
|
9
|
-
|
|
10
8
|
OBJECT_NAME = "reserve.release"
|
|
11
9
|
def self.object_name
|
|
12
10
|
"reserve.release"
|
|
@@ -57,16 +55,6 @@ module Stripe
|
|
|
57
55
|
# Attribute for field source_transaction
|
|
58
56
|
attr_reader :source_transaction
|
|
59
57
|
|
|
60
|
-
# Returns a list of ReserveReleases previously created. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.
|
|
61
|
-
def self.list(params = {}, opts = {})
|
|
62
|
-
request_stripe_object(
|
|
63
|
-
method: :get,
|
|
64
|
-
path: "/v1/reserve/releases",
|
|
65
|
-
params: params,
|
|
66
|
-
opts: opts
|
|
67
|
-
)
|
|
68
|
-
end
|
|
69
|
-
|
|
70
58
|
def self.inner_class_types
|
|
71
59
|
@inner_class_types = { source_transaction: SourceTransaction }
|
|
72
60
|
end
|
|
@@ -268,25 +268,6 @@ module Stripe
|
|
|
268
268
|
end
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
272
|
-
# Bank where the account is located.
|
|
273
|
-
attr_reader :bank
|
|
274
|
-
# Local bank code of the bank.
|
|
275
|
-
attr_reader :bank_code
|
|
276
|
-
# Name of the bank associated with the bank account.
|
|
277
|
-
attr_reader :bank_name
|
|
278
|
-
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
279
|
-
attr_reader :display_name
|
|
280
|
-
|
|
281
|
-
def self.inner_class_types
|
|
282
|
-
@inner_class_types = {}
|
|
283
|
-
end
|
|
284
|
-
|
|
285
|
-
def self.field_remappings
|
|
286
|
-
@field_remappings = {}
|
|
287
|
-
end
|
|
288
|
-
end
|
|
289
|
-
|
|
290
271
|
class Ideal < ::Stripe::StripeObject
|
|
291
272
|
# The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
292
273
|
attr_reader :bank
|
|
@@ -466,16 +447,6 @@ module Stripe
|
|
|
466
447
|
end
|
|
467
448
|
end
|
|
468
449
|
|
|
469
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
470
|
-
def self.inner_class_types
|
|
471
|
-
@inner_class_types = {}
|
|
472
|
-
end
|
|
473
|
-
|
|
474
|
-
def self.field_remappings
|
|
475
|
-
@field_remappings = {}
|
|
476
|
-
end
|
|
477
|
-
end
|
|
478
|
-
|
|
479
450
|
class Twint < ::Stripe::StripeObject
|
|
480
451
|
def self.inner_class_types
|
|
481
452
|
@inner_class_types = {}
|
|
@@ -525,8 +496,6 @@ module Stripe
|
|
|
525
496
|
attr_reader :card_present
|
|
526
497
|
# Attribute for field cashapp
|
|
527
498
|
attr_reader :cashapp
|
|
528
|
-
# Attribute for field id_bank_transfer
|
|
529
|
-
attr_reader :id_bank_transfer
|
|
530
499
|
# Attribute for field ideal
|
|
531
500
|
attr_reader :ideal
|
|
532
501
|
# Attribute for field kakao_pay
|
|
@@ -555,8 +524,6 @@ module Stripe
|
|
|
555
524
|
attr_reader :sepa_debit
|
|
556
525
|
# Attribute for field sofort
|
|
557
526
|
attr_reader :sofort
|
|
558
|
-
# Attribute for field stripe_balance
|
|
559
|
-
attr_reader :stripe_balance
|
|
560
527
|
# Attribute for field twint
|
|
561
528
|
attr_reader :twint
|
|
562
529
|
# The type of the payment method used in the SetupIntent (e.g., `card`). An additional hash is included on `payment_method_details` with a name matching this value. It contains confirmation-specific information for the payment method.
|
|
@@ -578,7 +545,6 @@ module Stripe
|
|
|
578
545
|
card: Card,
|
|
579
546
|
card_present: CardPresent,
|
|
580
547
|
cashapp: Cashapp,
|
|
581
|
-
id_bank_transfer: IdBankTransfer,
|
|
582
548
|
ideal: Ideal,
|
|
583
549
|
kakao_pay: KakaoPay,
|
|
584
550
|
klarna: Klarna,
|
|
@@ -593,7 +559,6 @@ module Stripe
|
|
|
593
559
|
satispay: Satispay,
|
|
594
560
|
sepa_debit: SepaDebit,
|
|
595
561
|
sofort: Sofort,
|
|
596
|
-
stripe_balance: StripeBalance,
|
|
597
562
|
twint: Twint,
|
|
598
563
|
upi: Upi,
|
|
599
564
|
us_bank_account: UsBankAccount,
|
|
@@ -515,10 +515,6 @@ module Stripe
|
|
|
515
515
|
class Paypal < ::Stripe::StripeObject
|
|
516
516
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
517
517
|
attr_reader :billing_agreement_id
|
|
518
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
519
|
-
attr_reader :currency
|
|
520
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
521
|
-
attr_reader :subsellers
|
|
522
518
|
|
|
523
519
|
def self.inner_class_types
|
|
524
520
|
@inner_class_types = {}
|
|
@@ -666,21 +662,6 @@ module Stripe
|
|
|
666
662
|
class Filters < ::Stripe::StripeObject
|
|
667
663
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
668
664
|
attr_reader :account_subcategories
|
|
669
|
-
# The institution to use to filter for possible accounts to link.
|
|
670
|
-
attr_reader :institution
|
|
671
|
-
|
|
672
|
-
def self.inner_class_types
|
|
673
|
-
@inner_class_types = {}
|
|
674
|
-
end
|
|
675
|
-
|
|
676
|
-
def self.field_remappings
|
|
677
|
-
@field_remappings = {}
|
|
678
|
-
end
|
|
679
|
-
end
|
|
680
|
-
|
|
681
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
682
|
-
# Settings for configuring manual entry of account details.
|
|
683
|
-
attr_reader :mode
|
|
684
665
|
|
|
685
666
|
def self.inner_class_types
|
|
686
667
|
@inner_class_types = {}
|
|
@@ -692,8 +673,6 @@ module Stripe
|
|
|
692
673
|
end
|
|
693
674
|
# Attribute for field filters
|
|
694
675
|
attr_reader :filters
|
|
695
|
-
# Attribute for field manual_entry
|
|
696
|
-
attr_reader :manual_entry
|
|
697
676
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
698
677
|
attr_reader :permissions
|
|
699
678
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -702,7 +681,7 @@ module Stripe
|
|
|
702
681
|
attr_reader :return_url
|
|
703
682
|
|
|
704
683
|
def self.inner_class_types
|
|
705
|
-
@inner_class_types = { filters: Filters
|
|
684
|
+
@inner_class_types = { filters: Filters }
|
|
706
685
|
end
|
|
707
686
|
|
|
708
687
|
def self.field_remappings
|
|
@@ -795,19 +774,6 @@ module Stripe
|
|
|
795
774
|
@field_remappings = {}
|
|
796
775
|
end
|
|
797
776
|
end
|
|
798
|
-
|
|
799
|
-
class Redaction < ::Stripe::StripeObject
|
|
800
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
801
|
-
attr_reader :status
|
|
802
|
-
|
|
803
|
-
def self.inner_class_types
|
|
804
|
-
@inner_class_types = {}
|
|
805
|
-
end
|
|
806
|
-
|
|
807
|
-
def self.field_remappings
|
|
808
|
-
@field_remappings = {}
|
|
809
|
-
end
|
|
810
|
-
end
|
|
811
777
|
# The list of payment method types to allow for this SetupIntent. Stripe will only use methods in this list when determining the payment methods to offer.
|
|
812
778
|
attr_reader :allowed_payment_method_types
|
|
813
779
|
# ID of the Connect application that created the SetupIntent.
|
|
@@ -870,8 +836,6 @@ module Stripe
|
|
|
870
836
|
attr_reader :payment_method_options
|
|
871
837
|
# The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
872
838
|
attr_reader :payment_method_types
|
|
873
|
-
# Redaction status of this SetupIntent. If the SetupIntent isn't redacted, this field is null.
|
|
874
|
-
attr_reader :redaction
|
|
875
839
|
# ID of the single_use Mandate generated by the SetupIntent.
|
|
876
840
|
attr_reader :single_use_mandate
|
|
877
841
|
# [Status](https://docs.stripe.com/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.
|
|
@@ -1002,7 +966,6 @@ module Stripe
|
|
|
1002
966
|
next_action: NextAction,
|
|
1003
967
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
1004
968
|
payment_method_options: PaymentMethodOptions,
|
|
1005
|
-
redaction: Redaction,
|
|
1006
969
|
}
|
|
1007
970
|
end
|
|
1008
971
|
|
|
@@ -167,8 +167,6 @@ module Stripe
|
|
|
167
167
|
attr_reader :address_zip_check
|
|
168
168
|
# Attribute for field brand
|
|
169
169
|
attr_reader :brand
|
|
170
|
-
# Attribute for field brand_product
|
|
171
|
-
attr_reader :brand_product
|
|
172
170
|
# Attribute for field country
|
|
173
171
|
attr_reader :country
|
|
174
172
|
# Attribute for field cvc_check
|
|
@@ -218,8 +216,6 @@ module Stripe
|
|
|
218
216
|
attr_reader :authorization_response_code
|
|
219
217
|
# Attribute for field brand
|
|
220
218
|
attr_reader :brand
|
|
221
|
-
# Attribute for field brand_product
|
|
222
|
-
attr_reader :brand_product
|
|
223
219
|
# Attribute for field country
|
|
224
220
|
attr_reader :country
|
|
225
221
|
# Attribute for field cvm_type
|
|
@@ -519,35 +515,6 @@ module Stripe
|
|
|
519
515
|
end
|
|
520
516
|
end
|
|
521
517
|
|
|
522
|
-
class Paypal < ::Stripe::StripeObject
|
|
523
|
-
# Attribute for field billing_agreement
|
|
524
|
-
attr_reader :billing_agreement
|
|
525
|
-
# Attribute for field fingerprint
|
|
526
|
-
attr_reader :fingerprint
|
|
527
|
-
# Attribute for field payer_id
|
|
528
|
-
attr_reader :payer_id
|
|
529
|
-
# Attribute for field reference_id
|
|
530
|
-
attr_reader :reference_id
|
|
531
|
-
# Attribute for field reference_transaction_amount
|
|
532
|
-
attr_reader :reference_transaction_amount
|
|
533
|
-
# Attribute for field reference_transaction_charged
|
|
534
|
-
attr_reader :reference_transaction_charged
|
|
535
|
-
# Attribute for field statement_descriptor
|
|
536
|
-
attr_reader :statement_descriptor
|
|
537
|
-
# Attribute for field transaction_id
|
|
538
|
-
attr_reader :transaction_id
|
|
539
|
-
# Attribute for field verified_email
|
|
540
|
-
attr_reader :verified_email
|
|
541
|
-
|
|
542
|
-
def self.inner_class_types
|
|
543
|
-
@inner_class_types = {}
|
|
544
|
-
end
|
|
545
|
-
|
|
546
|
-
def self.field_remappings
|
|
547
|
-
@field_remappings = {}
|
|
548
|
-
end
|
|
549
|
-
end
|
|
550
|
-
|
|
551
518
|
class Receiver < ::Stripe::StripeObject
|
|
552
519
|
# The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.
|
|
553
520
|
attr_reader :address
|
|
@@ -571,19 +538,6 @@ module Stripe
|
|
|
571
538
|
end
|
|
572
539
|
end
|
|
573
540
|
|
|
574
|
-
class Redaction < ::Stripe::StripeObject
|
|
575
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
576
|
-
attr_reader :status
|
|
577
|
-
|
|
578
|
-
def self.inner_class_types
|
|
579
|
-
@inner_class_types = {}
|
|
580
|
-
end
|
|
581
|
-
|
|
582
|
-
def self.field_remappings
|
|
583
|
-
@field_remappings = {}
|
|
584
|
-
end
|
|
585
|
-
end
|
|
586
|
-
|
|
587
541
|
class Redirect < ::Stripe::StripeObject
|
|
588
542
|
# The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`.
|
|
589
543
|
attr_reader :failure_reason
|
|
@@ -781,8 +735,6 @@ module Stripe
|
|
|
781
735
|
attr_reader :authenticated
|
|
782
736
|
# Attribute for field brand
|
|
783
737
|
attr_reader :brand
|
|
784
|
-
# Attribute for field brand_product
|
|
785
|
-
attr_reader :brand_product
|
|
786
738
|
# Attribute for field card
|
|
787
739
|
attr_reader :card
|
|
788
740
|
# Attribute for field country
|
|
@@ -895,12 +847,8 @@ module Stripe
|
|
|
895
847
|
attr_reader :owner
|
|
896
848
|
# Attribute for field p24
|
|
897
849
|
attr_reader :p24
|
|
898
|
-
# Attribute for field paypal
|
|
899
|
-
attr_reader :paypal
|
|
900
850
|
# Attribute for field receiver
|
|
901
851
|
attr_reader :receiver
|
|
902
|
-
# Redaction status of this source. If not null, this source is associated to a redaction job.
|
|
903
|
-
attr_reader :redaction
|
|
904
852
|
# Attribute for field redirect
|
|
905
853
|
attr_reader :redirect
|
|
906
854
|
# Attribute for field sepa_credit_transfer
|
|
@@ -1004,9 +952,7 @@ module Stripe
|
|
|
1004
952
|
multibanco: Multibanco,
|
|
1005
953
|
owner: Owner,
|
|
1006
954
|
p24: P24,
|
|
1007
|
-
paypal: Paypal,
|
|
1008
955
|
receiver: Receiver,
|
|
1009
|
-
redaction: Redaction,
|
|
1010
956
|
redirect: Redirect,
|
|
1011
957
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
1012
958
|
sepa_debit: SepaDebit,
|
|
@@ -245,37 +245,6 @@ module Stripe
|
|
|
245
245
|
end
|
|
246
246
|
end
|
|
247
247
|
|
|
248
|
-
class LastPriceMigrationError < ::Stripe::StripeObject
|
|
249
|
-
class FailedTransition < ::Stripe::StripeObject
|
|
250
|
-
# The original price to be migrated.
|
|
251
|
-
attr_reader :source_price
|
|
252
|
-
# The intended resulting price of the migration.
|
|
253
|
-
attr_reader :target_price
|
|
254
|
-
|
|
255
|
-
def self.inner_class_types
|
|
256
|
-
@inner_class_types = {}
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
def self.field_remappings
|
|
260
|
-
@field_remappings = {}
|
|
261
|
-
end
|
|
262
|
-
end
|
|
263
|
-
# The time at which the price migration encountered an error.
|
|
264
|
-
attr_reader :errored_at
|
|
265
|
-
# The involved price pairs in each failed transition.
|
|
266
|
-
attr_reader :failed_transitions
|
|
267
|
-
# The type of error encountered by the price migration.
|
|
268
|
-
attr_reader :type
|
|
269
|
-
|
|
270
|
-
def self.inner_class_types
|
|
271
|
-
@inner_class_types = { failed_transitions: FailedTransition }
|
|
272
|
-
end
|
|
273
|
-
|
|
274
|
-
def self.field_remappings
|
|
275
|
-
@field_remappings = {}
|
|
276
|
-
end
|
|
277
|
-
end
|
|
278
|
-
|
|
279
248
|
class ManagedPayments < ::Stripe::StripeObject
|
|
280
249
|
# Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
281
250
|
attr_reader :enabled
|
|
@@ -500,16 +469,6 @@ module Stripe
|
|
|
500
469
|
end
|
|
501
470
|
end
|
|
502
471
|
|
|
503
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
504
|
-
def self.inner_class_types
|
|
505
|
-
@inner_class_types = {}
|
|
506
|
-
end
|
|
507
|
-
|
|
508
|
-
def self.field_remappings
|
|
509
|
-
@field_remappings = {}
|
|
510
|
-
end
|
|
511
|
-
end
|
|
512
|
-
|
|
513
472
|
class Konbini < ::Stripe::StripeObject
|
|
514
473
|
def self.inner_class_types
|
|
515
474
|
@inner_class_types = {}
|
|
@@ -628,8 +587,6 @@ module Stripe
|
|
|
628
587
|
class Filters < ::Stripe::StripeObject
|
|
629
588
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
630
589
|
attr_reader :account_subcategories
|
|
631
|
-
# The institution to use to filter for possible accounts to link.
|
|
632
|
-
attr_reader :institution
|
|
633
590
|
|
|
634
591
|
def self.inner_class_types
|
|
635
592
|
@inner_class_types = {}
|
|
@@ -679,8 +636,6 @@ module Stripe
|
|
|
679
636
|
attr_reader :card
|
|
680
637
|
# This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
681
638
|
attr_reader :customer_balance
|
|
682
|
-
# This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
683
|
-
attr_reader :id_bank_transfer
|
|
684
639
|
# This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
685
640
|
attr_reader :konbini
|
|
686
641
|
# This sub-hash contains details about the PayTo payment method options to pass to invoices created by the subscription.
|
|
@@ -702,7 +657,6 @@ module Stripe
|
|
|
702
657
|
blik: Blik,
|
|
703
658
|
card: Card,
|
|
704
659
|
customer_balance: CustomerBalance,
|
|
705
|
-
id_bank_transfer: IdBankTransfer,
|
|
706
660
|
konbini: Konbini,
|
|
707
661
|
payto: Payto,
|
|
708
662
|
pix: Pix,
|
|
@@ -760,8 +714,6 @@ module Stripe
|
|
|
760
714
|
attr_reader :expires_at
|
|
761
715
|
# 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.
|
|
762
716
|
attr_reader :metadata
|
|
763
|
-
# The number of iterations of prebilling to apply.
|
|
764
|
-
attr_reader :prebilling_iterations
|
|
765
717
|
# List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
766
718
|
attr_reader :subscription_items
|
|
767
719
|
# Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied.
|
|
@@ -778,25 +730,6 @@ module Stripe
|
|
|
778
730
|
end
|
|
779
731
|
end
|
|
780
732
|
|
|
781
|
-
class Prebilling < ::Stripe::StripeObject
|
|
782
|
-
# ID of the prebilling invoice.
|
|
783
|
-
attr_reader :invoice
|
|
784
|
-
# The end of the last period for which the invoice pre-bills.
|
|
785
|
-
attr_reader :period_end
|
|
786
|
-
# The start of the first period for which the invoice pre-bills.
|
|
787
|
-
attr_reader :period_start
|
|
788
|
-
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
789
|
-
attr_reader :update_behavior
|
|
790
|
-
|
|
791
|
-
def self.inner_class_types
|
|
792
|
-
@inner_class_types = {}
|
|
793
|
-
end
|
|
794
|
-
|
|
795
|
-
def self.field_remappings
|
|
796
|
-
@field_remappings = {}
|
|
797
|
-
end
|
|
798
|
-
end
|
|
799
|
-
|
|
800
733
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
801
734
|
# Currency used for customer payments.
|
|
802
735
|
attr_reader :presentment_currency
|
|
@@ -946,8 +879,6 @@ module Stripe
|
|
|
946
879
|
attr_reader :invoice_settings
|
|
947
880
|
# List of subscription items, each with an attached price.
|
|
948
881
|
attr_reader :items
|
|
949
|
-
# Details of the most recent price migration that failed for the subscription.
|
|
950
|
-
attr_reader :last_price_migration_error
|
|
951
882
|
# The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
952
883
|
attr_reader :latest_invoice
|
|
953
884
|
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
@@ -972,8 +903,6 @@ module Stripe
|
|
|
972
903
|
attr_reader :pending_setup_intent
|
|
973
904
|
# If specified, [pending updates](https://docs.stripe.com/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.
|
|
974
905
|
attr_reader :pending_update
|
|
975
|
-
# Time period and invoice for a Subscription billed in advance.
|
|
976
|
-
attr_reader :prebilling
|
|
977
906
|
# Attribute for field presentment_details
|
|
978
907
|
attr_reader :presentment_details
|
|
979
908
|
# The schedule attached to the subscription
|
|
@@ -1183,13 +1112,11 @@ module Stripe
|
|
|
1183
1112
|
billing_thresholds: BillingThresholds,
|
|
1184
1113
|
cancellation_details: CancellationDetails,
|
|
1185
1114
|
invoice_settings: InvoiceSettings,
|
|
1186
|
-
last_price_migration_error: LastPriceMigrationError,
|
|
1187
1115
|
managed_payments: ManagedPayments,
|
|
1188
1116
|
pause_collection: PauseCollection,
|
|
1189
1117
|
payment_settings: PaymentSettings,
|
|
1190
1118
|
pending_invoice_item_interval: PendingInvoiceItemInterval,
|
|
1191
1119
|
pending_update: PendingUpdate,
|
|
1192
|
-
prebilling: Prebilling,
|
|
1193
1120
|
presentment_details: PresentmentDetails,
|
|
1194
1121
|
status_details: StatusDetails,
|
|
1195
1122
|
transfer_data: TransferData,
|
|
@@ -44,21 +44,6 @@ module Stripe
|
|
|
44
44
|
@field_remappings = {}
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
|
-
|
|
48
|
-
class Trial < ::Stripe::StripeObject
|
|
49
|
-
# List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
|
|
50
|
-
attr_reader :converts_to
|
|
51
|
-
# Determines the type of trial for this item.
|
|
52
|
-
attr_reader :type
|
|
53
|
-
|
|
54
|
-
def self.inner_class_types
|
|
55
|
-
@inner_class_types = {}
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
def self.field_remappings
|
|
59
|
-
@field_remappings = {}
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
47
|
# The time period the subscription item has been billed for.
|
|
63
48
|
attr_reader :billed_until
|
|
64
49
|
# Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
|
|
@@ -103,8 +88,6 @@ module Stripe
|
|
|
103
88
|
attr_reader :subscription
|
|
104
89
|
# The tax rates which apply to this `subscription_item`. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
|
|
105
90
|
attr_reader :tax_rates
|
|
106
|
-
# Options that configure the trial on the subscription item.
|
|
107
|
-
attr_reader :trial
|
|
108
91
|
|
|
109
92
|
# Adds a new item to an existing subscription. No existing items will be changed or replaced.
|
|
110
93
|
def self.create(params = {}, opts = {})
|
|
@@ -157,11 +140,7 @@ module Stripe
|
|
|
157
140
|
end
|
|
158
141
|
|
|
159
142
|
def self.inner_class_types
|
|
160
|
-
@inner_class_types = {
|
|
161
|
-
billing_thresholds: BillingThresholds,
|
|
162
|
-
current_trial: CurrentTrial,
|
|
163
|
-
trial: Trial,
|
|
164
|
-
}
|
|
143
|
+
@inner_class_types = { billing_thresholds: BillingThresholds, current_trial: CurrentTrial }
|
|
165
144
|
end
|
|
166
145
|
|
|
167
146
|
def self.field_remappings
|