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
|
@@ -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
|
|
@@ -788,7 +773,7 @@ module Stripe
|
|
|
788
773
|
#
|
|
789
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).
|
|
790
775
|
attr_accessor :payment_method_collection
|
|
791
|
-
#
|
|
776
|
+
# Payment-method-specific configuration.
|
|
792
777
|
attr_accessor :payment_method_options
|
|
793
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)).
|
|
794
779
|
attr_accessor :payment_method_types
|
|
@@ -428,23 +428,6 @@ module Stripe
|
|
|
428
428
|
end
|
|
429
429
|
end
|
|
430
430
|
|
|
431
|
-
class Gopay < ::Stripe::RequestParams
|
|
432
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
433
|
-
# The account's preference for whether or not to display this payment method.
|
|
434
|
-
attr_accessor :preference
|
|
435
|
-
|
|
436
|
-
def initialize(preference: nil)
|
|
437
|
-
@preference = preference
|
|
438
|
-
end
|
|
439
|
-
end
|
|
440
|
-
# Whether or not the payment method should be displayed.
|
|
441
|
-
attr_accessor :display_preference
|
|
442
|
-
|
|
443
|
-
def initialize(display_preference: nil)
|
|
444
|
-
@display_preference = display_preference
|
|
445
|
-
end
|
|
446
|
-
end
|
|
447
|
-
|
|
448
431
|
class Grabpay < ::Stripe::RequestParams
|
|
449
432
|
class DisplayPreference < ::Stripe::RequestParams
|
|
450
433
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -462,23 +445,6 @@ module Stripe
|
|
|
462
445
|
end
|
|
463
446
|
end
|
|
464
447
|
|
|
465
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
466
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
467
|
-
# The account's preference for whether or not to display this payment method.
|
|
468
|
-
attr_accessor :preference
|
|
469
|
-
|
|
470
|
-
def initialize(preference: nil)
|
|
471
|
-
@preference = preference
|
|
472
|
-
end
|
|
473
|
-
end
|
|
474
|
-
# Whether or not the payment method should be displayed.
|
|
475
|
-
attr_accessor :display_preference
|
|
476
|
-
|
|
477
|
-
def initialize(display_preference: nil)
|
|
478
|
-
@display_preference = display_preference
|
|
479
|
-
end
|
|
480
|
-
end
|
|
481
|
-
|
|
482
448
|
class Ideal < ::Stripe::RequestParams
|
|
483
449
|
class DisplayPreference < ::Stripe::RequestParams
|
|
484
450
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -785,23 +751,6 @@ module Stripe
|
|
|
785
751
|
end
|
|
786
752
|
end
|
|
787
753
|
|
|
788
|
-
class Paypay < ::Stripe::RequestParams
|
|
789
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
790
|
-
# The account's preference for whether or not to display this payment method.
|
|
791
|
-
attr_accessor :preference
|
|
792
|
-
|
|
793
|
-
def initialize(preference: nil)
|
|
794
|
-
@preference = preference
|
|
795
|
-
end
|
|
796
|
-
end
|
|
797
|
-
# Whether or not the payment method should be displayed.
|
|
798
|
-
attr_accessor :display_preference
|
|
799
|
-
|
|
800
|
-
def initialize(display_preference: nil)
|
|
801
|
-
@display_preference = display_preference
|
|
802
|
-
end
|
|
803
|
-
end
|
|
804
|
-
|
|
805
754
|
class Payto < ::Stripe::RequestParams
|
|
806
755
|
class DisplayPreference < ::Stripe::RequestParams
|
|
807
756
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -853,23 +802,6 @@ module Stripe
|
|
|
853
802
|
end
|
|
854
803
|
end
|
|
855
804
|
|
|
856
|
-
class Qris < ::Stripe::RequestParams
|
|
857
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
858
|
-
# The account's preference for whether or not to display this payment method.
|
|
859
|
-
attr_accessor :preference
|
|
860
|
-
|
|
861
|
-
def initialize(preference: nil)
|
|
862
|
-
@preference = preference
|
|
863
|
-
end
|
|
864
|
-
end
|
|
865
|
-
# Whether or not the payment method should be displayed.
|
|
866
|
-
attr_accessor :display_preference
|
|
867
|
-
|
|
868
|
-
def initialize(display_preference: nil)
|
|
869
|
-
@display_preference = display_preference
|
|
870
|
-
end
|
|
871
|
-
end
|
|
872
|
-
|
|
873
805
|
class RevolutPay < ::Stripe::RequestParams
|
|
874
806
|
class DisplayPreference < ::Stripe::RequestParams
|
|
875
807
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -955,23 +887,6 @@ module Stripe
|
|
|
955
887
|
end
|
|
956
888
|
end
|
|
957
889
|
|
|
958
|
-
class Shopeepay < ::Stripe::RequestParams
|
|
959
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
960
|
-
# The account's preference for whether or not to display this payment method.
|
|
961
|
-
attr_accessor :preference
|
|
962
|
-
|
|
963
|
-
def initialize(preference: nil)
|
|
964
|
-
@preference = preference
|
|
965
|
-
end
|
|
966
|
-
end
|
|
967
|
-
# Whether or not the payment method should be displayed.
|
|
968
|
-
attr_accessor :display_preference
|
|
969
|
-
|
|
970
|
-
def initialize(display_preference: nil)
|
|
971
|
-
@display_preference = display_preference
|
|
972
|
-
end
|
|
973
|
-
end
|
|
974
|
-
|
|
975
890
|
class Sofort < ::Stripe::RequestParams
|
|
976
891
|
class DisplayPreference < ::Stripe::RequestParams
|
|
977
892
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1159,12 +1074,8 @@ module Stripe
|
|
|
1159
1074
|
attr_accessor :giropay
|
|
1160
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.
|
|
1161
1076
|
attr_accessor :google_pay
|
|
1162
|
-
# 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.
|
|
1163
|
-
attr_accessor :gopay
|
|
1164
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.
|
|
1165
1078
|
attr_accessor :grabpay
|
|
1166
|
-
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1167
|
-
attr_accessor :id_bank_transfer
|
|
1168
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.
|
|
1169
1080
|
attr_accessor :ideal
|
|
1170
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.
|
|
@@ -1205,16 +1116,12 @@ module Stripe
|
|
|
1205
1116
|
attr_accessor :paynow
|
|
1206
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.
|
|
1207
1118
|
attr_accessor :paypal
|
|
1208
|
-
# Customers can pay with PayPay online or using the PayPay app.
|
|
1209
|
-
attr_accessor :paypay
|
|
1210
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.
|
|
1211
1120
|
attr_accessor :payto
|
|
1212
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.
|
|
1213
1122
|
attr_accessor :pix
|
|
1214
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.
|
|
1215
1124
|
attr_accessor :promptpay
|
|
1216
|
-
# 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.
|
|
1217
|
-
attr_accessor :qris
|
|
1218
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.
|
|
1219
1126
|
attr_accessor :revolut_pay
|
|
1220
1127
|
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
|
@@ -1225,8 +1132,6 @@ module Stripe
|
|
|
1225
1132
|
attr_accessor :scalapay
|
|
1226
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.
|
|
1227
1134
|
attr_accessor :sepa_debit
|
|
1228
|
-
# 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.
|
|
1229
|
-
attr_accessor :shopeepay
|
|
1230
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.
|
|
1231
1136
|
attr_accessor :sofort
|
|
1232
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.
|
|
@@ -1271,9 +1176,7 @@ module Stripe
|
|
|
1271
1176
|
fr_meal_voucher_conecs: nil,
|
|
1272
1177
|
giropay: nil,
|
|
1273
1178
|
google_pay: nil,
|
|
1274
|
-
gopay: nil,
|
|
1275
1179
|
grabpay: nil,
|
|
1276
|
-
id_bank_transfer: nil,
|
|
1277
1180
|
ideal: nil,
|
|
1278
1181
|
jcb: nil,
|
|
1279
1182
|
kakao_pay: nil,
|
|
@@ -1294,17 +1197,14 @@ module Stripe
|
|
|
1294
1197
|
payco: nil,
|
|
1295
1198
|
paynow: nil,
|
|
1296
1199
|
paypal: nil,
|
|
1297
|
-
paypay: nil,
|
|
1298
1200
|
payto: nil,
|
|
1299
1201
|
pix: nil,
|
|
1300
1202
|
promptpay: nil,
|
|
1301
|
-
qris: nil,
|
|
1302
1203
|
revolut_pay: nil,
|
|
1303
1204
|
samsung_pay: nil,
|
|
1304
1205
|
satispay: nil,
|
|
1305
1206
|
scalapay: nil,
|
|
1306
1207
|
sepa_debit: nil,
|
|
1307
|
-
shopeepay: nil,
|
|
1308
1208
|
sofort: nil,
|
|
1309
1209
|
sunbit: nil,
|
|
1310
1210
|
swish: nil,
|
|
@@ -1340,9 +1240,7 @@ module Stripe
|
|
|
1340
1240
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1341
1241
|
@giropay = giropay
|
|
1342
1242
|
@google_pay = google_pay
|
|
1343
|
-
@gopay = gopay
|
|
1344
1243
|
@grabpay = grabpay
|
|
1345
|
-
@id_bank_transfer = id_bank_transfer
|
|
1346
1244
|
@ideal = ideal
|
|
1347
1245
|
@jcb = jcb
|
|
1348
1246
|
@kakao_pay = kakao_pay
|
|
@@ -1363,17 +1261,14 @@ module Stripe
|
|
|
1363
1261
|
@payco = payco
|
|
1364
1262
|
@paynow = paynow
|
|
1365
1263
|
@paypal = paypal
|
|
1366
|
-
@paypay = paypay
|
|
1367
1264
|
@payto = payto
|
|
1368
1265
|
@pix = pix
|
|
1369
1266
|
@promptpay = promptpay
|
|
1370
|
-
@qris = qris
|
|
1371
1267
|
@revolut_pay = revolut_pay
|
|
1372
1268
|
@samsung_pay = samsung_pay
|
|
1373
1269
|
@satispay = satispay
|
|
1374
1270
|
@scalapay = scalapay
|
|
1375
1271
|
@sepa_debit = sepa_debit
|
|
1376
|
-
@shopeepay = shopeepay
|
|
1377
1272
|
@sofort = sofort
|
|
1378
1273
|
@sunbit = sunbit
|
|
1379
1274
|
@swish = swish
|
|
@@ -428,23 +428,6 @@ module Stripe
|
|
|
428
428
|
end
|
|
429
429
|
end
|
|
430
430
|
|
|
431
|
-
class Gopay < ::Stripe::RequestParams
|
|
432
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
433
|
-
# The account's preference for whether or not to display this payment method.
|
|
434
|
-
attr_accessor :preference
|
|
435
|
-
|
|
436
|
-
def initialize(preference: nil)
|
|
437
|
-
@preference = preference
|
|
438
|
-
end
|
|
439
|
-
end
|
|
440
|
-
# Whether or not the payment method should be displayed.
|
|
441
|
-
attr_accessor :display_preference
|
|
442
|
-
|
|
443
|
-
def initialize(display_preference: nil)
|
|
444
|
-
@display_preference = display_preference
|
|
445
|
-
end
|
|
446
|
-
end
|
|
447
|
-
|
|
448
431
|
class Grabpay < ::Stripe::RequestParams
|
|
449
432
|
class DisplayPreference < ::Stripe::RequestParams
|
|
450
433
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -462,23 +445,6 @@ module Stripe
|
|
|
462
445
|
end
|
|
463
446
|
end
|
|
464
447
|
|
|
465
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
466
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
467
|
-
# The account's preference for whether or not to display this payment method.
|
|
468
|
-
attr_accessor :preference
|
|
469
|
-
|
|
470
|
-
def initialize(preference: nil)
|
|
471
|
-
@preference = preference
|
|
472
|
-
end
|
|
473
|
-
end
|
|
474
|
-
# Whether or not the payment method should be displayed.
|
|
475
|
-
attr_accessor :display_preference
|
|
476
|
-
|
|
477
|
-
def initialize(display_preference: nil)
|
|
478
|
-
@display_preference = display_preference
|
|
479
|
-
end
|
|
480
|
-
end
|
|
481
|
-
|
|
482
448
|
class Ideal < ::Stripe::RequestParams
|
|
483
449
|
class DisplayPreference < ::Stripe::RequestParams
|
|
484
450
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -785,23 +751,6 @@ module Stripe
|
|
|
785
751
|
end
|
|
786
752
|
end
|
|
787
753
|
|
|
788
|
-
class Paypay < ::Stripe::RequestParams
|
|
789
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
790
|
-
# The account's preference for whether or not to display this payment method.
|
|
791
|
-
attr_accessor :preference
|
|
792
|
-
|
|
793
|
-
def initialize(preference: nil)
|
|
794
|
-
@preference = preference
|
|
795
|
-
end
|
|
796
|
-
end
|
|
797
|
-
# Whether or not the payment method should be displayed.
|
|
798
|
-
attr_accessor :display_preference
|
|
799
|
-
|
|
800
|
-
def initialize(display_preference: nil)
|
|
801
|
-
@display_preference = display_preference
|
|
802
|
-
end
|
|
803
|
-
end
|
|
804
|
-
|
|
805
754
|
class Payto < ::Stripe::RequestParams
|
|
806
755
|
class DisplayPreference < ::Stripe::RequestParams
|
|
807
756
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -853,23 +802,6 @@ module Stripe
|
|
|
853
802
|
end
|
|
854
803
|
end
|
|
855
804
|
|
|
856
|
-
class Qris < ::Stripe::RequestParams
|
|
857
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
858
|
-
# The account's preference for whether or not to display this payment method.
|
|
859
|
-
attr_accessor :preference
|
|
860
|
-
|
|
861
|
-
def initialize(preference: nil)
|
|
862
|
-
@preference = preference
|
|
863
|
-
end
|
|
864
|
-
end
|
|
865
|
-
# Whether or not the payment method should be displayed.
|
|
866
|
-
attr_accessor :display_preference
|
|
867
|
-
|
|
868
|
-
def initialize(display_preference: nil)
|
|
869
|
-
@display_preference = display_preference
|
|
870
|
-
end
|
|
871
|
-
end
|
|
872
|
-
|
|
873
805
|
class RevolutPay < ::Stripe::RequestParams
|
|
874
806
|
class DisplayPreference < ::Stripe::RequestParams
|
|
875
807
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -955,23 +887,6 @@ module Stripe
|
|
|
955
887
|
end
|
|
956
888
|
end
|
|
957
889
|
|
|
958
|
-
class Shopeepay < ::Stripe::RequestParams
|
|
959
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
960
|
-
# The account's preference for whether or not to display this payment method.
|
|
961
|
-
attr_accessor :preference
|
|
962
|
-
|
|
963
|
-
def initialize(preference: nil)
|
|
964
|
-
@preference = preference
|
|
965
|
-
end
|
|
966
|
-
end
|
|
967
|
-
# Whether or not the payment method should be displayed.
|
|
968
|
-
attr_accessor :display_preference
|
|
969
|
-
|
|
970
|
-
def initialize(display_preference: nil)
|
|
971
|
-
@display_preference = display_preference
|
|
972
|
-
end
|
|
973
|
-
end
|
|
974
|
-
|
|
975
890
|
class Sofort < ::Stripe::RequestParams
|
|
976
891
|
class DisplayPreference < ::Stripe::RequestParams
|
|
977
892
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1161,12 +1076,8 @@ module Stripe
|
|
|
1161
1076
|
attr_accessor :giropay
|
|
1162
1077
|
# 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.
|
|
1163
1078
|
attr_accessor :google_pay
|
|
1164
|
-
# 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.
|
|
1165
|
-
attr_accessor :gopay
|
|
1166
1079
|
# 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.
|
|
1167
1080
|
attr_accessor :grabpay
|
|
1168
|
-
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1169
|
-
attr_accessor :id_bank_transfer
|
|
1170
1081
|
# 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.
|
|
1171
1082
|
attr_accessor :ideal
|
|
1172
1083
|
# 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.
|
|
@@ -1205,16 +1116,12 @@ module Stripe
|
|
|
1205
1116
|
attr_accessor :paynow
|
|
1206
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.
|
|
1207
1118
|
attr_accessor :paypal
|
|
1208
|
-
# Customers can pay with PayPay online or using the PayPay app.
|
|
1209
|
-
attr_accessor :paypay
|
|
1210
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.
|
|
1211
1120
|
attr_accessor :payto
|
|
1212
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.
|
|
1213
1122
|
attr_accessor :pix
|
|
1214
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.
|
|
1215
1124
|
attr_accessor :promptpay
|
|
1216
|
-
# 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.
|
|
1217
|
-
attr_accessor :qris
|
|
1218
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.
|
|
1219
1126
|
attr_accessor :revolut_pay
|
|
1220
1127
|
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
|
@@ -1225,8 +1132,6 @@ module Stripe
|
|
|
1225
1132
|
attr_accessor :scalapay
|
|
1226
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.
|
|
1227
1134
|
attr_accessor :sepa_debit
|
|
1228
|
-
# 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.
|
|
1229
|
-
attr_accessor :shopeepay
|
|
1230
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.
|
|
1231
1136
|
attr_accessor :sofort
|
|
1232
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.
|
|
@@ -1272,9 +1177,7 @@ module Stripe
|
|
|
1272
1177
|
fr_meal_voucher_conecs: nil,
|
|
1273
1178
|
giropay: nil,
|
|
1274
1179
|
google_pay: nil,
|
|
1275
|
-
gopay: nil,
|
|
1276
1180
|
grabpay: nil,
|
|
1277
|
-
id_bank_transfer: nil,
|
|
1278
1181
|
ideal: nil,
|
|
1279
1182
|
jcb: nil,
|
|
1280
1183
|
kakao_pay: nil,
|
|
@@ -1294,17 +1197,14 @@ module Stripe
|
|
|
1294
1197
|
payco: nil,
|
|
1295
1198
|
paynow: nil,
|
|
1296
1199
|
paypal: nil,
|
|
1297
|
-
paypay: nil,
|
|
1298
1200
|
payto: nil,
|
|
1299
1201
|
pix: nil,
|
|
1300
1202
|
promptpay: nil,
|
|
1301
|
-
qris: nil,
|
|
1302
1203
|
revolut_pay: nil,
|
|
1303
1204
|
samsung_pay: nil,
|
|
1304
1205
|
satispay: nil,
|
|
1305
1206
|
scalapay: nil,
|
|
1306
1207
|
sepa_debit: nil,
|
|
1307
|
-
shopeepay: nil,
|
|
1308
1208
|
sofort: nil,
|
|
1309
1209
|
sunbit: nil,
|
|
1310
1210
|
swish: nil,
|
|
@@ -1341,9 +1241,7 @@ module Stripe
|
|
|
1341
1241
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1342
1242
|
@giropay = giropay
|
|
1343
1243
|
@google_pay = google_pay
|
|
1344
|
-
@gopay = gopay
|
|
1345
1244
|
@grabpay = grabpay
|
|
1346
|
-
@id_bank_transfer = id_bank_transfer
|
|
1347
1245
|
@ideal = ideal
|
|
1348
1246
|
@jcb = jcb
|
|
1349
1247
|
@kakao_pay = kakao_pay
|
|
@@ -1363,17 +1261,14 @@ module Stripe
|
|
|
1363
1261
|
@payco = payco
|
|
1364
1262
|
@paynow = paynow
|
|
1365
1263
|
@paypal = paypal
|
|
1366
|
-
@paypay = paypay
|
|
1367
1264
|
@payto = payto
|
|
1368
1265
|
@pix = pix
|
|
1369
1266
|
@promptpay = promptpay
|
|
1370
|
-
@qris = qris
|
|
1371
1267
|
@revolut_pay = revolut_pay
|
|
1372
1268
|
@samsung_pay = samsung_pay
|
|
1373
1269
|
@satispay = satispay
|
|
1374
1270
|
@scalapay = scalapay
|
|
1375
1271
|
@sepa_debit = sepa_debit
|
|
1376
|
-
@shopeepay = shopeepay
|
|
1377
1272
|
@sofort = sofort
|
|
1378
1273
|
@sunbit = sunbit
|
|
1379
1274
|
@swish = swish
|
|
@@ -189,18 +189,8 @@ module Stripe
|
|
|
189
189
|
end
|
|
190
190
|
|
|
191
191
|
class Giropay < ::Stripe::RequestParams; end
|
|
192
|
-
class Gopay < ::Stripe::RequestParams; end
|
|
193
192
|
class Grabpay < ::Stripe::RequestParams; end
|
|
194
193
|
|
|
195
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
196
|
-
# Bank where the account is held.
|
|
197
|
-
attr_accessor :bank
|
|
198
|
-
|
|
199
|
-
def initialize(bank: nil)
|
|
200
|
-
@bank = bank
|
|
201
|
-
end
|
|
202
|
-
end
|
|
203
|
-
|
|
204
194
|
class Ideal < ::Stripe::RequestParams
|
|
205
195
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
206
196
|
attr_accessor :bank
|
|
@@ -298,7 +288,6 @@ module Stripe
|
|
|
298
288
|
class Payco < ::Stripe::RequestParams; end
|
|
299
289
|
class Paynow < ::Stripe::RequestParams; end
|
|
300
290
|
class Paypal < ::Stripe::RequestParams; end
|
|
301
|
-
class Paypay < ::Stripe::RequestParams; end
|
|
302
291
|
|
|
303
292
|
class Payto < ::Stripe::RequestParams
|
|
304
293
|
# The account number for the bank account.
|
|
@@ -317,7 +306,6 @@ module Stripe
|
|
|
317
306
|
|
|
318
307
|
class Pix < ::Stripe::RequestParams; end
|
|
319
308
|
class Promptpay < ::Stripe::RequestParams; end
|
|
320
|
-
class Qris < ::Stripe::RequestParams; end
|
|
321
309
|
|
|
322
310
|
class RadarOptions < ::Stripe::RequestParams
|
|
323
311
|
# 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.
|
|
@@ -328,29 +316,6 @@ module Stripe
|
|
|
328
316
|
end
|
|
329
317
|
end
|
|
330
318
|
|
|
331
|
-
class Rechnung < ::Stripe::RequestParams
|
|
332
|
-
class Dob < ::Stripe::RequestParams
|
|
333
|
-
# The day of birth, between 1 and 31.
|
|
334
|
-
attr_accessor :day
|
|
335
|
-
# The month of birth, between 1 and 12.
|
|
336
|
-
attr_accessor :month
|
|
337
|
-
# The four-digit year of birth.
|
|
338
|
-
attr_accessor :year
|
|
339
|
-
|
|
340
|
-
def initialize(day: nil, month: nil, year: nil)
|
|
341
|
-
@day = day
|
|
342
|
-
@month = month
|
|
343
|
-
@year = year
|
|
344
|
-
end
|
|
345
|
-
end
|
|
346
|
-
# Customer's date of birth
|
|
347
|
-
attr_accessor :dob
|
|
348
|
-
|
|
349
|
-
def initialize(dob: nil)
|
|
350
|
-
@dob = dob
|
|
351
|
-
end
|
|
352
|
-
end
|
|
353
|
-
|
|
354
319
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
355
320
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
356
321
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -365,8 +330,6 @@ module Stripe
|
|
|
365
330
|
end
|
|
366
331
|
end
|
|
367
332
|
|
|
368
|
-
class Shopeepay < ::Stripe::RequestParams; end
|
|
369
|
-
|
|
370
333
|
class Sofort < ::Stripe::RequestParams
|
|
371
334
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
372
335
|
attr_accessor :country
|
|
@@ -376,15 +339,6 @@ module Stripe
|
|
|
376
339
|
end
|
|
377
340
|
end
|
|
378
341
|
|
|
379
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
380
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
381
|
-
attr_accessor :account
|
|
382
|
-
|
|
383
|
-
def initialize(account: nil)
|
|
384
|
-
@account = account
|
|
385
|
-
end
|
|
386
|
-
end
|
|
387
|
-
|
|
388
342
|
class Sunbit < ::Stripe::RequestParams; end
|
|
389
343
|
class Swish < ::Stripe::RequestParams; end
|
|
390
344
|
class Twint < ::Stripe::RequestParams; end
|
|
@@ -494,12 +448,8 @@ module Stripe
|
|
|
494
448
|
attr_accessor :fpx
|
|
495
449
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
496
450
|
attr_accessor :giropay
|
|
497
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
498
|
-
attr_accessor :gopay
|
|
499
451
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
500
452
|
attr_accessor :grabpay
|
|
501
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
502
|
-
attr_accessor :id_bank_transfer
|
|
503
453
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
504
454
|
attr_accessor :ideal
|
|
505
455
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -540,20 +490,14 @@ module Stripe
|
|
|
540
490
|
attr_accessor :paynow
|
|
541
491
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
542
492
|
attr_accessor :paypal
|
|
543
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
544
|
-
attr_accessor :paypay
|
|
545
493
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
546
494
|
attr_accessor :payto
|
|
547
495
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
548
496
|
attr_accessor :pix
|
|
549
497
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
550
498
|
attr_accessor :promptpay
|
|
551
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
552
|
-
attr_accessor :qris
|
|
553
499
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
554
500
|
attr_accessor :radar_options
|
|
555
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
556
|
-
attr_accessor :rechnung
|
|
557
501
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
558
502
|
attr_accessor :revolut_pay
|
|
559
503
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -564,13 +508,9 @@ module Stripe
|
|
|
564
508
|
attr_accessor :scalapay
|
|
565
509
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
566
510
|
attr_accessor :sepa_debit
|
|
567
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
568
|
-
attr_accessor :shopeepay
|
|
569
511
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
570
512
|
attr_accessor :sofort
|
|
571
|
-
#
|
|
572
|
-
attr_accessor :stripe_balance
|
|
573
|
-
# If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
513
|
+
# If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
574
514
|
attr_accessor :sunbit
|
|
575
515
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
576
516
|
attr_accessor :swish
|
|
@@ -613,9 +553,7 @@ module Stripe
|
|
|
613
553
|
expand: nil,
|
|
614
554
|
fpx: nil,
|
|
615
555
|
giropay: nil,
|
|
616
|
-
gopay: nil,
|
|
617
556
|
grabpay: nil,
|
|
618
|
-
id_bank_transfer: nil,
|
|
619
557
|
ideal: nil,
|
|
620
558
|
interac_present: nil,
|
|
621
559
|
kakao_pay: nil,
|
|
@@ -636,21 +574,16 @@ module Stripe
|
|
|
636
574
|
payment_method: nil,
|
|
637
575
|
paynow: nil,
|
|
638
576
|
paypal: nil,
|
|
639
|
-
paypay: nil,
|
|
640
577
|
payto: nil,
|
|
641
578
|
pix: nil,
|
|
642
579
|
promptpay: nil,
|
|
643
|
-
qris: nil,
|
|
644
580
|
radar_options: nil,
|
|
645
|
-
rechnung: nil,
|
|
646
581
|
revolut_pay: nil,
|
|
647
582
|
samsung_pay: nil,
|
|
648
583
|
satispay: nil,
|
|
649
584
|
scalapay: nil,
|
|
650
585
|
sepa_debit: nil,
|
|
651
|
-
shopeepay: nil,
|
|
652
586
|
sofort: nil,
|
|
653
|
-
stripe_balance: nil,
|
|
654
587
|
sunbit: nil,
|
|
655
588
|
swish: nil,
|
|
656
589
|
twint: nil,
|
|
@@ -685,9 +618,7 @@ module Stripe
|
|
|
685
618
|
@expand = expand
|
|
686
619
|
@fpx = fpx
|
|
687
620
|
@giropay = giropay
|
|
688
|
-
@gopay = gopay
|
|
689
621
|
@grabpay = grabpay
|
|
690
|
-
@id_bank_transfer = id_bank_transfer
|
|
691
622
|
@ideal = ideal
|
|
692
623
|
@interac_present = interac_present
|
|
693
624
|
@kakao_pay = kakao_pay
|
|
@@ -708,21 +639,16 @@ module Stripe
|
|
|
708
639
|
@payment_method = payment_method
|
|
709
640
|
@paynow = paynow
|
|
710
641
|
@paypal = paypal
|
|
711
|
-
@paypay = paypay
|
|
712
642
|
@payto = payto
|
|
713
643
|
@pix = pix
|
|
714
644
|
@promptpay = promptpay
|
|
715
|
-
@qris = qris
|
|
716
645
|
@radar_options = radar_options
|
|
717
|
-
@rechnung = rechnung
|
|
718
646
|
@revolut_pay = revolut_pay
|
|
719
647
|
@samsung_pay = samsung_pay
|
|
720
648
|
@satispay = satispay
|
|
721
649
|
@scalapay = scalapay
|
|
722
650
|
@sepa_debit = sepa_debit
|
|
723
|
-
@shopeepay = shopeepay
|
|
724
651
|
@sofort = sofort
|
|
725
|
-
@stripe_balance = stripe_balance
|
|
726
652
|
@sunbit = sunbit
|
|
727
653
|
@swish = swish
|
|
728
654
|
@twint = twint
|