stripe 19.3.0.pre.beta.1 → 19.3.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 +34 -37
- 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/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +2 -375
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +1 -337
- data/lib/stripe/params/balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_create_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 +50 -128
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +1 -79
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_create_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/dispute_update_params.rb +18 -11
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +2 -49
- 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 +10 -791
- 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 +2 -49
- data/lib/stripe/params/invoice_update_lines_params.rb +2 -49
- 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 +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +116 -3016
- data/lib/stripe/params/payment_intent_create_params.rb +128 -3028
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +86 -3017
- data/lib/stripe/params/payment_link_create_params.rb +1 -16
- 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 +1 -75
- 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 +4 -109
- data/lib/stripe/params/setup_intent_create_params.rb +4 -109
- data/lib/stripe/params/setup_intent_update_params.rb +4 -109
- data/lib/stripe/params/subscription_create_params.rb +34 -171
- 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 +5 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -167
- data/lib/stripe/params/subscription_update_params.rb +34 -155
- 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 +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +1 -79
- 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/topup_create_params.rb +24 -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/core/account_create_params.rb +18 -282
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -13
- data/lib/stripe/params/v2/core/account_update_params.rb +25 -282
- data/lib/stripe/params.rb +0 -426
- data/lib/stripe/resources/account.rb +1 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +3 -3
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +7 -211
- data/lib/stripe/resources/checkout/session.rb +53 -75
- data/lib/stripe/resources/confirmation_token.rb +9 -131
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +2 -0
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +32 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +8 -33
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +1 -117
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- 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 +47 -1568
- data/lib/stripe/resources/payment_method.rb +9 -135
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +3 -179
- 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/refund.rb +0 -18
- data/lib/stripe/resources/reserve/hold.rb +18 -8
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +16 -35
- data/lib/stripe/resources/setup_intent.rb +1 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +23 -169
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +3 -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 +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -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 +2 -0
- data/lib/stripe/resources/v2/core/account.rb +155 -717
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources.rb +0 -417
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/balance_transaction_service.rb +2 -2
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/credit_note_service.rb +2 -0
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -11
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +1 -57
- 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/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -54
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -3
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +52694 -118800
- metadata +7 -382
- 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_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 -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/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 -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 -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 -1792
- 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 -488
- 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/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 -582
|
@@ -180,18 +180,8 @@ module Stripe
|
|
|
180
180
|
end
|
|
181
181
|
|
|
182
182
|
class Giropay < ::Stripe::RequestParams; end
|
|
183
|
-
class Gopay < ::Stripe::RequestParams; end
|
|
184
183
|
class Grabpay < ::Stripe::RequestParams; end
|
|
185
184
|
|
|
186
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
187
|
-
# Bank where the account is held.
|
|
188
|
-
attr_accessor :bank
|
|
189
|
-
|
|
190
|
-
def initialize(bank: nil)
|
|
191
|
-
@bank = bank
|
|
192
|
-
end
|
|
193
|
-
end
|
|
194
|
-
|
|
195
185
|
class Ideal < ::Stripe::RequestParams
|
|
196
186
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
197
187
|
attr_accessor :bank
|
|
@@ -289,7 +279,6 @@ module Stripe
|
|
|
289
279
|
class Payco < ::Stripe::RequestParams; end
|
|
290
280
|
class Paynow < ::Stripe::RequestParams; end
|
|
291
281
|
class Paypal < ::Stripe::RequestParams; end
|
|
292
|
-
class Paypay < ::Stripe::RequestParams; end
|
|
293
282
|
|
|
294
283
|
class Payto < ::Stripe::RequestParams
|
|
295
284
|
# The account number for the bank account.
|
|
@@ -308,7 +297,6 @@ module Stripe
|
|
|
308
297
|
|
|
309
298
|
class Pix < ::Stripe::RequestParams; end
|
|
310
299
|
class Promptpay < ::Stripe::RequestParams; end
|
|
311
|
-
class Qris < ::Stripe::RequestParams; end
|
|
312
300
|
|
|
313
301
|
class RadarOptions < ::Stripe::RequestParams
|
|
314
302
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -319,29 +307,6 @@ module Stripe
|
|
|
319
307
|
end
|
|
320
308
|
end
|
|
321
309
|
|
|
322
|
-
class Rechnung < ::Stripe::RequestParams
|
|
323
|
-
class Dob < ::Stripe::RequestParams
|
|
324
|
-
# The day of birth, between 1 and 31.
|
|
325
|
-
attr_accessor :day
|
|
326
|
-
# The month of birth, between 1 and 12.
|
|
327
|
-
attr_accessor :month
|
|
328
|
-
# The four-digit year of birth.
|
|
329
|
-
attr_accessor :year
|
|
330
|
-
|
|
331
|
-
def initialize(day: nil, month: nil, year: nil)
|
|
332
|
-
@day = day
|
|
333
|
-
@month = month
|
|
334
|
-
@year = year
|
|
335
|
-
end
|
|
336
|
-
end
|
|
337
|
-
# Customer's date of birth
|
|
338
|
-
attr_accessor :dob
|
|
339
|
-
|
|
340
|
-
def initialize(dob: nil)
|
|
341
|
-
@dob = dob
|
|
342
|
-
end
|
|
343
|
-
end
|
|
344
|
-
|
|
345
310
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
346
311
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
347
312
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -356,8 +321,6 @@ module Stripe
|
|
|
356
321
|
end
|
|
357
322
|
end
|
|
358
323
|
|
|
359
|
-
class Shopeepay < ::Stripe::RequestParams; end
|
|
360
|
-
|
|
361
324
|
class Sofort < ::Stripe::RequestParams
|
|
362
325
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
363
326
|
attr_accessor :country
|
|
@@ -367,15 +330,6 @@ module Stripe
|
|
|
367
330
|
end
|
|
368
331
|
end
|
|
369
332
|
|
|
370
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
371
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
372
|
-
attr_accessor :account
|
|
373
|
-
|
|
374
|
-
def initialize(account: nil)
|
|
375
|
-
@account = account
|
|
376
|
-
end
|
|
377
|
-
end
|
|
378
|
-
|
|
379
333
|
class Sunbit < ::Stripe::RequestParams; end
|
|
380
334
|
class Swish < ::Stripe::RequestParams; end
|
|
381
335
|
class Twint < ::Stripe::RequestParams; end
|
|
@@ -477,12 +431,8 @@ module Stripe
|
|
|
477
431
|
attr_accessor :fpx
|
|
478
432
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
479
433
|
attr_accessor :giropay
|
|
480
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
481
|
-
attr_accessor :gopay
|
|
482
434
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
483
435
|
attr_accessor :grabpay
|
|
484
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
485
|
-
attr_accessor :id_bank_transfer
|
|
486
436
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
487
437
|
attr_accessor :ideal
|
|
488
438
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -521,20 +471,14 @@ module Stripe
|
|
|
521
471
|
attr_accessor :paynow
|
|
522
472
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
523
473
|
attr_accessor :paypal
|
|
524
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
525
|
-
attr_accessor :paypay
|
|
526
474
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
527
475
|
attr_accessor :payto
|
|
528
476
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
529
477
|
attr_accessor :pix
|
|
530
478
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
531
479
|
attr_accessor :promptpay
|
|
532
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
533
|
-
attr_accessor :qris
|
|
534
480
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
535
481
|
attr_accessor :radar_options
|
|
536
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
537
|
-
attr_accessor :rechnung
|
|
538
482
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
539
483
|
attr_accessor :revolut_pay
|
|
540
484
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -545,15 +489,9 @@ module Stripe
|
|
|
545
489
|
attr_accessor :scalapay
|
|
546
490
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
547
491
|
attr_accessor :sepa_debit
|
|
548
|
-
# ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
549
|
-
attr_accessor :shared_payment_granted_token
|
|
550
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
551
|
-
attr_accessor :shopeepay
|
|
552
492
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
553
493
|
attr_accessor :sofort
|
|
554
|
-
#
|
|
555
|
-
attr_accessor :stripe_balance
|
|
556
|
-
# If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
494
|
+
# If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
557
495
|
attr_accessor :sunbit
|
|
558
496
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
559
497
|
attr_accessor :swish
|
|
@@ -592,9 +530,7 @@ module Stripe
|
|
|
592
530
|
eps: nil,
|
|
593
531
|
fpx: nil,
|
|
594
532
|
giropay: nil,
|
|
595
|
-
gopay: nil,
|
|
596
533
|
grabpay: nil,
|
|
597
|
-
id_bank_transfer: nil,
|
|
598
534
|
ideal: nil,
|
|
599
535
|
interac_present: nil,
|
|
600
536
|
kakao_pay: nil,
|
|
@@ -614,22 +550,16 @@ module Stripe
|
|
|
614
550
|
payco: nil,
|
|
615
551
|
paynow: nil,
|
|
616
552
|
paypal: nil,
|
|
617
|
-
paypay: nil,
|
|
618
553
|
payto: nil,
|
|
619
554
|
pix: nil,
|
|
620
555
|
promptpay: nil,
|
|
621
|
-
qris: nil,
|
|
622
556
|
radar_options: nil,
|
|
623
|
-
rechnung: nil,
|
|
624
557
|
revolut_pay: nil,
|
|
625
558
|
samsung_pay: nil,
|
|
626
559
|
satispay: nil,
|
|
627
560
|
scalapay: nil,
|
|
628
561
|
sepa_debit: nil,
|
|
629
|
-
shared_payment_granted_token: nil,
|
|
630
|
-
shopeepay: nil,
|
|
631
562
|
sofort: nil,
|
|
632
|
-
stripe_balance: nil,
|
|
633
563
|
sunbit: nil,
|
|
634
564
|
swish: nil,
|
|
635
565
|
twint: nil,
|
|
@@ -660,9 +590,7 @@ module Stripe
|
|
|
660
590
|
@eps = eps
|
|
661
591
|
@fpx = fpx
|
|
662
592
|
@giropay = giropay
|
|
663
|
-
@gopay = gopay
|
|
664
593
|
@grabpay = grabpay
|
|
665
|
-
@id_bank_transfer = id_bank_transfer
|
|
666
594
|
@ideal = ideal
|
|
667
595
|
@interac_present = interac_present
|
|
668
596
|
@kakao_pay = kakao_pay
|
|
@@ -682,22 +610,16 @@ module Stripe
|
|
|
682
610
|
@payco = payco
|
|
683
611
|
@paynow = paynow
|
|
684
612
|
@paypal = paypal
|
|
685
|
-
@paypay = paypay
|
|
686
613
|
@payto = payto
|
|
687
614
|
@pix = pix
|
|
688
615
|
@promptpay = promptpay
|
|
689
|
-
@qris = qris
|
|
690
616
|
@radar_options = radar_options
|
|
691
|
-
@rechnung = rechnung
|
|
692
617
|
@revolut_pay = revolut_pay
|
|
693
618
|
@samsung_pay = samsung_pay
|
|
694
619
|
@satispay = satispay
|
|
695
620
|
@scalapay = scalapay
|
|
696
621
|
@sepa_debit = sepa_debit
|
|
697
|
-
@shared_payment_granted_token = shared_payment_granted_token
|
|
698
|
-
@shopeepay = shopeepay
|
|
699
622
|
@sofort = sofort
|
|
700
|
-
@stripe_balance = stripe_balance
|
|
701
623
|
@sunbit = sunbit
|
|
702
624
|
@swish = swish
|
|
703
625
|
@twint = twint
|
|
@@ -1017,15 +939,9 @@ module Stripe
|
|
|
1017
939
|
class Paypal < ::Stripe::RequestParams
|
|
1018
940
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1019
941
|
attr_accessor :billing_agreement_id
|
|
1020
|
-
# Attribute for param field currency
|
|
1021
|
-
attr_accessor :currency
|
|
1022
|
-
# 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.
|
|
1023
|
-
attr_accessor :subsellers
|
|
1024
942
|
|
|
1025
|
-
def initialize(billing_agreement_id: nil
|
|
943
|
+
def initialize(billing_agreement_id: nil)
|
|
1026
944
|
@billing_agreement_id = billing_agreement_id
|
|
1027
|
-
@currency = currency
|
|
1028
|
-
@subsellers = subsellers
|
|
1029
945
|
end
|
|
1030
946
|
end
|
|
1031
947
|
|
|
@@ -1170,27 +1086,13 @@ module Stripe
|
|
|
1170
1086
|
class Filters < ::Stripe::RequestParams
|
|
1171
1087
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1172
1088
|
attr_accessor :account_subcategories
|
|
1173
|
-
# ID of the institution to use to filter for selectable accounts.
|
|
1174
|
-
attr_accessor :institution
|
|
1175
1089
|
|
|
1176
|
-
def initialize(account_subcategories: nil
|
|
1090
|
+
def initialize(account_subcategories: nil)
|
|
1177
1091
|
@account_subcategories = account_subcategories
|
|
1178
|
-
@institution = institution
|
|
1179
|
-
end
|
|
1180
|
-
end
|
|
1181
|
-
|
|
1182
|
-
class ManualEntry < ::Stripe::RequestParams
|
|
1183
|
-
# Settings for configuring manual entry of account details.
|
|
1184
|
-
attr_accessor :mode
|
|
1185
|
-
|
|
1186
|
-
def initialize(mode: nil)
|
|
1187
|
-
@mode = mode
|
|
1188
1092
|
end
|
|
1189
1093
|
end
|
|
1190
1094
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
1191
1095
|
attr_accessor :filters
|
|
1192
|
-
# Customize manual entry behavior
|
|
1193
|
-
attr_accessor :manual_entry
|
|
1194
1096
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
1195
1097
|
attr_accessor :permissions
|
|
1196
1098
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -1198,15 +1100,8 @@ module Stripe
|
|
|
1198
1100
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
1199
1101
|
attr_accessor :return_url
|
|
1200
1102
|
|
|
1201
|
-
def initialize(
|
|
1202
|
-
filters: nil,
|
|
1203
|
-
manual_entry: nil,
|
|
1204
|
-
permissions: nil,
|
|
1205
|
-
prefetch: nil,
|
|
1206
|
-
return_url: nil
|
|
1207
|
-
)
|
|
1103
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
|
1208
1104
|
@filters = filters
|
|
1209
|
-
@manual_entry = manual_entry
|
|
1210
1105
|
@permissions = permissions
|
|
1211
1106
|
@prefetch = prefetch
|
|
1212
1107
|
@return_url = return_url
|
|
@@ -194,18 +194,8 @@ module Stripe
|
|
|
194
194
|
end
|
|
195
195
|
|
|
196
196
|
class Giropay < ::Stripe::RequestParams; end
|
|
197
|
-
class Gopay < ::Stripe::RequestParams; end
|
|
198
197
|
class Grabpay < ::Stripe::RequestParams; end
|
|
199
198
|
|
|
200
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
201
|
-
# Bank where the account is held.
|
|
202
|
-
attr_accessor :bank
|
|
203
|
-
|
|
204
|
-
def initialize(bank: nil)
|
|
205
|
-
@bank = bank
|
|
206
|
-
end
|
|
207
|
-
end
|
|
208
|
-
|
|
209
199
|
class Ideal < ::Stripe::RequestParams
|
|
210
200
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
211
201
|
attr_accessor :bank
|
|
@@ -303,7 +293,6 @@ module Stripe
|
|
|
303
293
|
class Payco < ::Stripe::RequestParams; end
|
|
304
294
|
class Paynow < ::Stripe::RequestParams; end
|
|
305
295
|
class Paypal < ::Stripe::RequestParams; end
|
|
306
|
-
class Paypay < ::Stripe::RequestParams; end
|
|
307
296
|
|
|
308
297
|
class Payto < ::Stripe::RequestParams
|
|
309
298
|
# The account number for the bank account.
|
|
@@ -322,7 +311,6 @@ module Stripe
|
|
|
322
311
|
|
|
323
312
|
class Pix < ::Stripe::RequestParams; end
|
|
324
313
|
class Promptpay < ::Stripe::RequestParams; end
|
|
325
|
-
class Qris < ::Stripe::RequestParams; end
|
|
326
314
|
|
|
327
315
|
class RadarOptions < ::Stripe::RequestParams
|
|
328
316
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -333,29 +321,6 @@ module Stripe
|
|
|
333
321
|
end
|
|
334
322
|
end
|
|
335
323
|
|
|
336
|
-
class Rechnung < ::Stripe::RequestParams
|
|
337
|
-
class Dob < ::Stripe::RequestParams
|
|
338
|
-
# The day of birth, between 1 and 31.
|
|
339
|
-
attr_accessor :day
|
|
340
|
-
# The month of birth, between 1 and 12.
|
|
341
|
-
attr_accessor :month
|
|
342
|
-
# The four-digit year of birth.
|
|
343
|
-
attr_accessor :year
|
|
344
|
-
|
|
345
|
-
def initialize(day: nil, month: nil, year: nil)
|
|
346
|
-
@day = day
|
|
347
|
-
@month = month
|
|
348
|
-
@year = year
|
|
349
|
-
end
|
|
350
|
-
end
|
|
351
|
-
# Customer's date of birth
|
|
352
|
-
attr_accessor :dob
|
|
353
|
-
|
|
354
|
-
def initialize(dob: nil)
|
|
355
|
-
@dob = dob
|
|
356
|
-
end
|
|
357
|
-
end
|
|
358
|
-
|
|
359
324
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
360
325
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
361
326
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -370,8 +335,6 @@ module Stripe
|
|
|
370
335
|
end
|
|
371
336
|
end
|
|
372
337
|
|
|
373
|
-
class Shopeepay < ::Stripe::RequestParams; end
|
|
374
|
-
|
|
375
338
|
class Sofort < ::Stripe::RequestParams
|
|
376
339
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
377
340
|
attr_accessor :country
|
|
@@ -381,15 +344,6 @@ module Stripe
|
|
|
381
344
|
end
|
|
382
345
|
end
|
|
383
346
|
|
|
384
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
385
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
386
|
-
attr_accessor :account
|
|
387
|
-
|
|
388
|
-
def initialize(account: nil)
|
|
389
|
-
@account = account
|
|
390
|
-
end
|
|
391
|
-
end
|
|
392
|
-
|
|
393
347
|
class Sunbit < ::Stripe::RequestParams; end
|
|
394
348
|
class Swish < ::Stripe::RequestParams; end
|
|
395
349
|
class Twint < ::Stripe::RequestParams; end
|
|
@@ -491,12 +445,8 @@ module Stripe
|
|
|
491
445
|
attr_accessor :fpx
|
|
492
446
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
493
447
|
attr_accessor :giropay
|
|
494
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
495
|
-
attr_accessor :gopay
|
|
496
448
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
497
449
|
attr_accessor :grabpay
|
|
498
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
499
|
-
attr_accessor :id_bank_transfer
|
|
500
450
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
501
451
|
attr_accessor :ideal
|
|
502
452
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -535,20 +485,14 @@ module Stripe
|
|
|
535
485
|
attr_accessor :paynow
|
|
536
486
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
537
487
|
attr_accessor :paypal
|
|
538
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
539
|
-
attr_accessor :paypay
|
|
540
488
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
541
489
|
attr_accessor :payto
|
|
542
490
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
543
491
|
attr_accessor :pix
|
|
544
492
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
545
493
|
attr_accessor :promptpay
|
|
546
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
547
|
-
attr_accessor :qris
|
|
548
494
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
549
495
|
attr_accessor :radar_options
|
|
550
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
551
|
-
attr_accessor :rechnung
|
|
552
496
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
553
497
|
attr_accessor :revolut_pay
|
|
554
498
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -559,15 +503,9 @@ module Stripe
|
|
|
559
503
|
attr_accessor :scalapay
|
|
560
504
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
561
505
|
attr_accessor :sepa_debit
|
|
562
|
-
# ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
563
|
-
attr_accessor :shared_payment_granted_token
|
|
564
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
565
|
-
attr_accessor :shopeepay
|
|
566
506
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
567
507
|
attr_accessor :sofort
|
|
568
|
-
#
|
|
569
|
-
attr_accessor :stripe_balance
|
|
570
|
-
# If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
508
|
+
# If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
571
509
|
attr_accessor :sunbit
|
|
572
510
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
573
511
|
attr_accessor :swish
|
|
@@ -606,9 +544,7 @@ module Stripe
|
|
|
606
544
|
eps: nil,
|
|
607
545
|
fpx: nil,
|
|
608
546
|
giropay: nil,
|
|
609
|
-
gopay: nil,
|
|
610
547
|
grabpay: nil,
|
|
611
|
-
id_bank_transfer: nil,
|
|
612
548
|
ideal: nil,
|
|
613
549
|
interac_present: nil,
|
|
614
550
|
kakao_pay: nil,
|
|
@@ -628,22 +564,16 @@ module Stripe
|
|
|
628
564
|
payco: nil,
|
|
629
565
|
paynow: nil,
|
|
630
566
|
paypal: nil,
|
|
631
|
-
paypay: nil,
|
|
632
567
|
payto: nil,
|
|
633
568
|
pix: nil,
|
|
634
569
|
promptpay: nil,
|
|
635
|
-
qris: nil,
|
|
636
570
|
radar_options: nil,
|
|
637
|
-
rechnung: nil,
|
|
638
571
|
revolut_pay: nil,
|
|
639
572
|
samsung_pay: nil,
|
|
640
573
|
satispay: nil,
|
|
641
574
|
scalapay: nil,
|
|
642
575
|
sepa_debit: nil,
|
|
643
|
-
shared_payment_granted_token: nil,
|
|
644
|
-
shopeepay: nil,
|
|
645
576
|
sofort: nil,
|
|
646
|
-
stripe_balance: nil,
|
|
647
577
|
sunbit: nil,
|
|
648
578
|
swish: nil,
|
|
649
579
|
twint: nil,
|
|
@@ -674,9 +604,7 @@ module Stripe
|
|
|
674
604
|
@eps = eps
|
|
675
605
|
@fpx = fpx
|
|
676
606
|
@giropay = giropay
|
|
677
|
-
@gopay = gopay
|
|
678
607
|
@grabpay = grabpay
|
|
679
|
-
@id_bank_transfer = id_bank_transfer
|
|
680
608
|
@ideal = ideal
|
|
681
609
|
@interac_present = interac_present
|
|
682
610
|
@kakao_pay = kakao_pay
|
|
@@ -696,22 +624,16 @@ module Stripe
|
|
|
696
624
|
@payco = payco
|
|
697
625
|
@paynow = paynow
|
|
698
626
|
@paypal = paypal
|
|
699
|
-
@paypay = paypay
|
|
700
627
|
@payto = payto
|
|
701
628
|
@pix = pix
|
|
702
629
|
@promptpay = promptpay
|
|
703
|
-
@qris = qris
|
|
704
630
|
@radar_options = radar_options
|
|
705
|
-
@rechnung = rechnung
|
|
706
631
|
@revolut_pay = revolut_pay
|
|
707
632
|
@samsung_pay = samsung_pay
|
|
708
633
|
@satispay = satispay
|
|
709
634
|
@scalapay = scalapay
|
|
710
635
|
@sepa_debit = sepa_debit
|
|
711
|
-
@shared_payment_granted_token = shared_payment_granted_token
|
|
712
|
-
@shopeepay = shopeepay
|
|
713
636
|
@sofort = sofort
|
|
714
|
-
@stripe_balance = stripe_balance
|
|
715
637
|
@sunbit = sunbit
|
|
716
638
|
@swish = swish
|
|
717
639
|
@twint = twint
|
|
@@ -1031,15 +953,9 @@ module Stripe
|
|
|
1031
953
|
class Paypal < ::Stripe::RequestParams
|
|
1032
954
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1033
955
|
attr_accessor :billing_agreement_id
|
|
1034
|
-
# Attribute for param field currency
|
|
1035
|
-
attr_accessor :currency
|
|
1036
|
-
# 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.
|
|
1037
|
-
attr_accessor :subsellers
|
|
1038
956
|
|
|
1039
|
-
def initialize(billing_agreement_id: nil
|
|
957
|
+
def initialize(billing_agreement_id: nil)
|
|
1040
958
|
@billing_agreement_id = billing_agreement_id
|
|
1041
|
-
@currency = currency
|
|
1042
|
-
@subsellers = subsellers
|
|
1043
959
|
end
|
|
1044
960
|
end
|
|
1045
961
|
|
|
@@ -1184,27 +1100,13 @@ module Stripe
|
|
|
1184
1100
|
class Filters < ::Stripe::RequestParams
|
|
1185
1101
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1186
1102
|
attr_accessor :account_subcategories
|
|
1187
|
-
# ID of the institution to use to filter for selectable accounts.
|
|
1188
|
-
attr_accessor :institution
|
|
1189
1103
|
|
|
1190
|
-
def initialize(account_subcategories: nil
|
|
1104
|
+
def initialize(account_subcategories: nil)
|
|
1191
1105
|
@account_subcategories = account_subcategories
|
|
1192
|
-
@institution = institution
|
|
1193
|
-
end
|
|
1194
|
-
end
|
|
1195
|
-
|
|
1196
|
-
class ManualEntry < ::Stripe::RequestParams
|
|
1197
|
-
# Settings for configuring manual entry of account details.
|
|
1198
|
-
attr_accessor :mode
|
|
1199
|
-
|
|
1200
|
-
def initialize(mode: nil)
|
|
1201
|
-
@mode = mode
|
|
1202
1106
|
end
|
|
1203
1107
|
end
|
|
1204
1108
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
1205
1109
|
attr_accessor :filters
|
|
1206
|
-
# Customize manual entry behavior
|
|
1207
|
-
attr_accessor :manual_entry
|
|
1208
1110
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
1209
1111
|
attr_accessor :permissions
|
|
1210
1112
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -1212,15 +1114,8 @@ module Stripe
|
|
|
1212
1114
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
1213
1115
|
attr_accessor :return_url
|
|
1214
1116
|
|
|
1215
|
-
def initialize(
|
|
1216
|
-
filters: nil,
|
|
1217
|
-
manual_entry: nil,
|
|
1218
|
-
permissions: nil,
|
|
1219
|
-
prefetch: nil,
|
|
1220
|
-
return_url: nil
|
|
1221
|
-
)
|
|
1117
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
|
1222
1118
|
@filters = filters
|
|
1223
|
-
@manual_entry = manual_entry
|
|
1224
1119
|
@permissions = permissions
|
|
1225
1120
|
@prefetch = prefetch
|
|
1226
1121
|
@return_url = return_url
|