stripe 19.2.0.pre.beta.2 → 19.2.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_requestor.rb +3 -36
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -228
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +17 -364
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +16 -326
- data/lib/stripe/params/balance_settings_update_params.rb +42 -2
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_create_params.rb +4 -1
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +31 -141
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +11 -79
- 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/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -70
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -790
- 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 -48
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +3 -1645
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3038
- data/lib/stripe/params/payment_intent_create_params.rb +167 -3043
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +2 -39
- data/lib/stripe/params/payment_intent_update_params.rb +121 -3034
- data/lib/stripe/params/payment_link_create_params.rb +30 -16
- data/lib/stripe/params/payment_link_update_params.rb +29 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +24 -87
- data/lib/stripe/params/payment_method_configuration_list_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +24 -87
- data/lib/stripe/params/payment_method_create_params.rb +11 -75
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- 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 +21 -110
- data/lib/stripe/params/setup_intent_create_params.rb +21 -110
- data/lib/stripe/params/setup_intent_update_params.rb +21 -110
- data/lib/stripe/params/subscription_create_params.rb +11 -181
- data/lib/stripe/params/subscription_item_create_params.rb +3 -69
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -7
- data/lib/stripe/params/subscription_item_update_params.rb +2 -52
- data/lib/stripe/params/subscription_schedule_create_params.rb +9 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +9 -167
- data/lib/stripe/params/subscription_update_params.rb +11 -161
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- data/lib/stripe/params/tax/registration_create_params.rb +0 -104
- data/lib/stripe/params/terminal/configuration_create_params.rb +52 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +4 -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/outbound_payment_create_params.rb +0 -4
- 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 +33 -288
- data/lib/stripe/params/v2/core/account_token_create_params.rb +28 -18
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -281
- data/lib/stripe/params.rb +1342 -795
- data/lib/stripe/railtie.rb +8 -0
- data/lib/stripe/resources/account.rb +5 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +42 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +36 -211
- data/lib/stripe/resources/checkout/session.rb +26 -82
- data/lib/stripe/resources/confirmation_token.rb +20 -125
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +2 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -57
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +3 -117
- data/lib/stripe/resources/invoice_item.rb +34 -3
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/dispute.rb +1 -1
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +13 -12
- data/lib/stripe/resources/payment_attempt_record.rb +41 -187
- data/lib/stripe/resources/payment_intent.rb +96 -1583
- data/lib/stripe/resources/payment_link.rb +40 -0
- data/lib/stripe/resources/payment_method.rb +21 -130
- data/lib/stripe/resources/payment_method_configuration.rb +20 -122
- data/lib/stripe/resources/payment_record.rb +41 -187
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +4 -26
- data/lib/stripe/resources/setup_intent.rb +27 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +10 -107
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +5 -198
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/terminal/configuration.rb +64 -16
- data/lib/stripe/resources/terminal/reader.rb +116 -8
- 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/commerce/product_catalog_import.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +40 -607
- data/lib/stripe/resources/v2/core/account_token.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +1 -0
- data/lib/stripe/resources.rb +500 -301
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/credit_note_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 -41
- 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 +3 -38
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -55
- data/lib/stripe/services/subscription_service.rb +2 -32
- data/lib/stripe/services/tax_service.rb +1 -3
- 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/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +5 -1
- data/lib/stripe/services/v2/core/event_service.rb +2 -1
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +469 -268
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +25 -58
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +53183 -118054
- metadata +5 -377
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_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_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_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_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_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_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_money_management_transaction_created_event.rb +0 -63
- data/lib/stripe/events/v2_money_management_transaction_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/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/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/product_catalog/trial_offer_create_params.rb +0 -63
- 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/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- 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 -67
- 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/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_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/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- 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/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/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -87
- 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 -77
- 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_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_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/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- 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/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_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 -142
- 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/authorization.rb +0 -82
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- 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/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1181
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -734
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1766
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/tax/location.rb +0 -72
- 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/batch_job.rb +0 -492
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- 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/financial_address_credit_simulation.rb +0 -29
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -160
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- 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/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/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/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_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/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -19
- 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/tax/location_service.rb +0 -45
- 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/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- 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/datum_service.rb +0 -15
- 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 -21
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- 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/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/stripe_event_notification_handler.rb +0 -581
|
@@ -222,21 +222,6 @@ module Stripe
|
|
|
222
222
|
end
|
|
223
223
|
end
|
|
224
224
|
|
|
225
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
226
|
-
# The reference assigned to the refund.
|
|
227
|
-
attr_reader :reference
|
|
228
|
-
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
|
229
|
-
attr_reader :reference_status
|
|
230
|
-
|
|
231
|
-
def self.inner_class_types
|
|
232
|
-
@inner_class_types = {}
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
def self.field_remappings
|
|
236
|
-
@field_remappings = {}
|
|
237
|
-
end
|
|
238
|
-
end
|
|
239
|
-
|
|
240
225
|
class JpBankTransfer < ::Stripe::StripeObject
|
|
241
226
|
# The reference assigned to the refund.
|
|
242
227
|
attr_reader :reference
|
|
@@ -375,6 +360,16 @@ module Stripe
|
|
|
375
360
|
end
|
|
376
361
|
end
|
|
377
362
|
|
|
363
|
+
class Scalapay < ::Stripe::StripeObject
|
|
364
|
+
def self.inner_class_types
|
|
365
|
+
@inner_class_types = {}
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
def self.field_remappings
|
|
369
|
+
@field_remappings = {}
|
|
370
|
+
end
|
|
371
|
+
end
|
|
372
|
+
|
|
378
373
|
class Sofort < ::Stripe::StripeObject
|
|
379
374
|
def self.inner_class_types
|
|
380
375
|
@inner_class_types = {}
|
|
@@ -495,8 +490,6 @@ module Stripe
|
|
|
495
490
|
attr_reader :giropay
|
|
496
491
|
# Attribute for field grabpay
|
|
497
492
|
attr_reader :grabpay
|
|
498
|
-
# Attribute for field id_bank_transfer
|
|
499
|
-
attr_reader :id_bank_transfer
|
|
500
493
|
# Attribute for field jp_bank_transfer
|
|
501
494
|
attr_reader :jp_bank_transfer
|
|
502
495
|
# Attribute for field klarna
|
|
@@ -519,6 +512,8 @@ module Stripe
|
|
|
519
512
|
attr_reader :pix
|
|
520
513
|
# Attribute for field revolut
|
|
521
514
|
attr_reader :revolut
|
|
515
|
+
# Attribute for field scalapay
|
|
516
|
+
attr_reader :scalapay
|
|
522
517
|
# Attribute for field sofort
|
|
523
518
|
attr_reader :sofort
|
|
524
519
|
# Attribute for field swish
|
|
@@ -555,7 +550,6 @@ module Stripe
|
|
|
555
550
|
gb_bank_transfer: GbBankTransfer,
|
|
556
551
|
giropay: Giropay,
|
|
557
552
|
grabpay: Grabpay,
|
|
558
|
-
id_bank_transfer: IdBankTransfer,
|
|
559
553
|
jp_bank_transfer: JpBankTransfer,
|
|
560
554
|
klarna: Klarna,
|
|
561
555
|
mb_way: MbWay,
|
|
@@ -567,6 +561,7 @@ module Stripe
|
|
|
567
561
|
paypal: Paypal,
|
|
568
562
|
pix: Pix,
|
|
569
563
|
revolut: Revolut,
|
|
564
|
+
scalapay: Scalapay,
|
|
570
565
|
sofort: Sofort,
|
|
571
566
|
swish: Swish,
|
|
572
567
|
th_bank_transfer: ThBankTransfer,
|
|
@@ -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"
|
|
@@ -57,11 +55,6 @@ module Stripe
|
|
|
57
55
|
# Which source balance type this ReserveHold reserves funds from. One of `bank_account`, `card`, or `fpx`.
|
|
58
56
|
attr_reader :source_type
|
|
59
57
|
|
|
60
|
-
# Returns a list of ReserveHolds previously created. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
|
|
61
|
-
def self.list(params = {}, opts = {})
|
|
62
|
-
request_stripe_object(method: :get, path: "/v1/reserve/holds", params: params, opts: opts)
|
|
63
|
-
end
|
|
64
|
-
|
|
65
58
|
def self.inner_class_types
|
|
66
59
|
@inner_class_types = { release_schedule: ReleaseSchedule }
|
|
67
60
|
end
|
|
@@ -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"
|
|
@@ -55,16 +53,6 @@ module Stripe
|
|
|
55
53
|
# Attribute for field source_transaction
|
|
56
54
|
attr_reader :source_transaction
|
|
57
55
|
|
|
58
|
-
# Returns a list of ReserveReleases previously created. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.
|
|
59
|
-
def self.list(params = {}, opts = {})
|
|
60
|
-
request_stripe_object(
|
|
61
|
-
method: :get,
|
|
62
|
-
path: "/v1/reserve/releases",
|
|
63
|
-
params: params,
|
|
64
|
-
opts: opts
|
|
65
|
-
)
|
|
66
|
-
end
|
|
67
|
-
|
|
68
56
|
def self.inner_class_types
|
|
69
57
|
@inner_class_types = { source_transaction: SourceTransaction }
|
|
70
58
|
end
|
|
@@ -255,25 +255,6 @@ module Stripe
|
|
|
255
255
|
end
|
|
256
256
|
end
|
|
257
257
|
|
|
258
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
259
|
-
# Bank where the account is located.
|
|
260
|
-
attr_reader :bank
|
|
261
|
-
# Local bank code of the bank.
|
|
262
|
-
attr_reader :bank_code
|
|
263
|
-
# Name of the bank associated with the bank account.
|
|
264
|
-
attr_reader :bank_name
|
|
265
|
-
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
266
|
-
attr_reader :display_name
|
|
267
|
-
|
|
268
|
-
def self.inner_class_types
|
|
269
|
-
@inner_class_types = {}
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
def self.field_remappings
|
|
273
|
-
@field_remappings = {}
|
|
274
|
-
end
|
|
275
|
-
end
|
|
276
|
-
|
|
277
258
|
class Ideal < ::Stripe::StripeObject
|
|
278
259
|
# 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`.
|
|
279
260
|
attr_reader :bank
|
|
@@ -440,7 +421,7 @@ module Stripe
|
|
|
440
421
|
end
|
|
441
422
|
end
|
|
442
423
|
|
|
443
|
-
class
|
|
424
|
+
class Twint < ::Stripe::StripeObject
|
|
444
425
|
def self.inner_class_types
|
|
445
426
|
@inner_class_types = {}
|
|
446
427
|
end
|
|
@@ -487,8 +468,6 @@ module Stripe
|
|
|
487
468
|
attr_reader :card_present
|
|
488
469
|
# Attribute for field cashapp
|
|
489
470
|
attr_reader :cashapp
|
|
490
|
-
# Attribute for field id_bank_transfer
|
|
491
|
-
attr_reader :id_bank_transfer
|
|
492
471
|
# Attribute for field ideal
|
|
493
472
|
attr_reader :ideal
|
|
494
473
|
# Attribute for field kakao_pay
|
|
@@ -515,8 +494,8 @@ module Stripe
|
|
|
515
494
|
attr_reader :sepa_debit
|
|
516
495
|
# Attribute for field sofort
|
|
517
496
|
attr_reader :sofort
|
|
518
|
-
# Attribute for field
|
|
519
|
-
attr_reader :
|
|
497
|
+
# Attribute for field twint
|
|
498
|
+
attr_reader :twint
|
|
520
499
|
# 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.
|
|
521
500
|
attr_reader :type
|
|
522
501
|
# Attribute for field upi
|
|
@@ -535,7 +514,6 @@ module Stripe
|
|
|
535
514
|
card: Card,
|
|
536
515
|
card_present: CardPresent,
|
|
537
516
|
cashapp: Cashapp,
|
|
538
|
-
id_bank_transfer: IdBankTransfer,
|
|
539
517
|
ideal: Ideal,
|
|
540
518
|
kakao_pay: KakaoPay,
|
|
541
519
|
klarna: Klarna,
|
|
@@ -549,7 +527,7 @@ module Stripe
|
|
|
549
527
|
revolut_pay: RevolutPay,
|
|
550
528
|
sepa_debit: SepaDebit,
|
|
551
529
|
sofort: Sofort,
|
|
552
|
-
|
|
530
|
+
twint: Twint,
|
|
553
531
|
upi: Upi,
|
|
554
532
|
us_bank_account: UsBankAccount,
|
|
555
533
|
}
|
|
@@ -141,6 +141,16 @@ module Stripe
|
|
|
141
141
|
end
|
|
142
142
|
|
|
143
143
|
class NextAction < ::Stripe::StripeObject
|
|
144
|
+
class BlikAuthorize < ::Stripe::StripeObject
|
|
145
|
+
def self.inner_class_types
|
|
146
|
+
@inner_class_types = {}
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
def self.field_remappings
|
|
150
|
+
@field_remappings = {}
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
144
154
|
class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
|
|
145
155
|
class QrCode < ::Stripe::StripeObject
|
|
146
156
|
# The date (unix timestamp) when the QR code expires.
|
|
@@ -257,6 +267,8 @@ module Stripe
|
|
|
257
267
|
@field_remappings = {}
|
|
258
268
|
end
|
|
259
269
|
end
|
|
270
|
+
# Attribute for field blik_authorize
|
|
271
|
+
attr_reader :blik_authorize
|
|
260
272
|
# Attribute for field cashapp_handle_redirect_or_display_qr_code
|
|
261
273
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
|
262
274
|
# Attribute for field pix_display_qr_code
|
|
@@ -274,6 +286,7 @@ module Stripe
|
|
|
274
286
|
|
|
275
287
|
def self.inner_class_types
|
|
276
288
|
@inner_class_types = {
|
|
289
|
+
blik_authorize: BlikAuthorize,
|
|
277
290
|
cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
|
|
278
291
|
pix_display_qr_code: PixDisplayQrCode,
|
|
279
292
|
redirect_to_url: RedirectToUrl,
|
|
@@ -375,6 +388,16 @@ module Stripe
|
|
|
375
388
|
end
|
|
376
389
|
end
|
|
377
390
|
|
|
391
|
+
class Bizum < ::Stripe::StripeObject
|
|
392
|
+
def self.inner_class_types
|
|
393
|
+
@inner_class_types = {}
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
def self.field_remappings
|
|
397
|
+
@field_remappings = {}
|
|
398
|
+
end
|
|
399
|
+
end
|
|
400
|
+
|
|
378
401
|
class Card < ::Stripe::StripeObject
|
|
379
402
|
class MandateOptions < ::Stripe::StripeObject
|
|
380
403
|
# Amount to be charged for future payments, specified in the presentment currency.
|
|
@@ -463,10 +486,6 @@ module Stripe
|
|
|
463
486
|
class Paypal < ::Stripe::StripeObject
|
|
464
487
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
465
488
|
attr_reader :billing_agreement_id
|
|
466
|
-
# 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).
|
|
467
|
-
attr_reader :currency
|
|
468
|
-
# 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.
|
|
469
|
-
attr_reader :subsellers
|
|
470
489
|
|
|
471
490
|
def self.inner_class_types
|
|
472
491
|
@inner_class_types = {}
|
|
@@ -614,21 +633,6 @@ module Stripe
|
|
|
614
633
|
class Filters < ::Stripe::StripeObject
|
|
615
634
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
616
635
|
attr_reader :account_subcategories
|
|
617
|
-
# The institution to use to filter for possible accounts to link.
|
|
618
|
-
attr_reader :institution
|
|
619
|
-
|
|
620
|
-
def self.inner_class_types
|
|
621
|
-
@inner_class_types = {}
|
|
622
|
-
end
|
|
623
|
-
|
|
624
|
-
def self.field_remappings
|
|
625
|
-
@field_remappings = {}
|
|
626
|
-
end
|
|
627
|
-
end
|
|
628
|
-
|
|
629
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
630
|
-
# Settings for configuring manual entry of account details.
|
|
631
|
-
attr_reader :mode
|
|
632
636
|
|
|
633
637
|
def self.inner_class_types
|
|
634
638
|
@inner_class_types = {}
|
|
@@ -640,8 +644,6 @@ module Stripe
|
|
|
640
644
|
end
|
|
641
645
|
# Attribute for field filters
|
|
642
646
|
attr_reader :filters
|
|
643
|
-
# Attribute for field manual_entry
|
|
644
|
-
attr_reader :manual_entry
|
|
645
647
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
646
648
|
attr_reader :permissions
|
|
647
649
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -650,7 +652,7 @@ module Stripe
|
|
|
650
652
|
attr_reader :return_url
|
|
651
653
|
|
|
652
654
|
def self.inner_class_types
|
|
653
|
-
@inner_class_types = { filters: Filters
|
|
655
|
+
@inner_class_types = { filters: Filters }
|
|
654
656
|
end
|
|
655
657
|
|
|
656
658
|
def self.field_remappings
|
|
@@ -694,6 +696,8 @@ module Stripe
|
|
|
694
696
|
attr_reader :amazon_pay
|
|
695
697
|
# Attribute for field bacs_debit
|
|
696
698
|
attr_reader :bacs_debit
|
|
699
|
+
# Attribute for field bizum
|
|
700
|
+
attr_reader :bizum
|
|
697
701
|
# Attribute for field card
|
|
698
702
|
attr_reader :card
|
|
699
703
|
# Attribute for field card_present
|
|
@@ -720,6 +724,7 @@ module Stripe
|
|
|
720
724
|
acss_debit: AcssDebit,
|
|
721
725
|
amazon_pay: AmazonPay,
|
|
722
726
|
bacs_debit: BacsDebit,
|
|
727
|
+
bizum: Bizum,
|
|
723
728
|
card: Card,
|
|
724
729
|
card_present: CardPresent,
|
|
725
730
|
klarna: Klarna,
|
|
@@ -169,8 +169,6 @@ module Stripe
|
|
|
169
169
|
attr_reader :address_zip_check
|
|
170
170
|
# Attribute for field brand
|
|
171
171
|
attr_reader :brand
|
|
172
|
-
# Attribute for field brand_product
|
|
173
|
-
attr_reader :brand_product
|
|
174
172
|
# Attribute for field country
|
|
175
173
|
attr_reader :country
|
|
176
174
|
# Attribute for field cvc_check
|
|
@@ -220,8 +218,6 @@ module Stripe
|
|
|
220
218
|
attr_reader :authorization_response_code
|
|
221
219
|
# Attribute for field brand
|
|
222
220
|
attr_reader :brand
|
|
223
|
-
# Attribute for field brand_product
|
|
224
|
-
attr_reader :brand_product
|
|
225
221
|
# Attribute for field country
|
|
226
222
|
attr_reader :country
|
|
227
223
|
# Attribute for field cvm_type
|
|
@@ -521,35 +517,6 @@ module Stripe
|
|
|
521
517
|
end
|
|
522
518
|
end
|
|
523
519
|
|
|
524
|
-
class Paypal < ::Stripe::StripeObject
|
|
525
|
-
# Attribute for field billing_agreement
|
|
526
|
-
attr_reader :billing_agreement
|
|
527
|
-
# Attribute for field fingerprint
|
|
528
|
-
attr_reader :fingerprint
|
|
529
|
-
# Attribute for field payer_id
|
|
530
|
-
attr_reader :payer_id
|
|
531
|
-
# Attribute for field reference_id
|
|
532
|
-
attr_reader :reference_id
|
|
533
|
-
# Attribute for field reference_transaction_amount
|
|
534
|
-
attr_reader :reference_transaction_amount
|
|
535
|
-
# Attribute for field reference_transaction_charged
|
|
536
|
-
attr_reader :reference_transaction_charged
|
|
537
|
-
# Attribute for field statement_descriptor
|
|
538
|
-
attr_reader :statement_descriptor
|
|
539
|
-
# Attribute for field transaction_id
|
|
540
|
-
attr_reader :transaction_id
|
|
541
|
-
# Attribute for field verified_email
|
|
542
|
-
attr_reader :verified_email
|
|
543
|
-
|
|
544
|
-
def self.inner_class_types
|
|
545
|
-
@inner_class_types = {}
|
|
546
|
-
end
|
|
547
|
-
|
|
548
|
-
def self.field_remappings
|
|
549
|
-
@field_remappings = {}
|
|
550
|
-
end
|
|
551
|
-
end
|
|
552
|
-
|
|
553
520
|
class Receiver < ::Stripe::StripeObject
|
|
554
521
|
# The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.
|
|
555
522
|
attr_reader :address
|
|
@@ -770,8 +737,6 @@ module Stripe
|
|
|
770
737
|
attr_reader :authenticated
|
|
771
738
|
# Attribute for field brand
|
|
772
739
|
attr_reader :brand
|
|
773
|
-
# Attribute for field brand_product
|
|
774
|
-
attr_reader :brand_product
|
|
775
740
|
# Attribute for field card
|
|
776
741
|
attr_reader :card
|
|
777
742
|
# Attribute for field country
|
|
@@ -884,8 +849,6 @@ module Stripe
|
|
|
884
849
|
attr_reader :owner
|
|
885
850
|
# Attribute for field p24
|
|
886
851
|
attr_reader :p24
|
|
887
|
-
# Attribute for field paypal
|
|
888
|
-
attr_reader :paypal
|
|
889
852
|
# Attribute for field receiver
|
|
890
853
|
attr_reader :receiver
|
|
891
854
|
# Attribute for field redirect
|
|
@@ -991,7 +954,6 @@ module Stripe
|
|
|
991
954
|
multibanco: Multibanco,
|
|
992
955
|
owner: Owner,
|
|
993
956
|
p24: P24,
|
|
994
|
-
paypal: Paypal,
|
|
995
957
|
receiver: Receiver,
|
|
996
958
|
redirect: Redirect,
|
|
997
959
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
@@ -222,37 +222,6 @@ module Stripe
|
|
|
222
222
|
end
|
|
223
223
|
end
|
|
224
224
|
|
|
225
|
-
class LastPriceMigrationError < ::Stripe::StripeObject
|
|
226
|
-
class FailedTransition < ::Stripe::StripeObject
|
|
227
|
-
# The original price to be migrated.
|
|
228
|
-
attr_reader :source_price
|
|
229
|
-
# The intended resulting price of the migration.
|
|
230
|
-
attr_reader :target_price
|
|
231
|
-
|
|
232
|
-
def self.inner_class_types
|
|
233
|
-
@inner_class_types = {}
|
|
234
|
-
end
|
|
235
|
-
|
|
236
|
-
def self.field_remappings
|
|
237
|
-
@field_remappings = {}
|
|
238
|
-
end
|
|
239
|
-
end
|
|
240
|
-
# The time at which the price migration encountered an error.
|
|
241
|
-
attr_reader :errored_at
|
|
242
|
-
# The involved price pairs in each failed transition.
|
|
243
|
-
attr_reader :failed_transitions
|
|
244
|
-
# The type of error encountered by the price migration.
|
|
245
|
-
attr_reader :type
|
|
246
|
-
|
|
247
|
-
def self.inner_class_types
|
|
248
|
-
@inner_class_types = { failed_transitions: FailedTransition }
|
|
249
|
-
end
|
|
250
|
-
|
|
251
|
-
def self.field_remappings
|
|
252
|
-
@field_remappings = {}
|
|
253
|
-
end
|
|
254
|
-
end
|
|
255
|
-
|
|
256
225
|
class ManagedPayments < ::Stripe::StripeObject
|
|
257
226
|
# Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
258
227
|
attr_reader :enabled
|
|
@@ -323,31 +292,6 @@ module Stripe
|
|
|
323
292
|
end
|
|
324
293
|
end
|
|
325
294
|
|
|
326
|
-
class Blik < ::Stripe::StripeObject
|
|
327
|
-
class MandateOptions < ::Stripe::StripeObject
|
|
328
|
-
# Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
329
|
-
attr_reader :expires_after
|
|
330
|
-
|
|
331
|
-
def self.inner_class_types
|
|
332
|
-
@inner_class_types = {}
|
|
333
|
-
end
|
|
334
|
-
|
|
335
|
-
def self.field_remappings
|
|
336
|
-
@field_remappings = {}
|
|
337
|
-
end
|
|
338
|
-
end
|
|
339
|
-
# Attribute for field mandate_options
|
|
340
|
-
attr_reader :mandate_options
|
|
341
|
-
|
|
342
|
-
def self.inner_class_types
|
|
343
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
|
344
|
-
end
|
|
345
|
-
|
|
346
|
-
def self.field_remappings
|
|
347
|
-
@field_remappings = {}
|
|
348
|
-
end
|
|
349
|
-
end
|
|
350
|
-
|
|
351
295
|
class Card < ::Stripe::StripeObject
|
|
352
296
|
class MandateOptions < ::Stripe::StripeObject
|
|
353
297
|
# Amount to be charged for future payments, specified in the presentment currency.
|
|
@@ -422,16 +366,6 @@ module Stripe
|
|
|
422
366
|
end
|
|
423
367
|
end
|
|
424
368
|
|
|
425
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
426
|
-
def self.inner_class_types
|
|
427
|
-
@inner_class_types = {}
|
|
428
|
-
end
|
|
429
|
-
|
|
430
|
-
def self.field_remappings
|
|
431
|
-
@field_remappings = {}
|
|
432
|
-
end
|
|
433
|
-
end
|
|
434
|
-
|
|
435
369
|
class Konbini < ::Stripe::StripeObject
|
|
436
370
|
def self.inner_class_types
|
|
437
371
|
@inner_class_types = {}
|
|
@@ -550,8 +484,6 @@ module Stripe
|
|
|
550
484
|
class Filters < ::Stripe::StripeObject
|
|
551
485
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
552
486
|
attr_reader :account_subcategories
|
|
553
|
-
# The institution to use to filter for possible accounts to link.
|
|
554
|
-
attr_reader :institution
|
|
555
487
|
|
|
556
488
|
def self.inner_class_types
|
|
557
489
|
@inner_class_types = {}
|
|
@@ -593,14 +525,10 @@ module Stripe
|
|
|
593
525
|
attr_reader :acss_debit
|
|
594
526
|
# This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
|
|
595
527
|
attr_reader :bancontact
|
|
596
|
-
# This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
|
|
597
|
-
attr_reader :blik
|
|
598
528
|
# This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
|
599
529
|
attr_reader :card
|
|
600
530
|
# This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
601
531
|
attr_reader :customer_balance
|
|
602
|
-
# This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
603
|
-
attr_reader :id_bank_transfer
|
|
604
532
|
# This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
605
533
|
attr_reader :konbini
|
|
606
534
|
# This sub-hash contains details about the PayTo payment method options to pass to invoices created by the subscription.
|
|
@@ -618,10 +546,8 @@ module Stripe
|
|
|
618
546
|
@inner_class_types = {
|
|
619
547
|
acss_debit: AcssDebit,
|
|
620
548
|
bancontact: Bancontact,
|
|
621
|
-
blik: Blik,
|
|
622
549
|
card: Card,
|
|
623
550
|
customer_balance: CustomerBalance,
|
|
624
|
-
id_bank_transfer: IdBankTransfer,
|
|
625
551
|
konbini: Konbini,
|
|
626
552
|
payto: Payto,
|
|
627
553
|
pix: Pix,
|
|
@@ -669,10 +595,14 @@ module Stripe
|
|
|
669
595
|
class PendingUpdate < ::Stripe::StripeObject
|
|
670
596
|
# If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. The timestamp is in UTC format.
|
|
671
597
|
attr_reader :billing_cycle_anchor
|
|
598
|
+
# The pending subscription-level discount that will be applied when the pending update is applied.
|
|
599
|
+
attr_reader :discount
|
|
600
|
+
# The discounts that will be applied to the subscription when the pending update is applied. Use `expand[]=discounts` to expand each discount.
|
|
601
|
+
attr_reader :discounts
|
|
672
602
|
# The point after which the changes reflected by this update will be discarded and no longer applied.
|
|
673
603
|
attr_reader :expires_at
|
|
674
|
-
#
|
|
675
|
-
attr_reader :
|
|
604
|
+
# 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.
|
|
605
|
+
attr_reader :metadata
|
|
676
606
|
# List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
677
607
|
attr_reader :subscription_items
|
|
678
608
|
# 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.
|
|
@@ -689,25 +619,6 @@ module Stripe
|
|
|
689
619
|
end
|
|
690
620
|
end
|
|
691
621
|
|
|
692
|
-
class Prebilling < ::Stripe::StripeObject
|
|
693
|
-
# ID of the prebilling invoice.
|
|
694
|
-
attr_reader :invoice
|
|
695
|
-
# The end of the last period for which the invoice pre-bills.
|
|
696
|
-
attr_reader :period_end
|
|
697
|
-
# The start of the first period for which the invoice pre-bills.
|
|
698
|
-
attr_reader :period_start
|
|
699
|
-
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
700
|
-
attr_reader :update_behavior
|
|
701
|
-
|
|
702
|
-
def self.inner_class_types
|
|
703
|
-
@inner_class_types = {}
|
|
704
|
-
end
|
|
705
|
-
|
|
706
|
-
def self.field_remappings
|
|
707
|
-
@field_remappings = {}
|
|
708
|
-
end
|
|
709
|
-
end
|
|
710
|
-
|
|
711
622
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
712
623
|
# Currency used for customer payments.
|
|
713
624
|
attr_reader :presentment_currency
|
|
@@ -738,8 +649,6 @@ module Stripe
|
|
|
738
649
|
|
|
739
650
|
class TrialSettings < ::Stripe::StripeObject
|
|
740
651
|
class EndBehavior < ::Stripe::StripeObject
|
|
741
|
-
# Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
742
|
-
attr_reader :billing_cycle_anchor
|
|
743
652
|
# Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
744
653
|
attr_reader :missing_payment_method
|
|
745
654
|
|
|
@@ -816,8 +725,6 @@ module Stripe
|
|
|
816
725
|
attr_reader :invoice_settings
|
|
817
726
|
# List of subscription items, each with an attached price.
|
|
818
727
|
attr_reader :items
|
|
819
|
-
# Details of the most recent price migration that failed for the subscription.
|
|
820
|
-
attr_reader :last_price_migration_error
|
|
821
728
|
# The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
822
729
|
attr_reader :latest_invoice
|
|
823
730
|
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
@@ -842,8 +749,6 @@ module Stripe
|
|
|
842
749
|
attr_reader :pending_setup_intent
|
|
843
750
|
# 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.
|
|
844
751
|
attr_reader :pending_update
|
|
845
|
-
# Time period and invoice for a Subscription billed in advance.
|
|
846
|
-
attr_reader :prebilling
|
|
847
752
|
# Attribute for field presentment_details
|
|
848
753
|
attr_reader :presentment_details
|
|
849
754
|
# The schedule attached to the subscription
|
|
@@ -873,7 +778,7 @@ module Stripe
|
|
|
873
778
|
# If the subscription has a trial, the beginning of that trial.
|
|
874
779
|
attr_reader :trial_start
|
|
875
780
|
|
|
876
|
-
# Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled,
|
|
781
|
+
# Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, the subscription is largely immutable. You can still update its [metadata](https://docs.stripe.com/metadata) and cancellation_details.
|
|
877
782
|
#
|
|
878
783
|
# Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://docs.stripe.com/api/invoiceitems/delete). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to true.
|
|
879
784
|
#
|
|
@@ -887,7 +792,7 @@ module Stripe
|
|
|
887
792
|
)
|
|
888
793
|
end
|
|
889
794
|
|
|
890
|
-
# Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled,
|
|
795
|
+
# Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, the subscription is largely immutable. You can still update its [metadata](https://docs.stripe.com/metadata) and cancellation_details.
|
|
891
796
|
#
|
|
892
797
|
# Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://docs.stripe.com/api/invoiceitems/delete). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to true.
|
|
893
798
|
#
|
|
@@ -957,7 +862,7 @@ module Stripe
|
|
|
957
862
|
)
|
|
958
863
|
end
|
|
959
864
|
|
|
960
|
-
# Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If
|
|
865
|
+
# Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. Resume is only available for subscriptions that use charge_automatically collection. If Stripe doesn't generate a resumption invoice, the subscription becomes active immediately. When a resumption invoice is generated, Stripe finalizes it immediately. If the invoice is paid or marked uncollectible, the subscription becomes active. If the invoice is manually voided, the subscription stays paused. If there is no payment attempt within 23 hours, Stripe voids the invoice and the subscription stays paused. Learn more about [resuming subscriptions](https://docs.stripe.com/docs/billing/subscriptions/pause#resume-subscriptions).
|
|
961
866
|
def resume(params = {}, opts = {})
|
|
962
867
|
request_stripe_object(
|
|
963
868
|
method: :post,
|
|
@@ -967,7 +872,7 @@ module Stripe
|
|
|
967
872
|
)
|
|
968
873
|
end
|
|
969
874
|
|
|
970
|
-
# Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If
|
|
875
|
+
# Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. Resume is only available for subscriptions that use charge_automatically collection. If Stripe doesn't generate a resumption invoice, the subscription becomes active immediately. When a resumption invoice is generated, Stripe finalizes it immediately. If the invoice is paid or marked uncollectible, the subscription becomes active. If the invoice is manually voided, the subscription stays paused. If there is no payment attempt within 23 hours, Stripe voids the invoice and the subscription stays paused. Learn more about [resuming subscriptions](https://docs.stripe.com/docs/billing/subscriptions/pause#resume-subscriptions).
|
|
971
876
|
def self.resume(subscription, params = {}, opts = {})
|
|
972
877
|
request_stripe_object(
|
|
973
878
|
method: :post,
|
|
@@ -1031,13 +936,11 @@ module Stripe
|
|
|
1031
936
|
billing_thresholds: BillingThresholds,
|
|
1032
937
|
cancellation_details: CancellationDetails,
|
|
1033
938
|
invoice_settings: InvoiceSettings,
|
|
1034
|
-
last_price_migration_error: LastPriceMigrationError,
|
|
1035
939
|
managed_payments: ManagedPayments,
|
|
1036
940
|
pause_collection: PauseCollection,
|
|
1037
941
|
payment_settings: PaymentSettings,
|
|
1038
942
|
pending_invoice_item_interval: PendingInvoiceItemInterval,
|
|
1039
943
|
pending_update: PendingUpdate,
|
|
1040
|
-
prebilling: Prebilling,
|
|
1041
944
|
presentment_details: PresentmentDetails,
|
|
1042
945
|
transfer_data: TransferData,
|
|
1043
946
|
trial_settings: TrialSettings,
|