stripe 20.2.0.pre.beta.1 → 21.0.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_operations/request.rb +2 -0
- data/lib/stripe/api_requestor.rb +1 -4
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/errors.rb +0 -6
- data/lib/stripe/event_types.rb +0 -193
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -53
- data/lib/stripe/params/account_create_params.rb +1 -299
- data/lib/stripe/params/account_session_create_params.rb +0 -191
- data/lib/stripe/params/account_update_params.rb +0 -261
- data/lib/stripe/params/balance_settings_update_params.rb +1 -9
- 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 +3 -87
- data/lib/stripe/params/checkout/session_update_params.rb +1 -161
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -92
- 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/financial_connections/session_create_params.rb +1 -38
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -64
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -772
- 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 -33
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -64
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/cardholder_update_params.rb +0 -4
- 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 +109 -3062
- data/lib/stripe/params/payment_intent_create_params.rb +122 -3075
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +76 -3060
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
- data/lib/stripe/params/payment_method_create_params.rb +0 -88
- data/lib/stripe/params/price_update_params.rb +0 -19
- 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 +3 -122
- data/lib/stripe/params/setup_intent_create_params.rb +3 -122
- data/lib/stripe/params/setup_intent_update_params.rb +3 -122
- data/lib/stripe/params/subscription_create_params.rb +6 -133
- data/lib/stripe/params/subscription_item_create_params.rb +3 -50
- data/lib/stripe/params/subscription_item_update_params.rb +2 -33
- 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 +5 -116
- data/lib/stripe/params/tax/registration_create_params.rb +1 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -92
- 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 -19
- 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 +5 -392
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -29
- data/lib/stripe/params/v2/core/account_update_params.rb +4 -376
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -40
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +1 -22
- data/lib/stripe/params.rb +0 -364
- data/lib/stripe/request_options.rb +18 -0
- data/lib/stripe/resources/account.rb +1 -176
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +0 -4
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +1 -227
- data/lib/stripe/resources/checkout/session.rb +3 -91
- data/lib/stripe/resources/confirmation_token.rb +0 -131
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +0 -18
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +0 -92
- data/lib/stripe/resources/invoice.rb +1 -106
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/authorization.rb +0 -16
- data/lib/stripe/resources/issuing/card.rb +0 -16
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +0 -18
- 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 +1 -177
- data/lib/stripe/resources/payment_intent.rb +24 -1602
- data/lib/stripe/resources/payment_method.rb +0 -151
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +1 -177
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/plan.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +0 -35
- data/lib/stripe/resources/setup_intent.rb +1 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -73
- data/lib/stripe/resources/subscription_item.rb +1 -22
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax/registration.rb +1 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- 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/core/account.rb +2 -802
- data/lib/stripe/resources/v2/core/event.rb +1 -1
- data/lib/stripe/resources/v2/core/event_base.rb +36 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +1 -91
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +1 -26
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -4
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -50
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -63
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +1 -31
- data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -50
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -2
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -2
- data/lib/stripe/resources.rb +2 -341
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/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/radar_service.rb +1 -2
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -45
- data/lib/stripe/services/tax_service.rb +1 -2
- 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/money_management/financial_account_service.rb +0 -27
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +0 -13
- data/lib/stripe/services/v2/money_management_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -7
- data/lib/stripe/services.rb +0 -181
- data/lib/stripe/stripe_client.rb +1 -4
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_event_notification_handler.rb +0 -216
- data/lib/stripe/stripe_object.rb +60 -1
- data/lib/stripe/stripe_service.rb +13 -9
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +68 -3
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/v2/core/event_base.rbi +11 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -2
- data/rbi/stripe.rbi +33552 -100276
- metadata +6 -332
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_succeeded_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_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +0 -44
- 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_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_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_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/events/v2_signals_account_evaluation_complete_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +0 -44
- 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/payment_plan_create_params.rb +0 -128
- data/lib/stripe/params/payment_plan_list_params.rb +0 -25
- data/lib/stripe/params/payment_plan_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_plan_update_params.rb +0 -105
- 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/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/radar/billing_evaluation_create_params.rb +0 -231
- 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_list_params.rb +0 -37
- 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 -71
- 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/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/approval_request_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +0 -47
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +0 -17
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -53
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/data/query_run_create_params.rb +0 -50
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_list_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/data/report_run_create_params.rb +0 -48
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +0 -23
- 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/data/schema_list_params.rb +0 -26
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +0 -10
- 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/financial_account_close_params.rb +0 -30
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -35
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -113
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- 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 -112
- 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_disable_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/test_helpers/financial_address_generate_microdeposits_params.rb +0 -12
- 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/signals/account_activity_create_params.rb +0 -200
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +0 -192
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +0 -35
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -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/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -149
- 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/payment_plan.rb +0 -213
- 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/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1241
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -968
- data/lib/stripe/resources/radar/billing_evaluation.rb +0 -281
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -681
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -310
- data/lib/stripe/resources/tax/form.rb +0 -264
- 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/approval_request.rb +0 -395
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -536
- data/lib/stripe/resources/v2/data/query_run.rb +0 -255
- data/lib/stripe/resources/v2/data/report.rb +0 -104
- data/lib/stripe/resources/v2/data/report_run.rb +0 -246
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/data/schema.rb +0 -121
- 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/iam/activity_log.rb +0 -368
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +0 -33
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -255
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -260
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -137
- 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/resources/v2/signals/account_activity.rb +0 -252
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +0 -249
- data/lib/stripe/resources/v2/signals/account_signal.rb +0 -184
- 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/payment_plan_service.rb +0 -50
- 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/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/radar/billing_evaluation_service.rb +0 -19
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -30
- 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/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/approval_request_service.rb +0 -58
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/data/query_run_service.rb +0 -34
- data/lib/stripe/services/v2/data/report_run_service.rb +0 -36
- data/lib/stripe/services/v2/data/report_service.rb +0 -34
- 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/schema_service.rb +0 -32
- data/lib/stripe/services/v2/data_service.rb +0 -19
- 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/outbound_payment_quote_service.rb +0 -35
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -61
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- 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/signals/account_activity_service.rb +0 -43
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +0 -32
- data/lib/stripe/services/v2/signals/account_signal_service.rb +0 -32
- data/lib/stripe/services/v2/signals_service.rb +0 -17
|
@@ -318,8 +318,6 @@ module Stripe
|
|
|
318
318
|
class Card < ::Stripe::StripeObject
|
|
319
319
|
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
320
320
|
attr_reader :brand
|
|
321
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
322
|
-
attr_reader :brand_product
|
|
323
321
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
324
322
|
attr_reader :country
|
|
325
323
|
# Two-digit number representing the card's expiration month.
|
|
@@ -509,19 +507,6 @@ module Stripe
|
|
|
509
507
|
end
|
|
510
508
|
end
|
|
511
509
|
|
|
512
|
-
class DecrementalAuthorization < ::Stripe::StripeObject
|
|
513
|
-
# Indicates whether or not the decremental authorization feature is supported.
|
|
514
|
-
attr_reader :status
|
|
515
|
-
|
|
516
|
-
def self.inner_class_types
|
|
517
|
-
@inner_class_types = {}
|
|
518
|
-
end
|
|
519
|
-
|
|
520
|
-
def self.field_remappings
|
|
521
|
-
@field_remappings = {}
|
|
522
|
-
end
|
|
523
|
-
end
|
|
524
|
-
|
|
525
510
|
class ExtendedAuthorization < ::Stripe::StripeObject
|
|
526
511
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
527
512
|
attr_reader :status
|
|
@@ -619,19 +604,6 @@ module Stripe
|
|
|
619
604
|
end
|
|
620
605
|
end
|
|
621
606
|
|
|
622
|
-
class PartialAuthorization < ::Stripe::StripeObject
|
|
623
|
-
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
624
|
-
attr_reader :status
|
|
625
|
-
|
|
626
|
-
def self.inner_class_types
|
|
627
|
-
@inner_class_types = {}
|
|
628
|
-
end
|
|
629
|
-
|
|
630
|
-
def self.field_remappings
|
|
631
|
-
@field_remappings = {}
|
|
632
|
-
end
|
|
633
|
-
end
|
|
634
|
-
|
|
635
607
|
class ThreeDSecure < ::Stripe::StripeObject
|
|
636
608
|
# For authenticated transactions: how the customer was authenticated by
|
|
637
609
|
# the issuing bank.
|
|
@@ -888,8 +860,6 @@ module Stripe
|
|
|
888
860
|
end
|
|
889
861
|
# The authorized amount.
|
|
890
862
|
attr_reader :amount_authorized
|
|
891
|
-
# The latest amount intended to be authorized by this charge.
|
|
892
|
-
attr_reader :amount_requested
|
|
893
863
|
# Authorization code on the charge.
|
|
894
864
|
attr_reader :authorization_code
|
|
895
865
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
@@ -900,8 +870,6 @@ module Stripe
|
|
|
900
870
|
attr_reader :checks
|
|
901
871
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
902
872
|
attr_reader :country
|
|
903
|
-
# Attribute for field decremental_authorization
|
|
904
|
-
attr_reader :decremental_authorization
|
|
905
873
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
906
874
|
attr_reader :description
|
|
907
875
|
# The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.
|
|
@@ -944,8 +912,6 @@ module Stripe
|
|
|
944
912
|
attr_reader :network_transaction_id
|
|
945
913
|
# Attribute for field overcapture
|
|
946
914
|
attr_reader :overcapture
|
|
947
|
-
# Attribute for field partial_authorization
|
|
948
|
-
attr_reader :partial_authorization
|
|
949
915
|
# Status of a card based on the card issuer.
|
|
950
916
|
attr_reader :regulated_status
|
|
951
917
|
# The payment_method_options.card.setup_credential_usage value that was passed when setup_future_usage was present at confirmation, one of `recurring`, `unscheduled`, or `installment`
|
|
@@ -962,14 +928,12 @@ module Stripe
|
|
|
962
928
|
def self.inner_class_types
|
|
963
929
|
@inner_class_types = {
|
|
964
930
|
checks: Checks,
|
|
965
|
-
decremental_authorization: DecrementalAuthorization,
|
|
966
931
|
extended_authorization: ExtendedAuthorization,
|
|
967
932
|
incremental_authorization: IncrementalAuthorization,
|
|
968
933
|
installments: Installments,
|
|
969
934
|
multicapture: Multicapture,
|
|
970
935
|
network_token: NetworkToken,
|
|
971
936
|
overcapture: Overcapture,
|
|
972
|
-
partial_authorization: PartialAuthorization,
|
|
973
937
|
three_d_secure: ThreeDSecure,
|
|
974
938
|
wallet: Wallet,
|
|
975
939
|
}
|
|
@@ -1204,16 +1168,6 @@ module Stripe
|
|
|
1204
1168
|
end
|
|
1205
1169
|
end
|
|
1206
1170
|
|
|
1207
|
-
class Gopay < ::Stripe::StripeObject
|
|
1208
|
-
def self.inner_class_types
|
|
1209
|
-
@inner_class_types = {}
|
|
1210
|
-
end
|
|
1211
|
-
|
|
1212
|
-
def self.field_remappings
|
|
1213
|
-
@field_remappings = {}
|
|
1214
|
-
end
|
|
1215
|
-
end
|
|
1216
|
-
|
|
1217
1171
|
class Grabpay < ::Stripe::StripeObject
|
|
1218
1172
|
# Unique transaction id generated by GrabPay
|
|
1219
1173
|
attr_reader :transaction_id
|
|
@@ -1227,27 +1181,6 @@ module Stripe
|
|
|
1227
1181
|
end
|
|
1228
1182
|
end
|
|
1229
1183
|
|
|
1230
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
1231
|
-
# Account number of the bank account to transfer funds to.
|
|
1232
|
-
attr_reader :account_number
|
|
1233
|
-
# Bank where the account is located.
|
|
1234
|
-
attr_reader :bank
|
|
1235
|
-
# Local bank code of the bank.
|
|
1236
|
-
attr_reader :bank_code
|
|
1237
|
-
# Name of the bank associated with the bank account.
|
|
1238
|
-
attr_reader :bank_name
|
|
1239
|
-
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1240
|
-
attr_reader :display_name
|
|
1241
|
-
|
|
1242
|
-
def self.inner_class_types
|
|
1243
|
-
@inner_class_types = {}
|
|
1244
|
-
end
|
|
1245
|
-
|
|
1246
|
-
def self.field_remappings
|
|
1247
|
-
@field_remappings = {}
|
|
1248
|
-
end
|
|
1249
|
-
end
|
|
1250
|
-
|
|
1251
1184
|
class Ideal < ::Stripe::StripeObject
|
|
1252
1185
|
# The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1253
1186
|
attr_reader :bank
|
|
@@ -1664,52 +1597,6 @@ module Stripe
|
|
|
1664
1597
|
@field_remappings = {}
|
|
1665
1598
|
end
|
|
1666
1599
|
end
|
|
1667
|
-
|
|
1668
|
-
class Shipping < ::Stripe::StripeObject
|
|
1669
|
-
# City, district, suburb, town, or village.
|
|
1670
|
-
attr_reader :city
|
|
1671
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1672
|
-
attr_reader :country
|
|
1673
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1674
|
-
attr_reader :line1
|
|
1675
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1676
|
-
attr_reader :line2
|
|
1677
|
-
# ZIP or postal code.
|
|
1678
|
-
attr_reader :postal_code
|
|
1679
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1680
|
-
attr_reader :state
|
|
1681
|
-
|
|
1682
|
-
def self.inner_class_types
|
|
1683
|
-
@inner_class_types = {}
|
|
1684
|
-
end
|
|
1685
|
-
|
|
1686
|
-
def self.field_remappings
|
|
1687
|
-
@field_remappings = {}
|
|
1688
|
-
end
|
|
1689
|
-
end
|
|
1690
|
-
|
|
1691
|
-
class VerifiedAddress < ::Stripe::StripeObject
|
|
1692
|
-
# City, district, suburb, town, or village.
|
|
1693
|
-
attr_reader :city
|
|
1694
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1695
|
-
attr_reader :country
|
|
1696
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1697
|
-
attr_reader :line1
|
|
1698
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1699
|
-
attr_reader :line2
|
|
1700
|
-
# ZIP or postal code.
|
|
1701
|
-
attr_reader :postal_code
|
|
1702
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1703
|
-
attr_reader :state
|
|
1704
|
-
|
|
1705
|
-
def self.inner_class_types
|
|
1706
|
-
@inner_class_types = {}
|
|
1707
|
-
end
|
|
1708
|
-
|
|
1709
|
-
def self.field_remappings
|
|
1710
|
-
@field_remappings = {}
|
|
1711
|
-
end
|
|
1712
|
-
end
|
|
1713
1600
|
# 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.
|
|
1714
1601
|
attr_reader :country
|
|
1715
1602
|
# Owner's email. Values are provided by PayPal directly
|
|
@@ -1722,29 +1609,11 @@ module Stripe
|
|
|
1722
1609
|
attr_reader :payer_name
|
|
1723
1610
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1724
1611
|
attr_reader :seller_protection
|
|
1725
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1726
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1727
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1728
|
-
attr_reader :shipping
|
|
1729
1612
|
# A unique ID generated by PayPal for this transaction.
|
|
1730
1613
|
attr_reader :transaction_id
|
|
1731
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1732
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1733
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1734
|
-
attr_reader :verified_address
|
|
1735
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
1736
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1737
|
-
attr_reader :verified_email
|
|
1738
|
-
# Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1739
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1740
|
-
attr_reader :verified_name
|
|
1741
1614
|
|
|
1742
1615
|
def self.inner_class_types
|
|
1743
|
-
@inner_class_types = {
|
|
1744
|
-
seller_protection: SellerProtection,
|
|
1745
|
-
shipping: Shipping,
|
|
1746
|
-
verified_address: VerifiedAddress,
|
|
1747
|
-
}
|
|
1616
|
+
@inner_class_types = { seller_protection: SellerProtection }
|
|
1748
1617
|
end
|
|
1749
1618
|
|
|
1750
1619
|
def self.field_remappings
|
|
@@ -1811,36 +1680,11 @@ module Stripe
|
|
|
1811
1680
|
end
|
|
1812
1681
|
end
|
|
1813
1682
|
|
|
1814
|
-
class Qris < ::Stripe::StripeObject
|
|
1815
|
-
def self.inner_class_types
|
|
1816
|
-
@inner_class_types = {}
|
|
1817
|
-
end
|
|
1818
|
-
|
|
1819
|
-
def self.field_remappings
|
|
1820
|
-
@field_remappings = {}
|
|
1821
|
-
end
|
|
1822
|
-
end
|
|
1823
|
-
|
|
1824
|
-
class Rechnung < ::Stripe::StripeObject
|
|
1825
|
-
# Payment portal URL.
|
|
1826
|
-
attr_reader :payment_portal_url
|
|
1827
|
-
|
|
1828
|
-
def self.inner_class_types
|
|
1829
|
-
@inner_class_types = {}
|
|
1830
|
-
end
|
|
1831
|
-
|
|
1832
|
-
def self.field_remappings
|
|
1833
|
-
@field_remappings = {}
|
|
1834
|
-
end
|
|
1835
|
-
end
|
|
1836
|
-
|
|
1837
1683
|
class RevolutPay < ::Stripe::StripeObject
|
|
1838
1684
|
class Funding < ::Stripe::StripeObject
|
|
1839
1685
|
class Card < ::Stripe::StripeObject
|
|
1840
1686
|
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
1841
1687
|
attr_reader :brand
|
|
1842
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
1843
|
-
attr_reader :brand_product
|
|
1844
1688
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1845
1689
|
attr_reader :country
|
|
1846
1690
|
# Two-digit number representing the card's expiration month.
|
|
@@ -1983,16 +1827,6 @@ module Stripe
|
|
|
1983
1827
|
end
|
|
1984
1828
|
end
|
|
1985
1829
|
|
|
1986
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
1987
|
-
def self.inner_class_types
|
|
1988
|
-
@inner_class_types = {}
|
|
1989
|
-
end
|
|
1990
|
-
|
|
1991
|
-
def self.field_remappings
|
|
1992
|
-
@field_remappings = {}
|
|
1993
|
-
end
|
|
1994
|
-
end
|
|
1995
|
-
|
|
1996
1830
|
class Sofort < ::Stripe::StripeObject
|
|
1997
1831
|
# Bank code of bank associated with the bank account.
|
|
1998
1832
|
attr_reader :bank_code
|
|
@@ -2034,19 +1868,6 @@ module Stripe
|
|
|
2034
1868
|
end
|
|
2035
1869
|
end
|
|
2036
1870
|
|
|
2037
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
2038
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2039
|
-
attr_reader :account
|
|
2040
|
-
|
|
2041
|
-
def self.inner_class_types
|
|
2042
|
-
@inner_class_types = {}
|
|
2043
|
-
end
|
|
2044
|
-
|
|
2045
|
-
def self.field_remappings
|
|
2046
|
-
@field_remappings = {}
|
|
2047
|
-
end
|
|
2048
|
-
end
|
|
2049
|
-
|
|
2050
1871
|
class Sunbit < ::Stripe::StripeObject
|
|
2051
1872
|
# The Sunbit transaction ID associated with this payment.
|
|
2052
1873
|
attr_reader :transaction_id
|
|
@@ -2161,16 +1982,6 @@ module Stripe
|
|
|
2161
1982
|
end
|
|
2162
1983
|
end
|
|
2163
1984
|
|
|
2164
|
-
class Wero < ::Stripe::StripeObject
|
|
2165
|
-
def self.inner_class_types
|
|
2166
|
-
@inner_class_types = {}
|
|
2167
|
-
end
|
|
2168
|
-
|
|
2169
|
-
def self.field_remappings
|
|
2170
|
-
@field_remappings = {}
|
|
2171
|
-
end
|
|
2172
|
-
end
|
|
2173
|
-
|
|
2174
1985
|
class Zip < ::Stripe::StripeObject
|
|
2175
1986
|
def self.inner_class_types
|
|
2176
1987
|
@inner_class_types = {}
|
|
@@ -2226,12 +2037,8 @@ module Stripe
|
|
|
2226
2037
|
attr_reader :fpx
|
|
2227
2038
|
# Attribute for field giropay
|
|
2228
2039
|
attr_reader :giropay
|
|
2229
|
-
# Attribute for field gopay
|
|
2230
|
-
attr_reader :gopay
|
|
2231
2040
|
# Attribute for field grabpay
|
|
2232
2041
|
attr_reader :grabpay
|
|
2233
|
-
# Attribute for field id_bank_transfer
|
|
2234
|
-
attr_reader :id_bank_transfer
|
|
2235
2042
|
# Attribute for field ideal
|
|
2236
2043
|
attr_reader :ideal
|
|
2237
2044
|
# Attribute for field interac_present
|
|
@@ -2276,10 +2083,6 @@ module Stripe
|
|
|
2276
2083
|
attr_reader :pix
|
|
2277
2084
|
# Attribute for field promptpay
|
|
2278
2085
|
attr_reader :promptpay
|
|
2279
|
-
# Attribute for field qris
|
|
2280
|
-
attr_reader :qris
|
|
2281
|
-
# Attribute for field rechnung
|
|
2282
|
-
attr_reader :rechnung
|
|
2283
2086
|
# Attribute for field revolut_pay
|
|
2284
2087
|
attr_reader :revolut_pay
|
|
2285
2088
|
# Attribute for field samsung_pay
|
|
@@ -2294,14 +2097,10 @@ module Stripe
|
|
|
2294
2097
|
attr_reader :sepa_debit
|
|
2295
2098
|
# Attribute for field sequra
|
|
2296
2099
|
attr_reader :sequra
|
|
2297
|
-
# Attribute for field shopeepay
|
|
2298
|
-
attr_reader :shopeepay
|
|
2299
2100
|
# Attribute for field sofort
|
|
2300
2101
|
attr_reader :sofort
|
|
2301
2102
|
# Attribute for field stripe_account
|
|
2302
2103
|
attr_reader :stripe_account
|
|
2303
|
-
# Attribute for field stripe_balance
|
|
2304
|
-
attr_reader :stripe_balance
|
|
2305
2104
|
# Attribute for field sunbit
|
|
2306
2105
|
attr_reader :sunbit
|
|
2307
2106
|
# Attribute for field swish
|
|
@@ -2320,8 +2119,6 @@ module Stripe
|
|
|
2320
2119
|
attr_reader :wechat
|
|
2321
2120
|
# Attribute for field wechat_pay
|
|
2322
2121
|
attr_reader :wechat_pay
|
|
2323
|
-
# Attribute for field wero
|
|
2324
|
-
attr_reader :wero
|
|
2325
2122
|
# Attribute for field zip
|
|
2326
2123
|
attr_reader :zip
|
|
2327
2124
|
|
|
@@ -2350,9 +2147,7 @@ module Stripe
|
|
|
2350
2147
|
eps: Eps,
|
|
2351
2148
|
fpx: Fpx,
|
|
2352
2149
|
giropay: Giropay,
|
|
2353
|
-
gopay: Gopay,
|
|
2354
2150
|
grabpay: Grabpay,
|
|
2355
|
-
id_bank_transfer: IdBankTransfer,
|
|
2356
2151
|
ideal: Ideal,
|
|
2357
2152
|
interac_present: InteracPresent,
|
|
2358
2153
|
kakao_pay: KakaoPay,
|
|
@@ -2375,8 +2170,6 @@ module Stripe
|
|
|
2375
2170
|
payto: Payto,
|
|
2376
2171
|
pix: Pix,
|
|
2377
2172
|
promptpay: Promptpay,
|
|
2378
|
-
qris: Qris,
|
|
2379
|
-
rechnung: Rechnung,
|
|
2380
2173
|
revolut_pay: RevolutPay,
|
|
2381
2174
|
samsung_pay: SamsungPay,
|
|
2382
2175
|
satispay: Satispay,
|
|
@@ -2384,10 +2177,8 @@ module Stripe
|
|
|
2384
2177
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
2385
2178
|
sepa_debit: SepaDebit,
|
|
2386
2179
|
sequra: Sequra,
|
|
2387
|
-
shopeepay: Shopeepay,
|
|
2388
2180
|
sofort: Sofort,
|
|
2389
2181
|
stripe_account: StripeAccount,
|
|
2390
|
-
stripe_balance: StripeBalance,
|
|
2391
2182
|
sunbit: Sunbit,
|
|
2392
2183
|
swish: Swish,
|
|
2393
2184
|
twint: Twint,
|
|
@@ -2395,7 +2186,6 @@ module Stripe
|
|
|
2395
2186
|
us_bank_account: UsBankAccount,
|
|
2396
2187
|
wechat: Wechat,
|
|
2397
2188
|
wechat_pay: WechatPay,
|
|
2398
|
-
wero: Wero,
|
|
2399
2189
|
zip: Zip,
|
|
2400
2190
|
}
|
|
2401
2191
|
end
|
|
@@ -2433,19 +2223,6 @@ module Stripe
|
|
|
2433
2223
|
end
|
|
2434
2224
|
end
|
|
2435
2225
|
|
|
2436
|
-
class Redaction < ::Stripe::StripeObject
|
|
2437
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
2438
|
-
attr_reader :status
|
|
2439
|
-
|
|
2440
|
-
def self.inner_class_types
|
|
2441
|
-
@inner_class_types = {}
|
|
2442
|
-
end
|
|
2443
|
-
|
|
2444
|
-
def self.field_remappings
|
|
2445
|
-
@field_remappings = {}
|
|
2446
|
-
end
|
|
2447
|
-
end
|
|
2448
|
-
|
|
2449
2226
|
class Shipping < ::Stripe::StripeObject
|
|
2450
2227
|
class Address < ::Stripe::StripeObject
|
|
2451
2228
|
# City, district, suburb, town, or village.
|
|
@@ -2575,8 +2352,6 @@ module Stripe
|
|
|
2575
2352
|
attr_reader :receipt_number
|
|
2576
2353
|
# This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
|
|
2577
2354
|
attr_reader :receipt_url
|
|
2578
|
-
# Redaction status of this charge. If not null, this charge is associated to a redaction job.
|
|
2579
|
-
attr_reader :redaction
|
|
2580
2355
|
# Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
|
2581
2356
|
attr_reader :refunded
|
|
2582
2357
|
# A list of refunds that have been applied to the charge.
|
|
@@ -2661,7 +2436,6 @@ module Stripe
|
|
|
2661
2436
|
payment_method_details: PaymentMethodDetails,
|
|
2662
2437
|
presentment_details: PresentmentDetails,
|
|
2663
2438
|
radar_options: RadarOptions,
|
|
2664
|
-
redaction: Redaction,
|
|
2665
2439
|
shipping: Shipping,
|
|
2666
2440
|
transfer_data: TransferData,
|
|
2667
2441
|
}
|
|
@@ -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`, `au_acn`, `nz_bn`, `pt_nif`, `cz_dic`, `fr_siret`, `fr_siren`, `fr_spi`, `sm_coe`, `tt_vat`, `tt_bir`, `mu_vat`, `mz_nuit`, `au_wpn`, `md_cf`, `is_kt`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, `ic_nif`, `gh_tin`, `bw_vat`, `ci_vat`, 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 id for this Checkout Session.
|
|
230
|
-
attr_reader :tax_id
|
|
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
|
|
@@ -1050,8 +1029,6 @@ module Stripe
|
|
|
1050
1029
|
# Attribute for field installments
|
|
1051
1030
|
attr_reader :installments
|
|
1052
1031
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1053
|
-
attr_reader :request_decremental_authorization
|
|
1054
|
-
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1055
1032
|
attr_reader :request_extended_authorization
|
|
1056
1033
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
|
1057
1034
|
attr_reader :request_incremental_authorization
|
|
@@ -1515,8 +1492,6 @@ module Stripe
|
|
|
1515
1492
|
#
|
|
1516
1493
|
# 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).
|
|
1517
1494
|
attr_reader :setup_future_usage
|
|
1518
|
-
# 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.
|
|
1519
|
-
attr_reader :subsellers
|
|
1520
1495
|
|
|
1521
1496
|
def self.inner_class_types
|
|
1522
1497
|
@inner_class_types = {}
|
|
@@ -1855,21 +1830,6 @@ module Stripe
|
|
|
1855
1830
|
class Filters < ::Stripe::StripeObject
|
|
1856
1831
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1857
1832
|
attr_reader :account_subcategories
|
|
1858
|
-
# The institution to use to filter for possible accounts to link.
|
|
1859
|
-
attr_reader :institution
|
|
1860
|
-
|
|
1861
|
-
def self.inner_class_types
|
|
1862
|
-
@inner_class_types = {}
|
|
1863
|
-
end
|
|
1864
|
-
|
|
1865
|
-
def self.field_remappings
|
|
1866
|
-
@field_remappings = {}
|
|
1867
|
-
end
|
|
1868
|
-
end
|
|
1869
|
-
|
|
1870
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
1871
|
-
# Settings for configuring manual entry of account details.
|
|
1872
|
-
attr_reader :mode
|
|
1873
1833
|
|
|
1874
1834
|
def self.inner_class_types
|
|
1875
1835
|
@inner_class_types = {}
|
|
@@ -1881,8 +1841,6 @@ module Stripe
|
|
|
1881
1841
|
end
|
|
1882
1842
|
# Attribute for field filters
|
|
1883
1843
|
attr_reader :filters
|
|
1884
|
-
# Attribute for field manual_entry
|
|
1885
|
-
attr_reader :manual_entry
|
|
1886
1844
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
1887
1845
|
attr_reader :permissions
|
|
1888
1846
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -1891,7 +1849,7 @@ module Stripe
|
|
|
1891
1849
|
attr_reader :return_url
|
|
1892
1850
|
|
|
1893
1851
|
def self.inner_class_types
|
|
1894
|
-
@inner_class_types = { filters: Filters
|
|
1852
|
+
@inner_class_types = { filters: Filters }
|
|
1895
1853
|
end
|
|
1896
1854
|
|
|
1897
1855
|
def self.field_remappings
|
|
@@ -2097,36 +2055,6 @@ module Stripe
|
|
|
2097
2055
|
end
|
|
2098
2056
|
|
|
2099
2057
|
class Permissions < ::Stripe::StripeObject
|
|
2100
|
-
class Update < ::Stripe::StripeObject
|
|
2101
|
-
# Determines which entity is allowed to update the line items.
|
|
2102
|
-
#
|
|
2103
|
-
# 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.
|
|
2104
|
-
#
|
|
2105
|
-
# 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.
|
|
2106
|
-
attr_reader :line_items
|
|
2107
|
-
# Determines which entity is allowed to update the shipping details.
|
|
2108
|
-
#
|
|
2109
|
-
# 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.
|
|
2110
|
-
#
|
|
2111
|
-
# This parameter is only supported when `ui_mode=elements`.
|
|
2112
|
-
attr_reader :shipping_details
|
|
2113
|
-
|
|
2114
|
-
def self.inner_class_types
|
|
2115
|
-
@inner_class_types = {}
|
|
2116
|
-
end
|
|
2117
|
-
|
|
2118
|
-
def self.field_remappings
|
|
2119
|
-
@field_remappings = {}
|
|
2120
|
-
end
|
|
2121
|
-
end
|
|
2122
|
-
# Permissions for updating the Checkout Session.
|
|
2123
|
-
attr_reader :update
|
|
2124
|
-
# Determines which entity is allowed to update the line items.
|
|
2125
|
-
#
|
|
2126
|
-
# 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.
|
|
2127
|
-
#
|
|
2128
|
-
# 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.
|
|
2129
|
-
attr_reader :update_line_items
|
|
2130
2058
|
# Determines which entity is allowed to update the shipping details.
|
|
2131
2059
|
#
|
|
2132
2060
|
# 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.
|
|
@@ -2135,7 +2063,7 @@ module Stripe
|
|
|
2135
2063
|
attr_reader :update_shipping_details
|
|
2136
2064
|
|
|
2137
2065
|
def self.inner_class_types
|
|
2138
|
-
@inner_class_types = {
|
|
2066
|
+
@inner_class_types = {}
|
|
2139
2067
|
end
|
|
2140
2068
|
|
|
2141
2069
|
def self.field_remappings
|
|
@@ -2171,19 +2099,6 @@ module Stripe
|
|
|
2171
2099
|
end
|
|
2172
2100
|
end
|
|
2173
2101
|
|
|
2174
|
-
class Redaction < ::Stripe::StripeObject
|
|
2175
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
2176
|
-
attr_reader :status
|
|
2177
|
-
|
|
2178
|
-
def self.inner_class_types
|
|
2179
|
-
@inner_class_types = {}
|
|
2180
|
-
end
|
|
2181
|
-
|
|
2182
|
-
def self.field_remappings
|
|
2183
|
-
@field_remappings = {}
|
|
2184
|
-
end
|
|
2185
|
-
end
|
|
2186
|
-
|
|
2187
2102
|
class SavedPaymentMethodOptions < ::Stripe::StripeObject
|
|
2188
2103
|
# Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout.
|
|
2189
2104
|
attr_reader :allow_redisplay_filters
|
|
@@ -2502,8 +2417,6 @@ module Stripe
|
|
|
2502
2417
|
attr_reader :presentment_details
|
|
2503
2418
|
# The ID of the original expired Checkout Session that triggered the recovery flow.
|
|
2504
2419
|
attr_reader :recovered_from
|
|
2505
|
-
# The redaction status of the Checkout Session. If the Session is not redacted, this field is null.
|
|
2506
|
-
attr_reader :redaction
|
|
2507
2420
|
# 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`.
|
|
2508
2421
|
attr_reader :redirect_on_completion
|
|
2509
2422
|
# 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.
|
|
@@ -2640,7 +2553,6 @@ module Stripe
|
|
|
2640
2553
|
permissions: Permissions,
|
|
2641
2554
|
phone_number_collection: PhoneNumberCollection,
|
|
2642
2555
|
presentment_details: PresentmentDetails,
|
|
2643
|
-
redaction: Redaction,
|
|
2644
2556
|
saved_payment_method_options: SavedPaymentMethodOptions,
|
|
2645
2557
|
shipping_address_collection: ShippingAddressCollection,
|
|
2646
2558
|
shipping_cost: ShippingCost,
|