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
|
@@ -201,36 +201,15 @@ module Stripe
|
|
|
201
201
|
@field_remappings = {}
|
|
202
202
|
end
|
|
203
203
|
end
|
|
204
|
-
|
|
205
|
-
class TaxId < ::Stripe::StripeObject
|
|
206
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
|
207
|
-
attr_reader :type
|
|
208
|
-
# The value of the tax ID.
|
|
209
|
-
attr_reader :value
|
|
210
|
-
|
|
211
|
-
def self.inner_class_types
|
|
212
|
-
@inner_class_types = {}
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
def self.field_remappings
|
|
216
|
-
@field_remappings = {}
|
|
217
|
-
end
|
|
218
|
-
end
|
|
219
204
|
# Customer’s business name for this Checkout Session
|
|
220
205
|
attr_reader :business_name
|
|
221
|
-
# Customer’s email for this Checkout Session
|
|
222
|
-
attr_reader :email
|
|
223
206
|
# Customer’s individual name for this Checkout Session
|
|
224
207
|
attr_reader :individual_name
|
|
225
|
-
# Customer’s phone number for this Checkout Session
|
|
226
|
-
attr_reader :phone
|
|
227
208
|
# Shipping information for this Checkout Session.
|
|
228
209
|
attr_reader :shipping_details
|
|
229
|
-
# Customer’s tax ids for this Checkout Session.
|
|
230
|
-
attr_reader :tax_ids
|
|
231
210
|
|
|
232
211
|
def self.inner_class_types
|
|
233
|
-
@inner_class_types = { shipping_details: ShippingDetails
|
|
212
|
+
@inner_class_types = { shipping_details: ShippingDetails }
|
|
234
213
|
end
|
|
235
214
|
|
|
236
215
|
def self.field_remappings
|
|
@@ -273,7 +252,7 @@ module Stripe
|
|
|
273
252
|
attr_reader :payment_method_reuse_agreement
|
|
274
253
|
# If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout
|
|
275
254
|
# Session will determine whether to display an option to opt into promotional communication
|
|
276
|
-
# from the merchant depending on the customer's locale. Only available to US merchants.
|
|
255
|
+
# from the merchant depending on the customer's locale. Only available to US merchants and US customers.
|
|
277
256
|
attr_reader :promotions
|
|
278
257
|
# If set to `required`, it requires customers to accept the terms of service before being able to pay.
|
|
279
258
|
attr_reader :terms_of_service
|
|
@@ -1032,7 +1011,7 @@ module Stripe
|
|
|
1032
1011
|
end
|
|
1033
1012
|
|
|
1034
1013
|
class Restrictions < ::Stripe::StripeObject
|
|
1035
|
-
#
|
|
1014
|
+
# The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
1036
1015
|
attr_reader :brands_blocked
|
|
1037
1016
|
|
|
1038
1017
|
def self.inner_class_types
|
|
@@ -1048,8 +1027,6 @@ module Stripe
|
|
|
1048
1027
|
# Attribute for field installments
|
|
1049
1028
|
attr_reader :installments
|
|
1050
1029
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1051
|
-
attr_reader :request_decremental_authorization
|
|
1052
|
-
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1053
1030
|
attr_reader :request_extended_authorization
|
|
1054
1031
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
|
1055
1032
|
attr_reader :request_incremental_authorization
|
|
@@ -1505,8 +1482,6 @@ module Stripe
|
|
|
1505
1482
|
#
|
|
1506
1483
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
1507
1484
|
attr_reader :setup_future_usage
|
|
1508
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1509
|
-
attr_reader :subsellers
|
|
1510
1485
|
|
|
1511
1486
|
def self.inner_class_types
|
|
1512
1487
|
@inner_class_types = {}
|
|
@@ -1660,6 +1635,19 @@ module Stripe
|
|
|
1660
1635
|
end
|
|
1661
1636
|
end
|
|
1662
1637
|
|
|
1638
|
+
class Scalapay < ::Stripe::StripeObject
|
|
1639
|
+
# Controls when the funds will be captured from the customer's account.
|
|
1640
|
+
attr_reader :capture_method
|
|
1641
|
+
|
|
1642
|
+
def self.inner_class_types
|
|
1643
|
+
@inner_class_types = {}
|
|
1644
|
+
end
|
|
1645
|
+
|
|
1646
|
+
def self.field_remappings
|
|
1647
|
+
@field_remappings = {}
|
|
1648
|
+
end
|
|
1649
|
+
end
|
|
1650
|
+
|
|
1663
1651
|
class SepaDebit < ::Stripe::StripeObject
|
|
1664
1652
|
class MandateOptions < ::Stripe::StripeObject
|
|
1665
1653
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
|
@@ -1790,21 +1778,6 @@ module Stripe
|
|
|
1790
1778
|
class Filters < ::Stripe::StripeObject
|
|
1791
1779
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1792
1780
|
attr_reader :account_subcategories
|
|
1793
|
-
# The institution to use to filter for possible accounts to link.
|
|
1794
|
-
attr_reader :institution
|
|
1795
|
-
|
|
1796
|
-
def self.inner_class_types
|
|
1797
|
-
@inner_class_types = {}
|
|
1798
|
-
end
|
|
1799
|
-
|
|
1800
|
-
def self.field_remappings
|
|
1801
|
-
@field_remappings = {}
|
|
1802
|
-
end
|
|
1803
|
-
end
|
|
1804
|
-
|
|
1805
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
1806
|
-
# Settings for configuring manual entry of account details.
|
|
1807
|
-
attr_reader :mode
|
|
1808
1781
|
|
|
1809
1782
|
def self.inner_class_types
|
|
1810
1783
|
@inner_class_types = {}
|
|
@@ -1816,8 +1789,6 @@ module Stripe
|
|
|
1816
1789
|
end
|
|
1817
1790
|
# Attribute for field filters
|
|
1818
1791
|
attr_reader :filters
|
|
1819
|
-
# Attribute for field manual_entry
|
|
1820
|
-
attr_reader :manual_entry
|
|
1821
1792
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
1822
1793
|
attr_reader :permissions
|
|
1823
1794
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -1826,7 +1797,7 @@ module Stripe
|
|
|
1826
1797
|
attr_reader :return_url
|
|
1827
1798
|
|
|
1828
1799
|
def self.inner_class_types
|
|
1829
|
-
@inner_class_types = { filters: Filters
|
|
1800
|
+
@inner_class_types = { filters: Filters }
|
|
1830
1801
|
end
|
|
1831
1802
|
|
|
1832
1803
|
def self.field_remappings
|
|
@@ -1930,6 +1901,8 @@ module Stripe
|
|
|
1930
1901
|
attr_reader :samsung_pay
|
|
1931
1902
|
# Attribute for field satispay
|
|
1932
1903
|
attr_reader :satispay
|
|
1904
|
+
# Attribute for field scalapay
|
|
1905
|
+
attr_reader :scalapay
|
|
1933
1906
|
# Attribute for field sepa_debit
|
|
1934
1907
|
attr_reader :sepa_debit
|
|
1935
1908
|
# Attribute for field sofort
|
|
@@ -1982,6 +1955,7 @@ module Stripe
|
|
|
1982
1955
|
revolut_pay: RevolutPay,
|
|
1983
1956
|
samsung_pay: SamsungPay,
|
|
1984
1957
|
satispay: Satispay,
|
|
1958
|
+
scalapay: Scalapay,
|
|
1985
1959
|
sepa_debit: SepaDebit,
|
|
1986
1960
|
sofort: Sofort,
|
|
1987
1961
|
swish: Swish,
|
|
@@ -1997,36 +1971,6 @@ module Stripe
|
|
|
1997
1971
|
end
|
|
1998
1972
|
|
|
1999
1973
|
class Permissions < ::Stripe::StripeObject
|
|
2000
|
-
class Update < ::Stripe::StripeObject
|
|
2001
|
-
# Determines which entity is allowed to update the line items.
|
|
2002
|
-
#
|
|
2003
|
-
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2004
|
-
#
|
|
2005
|
-
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2006
|
-
attr_reader :line_items
|
|
2007
|
-
# Determines which entity is allowed to update the shipping details.
|
|
2008
|
-
#
|
|
2009
|
-
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
2010
|
-
#
|
|
2011
|
-
# When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
2012
|
-
attr_reader :shipping_details
|
|
2013
|
-
|
|
2014
|
-
def self.inner_class_types
|
|
2015
|
-
@inner_class_types = {}
|
|
2016
|
-
end
|
|
2017
|
-
|
|
2018
|
-
def self.field_remappings
|
|
2019
|
-
@field_remappings = {}
|
|
2020
|
-
end
|
|
2021
|
-
end
|
|
2022
|
-
# Permissions for updating the Checkout Session.
|
|
2023
|
-
attr_reader :update
|
|
2024
|
-
# Determines which entity is allowed to update the line items.
|
|
2025
|
-
#
|
|
2026
|
-
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2027
|
-
#
|
|
2028
|
-
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2029
|
-
attr_reader :update_line_items
|
|
2030
1974
|
# Determines which entity is allowed to update the shipping details.
|
|
2031
1975
|
#
|
|
2032
1976
|
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
@@ -2035,7 +1979,7 @@ module Stripe
|
|
|
2035
1979
|
attr_reader :update_shipping_details
|
|
2036
1980
|
|
|
2037
1981
|
def self.inner_class_types
|
|
2038
|
-
@inner_class_types = {
|
|
1982
|
+
@inner_class_types = {}
|
|
2039
1983
|
end
|
|
2040
1984
|
|
|
2041
1985
|
def self.field_remappings
|
|
@@ -2290,8 +2234,8 @@ module Stripe
|
|
|
2290
2234
|
# customer ID, a cart ID, or similar, and can be used to reconcile the
|
|
2291
2235
|
# Session with your internal systems.
|
|
2292
2236
|
attr_reader :client_reference_id
|
|
2293
|
-
# The client secret of your Checkout Session. Applies to Checkout Sessions with `ui_mode:
|
|
2294
|
-
# For `ui_mode:
|
|
2237
|
+
# The client secret of your Checkout Session. Applies to Checkout Sessions with `ui_mode: embedded_page` or `ui_mode: elements`. For `ui_mode: embedded_page`, the client secret is to be used when initializing Stripe.js embedded checkout.
|
|
2238
|
+
# For `ui_mode: elements`, use the client secret with [initCheckout](https://docs.stripe.com/js/custom_checkout/init) on your front end.
|
|
2295
2239
|
attr_reader :client_secret
|
|
2296
2240
|
# Information about the customer collected within the Checkout Session.
|
|
2297
2241
|
attr_reader :collected_information
|
|
@@ -2387,9 +2331,9 @@ module Stripe
|
|
|
2387
2331
|
attr_reader :presentment_details
|
|
2388
2332
|
# The ID of the original expired Checkout Session that triggered the recovery flow.
|
|
2389
2333
|
attr_reader :recovered_from
|
|
2390
|
-
# This parameter applies to `ui_mode:
|
|
2334
|
+
# This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
|
|
2391
2335
|
attr_reader :redirect_on_completion
|
|
2392
|
-
# Applies to Checkout Sessions with `ui_mode:
|
|
2336
|
+
# Applies to Checkout Sessions with `ui_mode: embedded_page` or `ui_mode: elements`. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.
|
|
2393
2337
|
attr_reader :return_url
|
|
2394
2338
|
# Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.
|
|
2395
2339
|
attr_reader :saved_payment_method_options
|
|
@@ -2418,7 +2362,7 @@ module Stripe
|
|
|
2418
2362
|
attr_reader :total_details
|
|
2419
2363
|
# The UI mode of the Session. Defaults to `hosted_page`.
|
|
2420
2364
|
attr_reader :ui_mode
|
|
2421
|
-
# The URL to the Checkout Session. Applies to Checkout Sessions with `ui_mode:
|
|
2365
|
+
# The URL to the Checkout Session. Applies to Checkout Sessions with `ui_mode: hosted_page`. Redirect customers to this URL to take them to Checkout. If you’re using [Custom Domains](https://docs.stripe.com/payments/checkout/custom-domains), the URL will use your subdomain. Otherwise, it’ll use `checkout.stripe.com.`
|
|
2422
2366
|
# This value is only present when the session is active.
|
|
2423
2367
|
attr_reader :url
|
|
2424
2368
|
# Wallet-specific configuration for this Checkout Session.
|
|
@@ -114,8 +114,6 @@ module Stripe
|
|
|
114
114
|
|
|
115
115
|
class PaymentMethodPreview < ::Stripe::StripeObject
|
|
116
116
|
class AcssDebit < ::Stripe::StripeObject
|
|
117
|
-
# Account number of the bank account.
|
|
118
|
-
attr_reader :account_number
|
|
119
117
|
# Name of the bank associated with the bank account.
|
|
120
118
|
attr_reader :bank_name
|
|
121
119
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
@@ -283,6 +281,16 @@ module Stripe
|
|
|
283
281
|
end
|
|
284
282
|
end
|
|
285
283
|
|
|
284
|
+
class Bizum < ::Stripe::StripeObject
|
|
285
|
+
def self.inner_class_types
|
|
286
|
+
@inner_class_types = {}
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
def self.field_remappings
|
|
290
|
+
@field_remappings = {}
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
286
294
|
class Blik < ::Stripe::StripeObject
|
|
287
295
|
def self.inner_class_types
|
|
288
296
|
@inner_class_types = {}
|
|
@@ -938,16 +946,6 @@ module Stripe
|
|
|
938
946
|
end
|
|
939
947
|
end
|
|
940
948
|
|
|
941
|
-
class Gopay < ::Stripe::StripeObject
|
|
942
|
-
def self.inner_class_types
|
|
943
|
-
@inner_class_types = {}
|
|
944
|
-
end
|
|
945
|
-
|
|
946
|
-
def self.field_remappings
|
|
947
|
-
@field_remappings = {}
|
|
948
|
-
end
|
|
949
|
-
end
|
|
950
|
-
|
|
951
949
|
class Grabpay < ::Stripe::StripeObject
|
|
952
950
|
def self.inner_class_types
|
|
953
951
|
@inner_class_types = {}
|
|
@@ -958,25 +956,6 @@ module Stripe
|
|
|
958
956
|
end
|
|
959
957
|
end
|
|
960
958
|
|
|
961
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
962
|
-
# Attribute for field bank
|
|
963
|
-
attr_reader :bank
|
|
964
|
-
# Attribute for field bank_code
|
|
965
|
-
attr_reader :bank_code
|
|
966
|
-
# Attribute for field bank_name
|
|
967
|
-
attr_reader :bank_name
|
|
968
|
-
# Attribute for field display_name
|
|
969
|
-
attr_reader :display_name
|
|
970
|
-
|
|
971
|
-
def self.inner_class_types
|
|
972
|
-
@inner_class_types = {}
|
|
973
|
-
end
|
|
974
|
-
|
|
975
|
-
def self.field_remappings
|
|
976
|
-
@field_remappings = {}
|
|
977
|
-
end
|
|
978
|
-
end
|
|
979
|
-
|
|
980
959
|
class Ideal < ::Stripe::StripeObject
|
|
981
960
|
# The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
982
961
|
attr_reader :bank
|
|
@@ -1250,16 +1229,11 @@ module Stripe
|
|
|
1250
1229
|
class Paypal < ::Stripe::StripeObject
|
|
1251
1230
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1252
1231
|
attr_reader :country
|
|
1253
|
-
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
1254
|
-
attr_reader :fingerprint
|
|
1255
1232
|
# Owner's email. Values are provided by PayPal directly
|
|
1256
1233
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1257
1234
|
attr_reader :payer_email
|
|
1258
1235
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
1259
1236
|
attr_reader :payer_id
|
|
1260
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
1261
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1262
|
-
attr_reader :verified_email
|
|
1263
1237
|
|
|
1264
1238
|
def self.inner_class_types
|
|
1265
1239
|
@inner_class_types = {}
|
|
@@ -1270,16 +1244,6 @@ module Stripe
|
|
|
1270
1244
|
end
|
|
1271
1245
|
end
|
|
1272
1246
|
|
|
1273
|
-
class Paypay < ::Stripe::StripeObject
|
|
1274
|
-
def self.inner_class_types
|
|
1275
|
-
@inner_class_types = {}
|
|
1276
|
-
end
|
|
1277
|
-
|
|
1278
|
-
def self.field_remappings
|
|
1279
|
-
@field_remappings = {}
|
|
1280
|
-
end
|
|
1281
|
-
end
|
|
1282
|
-
|
|
1283
1247
|
class Payto < ::Stripe::StripeObject
|
|
1284
1248
|
# Bank-State-Branch number of the bank account.
|
|
1285
1249
|
attr_reader :bsb_number
|
|
@@ -1317,7 +1281,7 @@ module Stripe
|
|
|
1317
1281
|
end
|
|
1318
1282
|
end
|
|
1319
1283
|
|
|
1320
|
-
class
|
|
1284
|
+
class RevolutPay < ::Stripe::StripeObject
|
|
1321
1285
|
def self.inner_class_types
|
|
1322
1286
|
@inner_class_types = {}
|
|
1323
1287
|
end
|
|
@@ -1327,36 +1291,7 @@ module Stripe
|
|
|
1327
1291
|
end
|
|
1328
1292
|
end
|
|
1329
1293
|
|
|
1330
|
-
class
|
|
1331
|
-
class Dob < ::Stripe::StripeObject
|
|
1332
|
-
# The day of birth, between 1 and 31.
|
|
1333
|
-
attr_reader :day
|
|
1334
|
-
# The month of birth, between 1 and 12.
|
|
1335
|
-
attr_reader :month
|
|
1336
|
-
# The four-digit year of birth.
|
|
1337
|
-
attr_reader :year
|
|
1338
|
-
|
|
1339
|
-
def self.inner_class_types
|
|
1340
|
-
@inner_class_types = {}
|
|
1341
|
-
end
|
|
1342
|
-
|
|
1343
|
-
def self.field_remappings
|
|
1344
|
-
@field_remappings = {}
|
|
1345
|
-
end
|
|
1346
|
-
end
|
|
1347
|
-
# Attribute for field dob
|
|
1348
|
-
attr_reader :dob
|
|
1349
|
-
|
|
1350
|
-
def self.inner_class_types
|
|
1351
|
-
@inner_class_types = { dob: Dob }
|
|
1352
|
-
end
|
|
1353
|
-
|
|
1354
|
-
def self.field_remappings
|
|
1355
|
-
@field_remappings = {}
|
|
1356
|
-
end
|
|
1357
|
-
end
|
|
1358
|
-
|
|
1359
|
-
class RevolutPay < ::Stripe::StripeObject
|
|
1294
|
+
class SamsungPay < ::Stripe::StripeObject
|
|
1360
1295
|
def self.inner_class_types
|
|
1361
1296
|
@inner_class_types = {}
|
|
1362
1297
|
end
|
|
@@ -1366,7 +1301,7 @@ module Stripe
|
|
|
1366
1301
|
end
|
|
1367
1302
|
end
|
|
1368
1303
|
|
|
1369
|
-
class
|
|
1304
|
+
class Satispay < ::Stripe::StripeObject
|
|
1370
1305
|
def self.inner_class_types
|
|
1371
1306
|
@inner_class_types = {}
|
|
1372
1307
|
end
|
|
@@ -1376,7 +1311,7 @@ module Stripe
|
|
|
1376
1311
|
end
|
|
1377
1312
|
end
|
|
1378
1313
|
|
|
1379
|
-
class
|
|
1314
|
+
class Scalapay < ::Stripe::StripeObject
|
|
1380
1315
|
def self.inner_class_types
|
|
1381
1316
|
@inner_class_types = {}
|
|
1382
1317
|
end
|
|
@@ -1423,16 +1358,6 @@ module Stripe
|
|
|
1423
1358
|
end
|
|
1424
1359
|
end
|
|
1425
1360
|
|
|
1426
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
1427
|
-
def self.inner_class_types
|
|
1428
|
-
@inner_class_types = {}
|
|
1429
|
-
end
|
|
1430
|
-
|
|
1431
|
-
def self.field_remappings
|
|
1432
|
-
@field_remappings = {}
|
|
1433
|
-
end
|
|
1434
|
-
end
|
|
1435
|
-
|
|
1436
1361
|
class Sofort < ::Stripe::StripeObject
|
|
1437
1362
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
1438
1363
|
attr_reader :country
|
|
@@ -1446,19 +1371,6 @@ module Stripe
|
|
|
1446
1371
|
end
|
|
1447
1372
|
end
|
|
1448
1373
|
|
|
1449
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
1450
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
1451
|
-
attr_reader :account
|
|
1452
|
-
|
|
1453
|
-
def self.inner_class_types
|
|
1454
|
-
@inner_class_types = {}
|
|
1455
|
-
end
|
|
1456
|
-
|
|
1457
|
-
def self.field_remappings
|
|
1458
|
-
@field_remappings = {}
|
|
1459
|
-
end
|
|
1460
|
-
end
|
|
1461
|
-
|
|
1462
1374
|
class Sunbit < ::Stripe::StripeObject
|
|
1463
1375
|
def self.inner_class_types
|
|
1464
1376
|
@inner_class_types = {}
|
|
@@ -1546,8 +1458,6 @@ module Stripe
|
|
|
1546
1458
|
end
|
|
1547
1459
|
# Account holder type: individual or company.
|
|
1548
1460
|
attr_reader :account_holder_type
|
|
1549
|
-
# Account number of the bank account.
|
|
1550
|
-
attr_reader :account_number
|
|
1551
1461
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
|
1552
1462
|
attr_reader :account_type
|
|
1553
1463
|
# The name of the bank.
|
|
@@ -1617,6 +1527,8 @@ module Stripe
|
|
|
1617
1527
|
attr_reader :billie
|
|
1618
1528
|
# Attribute for field billing_details
|
|
1619
1529
|
attr_reader :billing_details
|
|
1530
|
+
# Attribute for field bizum
|
|
1531
|
+
attr_reader :bizum
|
|
1620
1532
|
# Attribute for field blik
|
|
1621
1533
|
attr_reader :blik
|
|
1622
1534
|
# Attribute for field boleto
|
|
@@ -1641,12 +1553,8 @@ module Stripe
|
|
|
1641
1553
|
attr_reader :fpx
|
|
1642
1554
|
# Attribute for field giropay
|
|
1643
1555
|
attr_reader :giropay
|
|
1644
|
-
# Attribute for field gopay
|
|
1645
|
-
attr_reader :gopay
|
|
1646
1556
|
# Attribute for field grabpay
|
|
1647
1557
|
attr_reader :grabpay
|
|
1648
|
-
# Attribute for field id_bank_transfer
|
|
1649
|
-
attr_reader :id_bank_transfer
|
|
1650
1558
|
# Attribute for field ideal
|
|
1651
1559
|
attr_reader :ideal
|
|
1652
1560
|
# Attribute for field interac_present
|
|
@@ -1683,32 +1591,24 @@ module Stripe
|
|
|
1683
1591
|
attr_reader :paynow
|
|
1684
1592
|
# Attribute for field paypal
|
|
1685
1593
|
attr_reader :paypal
|
|
1686
|
-
# Attribute for field paypay
|
|
1687
|
-
attr_reader :paypay
|
|
1688
1594
|
# Attribute for field payto
|
|
1689
1595
|
attr_reader :payto
|
|
1690
1596
|
# Attribute for field pix
|
|
1691
1597
|
attr_reader :pix
|
|
1692
1598
|
# Attribute for field promptpay
|
|
1693
1599
|
attr_reader :promptpay
|
|
1694
|
-
# Attribute for field qris
|
|
1695
|
-
attr_reader :qris
|
|
1696
|
-
# Attribute for field rechnung
|
|
1697
|
-
attr_reader :rechnung
|
|
1698
1600
|
# Attribute for field revolut_pay
|
|
1699
1601
|
attr_reader :revolut_pay
|
|
1700
1602
|
# Attribute for field samsung_pay
|
|
1701
1603
|
attr_reader :samsung_pay
|
|
1702
1604
|
# Attribute for field satispay
|
|
1703
1605
|
attr_reader :satispay
|
|
1606
|
+
# Attribute for field scalapay
|
|
1607
|
+
attr_reader :scalapay
|
|
1704
1608
|
# Attribute for field sepa_debit
|
|
1705
1609
|
attr_reader :sepa_debit
|
|
1706
|
-
# Attribute for field shopeepay
|
|
1707
|
-
attr_reader :shopeepay
|
|
1708
1610
|
# Attribute for field sofort
|
|
1709
1611
|
attr_reader :sofort
|
|
1710
|
-
# Attribute for field stripe_balance
|
|
1711
|
-
attr_reader :stripe_balance
|
|
1712
1612
|
# Attribute for field sunbit
|
|
1713
1613
|
attr_reader :sunbit
|
|
1714
1614
|
# Attribute for field swish
|
|
@@ -1739,6 +1639,7 @@ module Stripe
|
|
|
1739
1639
|
bancontact: Bancontact,
|
|
1740
1640
|
billie: Billie,
|
|
1741
1641
|
billing_details: BillingDetails,
|
|
1642
|
+
bizum: Bizum,
|
|
1742
1643
|
blik: Blik,
|
|
1743
1644
|
boleto: Boleto,
|
|
1744
1645
|
card: Card,
|
|
@@ -1749,9 +1650,7 @@ module Stripe
|
|
|
1749
1650
|
eps: Eps,
|
|
1750
1651
|
fpx: Fpx,
|
|
1751
1652
|
giropay: Giropay,
|
|
1752
|
-
gopay: Gopay,
|
|
1753
1653
|
grabpay: Grabpay,
|
|
1754
|
-
id_bank_transfer: IdBankTransfer,
|
|
1755
1654
|
ideal: Ideal,
|
|
1756
1655
|
interac_present: InteracPresent,
|
|
1757
1656
|
kakao_pay: KakaoPay,
|
|
@@ -1770,19 +1669,15 @@ module Stripe
|
|
|
1770
1669
|
payco: Payco,
|
|
1771
1670
|
paynow: Paynow,
|
|
1772
1671
|
paypal: Paypal,
|
|
1773
|
-
paypay: Paypay,
|
|
1774
1672
|
payto: Payto,
|
|
1775
1673
|
pix: Pix,
|
|
1776
1674
|
promptpay: Promptpay,
|
|
1777
|
-
qris: Qris,
|
|
1778
|
-
rechnung: Rechnung,
|
|
1779
1675
|
revolut_pay: RevolutPay,
|
|
1780
1676
|
samsung_pay: SamsungPay,
|
|
1781
1677
|
satispay: Satispay,
|
|
1678
|
+
scalapay: Scalapay,
|
|
1782
1679
|
sepa_debit: SepaDebit,
|
|
1783
|
-
shopeepay: Shopeepay,
|
|
1784
1680
|
sofort: Sofort,
|
|
1785
|
-
stripe_balance: StripeBalance,
|
|
1786
1681
|
sunbit: Sunbit,
|
|
1787
1682
|
swish: Swish,
|
|
1788
1683
|
twint: Twint,
|
|
@@ -41,23 +41,6 @@ module Stripe
|
|
|
41
41
|
@field_remappings = {}
|
|
42
42
|
end
|
|
43
43
|
end
|
|
44
|
-
|
|
45
|
-
class Script < ::Stripe::StripeObject
|
|
46
|
-
# The configuration values of the script. The keys and values are specific to the script implementation.
|
|
47
|
-
attr_reader :configuration
|
|
48
|
-
# The name of the script used to calculate the discount.
|
|
49
|
-
attr_reader :display_name
|
|
50
|
-
# The script implementation ID for this coupon.
|
|
51
|
-
attr_reader :id
|
|
52
|
-
|
|
53
|
-
def self.inner_class_types
|
|
54
|
-
@inner_class_types = {}
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
def self.field_remappings
|
|
58
|
-
@field_remappings = {}
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
44
|
# Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
|
|
62
45
|
attr_reader :amount_off
|
|
63
46
|
# Attribute for field applies_to
|
|
@@ -90,12 +73,8 @@ module Stripe
|
|
|
90
73
|
attr_reader :percent_off
|
|
91
74
|
# Date after which the coupon can no longer be redeemed.
|
|
92
75
|
attr_reader :redeem_by
|
|
93
|
-
# Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
|
|
94
|
-
attr_reader :script
|
|
95
76
|
# Number of times this coupon has been applied to a customer.
|
|
96
77
|
attr_reader :times_redeemed
|
|
97
|
-
# One of `amount_off`, `percent_off`, or `script`. Describes the type of coupon logic used to calculate the discount.
|
|
98
|
-
attr_reader :type
|
|
99
78
|
# Taking account of the above properties, whether this coupon can still be applied to a customer.
|
|
100
79
|
attr_reader :valid
|
|
101
80
|
|
|
@@ -142,11 +121,7 @@ module Stripe
|
|
|
142
121
|
end
|
|
143
122
|
|
|
144
123
|
def self.inner_class_types
|
|
145
|
-
@inner_class_types = {
|
|
146
|
-
applies_to: AppliesTo,
|
|
147
|
-
currency_options: CurrencyOptions,
|
|
148
|
-
script: Script,
|
|
149
|
-
}
|
|
124
|
+
@inner_class_types = { applies_to: AppliesTo, currency_options: CurrencyOptions }
|
|
150
125
|
end
|
|
151
126
|
|
|
152
127
|
def self.field_remappings
|
|
@@ -43,21 +43,6 @@ module Stripe
|
|
|
43
43
|
end
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
class TaxCalculationReference < ::Stripe::StripeObject
|
|
47
|
-
# The calculation identifier for tax calculation response.
|
|
48
|
-
attr_reader :calculation_id
|
|
49
|
-
# The calculation identifier for tax calculation response line item.
|
|
50
|
-
attr_reader :calculation_item_id
|
|
51
|
-
|
|
52
|
-
def self.inner_class_types
|
|
53
|
-
@inner_class_types = {}
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
def self.field_remappings
|
|
57
|
-
@field_remappings = {}
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
|
|
61
46
|
class Tax < ::Stripe::StripeObject
|
|
62
47
|
class TaxRateDetails < ::Stripe::StripeObject
|
|
63
48
|
# ID of the tax rate
|
|
@@ -114,8 +99,6 @@ module Stripe
|
|
|
114
99
|
attr_reader :pretax_credit_amounts
|
|
115
100
|
# The number of units of product being credited.
|
|
116
101
|
attr_reader :quantity
|
|
117
|
-
# The tax calculation identifiers of the line item.
|
|
118
|
-
attr_reader :tax_calculation_reference
|
|
119
102
|
# The tax rates which apply to the line item.
|
|
120
103
|
attr_reader :tax_rates
|
|
121
104
|
# The tax information of the line item.
|
|
@@ -131,7 +114,6 @@ module Stripe
|
|
|
131
114
|
@inner_class_types = {
|
|
132
115
|
discount_amounts: DiscountAmount,
|
|
133
116
|
pretax_credit_amounts: PretaxCreditAmount,
|
|
134
|
-
tax_calculation_reference: TaxCalculationReference,
|
|
135
117
|
taxes: Tax,
|
|
136
118
|
}
|
|
137
119
|
end
|
|
@@ -163,39 +163,6 @@ module Stripe
|
|
|
163
163
|
@field_remappings = {}
|
|
164
164
|
end
|
|
165
165
|
end
|
|
166
|
-
|
|
167
|
-
class TaxIdElement < ::Stripe::StripeObject
|
|
168
|
-
class Features < ::Stripe::StripeObject
|
|
169
|
-
# Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`.
|
|
170
|
-
#
|
|
171
|
-
# When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers.
|
|
172
|
-
attr_reader :tax_id_redisplay
|
|
173
|
-
# Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`.
|
|
174
|
-
#
|
|
175
|
-
# When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use.
|
|
176
|
-
attr_reader :tax_id_save
|
|
177
|
-
|
|
178
|
-
def self.inner_class_types
|
|
179
|
-
@inner_class_types = {}
|
|
180
|
-
end
|
|
181
|
-
|
|
182
|
-
def self.field_remappings
|
|
183
|
-
@field_remappings = {}
|
|
184
|
-
end
|
|
185
|
-
end
|
|
186
|
-
# Whether the Tax ID Element is enabled.
|
|
187
|
-
attr_reader :enabled
|
|
188
|
-
# This hash defines whether the Tax ID Element supports certain features.
|
|
189
|
-
attr_reader :features
|
|
190
|
-
|
|
191
|
-
def self.inner_class_types
|
|
192
|
-
@inner_class_types = { features: Features }
|
|
193
|
-
end
|
|
194
|
-
|
|
195
|
-
def self.field_remappings
|
|
196
|
-
@field_remappings = {}
|
|
197
|
-
end
|
|
198
|
-
end
|
|
199
166
|
# This hash contains whether the buy button is enabled.
|
|
200
167
|
attr_reader :buy_button
|
|
201
168
|
# This hash contains whether the customer sheet is enabled and the features it supports.
|
|
@@ -206,8 +173,6 @@ module Stripe
|
|
|
206
173
|
attr_reader :payment_element
|
|
207
174
|
# This hash contains whether the pricing table is enabled.
|
|
208
175
|
attr_reader :pricing_table
|
|
209
|
-
# This hash contains whether the Tax ID Element is enabled and the features it supports.
|
|
210
|
-
attr_reader :tax_id_element
|
|
211
176
|
|
|
212
177
|
def self.inner_class_types
|
|
213
178
|
@inner_class_types = {
|
|
@@ -216,7 +181,6 @@ module Stripe
|
|
|
216
181
|
mobile_payment_element: MobilePaymentElement,
|
|
217
182
|
payment_element: PaymentElement,
|
|
218
183
|
pricing_table: PricingTable,
|
|
219
|
-
tax_id_element: TaxIdElement,
|
|
220
184
|
}
|
|
221
185
|
end
|
|
222
186
|
|