stripe 20.2.0.pre.beta.1 → 21.1.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 +18 -7
- data/lib/stripe/api_operations/save.rb +4 -4
- data/lib/stripe/api_requestor.rb +55 -38
- data/lib/stripe/api_resource.rb +1 -2
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/connection_manager.rb +3 -0
- data/lib/stripe/errors.rb +0 -6
- data/lib/stripe/event_types.rb +20 -193
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/events/v2_core_account_closed_event.rb +2 -2
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +2 -2
- data/lib/stripe/events/{v2_data_reporting_query_run_failed_event.rb → v2_core_claimable_sandbox_claimed_event.rb} +7 -7
- data/lib/stripe/events/{v2_money_management_outbound_transfer_created_event.rb → v2_core_claimable_sandbox_created_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_approval_request_rejected_event.rb → v2_core_claimable_sandbox_expired_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_batch_job_validation_failed_event.rb → v2_core_claimable_sandbox_expiring_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_approval_request_approved_event.rb → v2_core_claimable_sandbox_updated_event.rb} +7 -7
- data/lib/stripe/object_types.rb +1 -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/billing_portal/configuration_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -1
- 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 +11 -88
- 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 +2 -18
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -39
- 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 +2 -34
- 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 -981
- data/lib/stripe/params/payment_intent_confirm_params.rb +147 -2438
- data/lib/stripe/params/payment_intent_create_params.rb +148 -2439
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +149 -2471
- data/lib/stripe/params/payment_link_update_params.rb +4 -0
- 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/product_create_params.rb +4 -1
- data/lib/stripe/params/product_update_params.rb +4 -1
- data/lib/stripe/params/quote_create_params.rb +4 -810
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +5 -818
- data/lib/stripe/params/reporting/report_run_create_params.rb +4 -0
- 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/test_helpers/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -1
- 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/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -1
- 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 +143 -396
- data/lib/stripe/params/v2/core/account_link_create_params.rb +19 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -29
- data/lib/stripe/params/v2/core/account_update_params.rb +142 -380
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +63 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +32 -0
- data/lib/stripe/params/v2/{billing/cadence_retrieve_params.rb → core/claimable_sandbox_retrieve_params.rb} +3 -3
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -1
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +2 -2
- 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 +7 -364
- data/lib/stripe/request_options.rb +37 -2
- data/lib/stripe/resources/account.rb +1 -176
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/apps/install.rb +2 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +0 -4
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +275 -232
- data/lib/stripe/resources/checkout/session.rb +7 -91
- data/lib/stripe/resources/confirmation_token.rb +2 -133
- data/lib/stripe/resources/coupon.rb +7 -29
- 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 +1 -19
- data/lib/stripe/resources/event.rb +3 -66
- 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 +1 -17
- 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 +5 -178
- data/lib/stripe/resources/payment_intent.rb +17 -1022
- data/lib/stripe/resources/payment_method.rb +2 -153
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +5 -178
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +2 -0
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +38 -18
- data/lib/stripe/resources/reporting/report_run.rb +2 -0
- data/lib/stripe/resources/reserve/hold.rb +1 -8
- 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 +2 -37
- data/lib/stripe/resources/setup_intent.rb +2 -39
- 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/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/inbound_transfer.rb +35 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +37 -11
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -32
- data/lib/stripe/resources/treasury/received_credit.rb +1 -31
- data/lib/stripe/resources/treasury/received_debit.rb +1 -33
- data/lib/stripe/resources/v2/core/account.rb +293 -850
- data/lib/stripe/resources/v2/core/account_link.rb +18 -1
- data/lib/stripe/resources/v2/core/account_person_token.rb +2 -0
- data/lib/stripe/resources/v2/core/account_token.rb +3 -1
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +269 -0
- data/lib/stripe/resources/v2/core/event.rb +1 -1
- data/lib/stripe/resources/v2/core/event_base.rb +19 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +32 -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 +19 -341
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/apps/install_service.rb +2 -2
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/checkout/session_service.rb +2 -0
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/event_service.rb +1 -1
- 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/treasury/inbound_transfer_service.rb +3 -3
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -1
- 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/account_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +2 -2
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +2 -1
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +49 -0
- data/lib/stripe/services/v2/core_service.rb +2 -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 +2 -181
- data/lib/stripe/stripe_client.rb +7 -4
- data/lib/stripe/stripe_configuration.rb +10 -5
- data/lib/stripe/stripe_event_notification_handler.rb +16 -206
- data/lib/stripe/stripe_object.rb +82 -10
- 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 +63009 -123066
- metadata +16 -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_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_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_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_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_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_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
|
|
@@ -83,6 +83,21 @@ module Stripe
|
|
|
83
83
|
end
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
+
class Bizum < ::Stripe::StripeObject
|
|
87
|
+
# The reference assigned to the refund.
|
|
88
|
+
attr_reader :reference
|
|
89
|
+
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
|
90
|
+
attr_reader :reference_status
|
|
91
|
+
|
|
92
|
+
def self.inner_class_types
|
|
93
|
+
@inner_class_types = {}
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
def self.field_remappings
|
|
97
|
+
@field_remappings = {}
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
86
101
|
class Blik < ::Stripe::StripeObject
|
|
87
102
|
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
|
|
88
103
|
attr_reader :network_decline_code
|
|
@@ -227,21 +242,6 @@ module Stripe
|
|
|
227
242
|
end
|
|
228
243
|
end
|
|
229
244
|
|
|
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
245
|
class JpBankTransfer < ::Stripe::StripeObject
|
|
246
246
|
# The reference assigned to the refund.
|
|
247
247
|
attr_reader :reference
|
|
@@ -451,6 +451,21 @@ module Stripe
|
|
|
451
451
|
end
|
|
452
452
|
end
|
|
453
453
|
|
|
454
|
+
class Upi < ::Stripe::StripeObject
|
|
455
|
+
# The reference assigned to the refund.
|
|
456
|
+
attr_reader :reference
|
|
457
|
+
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
|
458
|
+
attr_reader :reference_status
|
|
459
|
+
|
|
460
|
+
def self.inner_class_types
|
|
461
|
+
@inner_class_types = {}
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
def self.field_remappings
|
|
465
|
+
@field_remappings = {}
|
|
466
|
+
end
|
|
467
|
+
end
|
|
468
|
+
|
|
454
469
|
class UsBankTransfer < ::Stripe::StripeObject
|
|
455
470
|
# The reference assigned to the refund.
|
|
456
471
|
attr_reader :reference
|
|
@@ -497,6 +512,8 @@ module Stripe
|
|
|
497
512
|
attr_reader :amazon_pay
|
|
498
513
|
# Attribute for field au_bank_transfer
|
|
499
514
|
attr_reader :au_bank_transfer
|
|
515
|
+
# Attribute for field bizum
|
|
516
|
+
attr_reader :bizum
|
|
500
517
|
# Attribute for field blik
|
|
501
518
|
attr_reader :blik
|
|
502
519
|
# Attribute for field br_bank_transfer
|
|
@@ -519,8 +536,6 @@ module Stripe
|
|
|
519
536
|
attr_reader :giropay
|
|
520
537
|
# Attribute for field grabpay
|
|
521
538
|
attr_reader :grabpay
|
|
522
|
-
# Attribute for field id_bank_transfer
|
|
523
|
-
attr_reader :id_bank_transfer
|
|
524
539
|
# Attribute for field jp_bank_transfer
|
|
525
540
|
attr_reader :jp_bank_transfer
|
|
526
541
|
# Attribute for field klarna
|
|
@@ -555,6 +570,8 @@ module Stripe
|
|
|
555
570
|
attr_reader :twint
|
|
556
571
|
# The type of transaction-specific details of the payment method used in the refund (e.g., `card`). An additional hash is included on `destination_details` with a name matching this value. It contains information specific to the refund transaction.
|
|
557
572
|
attr_reader :type
|
|
573
|
+
# Attribute for field upi
|
|
574
|
+
attr_reader :upi
|
|
558
575
|
# Attribute for field us_bank_transfer
|
|
559
576
|
attr_reader :us_bank_transfer
|
|
560
577
|
# Attribute for field wechat_pay
|
|
@@ -570,6 +587,7 @@ module Stripe
|
|
|
570
587
|
alma: Alma,
|
|
571
588
|
amazon_pay: AmazonPay,
|
|
572
589
|
au_bank_transfer: AuBankTransfer,
|
|
590
|
+
bizum: Bizum,
|
|
573
591
|
blik: Blik,
|
|
574
592
|
br_bank_transfer: BrBankTransfer,
|
|
575
593
|
card: Card,
|
|
@@ -581,7 +599,6 @@ module Stripe
|
|
|
581
599
|
gb_bank_transfer: GbBankTransfer,
|
|
582
600
|
giropay: Giropay,
|
|
583
601
|
grabpay: Grabpay,
|
|
584
|
-
id_bank_transfer: IdBankTransfer,
|
|
585
602
|
jp_bank_transfer: JpBankTransfer,
|
|
586
603
|
klarna: Klarna,
|
|
587
604
|
mb_way: MbWay,
|
|
@@ -598,6 +615,7 @@ module Stripe
|
|
|
598
615
|
swish: Swish,
|
|
599
616
|
th_bank_transfer: ThBankTransfer,
|
|
600
617
|
twint: Twint,
|
|
618
|
+
upi: Upi,
|
|
601
619
|
us_bank_transfer: UsBankTransfer,
|
|
602
620
|
wechat_pay: WechatPay,
|
|
603
621
|
zip: Zip,
|
|
@@ -668,6 +686,8 @@ module Stripe
|
|
|
668
686
|
end
|
|
669
687
|
# Amount, in cents (or local equivalent).
|
|
670
688
|
attr_reader :amount
|
|
689
|
+
# ID of the Connect application that created the refund. This can differ from the application on the associated Charge or PaymentIntent. A null value does not necessarily mean the refund was created without a Connect application.
|
|
690
|
+
attr_reader :application
|
|
671
691
|
# Balance transaction that describes the impact on your account balance.
|
|
672
692
|
attr_reader :balance_transaction
|
|
673
693
|
# ID of the charge that's refunded.
|
|
@@ -35,6 +35,8 @@ module Stripe
|
|
|
35
35
|
attr_reader :payout
|
|
36
36
|
# Category of balance transactions to be included in the report run.
|
|
37
37
|
attr_reader :reporting_category
|
|
38
|
+
# The tax invoice month in YYYY-MM format.
|
|
39
|
+
attr_reader :tax_invoice_month
|
|
38
40
|
# Defaults to `Etc/UTC`. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`.
|
|
39
41
|
attr_reader :timezone
|
|
40
42
|
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Reserve
|
|
6
|
-
#
|
|
6
|
+
# A ReserveHold holds a portion of an account's funds until it's released. Stripe or the account's platform can create a ReserveHold directly, and a ReservePlan creates ReserveHolds automatically from incoming Charges.
|
|
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
|
|
@@ -109,9 +109,9 @@ module Stripe
|
|
|
109
109
|
|
|
110
110
|
class Card < ::Stripe::StripeObject
|
|
111
111
|
class Checks < ::Stripe::StripeObject
|
|
112
|
-
# If
|
|
112
|
+
# If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
113
113
|
attr_reader :address_line1_check
|
|
114
|
-
# If
|
|
114
|
+
# If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
115
115
|
attr_reader :address_postal_code_check
|
|
116
116
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
117
117
|
attr_reader :cvc_check
|
|
@@ -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,
|
|
@@ -252,7 +252,7 @@ module Stripe
|
|
|
252
252
|
end
|
|
253
253
|
|
|
254
254
|
class VerifyWithMicrodeposits < ::Stripe::StripeObject
|
|
255
|
-
# The timestamp when the microdeposits are expected to land.
|
|
255
|
+
# The timestamp when the microdeposits are expected to land. Null for instant microdeposits.
|
|
256
256
|
attr_reader :arrival_date
|
|
257
257
|
# The URL for the hosted verification page, which allows customers to verify their bank account.
|
|
258
258
|
attr_reader :hosted_verification_url
|
|
@@ -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,
|