stripe 19.2.0.pre.beta.2 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +3 -36
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -228
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +17 -364
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +16 -326
- data/lib/stripe/params/balance_settings_update_params.rb +42 -2
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_create_params.rb +4 -1
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +31 -141
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -70
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -790
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -48
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +3 -1645
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3038
- data/lib/stripe/params/payment_intent_create_params.rb +167 -3043
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +2 -39
- data/lib/stripe/params/payment_intent_update_params.rb +121 -3034
- data/lib/stripe/params/payment_link_create_params.rb +30 -16
- data/lib/stripe/params/payment_link_update_params.rb +29 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +24 -87
- data/lib/stripe/params/payment_method_configuration_list_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +24 -87
- data/lib/stripe/params/payment_method_create_params.rb +11 -75
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- data/lib/stripe/params/quote_create_params.rb +3 -809
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -817
- data/lib/stripe/params/setup_intent_confirm_params.rb +21 -110
- data/lib/stripe/params/setup_intent_create_params.rb +21 -110
- data/lib/stripe/params/setup_intent_update_params.rb +21 -110
- data/lib/stripe/params/subscription_create_params.rb +11 -181
- data/lib/stripe/params/subscription_item_create_params.rb +3 -69
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -7
- data/lib/stripe/params/subscription_item_update_params.rb +2 -52
- data/lib/stripe/params/subscription_schedule_create_params.rb +9 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +9 -167
- data/lib/stripe/params/subscription_update_params.rb +11 -161
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- data/lib/stripe/params/tax/registration_create_params.rb +0 -104
- data/lib/stripe/params/terminal/configuration_create_params.rb +52 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +4 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -4
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/account_create_params.rb +33 -288
- data/lib/stripe/params/v2/core/account_token_create_params.rb +28 -18
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -281
- data/lib/stripe/params.rb +1342 -795
- data/lib/stripe/railtie.rb +8 -0
- data/lib/stripe/resources/account.rb +5 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +42 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +36 -211
- data/lib/stripe/resources/checkout/session.rb +26 -82
- data/lib/stripe/resources/confirmation_token.rb +20 -125
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +2 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -57
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +3 -117
- data/lib/stripe/resources/invoice_item.rb +34 -3
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/dispute.rb +1 -1
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +13 -12
- data/lib/stripe/resources/payment_attempt_record.rb +41 -187
- data/lib/stripe/resources/payment_intent.rb +96 -1583
- data/lib/stripe/resources/payment_link.rb +40 -0
- data/lib/stripe/resources/payment_method.rb +21 -130
- data/lib/stripe/resources/payment_method_configuration.rb +20 -122
- data/lib/stripe/resources/payment_record.rb +41 -187
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +4 -26
- data/lib/stripe/resources/setup_intent.rb +27 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +10 -107
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +5 -198
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/terminal/configuration.rb +64 -16
- data/lib/stripe/resources/terminal/reader.rb +116 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/commerce/product_catalog_import.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +40 -607
- data/lib/stripe/resources/v2/core/account_token.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +1 -0
- data/lib/stripe/resources.rb +500 -301
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -41
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +3 -38
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -55
- data/lib/stripe/services/subscription_service.rb +2 -32
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +5 -1
- data/lib/stripe/services/v2/core/event_service.rb +2 -1
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +469 -268
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +25 -58
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +53183 -118054
- metadata +5 -377
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -63
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +0 -15
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/invoice_detach_payment_params.rb +0 -16
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_create_params.rb +0 -2083
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -2087
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -67
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -87
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/authorization.rb +0 -82
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -927
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1181
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -734
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1766
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/tax/location.rb +0 -72
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -91
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
- data/lib/stripe/resources/v2/billing/profile.rb +0 -47
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -492
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
- data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -29
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -160
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/authorization_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_service.rb +0 -53
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -19
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
- data/lib/stripe/services/shared_payment_service.rb +0 -14
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/tax/location_service.rb +0 -45
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/datum_service.rb +0 -15
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -21
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/stripe_event_notification_handler.rb +0 -581
|
@@ -74,7 +74,7 @@ module Stripe
|
|
|
74
74
|
attr_accessor :payment_method_reuse_agreement
|
|
75
75
|
# If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout
|
|
76
76
|
# Session will determine whether to display an option to opt into promotional communication
|
|
77
|
-
# from the merchant depending on the customer's locale. Only available to US merchants.
|
|
77
|
+
# from the merchant depending on the customer's locale. Only available to US merchants and US customers.
|
|
78
78
|
attr_accessor :promotions
|
|
79
79
|
# If set to `required`, it requires customers to check a terms of service checkbox before being able to pay.
|
|
80
80
|
# There must be a valid terms of service URL set in your [Dashboard settings](https://dashboard.stripe.com/settings/public).
|
|
@@ -343,17 +343,6 @@ module Stripe
|
|
|
343
343
|
|
|
344
344
|
class PriceData < ::Stripe::RequestParams
|
|
345
345
|
class ProductData < ::Stripe::RequestParams
|
|
346
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
347
|
-
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
348
|
-
attr_accessor :performance_location
|
|
349
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
350
|
-
attr_accessor :tax_code
|
|
351
|
-
|
|
352
|
-
def initialize(performance_location: nil, tax_code: nil)
|
|
353
|
-
@performance_location = performance_location
|
|
354
|
-
@tax_code = tax_code
|
|
355
|
-
end
|
|
356
|
-
end
|
|
357
346
|
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
358
347
|
attr_accessor :description
|
|
359
348
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -364,8 +353,6 @@ module Stripe
|
|
|
364
353
|
attr_accessor :name
|
|
365
354
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
366
355
|
attr_accessor :tax_code
|
|
367
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
368
|
-
attr_accessor :tax_details
|
|
369
356
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
370
357
|
attr_accessor :unit_label
|
|
371
358
|
|
|
@@ -375,7 +362,6 @@ module Stripe
|
|
|
375
362
|
metadata: nil,
|
|
376
363
|
name: nil,
|
|
377
364
|
tax_code: nil,
|
|
378
|
-
tax_details: nil,
|
|
379
365
|
unit_label: nil
|
|
380
366
|
)
|
|
381
367
|
@description = description
|
|
@@ -383,7 +369,6 @@ module Stripe
|
|
|
383
369
|
@metadata = metadata
|
|
384
370
|
@name = name
|
|
385
371
|
@tax_code = tax_code
|
|
386
|
-
@tax_details = tax_details
|
|
387
372
|
@unit_label = unit_label
|
|
388
373
|
end
|
|
389
374
|
end
|
|
@@ -579,6 +564,31 @@ module Stripe
|
|
|
579
564
|
end
|
|
580
565
|
end
|
|
581
566
|
|
|
567
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
568
|
+
class Card < ::Stripe::RequestParams
|
|
569
|
+
class Restrictions < ::Stripe::RequestParams
|
|
570
|
+
# The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
571
|
+
attr_accessor :brands_blocked
|
|
572
|
+
|
|
573
|
+
def initialize(brands_blocked: nil)
|
|
574
|
+
@brands_blocked = brands_blocked
|
|
575
|
+
end
|
|
576
|
+
end
|
|
577
|
+
# Restrictions to apply to the card payment method. For example, you can block specific card brands.
|
|
578
|
+
attr_accessor :restrictions
|
|
579
|
+
|
|
580
|
+
def initialize(restrictions: nil)
|
|
581
|
+
@restrictions = restrictions
|
|
582
|
+
end
|
|
583
|
+
end
|
|
584
|
+
# Configuration for `card` payment methods.
|
|
585
|
+
attr_accessor :card
|
|
586
|
+
|
|
587
|
+
def initialize(card: nil)
|
|
588
|
+
@card = card
|
|
589
|
+
end
|
|
590
|
+
end
|
|
591
|
+
|
|
582
592
|
class PhoneNumberCollection < ::Stripe::RequestParams
|
|
583
593
|
# Set to `true` to enable phone number collection.
|
|
584
594
|
attr_accessor :enabled
|
|
@@ -763,6 +773,8 @@ module Stripe
|
|
|
763
773
|
#
|
|
764
774
|
# If you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://docs.stripe.com/payments/checkout/free-trials).
|
|
765
775
|
attr_accessor :payment_method_collection
|
|
776
|
+
# Attribute for param field payment_method_options
|
|
777
|
+
attr_accessor :payment_method_options
|
|
766
778
|
# The list of payment method types that customers can use. If no value is passed, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods) (20+ payment methods [supported](https://docs.stripe.com/payments/payment-methods/integration-options#payment-method-product-support)).
|
|
767
779
|
attr_accessor :payment_method_types
|
|
768
780
|
# Controls phone number collection settings during checkout.
|
|
@@ -807,6 +819,7 @@ module Stripe
|
|
|
807
819
|
optional_items: nil,
|
|
808
820
|
payment_intent_data: nil,
|
|
809
821
|
payment_method_collection: nil,
|
|
822
|
+
payment_method_options: nil,
|
|
810
823
|
payment_method_types: nil,
|
|
811
824
|
phone_number_collection: nil,
|
|
812
825
|
restrictions: nil,
|
|
@@ -839,6 +852,7 @@ module Stripe
|
|
|
839
852
|
@optional_items = optional_items
|
|
840
853
|
@payment_intent_data = payment_intent_data
|
|
841
854
|
@payment_method_collection = payment_method_collection
|
|
855
|
+
@payment_method_options = payment_method_options
|
|
842
856
|
@payment_method_types = payment_method_types
|
|
843
857
|
@phone_number_collection = phone_number_collection
|
|
844
858
|
@restrictions = restrictions
|
|
@@ -420,6 +420,31 @@ module Stripe
|
|
|
420
420
|
end
|
|
421
421
|
end
|
|
422
422
|
|
|
423
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
424
|
+
class Card < ::Stripe::RequestParams
|
|
425
|
+
class Restrictions < ::Stripe::RequestParams
|
|
426
|
+
# The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
427
|
+
attr_accessor :brands_blocked
|
|
428
|
+
|
|
429
|
+
def initialize(brands_blocked: nil)
|
|
430
|
+
@brands_blocked = brands_blocked
|
|
431
|
+
end
|
|
432
|
+
end
|
|
433
|
+
# Restrictions to apply to the card payment method. For example, you can block specific card brands.
|
|
434
|
+
attr_accessor :restrictions
|
|
435
|
+
|
|
436
|
+
def initialize(restrictions: nil)
|
|
437
|
+
@restrictions = restrictions
|
|
438
|
+
end
|
|
439
|
+
end
|
|
440
|
+
# Configuration for `card` payment methods.
|
|
441
|
+
attr_accessor :card
|
|
442
|
+
|
|
443
|
+
def initialize(card: nil)
|
|
444
|
+
@card = card
|
|
445
|
+
end
|
|
446
|
+
end
|
|
447
|
+
|
|
423
448
|
class PhoneNumberCollection < ::Stripe::RequestParams
|
|
424
449
|
# Set to `true` to enable phone number collection.
|
|
425
450
|
attr_accessor :enabled
|
|
@@ -566,6 +591,8 @@ module Stripe
|
|
|
566
591
|
#
|
|
567
592
|
# If you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://docs.stripe.com/payments/checkout/free-trials).
|
|
568
593
|
attr_accessor :payment_method_collection
|
|
594
|
+
# Payment-method-specific configuration.
|
|
595
|
+
attr_accessor :payment_method_options
|
|
569
596
|
# The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
|
|
570
597
|
attr_accessor :payment_method_types
|
|
571
598
|
# Controls phone number collection settings during checkout.
|
|
@@ -601,6 +628,7 @@ module Stripe
|
|
|
601
628
|
optional_items: nil,
|
|
602
629
|
payment_intent_data: nil,
|
|
603
630
|
payment_method_collection: nil,
|
|
631
|
+
payment_method_options: nil,
|
|
604
632
|
payment_method_types: nil,
|
|
605
633
|
phone_number_collection: nil,
|
|
606
634
|
restrictions: nil,
|
|
@@ -626,6 +654,7 @@ module Stripe
|
|
|
626
654
|
@optional_items = optional_items
|
|
627
655
|
@payment_intent_data = payment_intent_data
|
|
628
656
|
@payment_method_collection = payment_method_collection
|
|
657
|
+
@payment_method_options = payment_method_options
|
|
629
658
|
@payment_method_types = payment_method_types
|
|
630
659
|
@phone_number_collection = phone_number_collection
|
|
631
660
|
@restrictions = restrictions
|
|
@@ -207,7 +207,7 @@ module Stripe
|
|
|
207
207
|
end
|
|
208
208
|
end
|
|
209
209
|
|
|
210
|
-
class
|
|
210
|
+
class Bizum < ::Stripe::RequestParams
|
|
211
211
|
class DisplayPreference < ::Stripe::RequestParams
|
|
212
212
|
# The account's preference for whether or not to display this payment method.
|
|
213
213
|
attr_accessor :preference
|
|
@@ -224,7 +224,7 @@ module Stripe
|
|
|
224
224
|
end
|
|
225
225
|
end
|
|
226
226
|
|
|
227
|
-
class
|
|
227
|
+
class Blik < ::Stripe::RequestParams
|
|
228
228
|
class DisplayPreference < ::Stripe::RequestParams
|
|
229
229
|
# The account's preference for whether or not to display this payment method.
|
|
230
230
|
attr_accessor :preference
|
|
@@ -241,7 +241,7 @@ module Stripe
|
|
|
241
241
|
end
|
|
242
242
|
end
|
|
243
243
|
|
|
244
|
-
class
|
|
244
|
+
class Boleto < ::Stripe::RequestParams
|
|
245
245
|
class DisplayPreference < ::Stripe::RequestParams
|
|
246
246
|
# The account's preference for whether or not to display this payment method.
|
|
247
247
|
attr_accessor :preference
|
|
@@ -258,7 +258,7 @@ module Stripe
|
|
|
258
258
|
end
|
|
259
259
|
end
|
|
260
260
|
|
|
261
|
-
class
|
|
261
|
+
class Card < ::Stripe::RequestParams
|
|
262
262
|
class DisplayPreference < ::Stripe::RequestParams
|
|
263
263
|
# The account's preference for whether or not to display this payment method.
|
|
264
264
|
attr_accessor :preference
|
|
@@ -275,7 +275,7 @@ module Stripe
|
|
|
275
275
|
end
|
|
276
276
|
end
|
|
277
277
|
|
|
278
|
-
class
|
|
278
|
+
class CartesBancaires < ::Stripe::RequestParams
|
|
279
279
|
class DisplayPreference < ::Stripe::RequestParams
|
|
280
280
|
# The account's preference for whether or not to display this payment method.
|
|
281
281
|
attr_accessor :preference
|
|
@@ -292,7 +292,7 @@ module Stripe
|
|
|
292
292
|
end
|
|
293
293
|
end
|
|
294
294
|
|
|
295
|
-
class
|
|
295
|
+
class Cashapp < ::Stripe::RequestParams
|
|
296
296
|
class DisplayPreference < ::Stripe::RequestParams
|
|
297
297
|
# The account's preference for whether or not to display this payment method.
|
|
298
298
|
attr_accessor :preference
|
|
@@ -309,7 +309,7 @@ module Stripe
|
|
|
309
309
|
end
|
|
310
310
|
end
|
|
311
311
|
|
|
312
|
-
class
|
|
312
|
+
class Crypto < ::Stripe::RequestParams
|
|
313
313
|
class DisplayPreference < ::Stripe::RequestParams
|
|
314
314
|
# The account's preference for whether or not to display this payment method.
|
|
315
315
|
attr_accessor :preference
|
|
@@ -326,7 +326,7 @@ module Stripe
|
|
|
326
326
|
end
|
|
327
327
|
end
|
|
328
328
|
|
|
329
|
-
class
|
|
329
|
+
class CustomerBalance < ::Stripe::RequestParams
|
|
330
330
|
class DisplayPreference < ::Stripe::RequestParams
|
|
331
331
|
# The account's preference for whether or not to display this payment method.
|
|
332
332
|
attr_accessor :preference
|
|
@@ -343,7 +343,7 @@ module Stripe
|
|
|
343
343
|
end
|
|
344
344
|
end
|
|
345
345
|
|
|
346
|
-
class
|
|
346
|
+
class Eps < ::Stripe::RequestParams
|
|
347
347
|
class DisplayPreference < ::Stripe::RequestParams
|
|
348
348
|
# The account's preference for whether or not to display this payment method.
|
|
349
349
|
attr_accessor :preference
|
|
@@ -360,7 +360,7 @@ module Stripe
|
|
|
360
360
|
end
|
|
361
361
|
end
|
|
362
362
|
|
|
363
|
-
class
|
|
363
|
+
class Fpx < ::Stripe::RequestParams
|
|
364
364
|
class DisplayPreference < ::Stripe::RequestParams
|
|
365
365
|
# The account's preference for whether or not to display this payment method.
|
|
366
366
|
attr_accessor :preference
|
|
@@ -377,7 +377,7 @@ module Stripe
|
|
|
377
377
|
end
|
|
378
378
|
end
|
|
379
379
|
|
|
380
|
-
class
|
|
380
|
+
class FrMealVoucherConecs < ::Stripe::RequestParams
|
|
381
381
|
class DisplayPreference < ::Stripe::RequestParams
|
|
382
382
|
# The account's preference for whether or not to display this payment method.
|
|
383
383
|
attr_accessor :preference
|
|
@@ -394,7 +394,7 @@ module Stripe
|
|
|
394
394
|
end
|
|
395
395
|
end
|
|
396
396
|
|
|
397
|
-
class
|
|
397
|
+
class Giropay < ::Stripe::RequestParams
|
|
398
398
|
class DisplayPreference < ::Stripe::RequestParams
|
|
399
399
|
# The account's preference for whether or not to display this payment method.
|
|
400
400
|
attr_accessor :preference
|
|
@@ -411,7 +411,7 @@ module Stripe
|
|
|
411
411
|
end
|
|
412
412
|
end
|
|
413
413
|
|
|
414
|
-
class
|
|
414
|
+
class GooglePay < ::Stripe::RequestParams
|
|
415
415
|
class DisplayPreference < ::Stripe::RequestParams
|
|
416
416
|
# The account's preference for whether or not to display this payment method.
|
|
417
417
|
attr_accessor :preference
|
|
@@ -445,23 +445,6 @@ module Stripe
|
|
|
445
445
|
end
|
|
446
446
|
end
|
|
447
447
|
|
|
448
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
449
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
450
|
-
# The account's preference for whether or not to display this payment method.
|
|
451
|
-
attr_accessor :preference
|
|
452
|
-
|
|
453
|
-
def initialize(preference: nil)
|
|
454
|
-
@preference = preference
|
|
455
|
-
end
|
|
456
|
-
end
|
|
457
|
-
# Whether or not the payment method should be displayed.
|
|
458
|
-
attr_accessor :display_preference
|
|
459
|
-
|
|
460
|
-
def initialize(display_preference: nil)
|
|
461
|
-
@display_preference = display_preference
|
|
462
|
-
end
|
|
463
|
-
end
|
|
464
|
-
|
|
465
448
|
class Ideal < ::Stripe::RequestParams
|
|
466
449
|
class DisplayPreference < ::Stripe::RequestParams
|
|
467
450
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -768,23 +751,6 @@ module Stripe
|
|
|
768
751
|
end
|
|
769
752
|
end
|
|
770
753
|
|
|
771
|
-
class Paypay < ::Stripe::RequestParams
|
|
772
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
773
|
-
# The account's preference for whether or not to display this payment method.
|
|
774
|
-
attr_accessor :preference
|
|
775
|
-
|
|
776
|
-
def initialize(preference: nil)
|
|
777
|
-
@preference = preference
|
|
778
|
-
end
|
|
779
|
-
end
|
|
780
|
-
# Whether or not the payment method should be displayed.
|
|
781
|
-
attr_accessor :display_preference
|
|
782
|
-
|
|
783
|
-
def initialize(display_preference: nil)
|
|
784
|
-
@display_preference = display_preference
|
|
785
|
-
end
|
|
786
|
-
end
|
|
787
|
-
|
|
788
754
|
class Payto < ::Stripe::RequestParams
|
|
789
755
|
class DisplayPreference < ::Stripe::RequestParams
|
|
790
756
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -836,23 +802,6 @@ module Stripe
|
|
|
836
802
|
end
|
|
837
803
|
end
|
|
838
804
|
|
|
839
|
-
class Qris < ::Stripe::RequestParams
|
|
840
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
841
|
-
# The account's preference for whether or not to display this payment method.
|
|
842
|
-
attr_accessor :preference
|
|
843
|
-
|
|
844
|
-
def initialize(preference: nil)
|
|
845
|
-
@preference = preference
|
|
846
|
-
end
|
|
847
|
-
end
|
|
848
|
-
# Whether or not the payment method should be displayed.
|
|
849
|
-
attr_accessor :display_preference
|
|
850
|
-
|
|
851
|
-
def initialize(display_preference: nil)
|
|
852
|
-
@display_preference = display_preference
|
|
853
|
-
end
|
|
854
|
-
end
|
|
855
|
-
|
|
856
805
|
class RevolutPay < ::Stripe::RequestParams
|
|
857
806
|
class DisplayPreference < ::Stripe::RequestParams
|
|
858
807
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -904,7 +853,7 @@ module Stripe
|
|
|
904
853
|
end
|
|
905
854
|
end
|
|
906
855
|
|
|
907
|
-
class
|
|
856
|
+
class Scalapay < ::Stripe::RequestParams
|
|
908
857
|
class DisplayPreference < ::Stripe::RequestParams
|
|
909
858
|
# The account's preference for whether or not to display this payment method.
|
|
910
859
|
attr_accessor :preference
|
|
@@ -921,7 +870,7 @@ module Stripe
|
|
|
921
870
|
end
|
|
922
871
|
end
|
|
923
872
|
|
|
924
|
-
class
|
|
873
|
+
class SepaDebit < ::Stripe::RequestParams
|
|
925
874
|
class DisplayPreference < ::Stripe::RequestParams
|
|
926
875
|
# The account's preference for whether or not to display this payment method.
|
|
927
876
|
attr_accessor :preference
|
|
@@ -1097,6 +1046,8 @@ module Stripe
|
|
|
1097
1046
|
attr_accessor :bancontact
|
|
1098
1047
|
# Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1099
1048
|
attr_accessor :billie
|
|
1049
|
+
# To enable Bizum, buyers need a Spanish IBAN from a bank connected to Bizum. Within their banking app, they can enable Bizum and link their mobile number to their IBAN.
|
|
1050
|
+
attr_accessor :bizum
|
|
1100
1051
|
# BLIK is a [single use](https://docs.stripe.com/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://docs.stripe.com/payments/blik) for more details.
|
|
1101
1052
|
attr_accessor :blik
|
|
1102
1053
|
# Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://docs.stripe.com/payments/boleto) for more details.
|
|
@@ -1123,12 +1074,8 @@ module Stripe
|
|
|
1123
1074
|
attr_accessor :giropay
|
|
1124
1075
|
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://docs.stripe.com/google-pay) for more details.
|
|
1125
1076
|
attr_accessor :google_pay
|
|
1126
|
-
# GoPay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
|
1127
|
-
attr_accessor :gopay
|
|
1128
1077
|
# GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://docs.stripe.com/payments/grabpay) for more details.
|
|
1129
1078
|
attr_accessor :grabpay
|
|
1130
|
-
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1131
|
-
attr_accessor :id_bank_transfer
|
|
1132
1079
|
# iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://docs.stripe.com/payments/ideal) for more details.
|
|
1133
1080
|
attr_accessor :ideal
|
|
1134
1081
|
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
|
@@ -1169,26 +1116,22 @@ module Stripe
|
|
|
1169
1116
|
attr_accessor :paynow
|
|
1170
1117
|
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://docs.stripe.com/payments/paypal) for more details.
|
|
1171
1118
|
attr_accessor :paypal
|
|
1172
|
-
# Customers can pay with PayPay online or using the PayPay app.
|
|
1173
|
-
attr_accessor :paypay
|
|
1174
1119
|
# PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
1175
1120
|
attr_accessor :payto
|
|
1176
1121
|
# Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
|
|
1177
1122
|
attr_accessor :pix
|
|
1178
1123
|
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://docs.stripe.com/payments/promptpay) for more details.
|
|
1179
1124
|
attr_accessor :promptpay
|
|
1180
|
-
# QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
1181
|
-
attr_accessor :qris
|
|
1182
1125
|
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
1183
1126
|
attr_accessor :revolut_pay
|
|
1184
1127
|
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
|
1185
1128
|
attr_accessor :samsung_pay
|
|
1186
|
-
# Satispay is a [single-use](
|
|
1129
|
+
# Satispay is a [single-use](/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1187
1130
|
attr_accessor :satispay
|
|
1131
|
+
# Scalapay is a [single-use](/payments/payment-methods#usage) payment method that lets customers pay in 3 or 4 installments. Customers are redirected from your website or app, authorize the payment with Scalapay, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1132
|
+
attr_accessor :scalapay
|
|
1188
1133
|
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://docs.stripe.com/payments/sepa-debit) for more details.
|
|
1189
1134
|
attr_accessor :sepa_debit
|
|
1190
|
-
# ShopeePay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
1191
|
-
attr_accessor :shopeepay
|
|
1192
1135
|
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://docs.stripe.com/payments/sofort) for more details.
|
|
1193
1136
|
attr_accessor :sofort
|
|
1194
1137
|
# Sunbit is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers choose to pay in 3, 6, or 12 installments. Customers are redirected from your website or app, authorize the payment with Sunbit, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
@@ -1219,6 +1162,7 @@ module Stripe
|
|
|
1219
1162
|
bacs_debit: nil,
|
|
1220
1163
|
bancontact: nil,
|
|
1221
1164
|
billie: nil,
|
|
1165
|
+
bizum: nil,
|
|
1222
1166
|
blik: nil,
|
|
1223
1167
|
boleto: nil,
|
|
1224
1168
|
card: nil,
|
|
@@ -1232,9 +1176,7 @@ module Stripe
|
|
|
1232
1176
|
fr_meal_voucher_conecs: nil,
|
|
1233
1177
|
giropay: nil,
|
|
1234
1178
|
google_pay: nil,
|
|
1235
|
-
gopay: nil,
|
|
1236
1179
|
grabpay: nil,
|
|
1237
|
-
id_bank_transfer: nil,
|
|
1238
1180
|
ideal: nil,
|
|
1239
1181
|
jcb: nil,
|
|
1240
1182
|
kakao_pay: nil,
|
|
@@ -1255,16 +1197,14 @@ module Stripe
|
|
|
1255
1197
|
payco: nil,
|
|
1256
1198
|
paynow: nil,
|
|
1257
1199
|
paypal: nil,
|
|
1258
|
-
paypay: nil,
|
|
1259
1200
|
payto: nil,
|
|
1260
1201
|
pix: nil,
|
|
1261
1202
|
promptpay: nil,
|
|
1262
|
-
qris: nil,
|
|
1263
1203
|
revolut_pay: nil,
|
|
1264
1204
|
samsung_pay: nil,
|
|
1265
1205
|
satispay: nil,
|
|
1206
|
+
scalapay: nil,
|
|
1266
1207
|
sepa_debit: nil,
|
|
1267
|
-
shopeepay: nil,
|
|
1268
1208
|
sofort: nil,
|
|
1269
1209
|
sunbit: nil,
|
|
1270
1210
|
swish: nil,
|
|
@@ -1286,6 +1226,7 @@ module Stripe
|
|
|
1286
1226
|
@bacs_debit = bacs_debit
|
|
1287
1227
|
@bancontact = bancontact
|
|
1288
1228
|
@billie = billie
|
|
1229
|
+
@bizum = bizum
|
|
1289
1230
|
@blik = blik
|
|
1290
1231
|
@boleto = boleto
|
|
1291
1232
|
@card = card
|
|
@@ -1299,9 +1240,7 @@ module Stripe
|
|
|
1299
1240
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1300
1241
|
@giropay = giropay
|
|
1301
1242
|
@google_pay = google_pay
|
|
1302
|
-
@gopay = gopay
|
|
1303
1243
|
@grabpay = grabpay
|
|
1304
|
-
@id_bank_transfer = id_bank_transfer
|
|
1305
1244
|
@ideal = ideal
|
|
1306
1245
|
@jcb = jcb
|
|
1307
1246
|
@kakao_pay = kakao_pay
|
|
@@ -1322,16 +1261,14 @@ module Stripe
|
|
|
1322
1261
|
@payco = payco
|
|
1323
1262
|
@paynow = paynow
|
|
1324
1263
|
@paypal = paypal
|
|
1325
|
-
@paypay = paypay
|
|
1326
1264
|
@payto = payto
|
|
1327
1265
|
@pix = pix
|
|
1328
1266
|
@promptpay = promptpay
|
|
1329
|
-
@qris = qris
|
|
1330
1267
|
@revolut_pay = revolut_pay
|
|
1331
1268
|
@samsung_pay = samsung_pay
|
|
1332
1269
|
@satispay = satispay
|
|
1270
|
+
@scalapay = scalapay
|
|
1333
1271
|
@sepa_debit = sepa_debit
|
|
1334
|
-
@shopeepay = shopeepay
|
|
1335
1272
|
@sofort = sofort
|
|
1336
1273
|
@sunbit = sunbit
|
|
1337
1274
|
@swish = swish
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentMethodConfigurationListParams < ::Stripe::RequestParams
|
|
6
|
+
# Whether the configuration is active.
|
|
7
|
+
attr_accessor :active
|
|
6
8
|
# The Connect application to filter by.
|
|
7
9
|
attr_accessor :application
|
|
8
10
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
@@ -15,12 +17,14 @@ module Stripe
|
|
|
15
17
|
attr_accessor :starting_after
|
|
16
18
|
|
|
17
19
|
def initialize(
|
|
20
|
+
active: nil,
|
|
18
21
|
application: nil,
|
|
19
22
|
ending_before: nil,
|
|
20
23
|
expand: nil,
|
|
21
24
|
limit: nil,
|
|
22
25
|
starting_after: nil
|
|
23
26
|
)
|
|
27
|
+
@active = active
|
|
24
28
|
@application = application
|
|
25
29
|
@ending_before = ending_before
|
|
26
30
|
@expand = expand
|