stripe 19.4.0.pre.beta.1 → 19.4.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 +2 -63
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/error_object.rb +43 -19
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -236
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -60
- data/lib/stripe/params/account_create_params.rb +73 -398
- data/lib/stripe/params/account_person_create_params.rb +6 -0
- data/lib/stripe/params/account_person_update_params.rb +6 -0
- data/lib/stripe/params/account_reject_params.rb +4 -1
- data/lib/stripe/params/account_session_create_params.rb +21 -230
- data/lib/stripe/params/{quote_mark_draft_params.rb → account_unreject_params.rb} +1 -1
- data/lib/stripe/params/account_update_params.rb +81 -332
- data/lib/stripe/params/billing/alert_create_params.rb +1 -1
- 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 +24 -133
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_create_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +9 -38
- 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 +16 -844
- 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/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +4 -0
- data/lib/stripe/params/issuing/card_update_params.rb +4 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +137 -3047
- data/lib/stripe/params/payment_intent_create_params.rb +152 -3062
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +105 -3049
- data/lib/stripe/params/payment_link_create_params.rb +0 -15
- data/lib/stripe/params/payment_link_update_params.rb +58 -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 -74
- data/lib/stripe/params/{account_notice_list_params.rb → payment_record_list_params.rb} +15 -5
- 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/promotion_code_create_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +31 -810
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +32 -818
- data/lib/stripe/params/setup_intent_confirm_params.rb +7 -108
- data/lib/stripe/params/setup_intent_create_params.rb +7 -108
- data/lib/stripe/params/setup_intent_update_params.rb +7 -108
- data/lib/stripe/params/subscription_create_params.rb +6 -170
- data/lib/stripe/params/subscription_item_create_params.rb +2 -62
- data/lib/stripe/params/subscription_item_update_params.rb +1 -45
- data/lib/stripe/params/subscription_resume_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +65 -171
- data/lib/stripe/params/subscription_schedule_list_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +66 -172
- data/lib/stripe/params/subscription_update_params.rb +6 -154
- data/lib/stripe/params/tax/calculation_create_params.rb +2 -6
- data/lib/stripe/params/tax/registration_create_params.rb +12 -90
- data/lib/stripe/params/tax_id_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +1 -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/token_create_params.rb +78 -0
- 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/billing/meter_event_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/core/account_create_params.rb +48 -403
- data/lib/stripe/params/v2/core/account_token_create_params.rb +44 -13
- data/lib/stripe/params/v2/core/account_update_params.rb +48 -396
- data/lib/stripe/params.rb +4 -426
- data/lib/stripe/resources/account.rb +87 -265
- data/lib/stripe/resources/account_session.rb +8 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/billing_portal/configuration.rb +1 -1
- data/lib/stripe/resources/capability.rb +2 -2
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +4 -230
- data/lib/stripe/resources/checkout/session.rb +20 -92
- data/lib/stripe/resources/confirmation_token.rb +1 -132
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +4 -24
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +25 -91
- data/lib/stripe/resources/invoice.rb +2 -118
- 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 +2 -16
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +1 -19
- 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 +3 -179
- data/lib/stripe/resources/payment_intent.rb +23 -1574
- data/lib/stripe/resources/payment_method.rb +3 -154
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +10 -179
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +23 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +6 -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 +0 -35
- data/lib/stripe/resources/setup_intent.rb +3 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -167
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +49 -200
- data/lib/stripe/resources/tax/calculation.rb +1 -1
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +10 -106
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/tax_id.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- data/lib/stripe/resources/topup.rb +31 -1
- 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/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +100 -949
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources.rb +0 -425
- data/lib/stripe/services/account_person_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +14 -14
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/dispute_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/payment_method_service.rb +1 -1
- data/lib/stripe/services/payment_record_service.rb +11 -0
- 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 -11
- data/lib/stripe/services/subscription_service.rb +0 -56
- 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_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +0 -209
- 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/telemetry_id.rb +65 -0
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +2 -54
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -3
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +46727 -112851
- metadata +7 -380
- 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_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_under_review_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_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_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_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_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_pause_params.rb +0 -50
- 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 -53
- 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/iam/activity_log_retrieve_params.rb +0 -10
- 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 -88
- 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 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -84
- 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 -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 -106
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1183
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -736
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1801
- 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 -486
- 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 -234
- 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 -211
- 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 -232
- 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 -102
- 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/data_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 -32
- 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 -594
|
@@ -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
|
|
@@ -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
|
|
@@ -505,8 +490,6 @@ module Stripe
|
|
|
505
490
|
attr_reader :giropay
|
|
506
491
|
# Attribute for field grabpay
|
|
507
492
|
attr_reader :grabpay
|
|
508
|
-
# Attribute for field id_bank_transfer
|
|
509
|
-
attr_reader :id_bank_transfer
|
|
510
493
|
# Attribute for field jp_bank_transfer
|
|
511
494
|
attr_reader :jp_bank_transfer
|
|
512
495
|
# Attribute for field klarna
|
|
@@ -567,7 +550,6 @@ module Stripe
|
|
|
567
550
|
gb_bank_transfer: GbBankTransfer,
|
|
568
551
|
giropay: Giropay,
|
|
569
552
|
grabpay: Grabpay,
|
|
570
|
-
id_bank_transfer: IdBankTransfer,
|
|
571
553
|
jp_bank_transfer: JpBankTransfer,
|
|
572
554
|
klarna: Klarna,
|
|
573
555
|
mb_way: MbWay,
|
|
@@ -662,6 +644,10 @@ module Stripe
|
|
|
662
644
|
attr_reader :created
|
|
663
645
|
# 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).
|
|
664
646
|
attr_reader :currency
|
|
647
|
+
# ID of the customer of this refund.
|
|
648
|
+
attr_reader :customer
|
|
649
|
+
# ID of the account of this refund.
|
|
650
|
+
attr_reader :customer_account
|
|
665
651
|
# An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only).
|
|
666
652
|
attr_reader :description
|
|
667
653
|
# Attribute for field destination_details
|
|
@@ -682,6 +668,8 @@ module Stripe
|
|
|
682
668
|
attr_reader :object
|
|
683
669
|
# ID of the PaymentIntent that's refunded.
|
|
684
670
|
attr_reader :payment_intent
|
|
671
|
+
# ID of the payment method associated with this refund.
|
|
672
|
+
attr_reader :payment_method
|
|
685
673
|
# Provides the reason for why the refund is pending. Possible values are: `processing`, `insufficient_funds`, or `charge_pending`.
|
|
686
674
|
attr_reader :pending_reason
|
|
687
675
|
# Attribute for field presentment_details
|
|
@@ -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"
|
|
@@ -74,11 +72,6 @@ module Stripe
|
|
|
74
72
|
# Which source balance type this ReserveHold reserves funds from. One of `bank_account`, `card`, or `fpx`.
|
|
75
73
|
attr_reader :source_type
|
|
76
74
|
|
|
77
|
-
# Returns a list of ReserveHolds previously created. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
|
|
78
|
-
def self.list(params = {}, opts = {})
|
|
79
|
-
request_stripe_object(method: :get, path: "/v1/reserve/holds", params: params, opts: opts)
|
|
80
|
-
end
|
|
81
|
-
|
|
82
75
|
def self.inner_class_types
|
|
83
76
|
@inner_class_types = { release_details: ReleaseDetail, release_schedule: ReleaseSchedule }
|
|
84
77
|
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
|
|
@@ -453,16 +434,6 @@ module Stripe
|
|
|
453
434
|
end
|
|
454
435
|
end
|
|
455
436
|
|
|
456
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
457
|
-
def self.inner_class_types
|
|
458
|
-
@inner_class_types = {}
|
|
459
|
-
end
|
|
460
|
-
|
|
461
|
-
def self.field_remappings
|
|
462
|
-
@field_remappings = {}
|
|
463
|
-
end
|
|
464
|
-
end
|
|
465
|
-
|
|
466
437
|
class Twint < ::Stripe::StripeObject
|
|
467
438
|
def self.inner_class_types
|
|
468
439
|
@inner_class_types = {}
|
|
@@ -510,8 +481,6 @@ module Stripe
|
|
|
510
481
|
attr_reader :card_present
|
|
511
482
|
# Attribute for field cashapp
|
|
512
483
|
attr_reader :cashapp
|
|
513
|
-
# Attribute for field id_bank_transfer
|
|
514
|
-
attr_reader :id_bank_transfer
|
|
515
484
|
# Attribute for field ideal
|
|
516
485
|
attr_reader :ideal
|
|
517
486
|
# Attribute for field kakao_pay
|
|
@@ -540,8 +509,6 @@ module Stripe
|
|
|
540
509
|
attr_reader :sepa_debit
|
|
541
510
|
# Attribute for field sofort
|
|
542
511
|
attr_reader :sofort
|
|
543
|
-
# Attribute for field stripe_balance
|
|
544
|
-
attr_reader :stripe_balance
|
|
545
512
|
# Attribute for field twint
|
|
546
513
|
attr_reader :twint
|
|
547
514
|
# 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.
|
|
@@ -562,7 +529,6 @@ module Stripe
|
|
|
562
529
|
card: Card,
|
|
563
530
|
card_present: CardPresent,
|
|
564
531
|
cashapp: Cashapp,
|
|
565
|
-
id_bank_transfer: IdBankTransfer,
|
|
566
532
|
ideal: Ideal,
|
|
567
533
|
kakao_pay: KakaoPay,
|
|
568
534
|
klarna: Klarna,
|
|
@@ -577,7 +543,6 @@ module Stripe
|
|
|
577
543
|
satispay: Satispay,
|
|
578
544
|
sepa_debit: SepaDebit,
|
|
579
545
|
sofort: Sofort,
|
|
580
|
-
stripe_balance: StripeBalance,
|
|
581
546
|
twint: Twint,
|
|
582
547
|
upi: Upi,
|
|
583
548
|
us_bank_account: UsBankAccount,
|
|
@@ -486,10 +486,6 @@ module Stripe
|
|
|
486
486
|
class Paypal < ::Stripe::StripeObject
|
|
487
487
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
488
488
|
attr_reader :billing_agreement_id
|
|
489
|
-
# 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).
|
|
490
|
-
attr_reader :currency
|
|
491
|
-
# 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.
|
|
492
|
-
attr_reader :subsellers
|
|
493
489
|
|
|
494
490
|
def self.inner_class_types
|
|
495
491
|
@inner_class_types = {}
|
|
@@ -637,21 +633,6 @@ module Stripe
|
|
|
637
633
|
class Filters < ::Stripe::StripeObject
|
|
638
634
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
639
635
|
attr_reader :account_subcategories
|
|
640
|
-
# The institution to use to filter for possible accounts to link.
|
|
641
|
-
attr_reader :institution
|
|
642
|
-
|
|
643
|
-
def self.inner_class_types
|
|
644
|
-
@inner_class_types = {}
|
|
645
|
-
end
|
|
646
|
-
|
|
647
|
-
def self.field_remappings
|
|
648
|
-
@field_remappings = {}
|
|
649
|
-
end
|
|
650
|
-
end
|
|
651
|
-
|
|
652
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
653
|
-
# Settings for configuring manual entry of account details.
|
|
654
|
-
attr_reader :mode
|
|
655
636
|
|
|
656
637
|
def self.inner_class_types
|
|
657
638
|
@inner_class_types = {}
|
|
@@ -663,8 +644,6 @@ module Stripe
|
|
|
663
644
|
end
|
|
664
645
|
# Attribute for field filters
|
|
665
646
|
attr_reader :filters
|
|
666
|
-
# Attribute for field manual_entry
|
|
667
|
-
attr_reader :manual_entry
|
|
668
647
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
669
648
|
attr_reader :permissions
|
|
670
649
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -673,7 +652,7 @@ module Stripe
|
|
|
673
652
|
attr_reader :return_url
|
|
674
653
|
|
|
675
654
|
def self.inner_class_types
|
|
676
|
-
@inner_class_types = { filters: Filters
|
|
655
|
+
@inner_class_types = { filters: Filters }
|
|
677
656
|
end
|
|
678
657
|
|
|
679
658
|
def self.field_remappings
|
|
@@ -763,19 +742,8 @@ module Stripe
|
|
|
763
742
|
@field_remappings = {}
|
|
764
743
|
end
|
|
765
744
|
end
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
769
|
-
attr_reader :status
|
|
770
|
-
|
|
771
|
-
def self.inner_class_types
|
|
772
|
-
@inner_class_types = {}
|
|
773
|
-
end
|
|
774
|
-
|
|
775
|
-
def self.field_remappings
|
|
776
|
-
@field_remappings = {}
|
|
777
|
-
end
|
|
778
|
-
end
|
|
745
|
+
# 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.
|
|
746
|
+
attr_reader :allowed_payment_method_types
|
|
779
747
|
# ID of the Connect application that created the SetupIntent.
|
|
780
748
|
attr_reader :application
|
|
781
749
|
# If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
|
|
@@ -836,8 +804,6 @@ module Stripe
|
|
|
836
804
|
attr_reader :payment_method_options
|
|
837
805
|
# 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).
|
|
838
806
|
attr_reader :payment_method_types
|
|
839
|
-
# Redaction status of this SetupIntent. If the SetupIntent isn't redacted, this field is null.
|
|
840
|
-
attr_reader :redaction
|
|
841
807
|
# ID of the single_use Mandate generated by the SetupIntent.
|
|
842
808
|
attr_reader :single_use_mandate
|
|
843
809
|
# [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`.
|
|
@@ -968,7 +934,6 @@ module Stripe
|
|
|
968
934
|
next_action: NextAction,
|
|
969
935
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
970
936
|
payment_method_options: PaymentMethodOptions,
|
|
971
|
-
redaction: Redaction,
|
|
972
937
|
}
|
|
973
938
|
end
|
|
974
939
|
|
|
@@ -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
|
|
@@ -573,19 +540,6 @@ module Stripe
|
|
|
573
540
|
end
|
|
574
541
|
end
|
|
575
542
|
|
|
576
|
-
class Redaction < ::Stripe::StripeObject
|
|
577
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
578
|
-
attr_reader :status
|
|
579
|
-
|
|
580
|
-
def self.inner_class_types
|
|
581
|
-
@inner_class_types = {}
|
|
582
|
-
end
|
|
583
|
-
|
|
584
|
-
def self.field_remappings
|
|
585
|
-
@field_remappings = {}
|
|
586
|
-
end
|
|
587
|
-
end
|
|
588
|
-
|
|
589
543
|
class Redirect < ::Stripe::StripeObject
|
|
590
544
|
# 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`.
|
|
591
545
|
attr_reader :failure_reason
|
|
@@ -783,8 +737,6 @@ module Stripe
|
|
|
783
737
|
attr_reader :authenticated
|
|
784
738
|
# Attribute for field brand
|
|
785
739
|
attr_reader :brand
|
|
786
|
-
# Attribute for field brand_product
|
|
787
|
-
attr_reader :brand_product
|
|
788
740
|
# Attribute for field card
|
|
789
741
|
attr_reader :card
|
|
790
742
|
# Attribute for field country
|
|
@@ -897,12 +849,8 @@ module Stripe
|
|
|
897
849
|
attr_reader :owner
|
|
898
850
|
# Attribute for field p24
|
|
899
851
|
attr_reader :p24
|
|
900
|
-
# Attribute for field paypal
|
|
901
|
-
attr_reader :paypal
|
|
902
852
|
# Attribute for field receiver
|
|
903
853
|
attr_reader :receiver
|
|
904
|
-
# Redaction status of this source. If not null, this source is associated to a redaction job.
|
|
905
|
-
attr_reader :redaction
|
|
906
854
|
# Attribute for field redirect
|
|
907
855
|
attr_reader :redirect
|
|
908
856
|
# Attribute for field sepa_credit_transfer
|
|
@@ -1006,9 +954,7 @@ module Stripe
|
|
|
1006
954
|
multibanco: Multibanco,
|
|
1007
955
|
owner: Owner,
|
|
1008
956
|
p24: P24,
|
|
1009
|
-
paypal: Paypal,
|
|
1010
957
|
receiver: Receiver,
|
|
1011
|
-
redaction: Redaction,
|
|
1012
958
|
redirect: Redirect,
|
|
1013
959
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
1014
960
|
sepa_debit: SepaDebit,
|
|
@@ -243,37 +243,6 @@ module Stripe
|
|
|
243
243
|
end
|
|
244
244
|
end
|
|
245
245
|
|
|
246
|
-
class LastPriceMigrationError < ::Stripe::StripeObject
|
|
247
|
-
class FailedTransition < ::Stripe::StripeObject
|
|
248
|
-
# The original price to be migrated.
|
|
249
|
-
attr_reader :source_price
|
|
250
|
-
# The intended resulting price of the migration.
|
|
251
|
-
attr_reader :target_price
|
|
252
|
-
|
|
253
|
-
def self.inner_class_types
|
|
254
|
-
@inner_class_types = {}
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
def self.field_remappings
|
|
258
|
-
@field_remappings = {}
|
|
259
|
-
end
|
|
260
|
-
end
|
|
261
|
-
# The time at which the price migration encountered an error.
|
|
262
|
-
attr_reader :errored_at
|
|
263
|
-
# The involved price pairs in each failed transition.
|
|
264
|
-
attr_reader :failed_transitions
|
|
265
|
-
# The type of error encountered by the price migration.
|
|
266
|
-
attr_reader :type
|
|
267
|
-
|
|
268
|
-
def self.inner_class_types
|
|
269
|
-
@inner_class_types = { failed_transitions: FailedTransition }
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
def self.field_remappings
|
|
273
|
-
@field_remappings = {}
|
|
274
|
-
end
|
|
275
|
-
end
|
|
276
|
-
|
|
277
246
|
class ManagedPayments < ::Stripe::StripeObject
|
|
278
247
|
# Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
279
248
|
attr_reader :enabled
|
|
@@ -344,31 +313,6 @@ module Stripe
|
|
|
344
313
|
end
|
|
345
314
|
end
|
|
346
315
|
|
|
347
|
-
class Blik < ::Stripe::StripeObject
|
|
348
|
-
class MandateOptions < ::Stripe::StripeObject
|
|
349
|
-
# Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
350
|
-
attr_reader :expires_after
|
|
351
|
-
|
|
352
|
-
def self.inner_class_types
|
|
353
|
-
@inner_class_types = {}
|
|
354
|
-
end
|
|
355
|
-
|
|
356
|
-
def self.field_remappings
|
|
357
|
-
@field_remappings = {}
|
|
358
|
-
end
|
|
359
|
-
end
|
|
360
|
-
# Attribute for field mandate_options
|
|
361
|
-
attr_reader :mandate_options
|
|
362
|
-
|
|
363
|
-
def self.inner_class_types
|
|
364
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
|
365
|
-
end
|
|
366
|
-
|
|
367
|
-
def self.field_remappings
|
|
368
|
-
@field_remappings = {}
|
|
369
|
-
end
|
|
370
|
-
end
|
|
371
|
-
|
|
372
316
|
class Card < ::Stripe::StripeObject
|
|
373
317
|
class MandateOptions < ::Stripe::StripeObject
|
|
374
318
|
# Amount to be charged for future payments, specified in the presentment currency.
|
|
@@ -443,16 +387,6 @@ module Stripe
|
|
|
443
387
|
end
|
|
444
388
|
end
|
|
445
389
|
|
|
446
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
447
|
-
def self.inner_class_types
|
|
448
|
-
@inner_class_types = {}
|
|
449
|
-
end
|
|
450
|
-
|
|
451
|
-
def self.field_remappings
|
|
452
|
-
@field_remappings = {}
|
|
453
|
-
end
|
|
454
|
-
end
|
|
455
|
-
|
|
456
390
|
class Konbini < ::Stripe::StripeObject
|
|
457
391
|
def self.inner_class_types
|
|
458
392
|
@inner_class_types = {}
|
|
@@ -571,8 +505,6 @@ module Stripe
|
|
|
571
505
|
class Filters < ::Stripe::StripeObject
|
|
572
506
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
573
507
|
attr_reader :account_subcategories
|
|
574
|
-
# The institution to use to filter for possible accounts to link.
|
|
575
|
-
attr_reader :institution
|
|
576
508
|
|
|
577
509
|
def self.inner_class_types
|
|
578
510
|
@inner_class_types = {}
|
|
@@ -614,14 +546,10 @@ module Stripe
|
|
|
614
546
|
attr_reader :acss_debit
|
|
615
547
|
# This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
|
|
616
548
|
attr_reader :bancontact
|
|
617
|
-
# This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
|
|
618
|
-
attr_reader :blik
|
|
619
549
|
# This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
|
620
550
|
attr_reader :card
|
|
621
551
|
# This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
622
552
|
attr_reader :customer_balance
|
|
623
|
-
# This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
624
|
-
attr_reader :id_bank_transfer
|
|
625
553
|
# This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
626
554
|
attr_reader :konbini
|
|
627
555
|
# This sub-hash contains details about the PayTo payment method options to pass to invoices created by the subscription.
|
|
@@ -639,10 +567,8 @@ module Stripe
|
|
|
639
567
|
@inner_class_types = {
|
|
640
568
|
acss_debit: AcssDebit,
|
|
641
569
|
bancontact: Bancontact,
|
|
642
|
-
blik: Blik,
|
|
643
570
|
card: Card,
|
|
644
571
|
customer_balance: CustomerBalance,
|
|
645
|
-
id_bank_transfer: IdBankTransfer,
|
|
646
572
|
konbini: Konbini,
|
|
647
573
|
payto: Payto,
|
|
648
574
|
pix: Pix,
|
|
@@ -698,8 +624,6 @@ module Stripe
|
|
|
698
624
|
attr_reader :expires_at
|
|
699
625
|
# 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.
|
|
700
626
|
attr_reader :metadata
|
|
701
|
-
# The number of iterations of prebilling to apply.
|
|
702
|
-
attr_reader :prebilling_iterations
|
|
703
627
|
# List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
704
628
|
attr_reader :subscription_items
|
|
705
629
|
# 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.
|
|
@@ -716,25 +640,6 @@ module Stripe
|
|
|
716
640
|
end
|
|
717
641
|
end
|
|
718
642
|
|
|
719
|
-
class Prebilling < ::Stripe::StripeObject
|
|
720
|
-
# ID of the prebilling invoice.
|
|
721
|
-
attr_reader :invoice
|
|
722
|
-
# The end of the last period for which the invoice pre-bills.
|
|
723
|
-
attr_reader :period_end
|
|
724
|
-
# The start of the first period for which the invoice pre-bills.
|
|
725
|
-
attr_reader :period_start
|
|
726
|
-
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
727
|
-
attr_reader :update_behavior
|
|
728
|
-
|
|
729
|
-
def self.inner_class_types
|
|
730
|
-
@inner_class_types = {}
|
|
731
|
-
end
|
|
732
|
-
|
|
733
|
-
def self.field_remappings
|
|
734
|
-
@field_remappings = {}
|
|
735
|
-
end
|
|
736
|
-
end
|
|
737
|
-
|
|
738
643
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
739
644
|
# Currency used for customer payments.
|
|
740
645
|
attr_reader :presentment_currency
|
|
@@ -748,47 +653,6 @@ module Stripe
|
|
|
748
653
|
end
|
|
749
654
|
end
|
|
750
655
|
|
|
751
|
-
class StatusDetails < ::Stripe::StripeObject
|
|
752
|
-
class Paused < ::Stripe::StripeObject
|
|
753
|
-
class Subscription < ::Stripe::StripeObject
|
|
754
|
-
# The reason that the subscription was paused.
|
|
755
|
-
attr_reader :type
|
|
756
|
-
|
|
757
|
-
def self.inner_class_types
|
|
758
|
-
@inner_class_types = {}
|
|
759
|
-
end
|
|
760
|
-
|
|
761
|
-
def self.field_remappings
|
|
762
|
-
@field_remappings = {}
|
|
763
|
-
end
|
|
764
|
-
end
|
|
765
|
-
# Information on the `type=subscription` pause.
|
|
766
|
-
attr_reader :subscription
|
|
767
|
-
# Unix timestamp in seconds of when the subscription status transitioned to `paused`.
|
|
768
|
-
attr_reader :transitioned_at
|
|
769
|
-
# The type of pause.
|
|
770
|
-
attr_reader :type
|
|
771
|
-
|
|
772
|
-
def self.inner_class_types
|
|
773
|
-
@inner_class_types = { subscription: Subscription }
|
|
774
|
-
end
|
|
775
|
-
|
|
776
|
-
def self.field_remappings
|
|
777
|
-
@field_remappings = {}
|
|
778
|
-
end
|
|
779
|
-
end
|
|
780
|
-
# Indicates when and why the subscription transitioned to the paused status.
|
|
781
|
-
attr_reader :paused
|
|
782
|
-
|
|
783
|
-
def self.inner_class_types
|
|
784
|
-
@inner_class_types = { paused: Paused }
|
|
785
|
-
end
|
|
786
|
-
|
|
787
|
-
def self.field_remappings
|
|
788
|
-
@field_remappings = {}
|
|
789
|
-
end
|
|
790
|
-
end
|
|
791
|
-
|
|
792
656
|
class TransferData < ::Stripe::StripeObject
|
|
793
657
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
794
658
|
attr_reader :amount_percent
|
|
@@ -806,8 +670,6 @@ module Stripe
|
|
|
806
670
|
|
|
807
671
|
class TrialSettings < ::Stripe::StripeObject
|
|
808
672
|
class EndBehavior < ::Stripe::StripeObject
|
|
809
|
-
# Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
810
|
-
attr_reader :billing_cycle_anchor
|
|
811
673
|
# Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
812
674
|
attr_reader :missing_payment_method
|
|
813
675
|
|
|
@@ -884,8 +746,6 @@ module Stripe
|
|
|
884
746
|
attr_reader :invoice_settings
|
|
885
747
|
# List of subscription items, each with an attached price.
|
|
886
748
|
attr_reader :items
|
|
887
|
-
# Details of the most recent price migration that failed for the subscription.
|
|
888
|
-
attr_reader :last_price_migration_error
|
|
889
749
|
# The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
890
750
|
attr_reader :latest_invoice
|
|
891
751
|
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
@@ -910,8 +770,6 @@ module Stripe
|
|
|
910
770
|
attr_reader :pending_setup_intent
|
|
911
771
|
# 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.
|
|
912
772
|
attr_reader :pending_update
|
|
913
|
-
# Time period and invoice for a Subscription billed in advance.
|
|
914
|
-
attr_reader :prebilling
|
|
915
773
|
# Attribute for field presentment_details
|
|
916
774
|
attr_reader :presentment_details
|
|
917
775
|
# The schedule attached to the subscription
|
|
@@ -930,8 +788,6 @@ module Stripe
|
|
|
930
788
|
#
|
|
931
789
|
# If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.
|
|
932
790
|
attr_reader :status
|
|
933
|
-
# Describes changes to the subscription's status.
|
|
934
|
-
attr_reader :status_details
|
|
935
791
|
# ID of the test clock this subscription belongs to.
|
|
936
792
|
attr_reader :test_clock
|
|
937
793
|
# The account (if any) the subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.
|
|
@@ -1027,26 +883,6 @@ module Stripe
|
|
|
1027
883
|
)
|
|
1028
884
|
end
|
|
1029
885
|
|
|
1030
|
-
# Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
|
|
1031
|
-
def pause(params = {}, opts = {})
|
|
1032
|
-
request_stripe_object(
|
|
1033
|
-
method: :post,
|
|
1034
|
-
path: format("/v1/subscriptions/%<subscription>s/pause", { subscription: CGI.escape(self["id"]) }),
|
|
1035
|
-
params: params,
|
|
1036
|
-
opts: opts
|
|
1037
|
-
)
|
|
1038
|
-
end
|
|
1039
|
-
|
|
1040
|
-
# Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
|
|
1041
|
-
def self.pause(subscription, params = {}, opts = {})
|
|
1042
|
-
request_stripe_object(
|
|
1043
|
-
method: :post,
|
|
1044
|
-
path: format("/v1/subscriptions/%<subscription>s/pause", { subscription: CGI.escape(subscription) }),
|
|
1045
|
-
params: params,
|
|
1046
|
-
opts: opts
|
|
1047
|
-
)
|
|
1048
|
-
end
|
|
1049
|
-
|
|
1050
886
|
# 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).
|
|
1051
887
|
def resume(params = {}, opts = {})
|
|
1052
888
|
request_stripe_object(
|
|
@@ -1121,15 +957,12 @@ module Stripe
|
|
|
1121
957
|
billing_thresholds: BillingThresholds,
|
|
1122
958
|
cancellation_details: CancellationDetails,
|
|
1123
959
|
invoice_settings: InvoiceSettings,
|
|
1124
|
-
last_price_migration_error: LastPriceMigrationError,
|
|
1125
960
|
managed_payments: ManagedPayments,
|
|
1126
961
|
pause_collection: PauseCollection,
|
|
1127
962
|
payment_settings: PaymentSettings,
|
|
1128
963
|
pending_invoice_item_interval: PendingInvoiceItemInterval,
|
|
1129
964
|
pending_update: PendingUpdate,
|
|
1130
|
-
prebilling: Prebilling,
|
|
1131
965
|
presentment_details: PresentmentDetails,
|
|
1132
|
-
status_details: StatusDetails,
|
|
1133
966
|
transfer_data: TransferData,
|
|
1134
967
|
trial_settings: TrialSettings,
|
|
1135
968
|
}
|