stripe 20.2.0.pre.beta.1 → 21.1.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 +18 -7
- data/lib/stripe/api_operations/save.rb +4 -4
- data/lib/stripe/api_requestor.rb +55 -38
- data/lib/stripe/api_resource.rb +1 -2
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/connection_manager.rb +3 -0
- data/lib/stripe/errors.rb +0 -6
- data/lib/stripe/event_types.rb +20 -193
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/events/v2_core_account_closed_event.rb +2 -2
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +2 -2
- data/lib/stripe/events/{v2_data_reporting_query_run_failed_event.rb → v2_core_claimable_sandbox_claimed_event.rb} +7 -7
- data/lib/stripe/events/{v2_money_management_outbound_transfer_created_event.rb → v2_core_claimable_sandbox_created_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_approval_request_rejected_event.rb → v2_core_claimable_sandbox_expired_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_batch_job_validation_failed_event.rb → v2_core_claimable_sandbox_expiring_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_approval_request_approved_event.rb → v2_core_claimable_sandbox_updated_event.rb} +7 -7
- data/lib/stripe/object_types.rb +1 -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/billing_portal/configuration_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -1
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +11 -88
- 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 +2 -18
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -39
- 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 +2 -34
- 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 -981
- data/lib/stripe/params/payment_intent_confirm_params.rb +147 -2438
- data/lib/stripe/params/payment_intent_create_params.rb +148 -2439
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +149 -2471
- data/lib/stripe/params/payment_link_update_params.rb +4 -0
- 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/product_create_params.rb +4 -1
- data/lib/stripe/params/product_update_params.rb +4 -1
- data/lib/stripe/params/quote_create_params.rb +4 -810
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +5 -818
- data/lib/stripe/params/reporting/report_run_create_params.rb +4 -0
- 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/test_helpers/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -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/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -1
- 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 +143 -396
- data/lib/stripe/params/v2/core/account_link_create_params.rb +19 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -29
- data/lib/stripe/params/v2/core/account_update_params.rb +142 -380
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +63 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +32 -0
- data/lib/stripe/params/v2/{billing/cadence_retrieve_params.rb → core/claimable_sandbox_retrieve_params.rb} +3 -3
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -1
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +2 -2
- 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 +7 -364
- data/lib/stripe/request_options.rb +37 -2
- data/lib/stripe/resources/account.rb +1 -176
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/apps/install.rb +2 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +0 -4
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +275 -232
- data/lib/stripe/resources/checkout/session.rb +7 -91
- data/lib/stripe/resources/confirmation_token.rb +2 -133
- data/lib/stripe/resources/coupon.rb +7 -29
- 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 +1 -19
- data/lib/stripe/resources/event.rb +3 -66
- 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 +1 -17
- 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 +5 -178
- data/lib/stripe/resources/payment_intent.rb +17 -1022
- data/lib/stripe/resources/payment_method.rb +2 -153
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +5 -178
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +2 -0
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +38 -18
- data/lib/stripe/resources/reporting/report_run.rb +2 -0
- data/lib/stripe/resources/reserve/hold.rb +1 -8
- 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 +2 -37
- data/lib/stripe/resources/setup_intent.rb +2 -39
- 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/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/inbound_transfer.rb +35 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +37 -11
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -32
- data/lib/stripe/resources/treasury/received_credit.rb +1 -31
- data/lib/stripe/resources/treasury/received_debit.rb +1 -33
- data/lib/stripe/resources/v2/core/account.rb +293 -850
- data/lib/stripe/resources/v2/core/account_link.rb +18 -1
- data/lib/stripe/resources/v2/core/account_person_token.rb +2 -0
- data/lib/stripe/resources/v2/core/account_token.rb +3 -1
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +269 -0
- data/lib/stripe/resources/v2/core/event.rb +1 -1
- data/lib/stripe/resources/v2/core/event_base.rb +19 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +32 -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 +19 -341
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/apps/install_service.rb +2 -2
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/checkout/session_service.rb +2 -0
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/event_service.rb +1 -1
- 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/treasury/inbound_transfer_service.rb +3 -3
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -1
- 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_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +2 -2
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +2 -1
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +49 -0
- data/lib/stripe/services/v2/core_service.rb +2 -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 +2 -181
- data/lib/stripe/stripe_client.rb +7 -4
- data/lib/stripe/stripe_configuration.rb +10 -5
- data/lib/stripe/stripe_event_notification_handler.rb +16 -206
- data/lib/stripe/stripe_object.rb +82 -10
- 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 +63009 -123066
- metadata +16 -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_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_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_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_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_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_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
|
@@ -60,25 +60,6 @@ module Stripe
|
|
|
60
60
|
end
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
-
class Surcharge < ::Stripe::StripeObject
|
|
64
|
-
# Portion of the amount that corresponds to a surcharge.
|
|
65
|
-
attr_reader :amount
|
|
66
|
-
# Indicate whether to enforce validations on the surcharge amount.
|
|
67
|
-
attr_reader :enforce_validation
|
|
68
|
-
# The maximum amount allowed for the surcharge.
|
|
69
|
-
attr_reader :maximum_amount
|
|
70
|
-
# The status of the surcharge.
|
|
71
|
-
attr_reader :status
|
|
72
|
-
|
|
73
|
-
def self.inner_class_types
|
|
74
|
-
@inner_class_types = {}
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
def self.field_remappings
|
|
78
|
-
@field_remappings = {}
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
63
|
class Tax < ::Stripe::StripeObject
|
|
83
64
|
# The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
84
65
|
#
|
|
@@ -116,58 +97,13 @@ module Stripe
|
|
|
116
97
|
attr_reader :line_items
|
|
117
98
|
# Attribute for field shipping
|
|
118
99
|
attr_reader :shipping
|
|
119
|
-
# Attribute for field surcharge
|
|
120
|
-
attr_reader :surcharge
|
|
121
100
|
# Attribute for field tax
|
|
122
101
|
attr_reader :tax
|
|
123
102
|
# Attribute for field tip
|
|
124
103
|
attr_reader :tip
|
|
125
104
|
|
|
126
105
|
def self.inner_class_types
|
|
127
|
-
@inner_class_types = {
|
|
128
|
-
error: Error,
|
|
129
|
-
shipping: Shipping,
|
|
130
|
-
surcharge: Surcharge,
|
|
131
|
-
tax: Tax,
|
|
132
|
-
tip: Tip,
|
|
133
|
-
}
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
def self.field_remappings
|
|
137
|
-
@field_remappings = {}
|
|
138
|
-
end
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
class AsyncWorkflows < ::Stripe::StripeObject
|
|
142
|
-
class Inputs < ::Stripe::StripeObject
|
|
143
|
-
class Tax < ::Stripe::StripeObject
|
|
144
|
-
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
145
|
-
attr_reader :calculation
|
|
146
|
-
|
|
147
|
-
def self.inner_class_types
|
|
148
|
-
@inner_class_types = {}
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
def self.field_remappings
|
|
152
|
-
@field_remappings = {}
|
|
153
|
-
end
|
|
154
|
-
end
|
|
155
|
-
# Attribute for field tax
|
|
156
|
-
attr_reader :tax
|
|
157
|
-
|
|
158
|
-
def self.inner_class_types
|
|
159
|
-
@inner_class_types = { tax: Tax }
|
|
160
|
-
end
|
|
161
|
-
|
|
162
|
-
def self.field_remappings
|
|
163
|
-
@field_remappings = {}
|
|
164
|
-
end
|
|
165
|
-
end
|
|
166
|
-
# Attribute for field inputs
|
|
167
|
-
attr_reader :inputs
|
|
168
|
-
|
|
169
|
-
def self.inner_class_types
|
|
170
|
-
@inner_class_types = { inputs: Inputs }
|
|
106
|
+
@inner_class_types = { error: Error, shipping: Shipping, tax: Tax, tip: Tip }
|
|
171
107
|
end
|
|
172
108
|
|
|
173
109
|
def self.field_remappings
|
|
@@ -1200,7 +1136,7 @@ module Stripe
|
|
|
1200
1136
|
end
|
|
1201
1137
|
|
|
1202
1138
|
class VerifyWithMicrodeposits < ::Stripe::StripeObject
|
|
1203
|
-
# The timestamp when the microdeposits are expected to land.
|
|
1139
|
+
# The timestamp when the microdeposits are expected to land. Null for instant microdeposits.
|
|
1204
1140
|
attr_reader :arrival_date
|
|
1205
1141
|
# The URL for the hosted verification page, which allows customers to verify their bank account.
|
|
1206
1142
|
attr_reader :hosted_verification_url
|
|
@@ -1350,193 +1286,6 @@ module Stripe
|
|
|
1350
1286
|
end
|
|
1351
1287
|
|
|
1352
1288
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1353
|
-
class CarRental < ::Stripe::StripeObject
|
|
1354
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1355
|
-
# The name of the affiliate that originated the purchase.
|
|
1356
|
-
attr_reader :name
|
|
1357
|
-
|
|
1358
|
-
def self.inner_class_types
|
|
1359
|
-
@inner_class_types = {}
|
|
1360
|
-
end
|
|
1361
|
-
|
|
1362
|
-
def self.field_remappings
|
|
1363
|
-
@field_remappings = {}
|
|
1364
|
-
end
|
|
1365
|
-
end
|
|
1366
|
-
|
|
1367
|
-
class Delivery < ::Stripe::StripeObject
|
|
1368
|
-
class Recipient < ::Stripe::StripeObject
|
|
1369
|
-
# The email of the recipient the ticket is delivered to.
|
|
1370
|
-
attr_reader :email
|
|
1371
|
-
# The name of the recipient the ticket is delivered to.
|
|
1372
|
-
attr_reader :name
|
|
1373
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1374
|
-
attr_reader :phone
|
|
1375
|
-
|
|
1376
|
-
def self.inner_class_types
|
|
1377
|
-
@inner_class_types = {}
|
|
1378
|
-
end
|
|
1379
|
-
|
|
1380
|
-
def self.field_remappings
|
|
1381
|
-
@field_remappings = {}
|
|
1382
|
-
end
|
|
1383
|
-
end
|
|
1384
|
-
# The delivery method for the payment
|
|
1385
|
-
attr_reader :mode
|
|
1386
|
-
# Attribute for field recipient
|
|
1387
|
-
attr_reader :recipient
|
|
1388
|
-
|
|
1389
|
-
def self.inner_class_types
|
|
1390
|
-
@inner_class_types = { recipient: Recipient }
|
|
1391
|
-
end
|
|
1392
|
-
|
|
1393
|
-
def self.field_remappings
|
|
1394
|
-
@field_remappings = {}
|
|
1395
|
-
end
|
|
1396
|
-
end
|
|
1397
|
-
|
|
1398
|
-
class Distance < ::Stripe::StripeObject
|
|
1399
|
-
# Distance traveled.
|
|
1400
|
-
attr_reader :amount
|
|
1401
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1402
|
-
attr_reader :unit
|
|
1403
|
-
|
|
1404
|
-
def self.inner_class_types
|
|
1405
|
-
@inner_class_types = {}
|
|
1406
|
-
end
|
|
1407
|
-
|
|
1408
|
-
def self.field_remappings
|
|
1409
|
-
@field_remappings = {}
|
|
1410
|
-
end
|
|
1411
|
-
end
|
|
1412
|
-
|
|
1413
|
-
class Driver < ::Stripe::StripeObject
|
|
1414
|
-
# Driver's identification number.
|
|
1415
|
-
attr_reader :driver_identification_number
|
|
1416
|
-
# Driver's tax number.
|
|
1417
|
-
attr_reader :driver_tax_number
|
|
1418
|
-
# Full name of the driver on the reservation.
|
|
1419
|
-
attr_reader :name
|
|
1420
|
-
|
|
1421
|
-
def self.inner_class_types
|
|
1422
|
-
@inner_class_types = {}
|
|
1423
|
-
end
|
|
1424
|
-
|
|
1425
|
-
def self.field_remappings
|
|
1426
|
-
@field_remappings = {}
|
|
1427
|
-
end
|
|
1428
|
-
end
|
|
1429
|
-
|
|
1430
|
-
class PickupAddress < ::Stripe::StripeObject
|
|
1431
|
-
# City, district, suburb, town, or village.
|
|
1432
|
-
attr_reader :city
|
|
1433
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1434
|
-
attr_reader :country
|
|
1435
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1436
|
-
attr_reader :line1
|
|
1437
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1438
|
-
attr_reader :line2
|
|
1439
|
-
# ZIP or postal code.
|
|
1440
|
-
attr_reader :postal_code
|
|
1441
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1442
|
-
attr_reader :state
|
|
1443
|
-
|
|
1444
|
-
def self.inner_class_types
|
|
1445
|
-
@inner_class_types = {}
|
|
1446
|
-
end
|
|
1447
|
-
|
|
1448
|
-
def self.field_remappings
|
|
1449
|
-
@field_remappings = {}
|
|
1450
|
-
end
|
|
1451
|
-
end
|
|
1452
|
-
|
|
1453
|
-
class ReturnAddress < ::Stripe::StripeObject
|
|
1454
|
-
# City, district, suburb, town, or village.
|
|
1455
|
-
attr_reader :city
|
|
1456
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1457
|
-
attr_reader :country
|
|
1458
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1459
|
-
attr_reader :line1
|
|
1460
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1461
|
-
attr_reader :line2
|
|
1462
|
-
# ZIP or postal code.
|
|
1463
|
-
attr_reader :postal_code
|
|
1464
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1465
|
-
attr_reader :state
|
|
1466
|
-
|
|
1467
|
-
def self.inner_class_types
|
|
1468
|
-
@inner_class_types = {}
|
|
1469
|
-
end
|
|
1470
|
-
|
|
1471
|
-
def self.field_remappings
|
|
1472
|
-
@field_remappings = {}
|
|
1473
|
-
end
|
|
1474
|
-
end
|
|
1475
|
-
# Attribute for field affiliate
|
|
1476
|
-
attr_reader :affiliate
|
|
1477
|
-
# The booking number associated with the car rental.
|
|
1478
|
-
attr_reader :booking_number
|
|
1479
|
-
# Class code of the car.
|
|
1480
|
-
attr_reader :car_class_code
|
|
1481
|
-
# Make of the car.
|
|
1482
|
-
attr_reader :car_make
|
|
1483
|
-
# Model of the car.
|
|
1484
|
-
attr_reader :car_model
|
|
1485
|
-
# The name of the rental car company.
|
|
1486
|
-
attr_reader :company
|
|
1487
|
-
# The customer service phone number of the car rental company.
|
|
1488
|
-
attr_reader :customer_service_phone_number
|
|
1489
|
-
# Number of days the car is being rented.
|
|
1490
|
-
attr_reader :days_rented
|
|
1491
|
-
# Attribute for field delivery
|
|
1492
|
-
attr_reader :delivery
|
|
1493
|
-
# Attribute for field distance
|
|
1494
|
-
attr_reader :distance
|
|
1495
|
-
# The details of the drivers associated with the trip.
|
|
1496
|
-
attr_reader :drivers
|
|
1497
|
-
# List of additional charges being billed.
|
|
1498
|
-
attr_reader :extra_charges
|
|
1499
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1500
|
-
attr_reader :no_show
|
|
1501
|
-
# Attribute for field pickup_address
|
|
1502
|
-
attr_reader :pickup_address
|
|
1503
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1504
|
-
attr_reader :pickup_at
|
|
1505
|
-
# Name of the pickup location.
|
|
1506
|
-
attr_reader :pickup_location_name
|
|
1507
|
-
# Rental rate.
|
|
1508
|
-
attr_reader :rate_amount
|
|
1509
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1510
|
-
attr_reader :rate_interval
|
|
1511
|
-
# The full name of the person or entity renting the car.
|
|
1512
|
-
attr_reader :renter_name
|
|
1513
|
-
# Attribute for field return_address
|
|
1514
|
-
attr_reader :return_address
|
|
1515
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
1516
|
-
attr_reader :return_at
|
|
1517
|
-
# Name of the return location.
|
|
1518
|
-
attr_reader :return_location_name
|
|
1519
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1520
|
-
attr_reader :tax_exempt
|
|
1521
|
-
# The vehicle identification number of the car.
|
|
1522
|
-
attr_reader :vehicle_identification_number
|
|
1523
|
-
|
|
1524
|
-
def self.inner_class_types
|
|
1525
|
-
@inner_class_types = {
|
|
1526
|
-
affiliate: Affiliate,
|
|
1527
|
-
delivery: Delivery,
|
|
1528
|
-
distance: Distance,
|
|
1529
|
-
drivers: Driver,
|
|
1530
|
-
pickup_address: PickupAddress,
|
|
1531
|
-
return_address: ReturnAddress,
|
|
1532
|
-
}
|
|
1533
|
-
end
|
|
1534
|
-
|
|
1535
|
-
def self.field_remappings
|
|
1536
|
-
@field_remappings = {}
|
|
1537
|
-
end
|
|
1538
|
-
end
|
|
1539
|
-
|
|
1540
1289
|
class CarRentalDatum < ::Stripe::StripeObject
|
|
1541
1290
|
class Affiliate < ::Stripe::StripeObject
|
|
1542
1291
|
# Affiliate code.
|
|
@@ -1856,343 +1605,6 @@ module Stripe
|
|
|
1856
1605
|
end
|
|
1857
1606
|
end
|
|
1858
1607
|
|
|
1859
|
-
class EventDetails < ::Stripe::StripeObject
|
|
1860
|
-
class Address < ::Stripe::StripeObject
|
|
1861
|
-
# City, district, suburb, town, or village.
|
|
1862
|
-
attr_reader :city
|
|
1863
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1864
|
-
attr_reader :country
|
|
1865
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1866
|
-
attr_reader :line1
|
|
1867
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1868
|
-
attr_reader :line2
|
|
1869
|
-
# ZIP or postal code.
|
|
1870
|
-
attr_reader :postal_code
|
|
1871
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1872
|
-
attr_reader :state
|
|
1873
|
-
|
|
1874
|
-
def self.inner_class_types
|
|
1875
|
-
@inner_class_types = {}
|
|
1876
|
-
end
|
|
1877
|
-
|
|
1878
|
-
def self.field_remappings
|
|
1879
|
-
@field_remappings = {}
|
|
1880
|
-
end
|
|
1881
|
-
end
|
|
1882
|
-
|
|
1883
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1884
|
-
# The name of the affiliate that originated the purchase.
|
|
1885
|
-
attr_reader :name
|
|
1886
|
-
|
|
1887
|
-
def self.inner_class_types
|
|
1888
|
-
@inner_class_types = {}
|
|
1889
|
-
end
|
|
1890
|
-
|
|
1891
|
-
def self.field_remappings
|
|
1892
|
-
@field_remappings = {}
|
|
1893
|
-
end
|
|
1894
|
-
end
|
|
1895
|
-
|
|
1896
|
-
class Delivery < ::Stripe::StripeObject
|
|
1897
|
-
class Recipient < ::Stripe::StripeObject
|
|
1898
|
-
# The email of the recipient the ticket is delivered to.
|
|
1899
|
-
attr_reader :email
|
|
1900
|
-
# The name of the recipient the ticket is delivered to.
|
|
1901
|
-
attr_reader :name
|
|
1902
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1903
|
-
attr_reader :phone
|
|
1904
|
-
|
|
1905
|
-
def self.inner_class_types
|
|
1906
|
-
@inner_class_types = {}
|
|
1907
|
-
end
|
|
1908
|
-
|
|
1909
|
-
def self.field_remappings
|
|
1910
|
-
@field_remappings = {}
|
|
1911
|
-
end
|
|
1912
|
-
end
|
|
1913
|
-
# The delivery method for the payment
|
|
1914
|
-
attr_reader :mode
|
|
1915
|
-
# Attribute for field recipient
|
|
1916
|
-
attr_reader :recipient
|
|
1917
|
-
|
|
1918
|
-
def self.inner_class_types
|
|
1919
|
-
@inner_class_types = { recipient: Recipient }
|
|
1920
|
-
end
|
|
1921
|
-
|
|
1922
|
-
def self.field_remappings
|
|
1923
|
-
@field_remappings = {}
|
|
1924
|
-
end
|
|
1925
|
-
end
|
|
1926
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
1927
|
-
attr_reader :access_controlled_venue
|
|
1928
|
-
# Attribute for field address
|
|
1929
|
-
attr_reader :address
|
|
1930
|
-
# Attribute for field affiliate
|
|
1931
|
-
attr_reader :affiliate
|
|
1932
|
-
# The name of the company
|
|
1933
|
-
attr_reader :company
|
|
1934
|
-
# Attribute for field delivery
|
|
1935
|
-
attr_reader :delivery
|
|
1936
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
1937
|
-
attr_reader :ends_at
|
|
1938
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
1939
|
-
attr_reader :genre
|
|
1940
|
-
# The name of the event.
|
|
1941
|
-
attr_reader :name
|
|
1942
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
1943
|
-
attr_reader :starts_at
|
|
1944
|
-
|
|
1945
|
-
def self.inner_class_types
|
|
1946
|
-
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
1947
|
-
end
|
|
1948
|
-
|
|
1949
|
-
def self.field_remappings
|
|
1950
|
-
@field_remappings = {}
|
|
1951
|
-
end
|
|
1952
|
-
end
|
|
1953
|
-
|
|
1954
|
-
class FlightDatum < ::Stripe::StripeObject
|
|
1955
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1956
|
-
# Affiliate code.
|
|
1957
|
-
attr_reader :code
|
|
1958
|
-
# Affiliate name.
|
|
1959
|
-
attr_reader :name
|
|
1960
|
-
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1961
|
-
attr_reader :travel_authorization_code
|
|
1962
|
-
|
|
1963
|
-
def self.inner_class_types
|
|
1964
|
-
@inner_class_types = {}
|
|
1965
|
-
end
|
|
1966
|
-
|
|
1967
|
-
def self.field_remappings
|
|
1968
|
-
@field_remappings = {}
|
|
1969
|
-
end
|
|
1970
|
-
end
|
|
1971
|
-
|
|
1972
|
-
class Insurance < ::Stripe::StripeObject
|
|
1973
|
-
# Amount of the insurance.
|
|
1974
|
-
attr_reader :amount
|
|
1975
|
-
# Currency for the insurance price.
|
|
1976
|
-
attr_reader :currency
|
|
1977
|
-
# Name of the insurance company.
|
|
1978
|
-
attr_reader :insurance_company_name
|
|
1979
|
-
# Type of insurance.
|
|
1980
|
-
attr_reader :insurance_type
|
|
1981
|
-
|
|
1982
|
-
def self.inner_class_types
|
|
1983
|
-
@inner_class_types = {}
|
|
1984
|
-
end
|
|
1985
|
-
|
|
1986
|
-
def self.field_remappings
|
|
1987
|
-
@field_remappings = {}
|
|
1988
|
-
end
|
|
1989
|
-
end
|
|
1990
|
-
|
|
1991
|
-
class Passenger < ::Stripe::StripeObject
|
|
1992
|
-
# Full name of the passenger.
|
|
1993
|
-
attr_reader :name
|
|
1994
|
-
|
|
1995
|
-
def self.inner_class_types
|
|
1996
|
-
@inner_class_types = {}
|
|
1997
|
-
end
|
|
1998
|
-
|
|
1999
|
-
def self.field_remappings
|
|
2000
|
-
@field_remappings = {}
|
|
2001
|
-
end
|
|
2002
|
-
end
|
|
2003
|
-
|
|
2004
|
-
class Segment < ::Stripe::StripeObject
|
|
2005
|
-
class Arrival < ::Stripe::StripeObject
|
|
2006
|
-
# Arrival airport IATA code.
|
|
2007
|
-
attr_reader :airport
|
|
2008
|
-
# Arrival date and time.
|
|
2009
|
-
attr_reader :arrives_at
|
|
2010
|
-
# Arrival city.
|
|
2011
|
-
attr_reader :city
|
|
2012
|
-
# Arrival country.
|
|
2013
|
-
attr_reader :country
|
|
2014
|
-
|
|
2015
|
-
def self.inner_class_types
|
|
2016
|
-
@inner_class_types = {}
|
|
2017
|
-
end
|
|
2018
|
-
|
|
2019
|
-
def self.field_remappings
|
|
2020
|
-
@field_remappings = {}
|
|
2021
|
-
end
|
|
2022
|
-
end
|
|
2023
|
-
|
|
2024
|
-
class Departure < ::Stripe::StripeObject
|
|
2025
|
-
# Departure airport IATA code.
|
|
2026
|
-
attr_reader :airport
|
|
2027
|
-
# Departure city.
|
|
2028
|
-
attr_reader :city
|
|
2029
|
-
# Departure country.
|
|
2030
|
-
attr_reader :country
|
|
2031
|
-
# Departure date and time.
|
|
2032
|
-
attr_reader :departs_at
|
|
2033
|
-
|
|
2034
|
-
def self.inner_class_types
|
|
2035
|
-
@inner_class_types = {}
|
|
2036
|
-
end
|
|
2037
|
-
|
|
2038
|
-
def self.field_remappings
|
|
2039
|
-
@field_remappings = {}
|
|
2040
|
-
end
|
|
2041
|
-
end
|
|
2042
|
-
# Segment fare amount.
|
|
2043
|
-
attr_reader :amount
|
|
2044
|
-
# Attribute for field arrival
|
|
2045
|
-
attr_reader :arrival
|
|
2046
|
-
# Airline carrier code.
|
|
2047
|
-
attr_reader :carrier_code
|
|
2048
|
-
# Carrier name.
|
|
2049
|
-
attr_reader :carrier_name
|
|
2050
|
-
# Segment currency.
|
|
2051
|
-
attr_reader :currency
|
|
2052
|
-
# Attribute for field departure
|
|
2053
|
-
attr_reader :departure
|
|
2054
|
-
# Exchange ticket number.
|
|
2055
|
-
attr_reader :exchange_ticket_number
|
|
2056
|
-
# Fare basis code.
|
|
2057
|
-
attr_reader :fare_basis_code
|
|
2058
|
-
# Additional fees.
|
|
2059
|
-
attr_reader :fees
|
|
2060
|
-
# Flight number.
|
|
2061
|
-
attr_reader :flight_number
|
|
2062
|
-
# Stopover indicator.
|
|
2063
|
-
attr_reader :is_stop_over_indicator
|
|
2064
|
-
# Refundable ticket indicator.
|
|
2065
|
-
attr_reader :refundable
|
|
2066
|
-
# Class of service.
|
|
2067
|
-
attr_reader :service_class
|
|
2068
|
-
# Tax amount for segment.
|
|
2069
|
-
attr_reader :tax_amount
|
|
2070
|
-
# Ticket number.
|
|
2071
|
-
attr_reader :ticket_number
|
|
2072
|
-
|
|
2073
|
-
def self.inner_class_types
|
|
2074
|
-
@inner_class_types = { arrival: Arrival, departure: Departure }
|
|
2075
|
-
end
|
|
2076
|
-
|
|
2077
|
-
def self.field_remappings
|
|
2078
|
-
@field_remappings = {}
|
|
2079
|
-
end
|
|
2080
|
-
end
|
|
2081
|
-
|
|
2082
|
-
class Total < ::Stripe::StripeObject
|
|
2083
|
-
class Discounts < ::Stripe::StripeObject
|
|
2084
|
-
# Corporate client discount code.
|
|
2085
|
-
attr_reader :corporate_client_code
|
|
2086
|
-
|
|
2087
|
-
def self.inner_class_types
|
|
2088
|
-
@inner_class_types = {}
|
|
2089
|
-
end
|
|
2090
|
-
|
|
2091
|
-
def self.field_remappings
|
|
2092
|
-
@field_remappings = {}
|
|
2093
|
-
end
|
|
2094
|
-
end
|
|
2095
|
-
|
|
2096
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
2097
|
-
# Amount of the extra charge.
|
|
2098
|
-
attr_reader :amount
|
|
2099
|
-
# Type of extra charge.
|
|
2100
|
-
attr_reader :type
|
|
2101
|
-
|
|
2102
|
-
def self.inner_class_types
|
|
2103
|
-
@inner_class_types = {}
|
|
2104
|
-
end
|
|
2105
|
-
|
|
2106
|
-
def self.field_remappings
|
|
2107
|
-
@field_remappings = {}
|
|
2108
|
-
end
|
|
2109
|
-
end
|
|
2110
|
-
|
|
2111
|
-
class Tax < ::Stripe::StripeObject
|
|
2112
|
-
class TaxItem < ::Stripe::StripeObject
|
|
2113
|
-
# Tax amount.
|
|
2114
|
-
attr_reader :amount
|
|
2115
|
-
# Tax rate.
|
|
2116
|
-
attr_reader :rate
|
|
2117
|
-
# Type of tax.
|
|
2118
|
-
attr_reader :type
|
|
2119
|
-
|
|
2120
|
-
def self.inner_class_types
|
|
2121
|
-
@inner_class_types = {}
|
|
2122
|
-
end
|
|
2123
|
-
|
|
2124
|
-
def self.field_remappings
|
|
2125
|
-
@field_remappings = {}
|
|
2126
|
-
end
|
|
2127
|
-
end
|
|
2128
|
-
# Tax details.
|
|
2129
|
-
attr_reader :tax_items
|
|
2130
|
-
|
|
2131
|
-
def self.inner_class_types
|
|
2132
|
-
@inner_class_types = { tax_items: TaxItem }
|
|
2133
|
-
end
|
|
2134
|
-
|
|
2135
|
-
def self.field_remappings
|
|
2136
|
-
@field_remappings = {}
|
|
2137
|
-
end
|
|
2138
|
-
end
|
|
2139
|
-
# Total amount.
|
|
2140
|
-
attr_reader :amount
|
|
2141
|
-
# Reason for credit.
|
|
2142
|
-
attr_reader :credit_reason
|
|
2143
|
-
# Currency for the total amount.
|
|
2144
|
-
attr_reader :currency
|
|
2145
|
-
# Attribute for field discounts
|
|
2146
|
-
attr_reader :discounts
|
|
2147
|
-
# Additional charges for the flight.
|
|
2148
|
-
attr_reader :extra_charges
|
|
2149
|
-
# Attribute for field tax
|
|
2150
|
-
attr_reader :tax
|
|
2151
|
-
|
|
2152
|
-
def self.inner_class_types
|
|
2153
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2154
|
-
end
|
|
2155
|
-
|
|
2156
|
-
def self.field_remappings
|
|
2157
|
-
@field_remappings = {}
|
|
2158
|
-
end
|
|
2159
|
-
end
|
|
2160
|
-
# Attribute for field affiliate
|
|
2161
|
-
attr_reader :affiliate
|
|
2162
|
-
# The booking number associated with the flight reservation.
|
|
2163
|
-
attr_reader :booking_number
|
|
2164
|
-
# The computerized reservation system used to make the reservation and purchase the ticket.
|
|
2165
|
-
attr_reader :computerized_reservation_system
|
|
2166
|
-
# Ticket restrictions.
|
|
2167
|
-
attr_reader :endorsements_and_restrictions
|
|
2168
|
-
# Insurance details for the flight.
|
|
2169
|
-
attr_reader :insurances
|
|
2170
|
-
# The list of passengers for this flight.
|
|
2171
|
-
attr_reader :passengers
|
|
2172
|
-
# The list of flight segments for this reservation.
|
|
2173
|
-
attr_reader :segments
|
|
2174
|
-
# Electronic ticket indicator.
|
|
2175
|
-
attr_reader :ticket_electronically_issued_indicator
|
|
2176
|
-
# Attribute for field total
|
|
2177
|
-
attr_reader :total
|
|
2178
|
-
# Type of flight transaction.
|
|
2179
|
-
attr_reader :transaction_type
|
|
2180
|
-
|
|
2181
|
-
def self.inner_class_types
|
|
2182
|
-
@inner_class_types = {
|
|
2183
|
-
affiliate: Affiliate,
|
|
2184
|
-
insurances: Insurance,
|
|
2185
|
-
passengers: Passenger,
|
|
2186
|
-
segments: Segment,
|
|
2187
|
-
total: Total,
|
|
2188
|
-
}
|
|
2189
|
-
end
|
|
2190
|
-
|
|
2191
|
-
def self.field_remappings
|
|
2192
|
-
@field_remappings = {}
|
|
2193
|
-
end
|
|
2194
|
-
end
|
|
2195
|
-
|
|
2196
1608
|
class LodgingDatum < ::Stripe::StripeObject
|
|
2197
1609
|
class Accommodation < ::Stripe::StripeObject
|
|
2198
1610
|
# Type of accommodation.
|
|
@@ -2424,105 +1836,40 @@ module Stripe
|
|
|
2424
1836
|
# Renter ID number for the lodging.
|
|
2425
1837
|
attr_reader :renter_id_number
|
|
2426
1838
|
# Renter name for the lodging.
|
|
2427
|
-
attr_reader :renter_name
|
|
2428
|
-
# Attribute for field total
|
|
2429
|
-
attr_reader :total
|
|
2430
|
-
|
|
2431
|
-
def self.inner_class_types
|
|
2432
|
-
@inner_class_types = {
|
|
2433
|
-
accommodation: Accommodation,
|
|
2434
|
-
affiliate: Affiliate,
|
|
2435
|
-
guests: Guest,
|
|
2436
|
-
host: Host,
|
|
2437
|
-
insurances: Insurance,
|
|
2438
|
-
total: Total,
|
|
2439
|
-
}
|
|
2440
|
-
end
|
|
2441
|
-
|
|
2442
|
-
def self.field_remappings
|
|
2443
|
-
@field_remappings = {}
|
|
2444
|
-
end
|
|
2445
|
-
end
|
|
2446
|
-
|
|
2447
|
-
class Subscription < ::Stripe::StripeObject
|
|
2448
|
-
class Affiliate < ::Stripe::StripeObject
|
|
2449
|
-
# The name of the affiliate that originated the purchase.
|
|
2450
|
-
attr_reader :name
|
|
2451
|
-
|
|
2452
|
-
def self.inner_class_types
|
|
2453
|
-
@inner_class_types = {}
|
|
2454
|
-
end
|
|
2455
|
-
|
|
2456
|
-
def self.field_remappings
|
|
2457
|
-
@field_remappings = {}
|
|
2458
|
-
end
|
|
2459
|
-
end
|
|
2460
|
-
|
|
2461
|
-
class BillingInterval < ::Stripe::StripeObject
|
|
2462
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2463
|
-
attr_reader :count
|
|
2464
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2465
|
-
attr_reader :interval
|
|
2466
|
-
|
|
2467
|
-
def self.inner_class_types
|
|
2468
|
-
@inner_class_types = {}
|
|
2469
|
-
end
|
|
2470
|
-
|
|
2471
|
-
def self.field_remappings
|
|
2472
|
-
@field_remappings = {}
|
|
2473
|
-
end
|
|
2474
|
-
end
|
|
2475
|
-
# Attribute for field affiliate
|
|
2476
|
-
attr_reader :affiliate
|
|
2477
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
2478
|
-
attr_reader :auto_renewal
|
|
2479
|
-
# Attribute for field billing_interval
|
|
2480
|
-
attr_reader :billing_interval
|
|
2481
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2482
|
-
attr_reader :ends_at
|
|
2483
|
-
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
2484
|
-
attr_reader :name
|
|
2485
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2486
|
-
attr_reader :starts_at
|
|
1839
|
+
attr_reader :renter_name
|
|
1840
|
+
# Attribute for field total
|
|
1841
|
+
attr_reader :total
|
|
2487
1842
|
|
|
2488
1843
|
def self.inner_class_types
|
|
2489
|
-
@inner_class_types = {
|
|
1844
|
+
@inner_class_types = {
|
|
1845
|
+
accommodation: Accommodation,
|
|
1846
|
+
affiliate: Affiliate,
|
|
1847
|
+
guests: Guest,
|
|
1848
|
+
host: Host,
|
|
1849
|
+
insurances: Insurance,
|
|
1850
|
+
total: Total,
|
|
1851
|
+
}
|
|
2490
1852
|
end
|
|
2491
1853
|
|
|
2492
1854
|
def self.field_remappings
|
|
2493
1855
|
@field_remappings = {}
|
|
2494
1856
|
end
|
|
2495
1857
|
end
|
|
2496
|
-
# Attribute for field car_rental
|
|
2497
|
-
attr_reader :car_rental
|
|
2498
1858
|
# Attribute for field car_rental_data
|
|
2499
1859
|
attr_reader :car_rental_data
|
|
2500
1860
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
2501
1861
|
#
|
|
2502
1862
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
2503
1863
|
attr_reader :customer_reference
|
|
2504
|
-
# Attribute for field event_details
|
|
2505
|
-
attr_reader :event_details
|
|
2506
|
-
# Attribute for field flight_data
|
|
2507
|
-
attr_reader :flight_data
|
|
2508
1864
|
# Attribute for field lodging_data
|
|
2509
1865
|
attr_reader :lodging_data
|
|
2510
1866
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
2511
1867
|
#
|
|
2512
1868
|
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
2513
1869
|
attr_reader :order_reference
|
|
2514
|
-
# Attribute for field subscription
|
|
2515
|
-
attr_reader :subscription
|
|
2516
1870
|
|
|
2517
1871
|
def self.inner_class_types
|
|
2518
|
-
@inner_class_types = {
|
|
2519
|
-
car_rental: CarRental,
|
|
2520
|
-
car_rental_data: CarRentalDatum,
|
|
2521
|
-
event_details: EventDetails,
|
|
2522
|
-
flight_data: FlightDatum,
|
|
2523
|
-
lodging_data: LodgingDatum,
|
|
2524
|
-
subscription: Subscription,
|
|
2525
|
-
}
|
|
1872
|
+
@inner_class_types = { car_rental_data: CarRentalDatum, lodging_data: LodgingDatum }
|
|
2526
1873
|
end
|
|
2527
1874
|
|
|
2528
1875
|
def self.field_remappings
|
|
@@ -2972,43 +2319,6 @@ module Stripe
|
|
|
2972
2319
|
@field_remappings = {}
|
|
2973
2320
|
end
|
|
2974
2321
|
end
|
|
2975
|
-
|
|
2976
|
-
class StatementDetails < ::Stripe::StripeObject
|
|
2977
|
-
class Address < ::Stripe::StripeObject
|
|
2978
|
-
# City, district, suburb, town, or village.
|
|
2979
|
-
attr_reader :city
|
|
2980
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2981
|
-
attr_reader :country
|
|
2982
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
2983
|
-
attr_reader :line1
|
|
2984
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2985
|
-
attr_reader :line2
|
|
2986
|
-
# ZIP or postal code.
|
|
2987
|
-
attr_reader :postal_code
|
|
2988
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2989
|
-
attr_reader :state
|
|
2990
|
-
|
|
2991
|
-
def self.inner_class_types
|
|
2992
|
-
@inner_class_types = {}
|
|
2993
|
-
end
|
|
2994
|
-
|
|
2995
|
-
def self.field_remappings
|
|
2996
|
-
@field_remappings = {}
|
|
2997
|
-
end
|
|
2998
|
-
end
|
|
2999
|
-
# Attribute for field address
|
|
3000
|
-
attr_reader :address
|
|
3001
|
-
# Phone number
|
|
3002
|
-
attr_reader :phone
|
|
3003
|
-
|
|
3004
|
-
def self.inner_class_types
|
|
3005
|
-
@inner_class_types = { address: Address }
|
|
3006
|
-
end
|
|
3007
|
-
|
|
3008
|
-
def self.field_remappings
|
|
3009
|
-
@field_remappings = {}
|
|
3010
|
-
end
|
|
3011
|
-
end
|
|
3012
2322
|
# Controls when the funds will be captured from the customer's account.
|
|
3013
2323
|
attr_reader :capture_method
|
|
3014
2324
|
# Installment details for this payment.
|
|
@@ -3019,8 +2329,6 @@ module Stripe
|
|
|
3019
2329
|
attr_reader :mandate_options
|
|
3020
2330
|
# Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
|
3021
2331
|
attr_reader :network
|
|
3022
|
-
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3023
|
-
attr_reader :request_decremental_authorization
|
|
3024
2332
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
3025
2333
|
attr_reader :request_extended_authorization
|
|
3026
2334
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -3029,8 +2337,6 @@ module Stripe
|
|
|
3029
2337
|
attr_reader :request_multicapture
|
|
3030
2338
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
3031
2339
|
attr_reader :request_overcapture
|
|
3032
|
-
# Request partial authorization on this PaymentIntent.
|
|
3033
|
-
attr_reader :request_partial_authorization
|
|
3034
2340
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
3035
2341
|
attr_reader :request_three_d_secure
|
|
3036
2342
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -3049,17 +2355,11 @@ module Stripe
|
|
|
3049
2355
|
attr_reader :statement_descriptor_suffix_kana
|
|
3050
2356
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
3051
2357
|
attr_reader :statement_descriptor_suffix_kanji
|
|
3052
|
-
# Attribute for field statement_details
|
|
3053
|
-
attr_reader :statement_details
|
|
3054
2358
|
# Selected usage to indicate the transaction type of the off-session payment.
|
|
3055
2359
|
attr_reader :stored_credential_usage
|
|
3056
2360
|
|
|
3057
2361
|
def self.inner_class_types
|
|
3058
|
-
@inner_class_types = {
|
|
3059
|
-
installments: Installments,
|
|
3060
|
-
mandate_options: MandateOptions,
|
|
3061
|
-
statement_details: StatementDetails,
|
|
3062
|
-
}
|
|
2362
|
+
@inner_class_types = { installments: Installments, mandate_options: MandateOptions }
|
|
3063
2363
|
end
|
|
3064
2364
|
|
|
3065
2365
|
def self.field_remappings
|
|
@@ -3248,25 +2548,6 @@ module Stripe
|
|
|
3248
2548
|
end
|
|
3249
2549
|
end
|
|
3250
2550
|
|
|
3251
|
-
class Gopay < ::Stripe::StripeObject
|
|
3252
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3253
|
-
#
|
|
3254
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3255
|
-
#
|
|
3256
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3257
|
-
#
|
|
3258
|
-
# 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).
|
|
3259
|
-
attr_reader :setup_future_usage
|
|
3260
|
-
|
|
3261
|
-
def self.inner_class_types
|
|
3262
|
-
@inner_class_types = {}
|
|
3263
|
-
end
|
|
3264
|
-
|
|
3265
|
-
def self.field_remappings
|
|
3266
|
-
@field_remappings = {}
|
|
3267
|
-
end
|
|
3268
|
-
end
|
|
3269
|
-
|
|
3270
2551
|
class Grabpay < ::Stripe::StripeObject
|
|
3271
2552
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3272
2553
|
#
|
|
@@ -3286,29 +2567,6 @@ module Stripe
|
|
|
3286
2567
|
end
|
|
3287
2568
|
end
|
|
3288
2569
|
|
|
3289
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
3290
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
3291
|
-
attr_reader :expires_after
|
|
3292
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
3293
|
-
attr_reader :expires_at
|
|
3294
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3295
|
-
#
|
|
3296
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3297
|
-
#
|
|
3298
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3299
|
-
#
|
|
3300
|
-
# 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).
|
|
3301
|
-
attr_reader :setup_future_usage
|
|
3302
|
-
|
|
3303
|
-
def self.inner_class_types
|
|
3304
|
-
@inner_class_types = {}
|
|
3305
|
-
end
|
|
3306
|
-
|
|
3307
|
-
def self.field_remappings
|
|
3308
|
-
@field_remappings = {}
|
|
3309
|
-
end
|
|
3310
|
-
end
|
|
3311
|
-
|
|
3312
2570
|
class Ideal < ::Stripe::StripeObject
|
|
3313
2571
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3314
2572
|
#
|
|
@@ -3645,56 +2903,12 @@ module Stripe
|
|
|
3645
2903
|
end
|
|
3646
2904
|
|
|
3647
2905
|
class Paypal < ::Stripe::StripeObject
|
|
3648
|
-
class LineItem < ::Stripe::StripeObject
|
|
3649
|
-
class Tax < ::Stripe::StripeObject
|
|
3650
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3651
|
-
attr_reader :amount
|
|
3652
|
-
# The tax behavior for the line item.
|
|
3653
|
-
attr_reader :behavior
|
|
3654
|
-
|
|
3655
|
-
def self.inner_class_types
|
|
3656
|
-
@inner_class_types = {}
|
|
3657
|
-
end
|
|
3658
|
-
|
|
3659
|
-
def self.field_remappings
|
|
3660
|
-
@field_remappings = {}
|
|
3661
|
-
end
|
|
3662
|
-
end
|
|
3663
|
-
# Type of the line item.
|
|
3664
|
-
attr_reader :category
|
|
3665
|
-
# Description of the line item.
|
|
3666
|
-
attr_reader :description
|
|
3667
|
-
# Descriptive name of the line item.
|
|
3668
|
-
attr_reader :name
|
|
3669
|
-
# Quantity of the line item. Cannot be a negative number.
|
|
3670
|
-
attr_reader :quantity
|
|
3671
|
-
# Client facing stock keeping unit, article number or similar.
|
|
3672
|
-
attr_reader :sku
|
|
3673
|
-
# The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
3674
|
-
attr_reader :sold_by
|
|
3675
|
-
# Attribute for field tax
|
|
3676
|
-
attr_reader :tax
|
|
3677
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3678
|
-
attr_reader :unit_amount
|
|
3679
|
-
|
|
3680
|
-
def self.inner_class_types
|
|
3681
|
-
@inner_class_types = { tax: Tax }
|
|
3682
|
-
end
|
|
3683
|
-
|
|
3684
|
-
def self.field_remappings
|
|
3685
|
-
@field_remappings = {}
|
|
3686
|
-
end
|
|
3687
|
-
end
|
|
3688
2906
|
# Controls when the funds will be captured from the customer's account.
|
|
3689
2907
|
attr_reader :capture_method
|
|
3690
|
-
# The line items purchased by the customer.
|
|
3691
|
-
attr_reader :line_items
|
|
3692
2908
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
3693
2909
|
attr_reader :preferred_locale
|
|
3694
2910
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3695
2911
|
attr_reader :reference
|
|
3696
|
-
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3697
|
-
attr_reader :reference_id
|
|
3698
2912
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3699
2913
|
#
|
|
3700
2914
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -3703,11 +2917,9 @@ module Stripe
|
|
|
3703
2917
|
#
|
|
3704
2918
|
# 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).
|
|
3705
2919
|
attr_reader :setup_future_usage
|
|
3706
|
-
# 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.
|
|
3707
|
-
attr_reader :subsellers
|
|
3708
2920
|
|
|
3709
2921
|
def self.inner_class_types
|
|
3710
|
-
@inner_class_types = {
|
|
2922
|
+
@inner_class_types = {}
|
|
3711
2923
|
end
|
|
3712
2924
|
|
|
3713
2925
|
def self.field_remappings
|
|
@@ -3840,35 +3052,6 @@ module Stripe
|
|
|
3840
3052
|
end
|
|
3841
3053
|
end
|
|
3842
3054
|
|
|
3843
|
-
class Qris < ::Stripe::StripeObject
|
|
3844
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3845
|
-
#
|
|
3846
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3847
|
-
#
|
|
3848
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3849
|
-
#
|
|
3850
|
-
# 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).
|
|
3851
|
-
attr_reader :setup_future_usage
|
|
3852
|
-
|
|
3853
|
-
def self.inner_class_types
|
|
3854
|
-
@inner_class_types = {}
|
|
3855
|
-
end
|
|
3856
|
-
|
|
3857
|
-
def self.field_remappings
|
|
3858
|
-
@field_remappings = {}
|
|
3859
|
-
end
|
|
3860
|
-
end
|
|
3861
|
-
|
|
3862
|
-
class Rechnung < ::Stripe::StripeObject
|
|
3863
|
-
def self.inner_class_types
|
|
3864
|
-
@inner_class_types = {}
|
|
3865
|
-
end
|
|
3866
|
-
|
|
3867
|
-
def self.field_remappings
|
|
3868
|
-
@field_remappings = {}
|
|
3869
|
-
end
|
|
3870
|
-
end
|
|
3871
|
-
|
|
3872
3055
|
class RevolutPay < ::Stripe::StripeObject
|
|
3873
3056
|
# Controls when the funds will be captured from the customer's account.
|
|
3874
3057
|
attr_reader :capture_method
|
|
@@ -4001,25 +3184,6 @@ module Stripe
|
|
|
4001
3184
|
end
|
|
4002
3185
|
end
|
|
4003
3186
|
|
|
4004
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
4005
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4006
|
-
#
|
|
4007
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
4008
|
-
#
|
|
4009
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
4010
|
-
#
|
|
4011
|
-
# 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).
|
|
4012
|
-
attr_reader :setup_future_usage
|
|
4013
|
-
|
|
4014
|
-
def self.inner_class_types
|
|
4015
|
-
@inner_class_types = {}
|
|
4016
|
-
end
|
|
4017
|
-
|
|
4018
|
-
def self.field_remappings
|
|
4019
|
-
@field_remappings = {}
|
|
4020
|
-
end
|
|
4021
|
-
end
|
|
4022
|
-
|
|
4023
3187
|
class Sofort < ::Stripe::StripeObject
|
|
4024
3188
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
4025
3189
|
attr_reader :preferred_language
|
|
@@ -4041,25 +3205,6 @@ module Stripe
|
|
|
4041
3205
|
end
|
|
4042
3206
|
end
|
|
4043
3207
|
|
|
4044
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
4045
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4046
|
-
#
|
|
4047
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
4048
|
-
#
|
|
4049
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
4050
|
-
#
|
|
4051
|
-
# 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).
|
|
4052
|
-
attr_reader :setup_future_usage
|
|
4053
|
-
|
|
4054
|
-
def self.inner_class_types
|
|
4055
|
-
@inner_class_types = {}
|
|
4056
|
-
end
|
|
4057
|
-
|
|
4058
|
-
def self.field_remappings
|
|
4059
|
-
@field_remappings = {}
|
|
4060
|
-
end
|
|
4061
|
-
end
|
|
4062
|
-
|
|
4063
3208
|
class Sunbit < ::Stripe::StripeObject
|
|
4064
3209
|
# Controls when the funds will be captured from the customer's account.
|
|
4065
3210
|
attr_reader :capture_method
|
|
@@ -4145,21 +3290,6 @@ module Stripe
|
|
|
4145
3290
|
class Filters < ::Stripe::StripeObject
|
|
4146
3291
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
4147
3292
|
attr_reader :account_subcategories
|
|
4148
|
-
# The institution to use to filter for possible accounts to link.
|
|
4149
|
-
attr_reader :institution
|
|
4150
|
-
|
|
4151
|
-
def self.inner_class_types
|
|
4152
|
-
@inner_class_types = {}
|
|
4153
|
-
end
|
|
4154
|
-
|
|
4155
|
-
def self.field_remappings
|
|
4156
|
-
@field_remappings = {}
|
|
4157
|
-
end
|
|
4158
|
-
end
|
|
4159
|
-
|
|
4160
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
4161
|
-
# Settings for configuring manual entry of account details.
|
|
4162
|
-
attr_reader :mode
|
|
4163
3293
|
|
|
4164
3294
|
def self.inner_class_types
|
|
4165
3295
|
@inner_class_types = {}
|
|
@@ -4171,8 +3301,6 @@ module Stripe
|
|
|
4171
3301
|
end
|
|
4172
3302
|
# Attribute for field filters
|
|
4173
3303
|
attr_reader :filters
|
|
4174
|
-
# Attribute for field manual_entry
|
|
4175
|
-
attr_reader :manual_entry
|
|
4176
3304
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
4177
3305
|
attr_reader :permissions
|
|
4178
3306
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -4181,7 +3309,7 @@ module Stripe
|
|
|
4181
3309
|
attr_reader :return_url
|
|
4182
3310
|
|
|
4183
3311
|
def self.inner_class_types
|
|
4184
|
-
@inner_class_types = { filters: Filters
|
|
3312
|
+
@inner_class_types = { filters: Filters }
|
|
4185
3313
|
end
|
|
4186
3314
|
|
|
4187
3315
|
def self.field_remappings
|
|
@@ -4255,25 +3383,6 @@ module Stripe
|
|
|
4255
3383
|
end
|
|
4256
3384
|
end
|
|
4257
3385
|
|
|
4258
|
-
class Wero < ::Stripe::StripeObject
|
|
4259
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4260
|
-
#
|
|
4261
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
4262
|
-
#
|
|
4263
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
4264
|
-
#
|
|
4265
|
-
# 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).
|
|
4266
|
-
attr_reader :setup_future_usage
|
|
4267
|
-
|
|
4268
|
-
def self.inner_class_types
|
|
4269
|
-
@inner_class_types = {}
|
|
4270
|
-
end
|
|
4271
|
-
|
|
4272
|
-
def self.field_remappings
|
|
4273
|
-
@field_remappings = {}
|
|
4274
|
-
end
|
|
4275
|
-
end
|
|
4276
|
-
|
|
4277
3386
|
class Zip < ::Stripe::StripeObject
|
|
4278
3387
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4279
3388
|
#
|
|
@@ -4334,12 +3443,8 @@ module Stripe
|
|
|
4334
3443
|
attr_reader :fpx
|
|
4335
3444
|
# Attribute for field giropay
|
|
4336
3445
|
attr_reader :giropay
|
|
4337
|
-
# Attribute for field gopay
|
|
4338
|
-
attr_reader :gopay
|
|
4339
3446
|
# Attribute for field grabpay
|
|
4340
3447
|
attr_reader :grabpay
|
|
4341
|
-
# Attribute for field id_bank_transfer
|
|
4342
|
-
attr_reader :id_bank_transfer
|
|
4343
3448
|
# Attribute for field ideal
|
|
4344
3449
|
attr_reader :ideal
|
|
4345
3450
|
# Attribute for field interac_present
|
|
@@ -4384,10 +3489,6 @@ module Stripe
|
|
|
4384
3489
|
attr_reader :pix
|
|
4385
3490
|
# Attribute for field promptpay
|
|
4386
3491
|
attr_reader :promptpay
|
|
4387
|
-
# Attribute for field qris
|
|
4388
|
-
attr_reader :qris
|
|
4389
|
-
# Attribute for field rechnung
|
|
4390
|
-
attr_reader :rechnung
|
|
4391
3492
|
# Attribute for field revolut_pay
|
|
4392
3493
|
attr_reader :revolut_pay
|
|
4393
3494
|
# Attribute for field samsung_pay
|
|
@@ -4400,12 +3501,8 @@ module Stripe
|
|
|
4400
3501
|
attr_reader :sepa_debit
|
|
4401
3502
|
# Attribute for field sequra
|
|
4402
3503
|
attr_reader :sequra
|
|
4403
|
-
# Attribute for field shopeepay
|
|
4404
|
-
attr_reader :shopeepay
|
|
4405
3504
|
# Attribute for field sofort
|
|
4406
3505
|
attr_reader :sofort
|
|
4407
|
-
# Attribute for field stripe_balance
|
|
4408
|
-
attr_reader :stripe_balance
|
|
4409
3506
|
# Attribute for field sunbit
|
|
4410
3507
|
attr_reader :sunbit
|
|
4411
3508
|
# Attribute for field swish
|
|
@@ -4418,8 +3515,6 @@ module Stripe
|
|
|
4418
3515
|
attr_reader :us_bank_account
|
|
4419
3516
|
# Attribute for field wechat_pay
|
|
4420
3517
|
attr_reader :wechat_pay
|
|
4421
|
-
# Attribute for field wero
|
|
4422
|
-
attr_reader :wero
|
|
4423
3518
|
# Attribute for field zip
|
|
4424
3519
|
attr_reader :zip
|
|
4425
3520
|
|
|
@@ -4446,9 +3541,7 @@ module Stripe
|
|
|
4446
3541
|
eps: Eps,
|
|
4447
3542
|
fpx: Fpx,
|
|
4448
3543
|
giropay: Giropay,
|
|
4449
|
-
gopay: Gopay,
|
|
4450
3544
|
grabpay: Grabpay,
|
|
4451
|
-
id_bank_transfer: IdBankTransfer,
|
|
4452
3545
|
ideal: Ideal,
|
|
4453
3546
|
interac_present: InteracPresent,
|
|
4454
3547
|
kakao_pay: KakaoPay,
|
|
@@ -4471,24 +3564,19 @@ module Stripe
|
|
|
4471
3564
|
payto: Payto,
|
|
4472
3565
|
pix: Pix,
|
|
4473
3566
|
promptpay: Promptpay,
|
|
4474
|
-
qris: Qris,
|
|
4475
|
-
rechnung: Rechnung,
|
|
4476
3567
|
revolut_pay: RevolutPay,
|
|
4477
3568
|
samsung_pay: SamsungPay,
|
|
4478
3569
|
satispay: Satispay,
|
|
4479
3570
|
scalapay: Scalapay,
|
|
4480
3571
|
sepa_debit: SepaDebit,
|
|
4481
3572
|
sequra: Sequra,
|
|
4482
|
-
shopeepay: Shopeepay,
|
|
4483
3573
|
sofort: Sofort,
|
|
4484
|
-
stripe_balance: StripeBalance,
|
|
4485
3574
|
sunbit: Sunbit,
|
|
4486
3575
|
swish: Swish,
|
|
4487
3576
|
twint: Twint,
|
|
4488
3577
|
upi: Upi,
|
|
4489
3578
|
us_bank_account: UsBankAccount,
|
|
4490
3579
|
wechat_pay: WechatPay,
|
|
4491
|
-
wero: Wero,
|
|
4492
3580
|
zip: Zip,
|
|
4493
3581
|
}
|
|
4494
3582
|
end
|
|
@@ -4554,19 +3642,6 @@ module Stripe
|
|
|
4554
3642
|
end
|
|
4555
3643
|
end
|
|
4556
3644
|
|
|
4557
|
-
class Redaction < ::Stripe::StripeObject
|
|
4558
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
4559
|
-
attr_reader :status
|
|
4560
|
-
|
|
4561
|
-
def self.inner_class_types
|
|
4562
|
-
@inner_class_types = {}
|
|
4563
|
-
end
|
|
4564
|
-
|
|
4565
|
-
def self.field_remappings
|
|
4566
|
-
@field_remappings = {}
|
|
4567
|
-
end
|
|
4568
|
-
end
|
|
4569
|
-
|
|
4570
3645
|
class Shipping < ::Stripe::StripeObject
|
|
4571
3646
|
class Address < ::Stripe::StripeObject
|
|
4572
3647
|
# City, district, suburb, town, or village.
|
|
@@ -4660,8 +3735,6 @@ module Stripe
|
|
|
4660
3735
|
attr_reader :application
|
|
4661
3736
|
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
4662
3737
|
attr_reader :application_fee_amount
|
|
4663
|
-
# Attribute for field async_workflows
|
|
4664
|
-
attr_reader :async_workflows
|
|
4665
3738
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
4666
3739
|
attr_reader :automatic_payment_methods
|
|
4667
3740
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -4698,8 +3771,6 @@ module Stripe
|
|
|
4698
3771
|
attr_reader :description
|
|
4699
3772
|
# The list of payment method types to exclude from use with this payment.
|
|
4700
3773
|
attr_reader :excluded_payment_method_types
|
|
4701
|
-
# The FX Quote used for the PaymentIntent.
|
|
4702
|
-
attr_reader :fx_quote
|
|
4703
3774
|
# Attribute for field hooks
|
|
4704
3775
|
attr_reader :hooks
|
|
4705
3776
|
# Unique identifier for the object.
|
|
@@ -4739,12 +3810,8 @@ module Stripe
|
|
|
4739
3810
|
attr_reader :processing
|
|
4740
3811
|
# Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
4741
3812
|
attr_reader :receipt_email
|
|
4742
|
-
# Redaction status of this PaymentIntent. If the PaymentIntent isn't redacted, this field is null.
|
|
4743
|
-
attr_reader :redaction
|
|
4744
3813
|
# ID of the review associated with this PaymentIntent, if any.
|
|
4745
3814
|
attr_reader :review
|
|
4746
|
-
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
4747
|
-
attr_reader :secret_key_confirmation
|
|
4748
3815
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4749
3816
|
#
|
|
4750
3817
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -4938,56 +4005,6 @@ module Stripe
|
|
|
4938
4005
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
4939
4006
|
end
|
|
4940
4007
|
|
|
4941
|
-
# Perform a decremental authorization on an eligible
|
|
4942
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4943
|
-
# PaymentIntent's status must be requires_capture and
|
|
4944
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4945
|
-
# must be available.
|
|
4946
|
-
#
|
|
4947
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4948
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4949
|
-
#
|
|
4950
|
-
# After decrement, the PaymentIntent object
|
|
4951
|
-
# returns with the updated
|
|
4952
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4953
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4954
|
-
#
|
|
4955
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4956
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4957
|
-
def decrement_authorization(params = {}, opts = {})
|
|
4958
|
-
request_stripe_object(
|
|
4959
|
-
method: :post,
|
|
4960
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
4961
|
-
params: params,
|
|
4962
|
-
opts: opts
|
|
4963
|
-
)
|
|
4964
|
-
end
|
|
4965
|
-
|
|
4966
|
-
# Perform a decremental authorization on an eligible
|
|
4967
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4968
|
-
# PaymentIntent's status must be requires_capture and
|
|
4969
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4970
|
-
# must be available.
|
|
4971
|
-
#
|
|
4972
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4973
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4974
|
-
#
|
|
4975
|
-
# After decrement, the PaymentIntent object
|
|
4976
|
-
# returns with the updated
|
|
4977
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4978
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4979
|
-
#
|
|
4980
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4981
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4982
|
-
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
4983
|
-
request_stripe_object(
|
|
4984
|
-
method: :post,
|
|
4985
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
4986
|
-
params: params,
|
|
4987
|
-
opts: opts
|
|
4988
|
-
)
|
|
4989
|
-
end
|
|
4990
|
-
|
|
4991
4008
|
# Perform an incremental authorization on an eligible
|
|
4992
4009
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4993
4010
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -5076,26 +4093,6 @@ module Stripe
|
|
|
5076
4093
|
search(params, opts).auto_paging_each(&blk)
|
|
5077
4094
|
end
|
|
5078
4095
|
|
|
5079
|
-
# Trigger an external action on a PaymentIntent.
|
|
5080
|
-
def trigger_action(params = {}, opts = {})
|
|
5081
|
-
request_stripe_object(
|
|
5082
|
-
method: :post,
|
|
5083
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
5084
|
-
params: params,
|
|
5085
|
-
opts: opts
|
|
5086
|
-
)
|
|
5087
|
-
end
|
|
5088
|
-
|
|
5089
|
-
# Trigger an external action on a PaymentIntent.
|
|
5090
|
-
def self.trigger_action(intent, params = {}, opts = {})
|
|
5091
|
-
request_stripe_object(
|
|
5092
|
-
method: :post,
|
|
5093
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
5094
|
-
params: params,
|
|
5095
|
-
opts: opts
|
|
5096
|
-
)
|
|
5097
|
-
end
|
|
5098
|
-
|
|
5099
4096
|
# Updates properties on a PaymentIntent object without confirming.
|
|
5100
4097
|
#
|
|
5101
4098
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -5135,7 +4132,6 @@ module Stripe
|
|
|
5135
4132
|
def self.inner_class_types
|
|
5136
4133
|
@inner_class_types = {
|
|
5137
4134
|
amount_details: AmountDetails,
|
|
5138
|
-
async_workflows: AsyncWorkflows,
|
|
5139
4135
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
5140
4136
|
hooks: Hooks,
|
|
5141
4137
|
last_payment_error: LastPaymentError,
|
|
@@ -5146,7 +4142,6 @@ module Stripe
|
|
|
5146
4142
|
payment_method_options: PaymentMethodOptions,
|
|
5147
4143
|
presentment_details: PresentmentDetails,
|
|
5148
4144
|
processing: Processing,
|
|
5149
|
-
redaction: Redaction,
|
|
5150
4145
|
shipping: Shipping,
|
|
5151
4146
|
transfer_data: TransferData,
|
|
5152
4147
|
}
|