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
|
@@ -145,18 +145,6 @@ module Stripe
|
|
|
145
145
|
end
|
|
146
146
|
end
|
|
147
147
|
|
|
148
|
-
class Surcharge < ::Stripe::RequestParams
|
|
149
|
-
# Portion of the amount that corresponds to a surcharge.
|
|
150
|
-
attr_accessor :amount
|
|
151
|
-
# Indicate whether to enforce validations on the surcharge amount.
|
|
152
|
-
attr_accessor :enforce_validation
|
|
153
|
-
|
|
154
|
-
def initialize(amount: nil, enforce_validation: nil)
|
|
155
|
-
@amount = amount
|
|
156
|
-
@enforce_validation = enforce_validation
|
|
157
|
-
end
|
|
158
|
-
end
|
|
159
|
-
|
|
160
148
|
class Tax < ::Stripe::RequestParams
|
|
161
149
|
# 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.
|
|
162
150
|
#
|
|
@@ -181,8 +169,6 @@ module Stripe
|
|
|
181
169
|
attr_accessor :line_items
|
|
182
170
|
# Contains information about the shipping portion of the amount.
|
|
183
171
|
attr_accessor :shipping
|
|
184
|
-
# Contains information about the surcharge portion of the amount.
|
|
185
|
-
attr_accessor :surcharge
|
|
186
172
|
# Contains information about the tax portion of the amount.
|
|
187
173
|
attr_accessor :tax
|
|
188
174
|
|
|
@@ -191,14 +177,12 @@ module Stripe
|
|
|
191
177
|
enforce_arithmetic_validation: nil,
|
|
192
178
|
line_items: nil,
|
|
193
179
|
shipping: nil,
|
|
194
|
-
surcharge: nil,
|
|
195
180
|
tax: nil
|
|
196
181
|
)
|
|
197
182
|
@discount_amount = discount_amount
|
|
198
183
|
@enforce_arithmetic_validation = enforce_arithmetic_validation
|
|
199
184
|
@line_items = line_items
|
|
200
185
|
@shipping = shipping
|
|
201
|
-
@surcharge = surcharge
|
|
202
186
|
@tax = tax
|
|
203
187
|
end
|
|
204
188
|
end
|
|
@@ -268,232 +252,6 @@ module Stripe
|
|
|
268
252
|
end
|
|
269
253
|
|
|
270
254
|
class PaymentDetails < ::Stripe::RequestParams
|
|
271
|
-
class CarRental < ::Stripe::RequestParams
|
|
272
|
-
class Affiliate < ::Stripe::RequestParams
|
|
273
|
-
# The name of the affiliate that originated the purchase.
|
|
274
|
-
attr_accessor :name
|
|
275
|
-
|
|
276
|
-
def initialize(name: nil)
|
|
277
|
-
@name = name
|
|
278
|
-
end
|
|
279
|
-
end
|
|
280
|
-
|
|
281
|
-
class Delivery < ::Stripe::RequestParams
|
|
282
|
-
class Recipient < ::Stripe::RequestParams
|
|
283
|
-
# The email of the recipient the ticket is delivered to.
|
|
284
|
-
attr_accessor :email
|
|
285
|
-
# The name of the recipient the ticket is delivered to.
|
|
286
|
-
attr_accessor :name
|
|
287
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
288
|
-
attr_accessor :phone
|
|
289
|
-
|
|
290
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
291
|
-
@email = email
|
|
292
|
-
@name = name
|
|
293
|
-
@phone = phone
|
|
294
|
-
end
|
|
295
|
-
end
|
|
296
|
-
# The delivery method for the payment
|
|
297
|
-
attr_accessor :mode
|
|
298
|
-
# Details of the recipient.
|
|
299
|
-
attr_accessor :recipient
|
|
300
|
-
|
|
301
|
-
def initialize(mode: nil, recipient: nil)
|
|
302
|
-
@mode = mode
|
|
303
|
-
@recipient = recipient
|
|
304
|
-
end
|
|
305
|
-
end
|
|
306
|
-
|
|
307
|
-
class Distance < ::Stripe::RequestParams
|
|
308
|
-
# Distance traveled.
|
|
309
|
-
attr_accessor :amount
|
|
310
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
311
|
-
attr_accessor :unit
|
|
312
|
-
|
|
313
|
-
def initialize(amount: nil, unit: nil)
|
|
314
|
-
@amount = amount
|
|
315
|
-
@unit = unit
|
|
316
|
-
end
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
class Driver < ::Stripe::RequestParams
|
|
320
|
-
# Driver's identification number.
|
|
321
|
-
attr_accessor :driver_identification_number
|
|
322
|
-
# Driver's tax number.
|
|
323
|
-
attr_accessor :driver_tax_number
|
|
324
|
-
# Full name of the person or entity on the car reservation.
|
|
325
|
-
attr_accessor :name
|
|
326
|
-
|
|
327
|
-
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
328
|
-
@driver_identification_number = driver_identification_number
|
|
329
|
-
@driver_tax_number = driver_tax_number
|
|
330
|
-
@name = name
|
|
331
|
-
end
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
class PickupAddress < ::Stripe::RequestParams
|
|
335
|
-
# City, district, suburb, town, or village.
|
|
336
|
-
attr_accessor :city
|
|
337
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
338
|
-
attr_accessor :country
|
|
339
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
340
|
-
attr_accessor :line1
|
|
341
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
342
|
-
attr_accessor :line2
|
|
343
|
-
# ZIP or postal code.
|
|
344
|
-
attr_accessor :postal_code
|
|
345
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
346
|
-
attr_accessor :state
|
|
347
|
-
|
|
348
|
-
def initialize(
|
|
349
|
-
city: nil,
|
|
350
|
-
country: nil,
|
|
351
|
-
line1: nil,
|
|
352
|
-
line2: nil,
|
|
353
|
-
postal_code: nil,
|
|
354
|
-
state: nil
|
|
355
|
-
)
|
|
356
|
-
@city = city
|
|
357
|
-
@country = country
|
|
358
|
-
@line1 = line1
|
|
359
|
-
@line2 = line2
|
|
360
|
-
@postal_code = postal_code
|
|
361
|
-
@state = state
|
|
362
|
-
end
|
|
363
|
-
end
|
|
364
|
-
|
|
365
|
-
class ReturnAddress < ::Stripe::RequestParams
|
|
366
|
-
# City, district, suburb, town, or village.
|
|
367
|
-
attr_accessor :city
|
|
368
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
369
|
-
attr_accessor :country
|
|
370
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
371
|
-
attr_accessor :line1
|
|
372
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
373
|
-
attr_accessor :line2
|
|
374
|
-
# ZIP or postal code.
|
|
375
|
-
attr_accessor :postal_code
|
|
376
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
377
|
-
attr_accessor :state
|
|
378
|
-
|
|
379
|
-
def initialize(
|
|
380
|
-
city: nil,
|
|
381
|
-
country: nil,
|
|
382
|
-
line1: nil,
|
|
383
|
-
line2: nil,
|
|
384
|
-
postal_code: nil,
|
|
385
|
-
state: nil
|
|
386
|
-
)
|
|
387
|
-
@city = city
|
|
388
|
-
@country = country
|
|
389
|
-
@line1 = line1
|
|
390
|
-
@line2 = line2
|
|
391
|
-
@postal_code = postal_code
|
|
392
|
-
@state = state
|
|
393
|
-
end
|
|
394
|
-
end
|
|
395
|
-
# Affiliate details for this purchase.
|
|
396
|
-
attr_accessor :affiliate
|
|
397
|
-
# The booking number associated with the car rental.
|
|
398
|
-
attr_accessor :booking_number
|
|
399
|
-
# Class code of the car.
|
|
400
|
-
attr_accessor :car_class_code
|
|
401
|
-
# Make of the car.
|
|
402
|
-
attr_accessor :car_make
|
|
403
|
-
# Model of the car.
|
|
404
|
-
attr_accessor :car_model
|
|
405
|
-
# The name of the rental car company.
|
|
406
|
-
attr_accessor :company
|
|
407
|
-
# The customer service phone number of the car rental company.
|
|
408
|
-
attr_accessor :customer_service_phone_number
|
|
409
|
-
# Number of days the car is being rented.
|
|
410
|
-
attr_accessor :days_rented
|
|
411
|
-
# Delivery details for this purchase.
|
|
412
|
-
attr_accessor :delivery
|
|
413
|
-
# The details of the distance traveled during the rental period.
|
|
414
|
-
attr_accessor :distance
|
|
415
|
-
# The details of the passengers in the travel reservation
|
|
416
|
-
attr_accessor :drivers
|
|
417
|
-
# List of additional charges being billed.
|
|
418
|
-
attr_accessor :extra_charges
|
|
419
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
420
|
-
attr_accessor :no_show
|
|
421
|
-
# Car pick-up address.
|
|
422
|
-
attr_accessor :pickup_address
|
|
423
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
424
|
-
attr_accessor :pickup_at
|
|
425
|
-
# Name of the pickup location.
|
|
426
|
-
attr_accessor :pickup_location_name
|
|
427
|
-
# Rental rate.
|
|
428
|
-
attr_accessor :rate_amount
|
|
429
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
430
|
-
attr_accessor :rate_interval
|
|
431
|
-
# The name of the person or entity renting the car.
|
|
432
|
-
attr_accessor :renter_name
|
|
433
|
-
# Car return address.
|
|
434
|
-
attr_accessor :return_address
|
|
435
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
436
|
-
attr_accessor :return_at
|
|
437
|
-
# Name of the return location.
|
|
438
|
-
attr_accessor :return_location_name
|
|
439
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
440
|
-
attr_accessor :tax_exempt
|
|
441
|
-
# The vehicle identification number.
|
|
442
|
-
attr_accessor :vehicle_identification_number
|
|
443
|
-
|
|
444
|
-
def initialize(
|
|
445
|
-
affiliate: nil,
|
|
446
|
-
booking_number: nil,
|
|
447
|
-
car_class_code: nil,
|
|
448
|
-
car_make: nil,
|
|
449
|
-
car_model: nil,
|
|
450
|
-
company: nil,
|
|
451
|
-
customer_service_phone_number: nil,
|
|
452
|
-
days_rented: nil,
|
|
453
|
-
delivery: nil,
|
|
454
|
-
distance: nil,
|
|
455
|
-
drivers: nil,
|
|
456
|
-
extra_charges: nil,
|
|
457
|
-
no_show: nil,
|
|
458
|
-
pickup_address: nil,
|
|
459
|
-
pickup_at: nil,
|
|
460
|
-
pickup_location_name: nil,
|
|
461
|
-
rate_amount: nil,
|
|
462
|
-
rate_interval: nil,
|
|
463
|
-
renter_name: nil,
|
|
464
|
-
return_address: nil,
|
|
465
|
-
return_at: nil,
|
|
466
|
-
return_location_name: nil,
|
|
467
|
-
tax_exempt: nil,
|
|
468
|
-
vehicle_identification_number: nil
|
|
469
|
-
)
|
|
470
|
-
@affiliate = affiliate
|
|
471
|
-
@booking_number = booking_number
|
|
472
|
-
@car_class_code = car_class_code
|
|
473
|
-
@car_make = car_make
|
|
474
|
-
@car_model = car_model
|
|
475
|
-
@company = company
|
|
476
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
477
|
-
@days_rented = days_rented
|
|
478
|
-
@delivery = delivery
|
|
479
|
-
@distance = distance
|
|
480
|
-
@drivers = drivers
|
|
481
|
-
@extra_charges = extra_charges
|
|
482
|
-
@no_show = no_show
|
|
483
|
-
@pickup_address = pickup_address
|
|
484
|
-
@pickup_at = pickup_at
|
|
485
|
-
@pickup_location_name = pickup_location_name
|
|
486
|
-
@rate_amount = rate_amount
|
|
487
|
-
@rate_interval = rate_interval
|
|
488
|
-
@renter_name = renter_name
|
|
489
|
-
@return_address = return_address
|
|
490
|
-
@return_at = return_at
|
|
491
|
-
@return_location_name = return_location_name
|
|
492
|
-
@tax_exempt = tax_exempt
|
|
493
|
-
@vehicle_identification_number = vehicle_identification_number
|
|
494
|
-
end
|
|
495
|
-
end
|
|
496
|
-
|
|
497
255
|
class CarRentalDatum < ::Stripe::RequestParams
|
|
498
256
|
class Affiliate < ::Stripe::RequestParams
|
|
499
257
|
# Affiliate partner code.
|
|
@@ -701,817 +459,154 @@ module Stripe
|
|
|
701
459
|
end
|
|
702
460
|
end
|
|
703
461
|
|
|
704
|
-
class Tax < ::Stripe::RequestParams
|
|
705
|
-
class TaxItem < ::Stripe::RequestParams
|
|
706
|
-
# Tax amount.
|
|
707
|
-
attr_accessor :amount
|
|
708
|
-
# Tax rate applied.
|
|
709
|
-
attr_accessor :rate
|
|
710
|
-
# Type of tax applied.
|
|
711
|
-
attr_accessor :type
|
|
712
|
-
|
|
713
|
-
def initialize(amount: nil, rate: nil, type: nil)
|
|
714
|
-
@amount = amount
|
|
715
|
-
@rate = rate
|
|
716
|
-
@type = type
|
|
717
|
-
end
|
|
718
|
-
end
|
|
719
|
-
# Indicates if the transaction is tax exempt.
|
|
720
|
-
attr_accessor :tax_exempt_indicator
|
|
721
|
-
# Array of tax details.
|
|
722
|
-
attr_accessor :tax_items
|
|
723
|
-
|
|
724
|
-
def initialize(tax_exempt_indicator: nil, tax_items: nil)
|
|
725
|
-
@tax_exempt_indicator = tax_exempt_indicator
|
|
726
|
-
@tax_items = tax_items
|
|
727
|
-
end
|
|
728
|
-
end
|
|
729
|
-
# Total amount in cents.
|
|
730
|
-
attr_accessor :amount
|
|
731
|
-
# Currency of the amount.
|
|
732
|
-
attr_accessor :currency
|
|
733
|
-
# Discount details for the rental.
|
|
734
|
-
attr_accessor :discounts
|
|
735
|
-
# Additional charges for the rental.
|
|
736
|
-
attr_accessor :extra_charges
|
|
737
|
-
# Rate per unit for the rental.
|
|
738
|
-
attr_accessor :rate_per_unit
|
|
739
|
-
# Unit of measurement for the rate.
|
|
740
|
-
attr_accessor :rate_unit
|
|
741
|
-
# Tax breakdown for the rental.
|
|
742
|
-
attr_accessor :tax
|
|
743
|
-
|
|
744
|
-
def initialize(
|
|
745
|
-
amount: nil,
|
|
746
|
-
currency: nil,
|
|
747
|
-
discounts: nil,
|
|
748
|
-
extra_charges: nil,
|
|
749
|
-
rate_per_unit: nil,
|
|
750
|
-
rate_unit: nil,
|
|
751
|
-
tax: nil
|
|
752
|
-
)
|
|
753
|
-
@amount = amount
|
|
754
|
-
@currency = currency
|
|
755
|
-
@discounts = discounts
|
|
756
|
-
@extra_charges = extra_charges
|
|
757
|
-
@rate_per_unit = rate_per_unit
|
|
758
|
-
@rate_unit = rate_unit
|
|
759
|
-
@tax = tax
|
|
760
|
-
end
|
|
761
|
-
end
|
|
762
|
-
|
|
763
|
-
class Vehicle < ::Stripe::RequestParams
|
|
764
|
-
# Make of the rental vehicle.
|
|
765
|
-
attr_accessor :make
|
|
766
|
-
# Model of the rental vehicle.
|
|
767
|
-
attr_accessor :model
|
|
768
|
-
# Odometer reading at the time of rental.
|
|
769
|
-
attr_accessor :odometer
|
|
770
|
-
# Type of the rental vehicle.
|
|
771
|
-
attr_accessor :type
|
|
772
|
-
# Class of the rental vehicle.
|
|
773
|
-
attr_accessor :vehicle_class
|
|
774
|
-
# Vehicle identification number (VIN).
|
|
775
|
-
attr_accessor :vehicle_identification_number
|
|
776
|
-
|
|
777
|
-
def initialize(
|
|
778
|
-
make: nil,
|
|
779
|
-
model: nil,
|
|
780
|
-
odometer: nil,
|
|
781
|
-
type: nil,
|
|
782
|
-
vehicle_class: nil,
|
|
783
|
-
vehicle_identification_number: nil
|
|
784
|
-
)
|
|
785
|
-
@make = make
|
|
786
|
-
@model = model
|
|
787
|
-
@odometer = odometer
|
|
788
|
-
@type = type
|
|
789
|
-
@vehicle_class = vehicle_class
|
|
790
|
-
@vehicle_identification_number = vehicle_identification_number
|
|
791
|
-
end
|
|
792
|
-
end
|
|
793
|
-
# Affiliate (such as travel agency) details for the rental.
|
|
794
|
-
attr_accessor :affiliate
|
|
795
|
-
# Booking confirmation number for the car rental.
|
|
796
|
-
attr_accessor :booking_number
|
|
797
|
-
# Name of the car rental company.
|
|
798
|
-
attr_accessor :carrier_name
|
|
799
|
-
# Customer service phone number for the car rental company.
|
|
800
|
-
attr_accessor :customer_service_phone_number
|
|
801
|
-
# Number of days the car is being rented.
|
|
802
|
-
attr_accessor :days_rented
|
|
803
|
-
# Distance details for the rental.
|
|
804
|
-
attr_accessor :distance
|
|
805
|
-
# List of drivers for the rental.
|
|
806
|
-
attr_accessor :drivers
|
|
807
|
-
# Drop-off location details.
|
|
808
|
-
attr_accessor :drop_off
|
|
809
|
-
# Insurance details for the rental.
|
|
810
|
-
attr_accessor :insurances
|
|
811
|
-
# Indicates if the customer was a no-show.
|
|
812
|
-
attr_accessor :no_show_indicator
|
|
813
|
-
# Pickup location details.
|
|
814
|
-
attr_accessor :pickup
|
|
815
|
-
# Name of the person renting the vehicle.
|
|
816
|
-
attr_accessor :renter_name
|
|
817
|
-
# Total cost breakdown for the rental.
|
|
818
|
-
attr_accessor :total
|
|
819
|
-
# Vehicle details for the rental.
|
|
820
|
-
attr_accessor :vehicle
|
|
821
|
-
|
|
822
|
-
def initialize(
|
|
823
|
-
affiliate: nil,
|
|
824
|
-
booking_number: nil,
|
|
825
|
-
carrier_name: nil,
|
|
826
|
-
customer_service_phone_number: nil,
|
|
827
|
-
days_rented: nil,
|
|
828
|
-
distance: nil,
|
|
829
|
-
drivers: nil,
|
|
830
|
-
drop_off: nil,
|
|
831
|
-
insurances: nil,
|
|
832
|
-
no_show_indicator: nil,
|
|
833
|
-
pickup: nil,
|
|
834
|
-
renter_name: nil,
|
|
835
|
-
total: nil,
|
|
836
|
-
vehicle: nil
|
|
837
|
-
)
|
|
838
|
-
@affiliate = affiliate
|
|
839
|
-
@booking_number = booking_number
|
|
840
|
-
@carrier_name = carrier_name
|
|
841
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
842
|
-
@days_rented = days_rented
|
|
843
|
-
@distance = distance
|
|
844
|
-
@drivers = drivers
|
|
845
|
-
@drop_off = drop_off
|
|
846
|
-
@insurances = insurances
|
|
847
|
-
@no_show_indicator = no_show_indicator
|
|
848
|
-
@pickup = pickup
|
|
849
|
-
@renter_name = renter_name
|
|
850
|
-
@total = total
|
|
851
|
-
@vehicle = vehicle
|
|
852
|
-
end
|
|
853
|
-
end
|
|
854
|
-
|
|
855
|
-
class EventDetails < ::Stripe::RequestParams
|
|
856
|
-
class Address < ::Stripe::RequestParams
|
|
857
|
-
# City, district, suburb, town, or village.
|
|
858
|
-
attr_accessor :city
|
|
859
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
860
|
-
attr_accessor :country
|
|
861
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
862
|
-
attr_accessor :line1
|
|
863
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
864
|
-
attr_accessor :line2
|
|
865
|
-
# ZIP or postal code.
|
|
866
|
-
attr_accessor :postal_code
|
|
867
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
868
|
-
attr_accessor :state
|
|
869
|
-
|
|
870
|
-
def initialize(
|
|
871
|
-
city: nil,
|
|
872
|
-
country: nil,
|
|
873
|
-
line1: nil,
|
|
874
|
-
line2: nil,
|
|
875
|
-
postal_code: nil,
|
|
876
|
-
state: nil
|
|
877
|
-
)
|
|
878
|
-
@city = city
|
|
879
|
-
@country = country
|
|
880
|
-
@line1 = line1
|
|
881
|
-
@line2 = line2
|
|
882
|
-
@postal_code = postal_code
|
|
883
|
-
@state = state
|
|
884
|
-
end
|
|
885
|
-
end
|
|
886
|
-
|
|
887
|
-
class Affiliate < ::Stripe::RequestParams
|
|
888
|
-
# The name of the affiliate that originated the purchase.
|
|
889
|
-
attr_accessor :name
|
|
890
|
-
|
|
891
|
-
def initialize(name: nil)
|
|
892
|
-
@name = name
|
|
893
|
-
end
|
|
894
|
-
end
|
|
895
|
-
|
|
896
|
-
class Delivery < ::Stripe::RequestParams
|
|
897
|
-
class Recipient < ::Stripe::RequestParams
|
|
898
|
-
# The email of the recipient the ticket is delivered to.
|
|
899
|
-
attr_accessor :email
|
|
900
|
-
# The name of the recipient the ticket is delivered to.
|
|
901
|
-
attr_accessor :name
|
|
902
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
903
|
-
attr_accessor :phone
|
|
904
|
-
|
|
905
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
906
|
-
@email = email
|
|
907
|
-
@name = name
|
|
908
|
-
@phone = phone
|
|
909
|
-
end
|
|
910
|
-
end
|
|
911
|
-
# The delivery method for the payment
|
|
912
|
-
attr_accessor :mode
|
|
913
|
-
# Details of the recipient.
|
|
914
|
-
attr_accessor :recipient
|
|
915
|
-
|
|
916
|
-
def initialize(mode: nil, recipient: nil)
|
|
917
|
-
@mode = mode
|
|
918
|
-
@recipient = recipient
|
|
919
|
-
end
|
|
920
|
-
end
|
|
921
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
922
|
-
attr_accessor :access_controlled_venue
|
|
923
|
-
# The event location's address.
|
|
924
|
-
attr_accessor :address
|
|
925
|
-
# Affiliate details for this purchase.
|
|
926
|
-
attr_accessor :affiliate
|
|
927
|
-
# The name of the company
|
|
928
|
-
attr_accessor :company
|
|
929
|
-
# Delivery details for this purchase.
|
|
930
|
-
attr_accessor :delivery
|
|
931
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
932
|
-
attr_accessor :ends_at
|
|
933
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
934
|
-
attr_accessor :genre
|
|
935
|
-
# The name of the event.
|
|
936
|
-
attr_accessor :name
|
|
937
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
938
|
-
attr_accessor :starts_at
|
|
939
|
-
|
|
940
|
-
def initialize(
|
|
941
|
-
access_controlled_venue: nil,
|
|
942
|
-
address: nil,
|
|
943
|
-
affiliate: nil,
|
|
944
|
-
company: nil,
|
|
945
|
-
delivery: nil,
|
|
946
|
-
ends_at: nil,
|
|
947
|
-
genre: nil,
|
|
948
|
-
name: nil,
|
|
949
|
-
starts_at: nil
|
|
950
|
-
)
|
|
951
|
-
@access_controlled_venue = access_controlled_venue
|
|
952
|
-
@address = address
|
|
953
|
-
@affiliate = affiliate
|
|
954
|
-
@company = company
|
|
955
|
-
@delivery = delivery
|
|
956
|
-
@ends_at = ends_at
|
|
957
|
-
@genre = genre
|
|
958
|
-
@name = name
|
|
959
|
-
@starts_at = starts_at
|
|
960
|
-
end
|
|
961
|
-
end
|
|
962
|
-
|
|
963
|
-
class Flight < ::Stripe::RequestParams
|
|
964
|
-
class Affiliate < ::Stripe::RequestParams
|
|
965
|
-
# The name of the affiliate that originated the purchase.
|
|
966
|
-
attr_accessor :name
|
|
967
|
-
|
|
968
|
-
def initialize(name: nil)
|
|
969
|
-
@name = name
|
|
970
|
-
end
|
|
971
|
-
end
|
|
972
|
-
|
|
973
|
-
class Delivery < ::Stripe::RequestParams
|
|
974
|
-
class Recipient < ::Stripe::RequestParams
|
|
975
|
-
# The email of the recipient the ticket is delivered to.
|
|
976
|
-
attr_accessor :email
|
|
977
|
-
# The name of the recipient the ticket is delivered to.
|
|
978
|
-
attr_accessor :name
|
|
979
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
980
|
-
attr_accessor :phone
|
|
981
|
-
|
|
982
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
983
|
-
@email = email
|
|
984
|
-
@name = name
|
|
985
|
-
@phone = phone
|
|
986
|
-
end
|
|
987
|
-
end
|
|
988
|
-
# The delivery method for the payment
|
|
989
|
-
attr_accessor :mode
|
|
990
|
-
# Details of the recipient.
|
|
991
|
-
attr_accessor :recipient
|
|
992
|
-
|
|
993
|
-
def initialize(mode: nil, recipient: nil)
|
|
994
|
-
@mode = mode
|
|
995
|
-
@recipient = recipient
|
|
996
|
-
end
|
|
997
|
-
end
|
|
998
|
-
|
|
999
|
-
class Passenger < ::Stripe::RequestParams
|
|
1000
|
-
# Full name of the person or entity on the flight reservation.
|
|
1001
|
-
attr_accessor :name
|
|
1002
|
-
|
|
1003
|
-
def initialize(name: nil)
|
|
1004
|
-
@name = name
|
|
1005
|
-
end
|
|
1006
|
-
end
|
|
1007
|
-
|
|
1008
|
-
class Segment < ::Stripe::RequestParams
|
|
1009
|
-
# The flight segment amount.
|
|
1010
|
-
attr_accessor :amount
|
|
1011
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
1012
|
-
attr_accessor :arrival_airport
|
|
1013
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1014
|
-
attr_accessor :arrives_at
|
|
1015
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
1016
|
-
attr_accessor :carrier
|
|
1017
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1018
|
-
attr_accessor :departs_at
|
|
1019
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
1020
|
-
attr_accessor :departure_airport
|
|
1021
|
-
# The flight number associated with the segment
|
|
1022
|
-
attr_accessor :flight_number
|
|
1023
|
-
# The fare class for the segment.
|
|
1024
|
-
attr_accessor :service_class
|
|
1025
|
-
|
|
1026
|
-
def initialize(
|
|
1027
|
-
amount: nil,
|
|
1028
|
-
arrival_airport: nil,
|
|
1029
|
-
arrives_at: nil,
|
|
1030
|
-
carrier: nil,
|
|
1031
|
-
departs_at: nil,
|
|
1032
|
-
departure_airport: nil,
|
|
1033
|
-
flight_number: nil,
|
|
1034
|
-
service_class: nil
|
|
1035
|
-
)
|
|
1036
|
-
@amount = amount
|
|
1037
|
-
@arrival_airport = arrival_airport
|
|
1038
|
-
@arrives_at = arrives_at
|
|
1039
|
-
@carrier = carrier
|
|
1040
|
-
@departs_at = departs_at
|
|
1041
|
-
@departure_airport = departure_airport
|
|
1042
|
-
@flight_number = flight_number
|
|
1043
|
-
@service_class = service_class
|
|
1044
|
-
end
|
|
1045
|
-
end
|
|
1046
|
-
# Affiliate details for this purchase.
|
|
1047
|
-
attr_accessor :affiliate
|
|
1048
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
1049
|
-
attr_accessor :agency_number
|
|
1050
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
1051
|
-
attr_accessor :carrier
|
|
1052
|
-
# Delivery details for this purchase.
|
|
1053
|
-
attr_accessor :delivery
|
|
1054
|
-
# The name of the person or entity on the reservation.
|
|
1055
|
-
attr_accessor :passenger_name
|
|
1056
|
-
# The details of the passengers in the travel reservation.
|
|
1057
|
-
attr_accessor :passengers
|
|
1058
|
-
# The individual flight segments associated with the trip.
|
|
1059
|
-
attr_accessor :segments
|
|
1060
|
-
# The ticket number associated with the travel reservation.
|
|
1061
|
-
attr_accessor :ticket_number
|
|
1062
|
-
|
|
1063
|
-
def initialize(
|
|
1064
|
-
affiliate: nil,
|
|
1065
|
-
agency_number: nil,
|
|
1066
|
-
carrier: nil,
|
|
1067
|
-
delivery: nil,
|
|
1068
|
-
passenger_name: nil,
|
|
1069
|
-
passengers: nil,
|
|
1070
|
-
segments: nil,
|
|
1071
|
-
ticket_number: nil
|
|
1072
|
-
)
|
|
1073
|
-
@affiliate = affiliate
|
|
1074
|
-
@agency_number = agency_number
|
|
1075
|
-
@carrier = carrier
|
|
1076
|
-
@delivery = delivery
|
|
1077
|
-
@passenger_name = passenger_name
|
|
1078
|
-
@passengers = passengers
|
|
1079
|
-
@segments = segments
|
|
1080
|
-
@ticket_number = ticket_number
|
|
1081
|
-
end
|
|
1082
|
-
end
|
|
1083
|
-
|
|
1084
|
-
class FlightDatum < ::Stripe::RequestParams
|
|
1085
|
-
class Affiliate < ::Stripe::RequestParams
|
|
1086
|
-
# Affiliate partner code.
|
|
1087
|
-
attr_accessor :code
|
|
1088
|
-
# Name of affiliate partner.
|
|
1089
|
-
attr_accessor :name
|
|
1090
|
-
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1091
|
-
attr_accessor :travel_authorization_code
|
|
1092
|
-
|
|
1093
|
-
def initialize(code: nil, name: nil, travel_authorization_code: nil)
|
|
1094
|
-
@code = code
|
|
1095
|
-
@name = name
|
|
1096
|
-
@travel_authorization_code = travel_authorization_code
|
|
1097
|
-
end
|
|
1098
|
-
end
|
|
1099
|
-
|
|
1100
|
-
class Insurance < ::Stripe::RequestParams
|
|
1101
|
-
# Insurance cost.
|
|
1102
|
-
attr_accessor :amount
|
|
1103
|
-
# Insurance currency.
|
|
1104
|
-
attr_accessor :currency
|
|
1105
|
-
# Insurance company name.
|
|
1106
|
-
attr_accessor :insurance_company_name
|
|
1107
|
-
# Type of insurance.
|
|
1108
|
-
attr_accessor :insurance_type
|
|
1109
|
-
|
|
1110
|
-
def initialize(
|
|
1111
|
-
amount: nil,
|
|
1112
|
-
currency: nil,
|
|
1113
|
-
insurance_company_name: nil,
|
|
1114
|
-
insurance_type: nil
|
|
1115
|
-
)
|
|
1116
|
-
@amount = amount
|
|
1117
|
-
@currency = currency
|
|
1118
|
-
@insurance_company_name = insurance_company_name
|
|
1119
|
-
@insurance_type = insurance_type
|
|
1120
|
-
end
|
|
1121
|
-
end
|
|
1122
|
-
|
|
1123
|
-
class Passenger < ::Stripe::RequestParams
|
|
1124
|
-
# Passenger's full name.
|
|
1125
|
-
attr_accessor :name
|
|
1126
|
-
|
|
1127
|
-
def initialize(name: nil)
|
|
1128
|
-
@name = name
|
|
1129
|
-
end
|
|
1130
|
-
end
|
|
1131
|
-
|
|
1132
|
-
class Segment < ::Stripe::RequestParams
|
|
1133
|
-
class Arrival < ::Stripe::RequestParams
|
|
1134
|
-
# Arrival airport IATA code.
|
|
1135
|
-
attr_accessor :airport
|
|
1136
|
-
# Arrival date/time.
|
|
1137
|
-
attr_accessor :arrives_at
|
|
1138
|
-
# Arrival city.
|
|
1139
|
-
attr_accessor :city
|
|
1140
|
-
# Arrival country.
|
|
1141
|
-
attr_accessor :country
|
|
1142
|
-
|
|
1143
|
-
def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
|
|
1144
|
-
@airport = airport
|
|
1145
|
-
@arrives_at = arrives_at
|
|
1146
|
-
@city = city
|
|
1147
|
-
@country = country
|
|
1148
|
-
end
|
|
1149
|
-
end
|
|
1150
|
-
|
|
1151
|
-
class Departure < ::Stripe::RequestParams
|
|
1152
|
-
# Departure airport IATA code.
|
|
1153
|
-
attr_accessor :airport
|
|
1154
|
-
# Departure city.
|
|
1155
|
-
attr_accessor :city
|
|
1156
|
-
# Departure country.
|
|
1157
|
-
attr_accessor :country
|
|
1158
|
-
# Departure date/time.
|
|
1159
|
-
attr_accessor :departs_at
|
|
1160
|
-
|
|
1161
|
-
def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
|
|
1162
|
-
@airport = airport
|
|
1163
|
-
@city = city
|
|
1164
|
-
@country = country
|
|
1165
|
-
@departs_at = departs_at
|
|
1166
|
-
end
|
|
1167
|
-
end
|
|
1168
|
-
# Segment fare amount.
|
|
1169
|
-
attr_accessor :amount
|
|
1170
|
-
# Arrival details.
|
|
1171
|
-
attr_accessor :arrival
|
|
1172
|
-
# Airline carrier code.
|
|
1173
|
-
attr_accessor :carrier_code
|
|
1174
|
-
# Carrier name.
|
|
1175
|
-
attr_accessor :carrier_name
|
|
1176
|
-
# Segment currency.
|
|
1177
|
-
attr_accessor :currency
|
|
1178
|
-
# Departure details.
|
|
1179
|
-
attr_accessor :departure
|
|
1180
|
-
# Exchange ticket number.
|
|
1181
|
-
attr_accessor :exchange_ticket_number
|
|
1182
|
-
# Fare basis code.
|
|
1183
|
-
attr_accessor :fare_basis_code
|
|
1184
|
-
# Additional fees.
|
|
1185
|
-
attr_accessor :fees
|
|
1186
|
-
# Flight number.
|
|
1187
|
-
attr_accessor :flight_number
|
|
1188
|
-
# Stopover indicator.
|
|
1189
|
-
attr_accessor :is_stop_over_indicator
|
|
1190
|
-
# Refundable ticket indicator.
|
|
1191
|
-
attr_accessor :refundable
|
|
1192
|
-
# Class of service.
|
|
1193
|
-
attr_accessor :service_class
|
|
1194
|
-
# Tax amount for segment.
|
|
1195
|
-
attr_accessor :tax_amount
|
|
1196
|
-
# Ticket number.
|
|
1197
|
-
attr_accessor :ticket_number
|
|
1198
|
-
|
|
1199
|
-
def initialize(
|
|
1200
|
-
amount: nil,
|
|
1201
|
-
arrival: nil,
|
|
1202
|
-
carrier_code: nil,
|
|
1203
|
-
carrier_name: nil,
|
|
1204
|
-
currency: nil,
|
|
1205
|
-
departure: nil,
|
|
1206
|
-
exchange_ticket_number: nil,
|
|
1207
|
-
fare_basis_code: nil,
|
|
1208
|
-
fees: nil,
|
|
1209
|
-
flight_number: nil,
|
|
1210
|
-
is_stop_over_indicator: nil,
|
|
1211
|
-
refundable: nil,
|
|
1212
|
-
service_class: nil,
|
|
1213
|
-
tax_amount: nil,
|
|
1214
|
-
ticket_number: nil
|
|
1215
|
-
)
|
|
1216
|
-
@amount = amount
|
|
1217
|
-
@arrival = arrival
|
|
1218
|
-
@carrier_code = carrier_code
|
|
1219
|
-
@carrier_name = carrier_name
|
|
1220
|
-
@currency = currency
|
|
1221
|
-
@departure = departure
|
|
1222
|
-
@exchange_ticket_number = exchange_ticket_number
|
|
1223
|
-
@fare_basis_code = fare_basis_code
|
|
1224
|
-
@fees = fees
|
|
1225
|
-
@flight_number = flight_number
|
|
1226
|
-
@is_stop_over_indicator = is_stop_over_indicator
|
|
1227
|
-
@refundable = refundable
|
|
1228
|
-
@service_class = service_class
|
|
1229
|
-
@tax_amount = tax_amount
|
|
1230
|
-
@ticket_number = ticket_number
|
|
1231
|
-
end
|
|
1232
|
-
end
|
|
1233
|
-
|
|
1234
|
-
class Total < ::Stripe::RequestParams
|
|
1235
|
-
class Discounts < ::Stripe::RequestParams
|
|
1236
|
-
# Corporate client discount code.
|
|
1237
|
-
attr_accessor :corporate_client_code
|
|
1238
|
-
|
|
1239
|
-
def initialize(corporate_client_code: nil)
|
|
1240
|
-
@corporate_client_code = corporate_client_code
|
|
1241
|
-
end
|
|
1242
|
-
end
|
|
1243
|
-
|
|
1244
|
-
class ExtraCharge < ::Stripe::RequestParams
|
|
1245
|
-
# Amount of additional charges.
|
|
1246
|
-
attr_accessor :amount
|
|
1247
|
-
# Type of additional charges.
|
|
1248
|
-
attr_accessor :type
|
|
1249
|
-
|
|
1250
|
-
def initialize(amount: nil, type: nil)
|
|
1251
|
-
@amount = amount
|
|
1252
|
-
@type = type
|
|
1253
|
-
end
|
|
1254
|
-
end
|
|
1255
|
-
|
|
1256
|
-
class Tax < ::Stripe::RequestParams
|
|
1257
|
-
class TaxItem < ::Stripe::RequestParams
|
|
1258
|
-
# Tax amount.
|
|
1259
|
-
attr_accessor :amount
|
|
1260
|
-
# Tax rate.
|
|
1261
|
-
attr_accessor :rate
|
|
1262
|
-
# Type of tax.
|
|
1263
|
-
attr_accessor :type
|
|
1264
|
-
|
|
1265
|
-
def initialize(amount: nil, rate: nil, type: nil)
|
|
1266
|
-
@amount = amount
|
|
1267
|
-
@rate = rate
|
|
1268
|
-
@type = type
|
|
1269
|
-
end
|
|
1270
|
-
end
|
|
1271
|
-
# Array of tax details.
|
|
1272
|
-
attr_accessor :tax_items
|
|
1273
|
-
|
|
1274
|
-
def initialize(tax_items: nil)
|
|
1275
|
-
@tax_items = tax_items
|
|
1276
|
-
end
|
|
1277
|
-
end
|
|
1278
|
-
# Total flight amount.
|
|
1279
|
-
attr_accessor :amount
|
|
1280
|
-
# Reason for credit.
|
|
1281
|
-
attr_accessor :credit_reason
|
|
1282
|
-
# Total currency.
|
|
1283
|
-
attr_accessor :currency
|
|
1284
|
-
# Discount details.
|
|
1285
|
-
attr_accessor :discounts
|
|
1286
|
-
# Additional charges.
|
|
1287
|
-
attr_accessor :extra_charges
|
|
1288
|
-
# Tax breakdown.
|
|
1289
|
-
attr_accessor :tax
|
|
1290
|
-
|
|
1291
|
-
def initialize(
|
|
1292
|
-
amount: nil,
|
|
1293
|
-
credit_reason: nil,
|
|
1294
|
-
currency: nil,
|
|
1295
|
-
discounts: nil,
|
|
1296
|
-
extra_charges: nil,
|
|
1297
|
-
tax: nil
|
|
1298
|
-
)
|
|
1299
|
-
@amount = amount
|
|
1300
|
-
@credit_reason = credit_reason
|
|
1301
|
-
@currency = currency
|
|
1302
|
-
@discounts = discounts
|
|
1303
|
-
@extra_charges = extra_charges
|
|
1304
|
-
@tax = tax
|
|
1305
|
-
end
|
|
1306
|
-
end
|
|
1307
|
-
# Affiliate details if applicable.
|
|
1308
|
-
attr_accessor :affiliate
|
|
1309
|
-
# Reservation reference.
|
|
1310
|
-
attr_accessor :booking_number
|
|
1311
|
-
# Computerized reservation system used to make the reservation and purchase the ticket.
|
|
1312
|
-
attr_accessor :computerized_reservation_system
|
|
1313
|
-
# Ticket restrictions.
|
|
1314
|
-
attr_accessor :endorsements_and_restrictions
|
|
1315
|
-
# List of insurances.
|
|
1316
|
-
attr_accessor :insurances
|
|
1317
|
-
# List of passengers.
|
|
1318
|
-
attr_accessor :passengers
|
|
1319
|
-
# List of flight segments.
|
|
1320
|
-
attr_accessor :segments
|
|
1321
|
-
# Electronic ticket indicator.
|
|
1322
|
-
attr_accessor :ticket_electronically_issued_indicator
|
|
1323
|
-
# Total cost breakdown.
|
|
1324
|
-
attr_accessor :total
|
|
1325
|
-
# Type of flight transaction.
|
|
1326
|
-
attr_accessor :transaction_type
|
|
1327
|
-
|
|
1328
|
-
def initialize(
|
|
1329
|
-
affiliate: nil,
|
|
1330
|
-
booking_number: nil,
|
|
1331
|
-
computerized_reservation_system: nil,
|
|
1332
|
-
endorsements_and_restrictions: nil,
|
|
1333
|
-
insurances: nil,
|
|
1334
|
-
passengers: nil,
|
|
1335
|
-
segments: nil,
|
|
1336
|
-
ticket_electronically_issued_indicator: nil,
|
|
1337
|
-
total: nil,
|
|
1338
|
-
transaction_type: nil
|
|
1339
|
-
)
|
|
1340
|
-
@affiliate = affiliate
|
|
1341
|
-
@booking_number = booking_number
|
|
1342
|
-
@computerized_reservation_system = computerized_reservation_system
|
|
1343
|
-
@endorsements_and_restrictions = endorsements_and_restrictions
|
|
1344
|
-
@insurances = insurances
|
|
1345
|
-
@passengers = passengers
|
|
1346
|
-
@segments = segments
|
|
1347
|
-
@ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
|
|
1348
|
-
@total = total
|
|
1349
|
-
@transaction_type = transaction_type
|
|
1350
|
-
end
|
|
1351
|
-
end
|
|
1352
|
-
|
|
1353
|
-
class Lodging < ::Stripe::RequestParams
|
|
1354
|
-
class Address < ::Stripe::RequestParams
|
|
1355
|
-
# City, district, suburb, town, or village.
|
|
1356
|
-
attr_accessor :city
|
|
1357
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1358
|
-
attr_accessor :country
|
|
1359
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1360
|
-
attr_accessor :line1
|
|
1361
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1362
|
-
attr_accessor :line2
|
|
1363
|
-
# ZIP or postal code.
|
|
1364
|
-
attr_accessor :postal_code
|
|
1365
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1366
|
-
attr_accessor :state
|
|
1367
|
-
|
|
1368
|
-
def initialize(
|
|
1369
|
-
city: nil,
|
|
1370
|
-
country: nil,
|
|
1371
|
-
line1: nil,
|
|
1372
|
-
line2: nil,
|
|
1373
|
-
postal_code: nil,
|
|
1374
|
-
state: nil
|
|
1375
|
-
)
|
|
1376
|
-
@city = city
|
|
1377
|
-
@country = country
|
|
1378
|
-
@line1 = line1
|
|
1379
|
-
@line2 = line2
|
|
1380
|
-
@postal_code = postal_code
|
|
1381
|
-
@state = state
|
|
1382
|
-
end
|
|
1383
|
-
end
|
|
1384
|
-
|
|
1385
|
-
class Affiliate < ::Stripe::RequestParams
|
|
1386
|
-
# The name of the affiliate that originated the purchase.
|
|
1387
|
-
attr_accessor :name
|
|
1388
|
-
|
|
1389
|
-
def initialize(name: nil)
|
|
1390
|
-
@name = name
|
|
1391
|
-
end
|
|
1392
|
-
end
|
|
1393
|
-
|
|
1394
|
-
class Delivery < ::Stripe::RequestParams
|
|
1395
|
-
class Recipient < ::Stripe::RequestParams
|
|
1396
|
-
# The email of the recipient the ticket is delivered to.
|
|
1397
|
-
attr_accessor :email
|
|
1398
|
-
# The name of the recipient the ticket is delivered to.
|
|
1399
|
-
attr_accessor :name
|
|
1400
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1401
|
-
attr_accessor :phone
|
|
1402
|
-
|
|
1403
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
1404
|
-
@email = email
|
|
1405
|
-
@name = name
|
|
1406
|
-
@phone = phone
|
|
462
|
+
class Tax < ::Stripe::RequestParams
|
|
463
|
+
class TaxItem < ::Stripe::RequestParams
|
|
464
|
+
# Tax amount.
|
|
465
|
+
attr_accessor :amount
|
|
466
|
+
# Tax rate applied.
|
|
467
|
+
attr_accessor :rate
|
|
468
|
+
# Type of tax applied.
|
|
469
|
+
attr_accessor :type
|
|
470
|
+
|
|
471
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
472
|
+
@amount = amount
|
|
473
|
+
@rate = rate
|
|
474
|
+
@type = type
|
|
475
|
+
end
|
|
476
|
+
end
|
|
477
|
+
# Indicates if the transaction is tax exempt.
|
|
478
|
+
attr_accessor :tax_exempt_indicator
|
|
479
|
+
# Array of tax details.
|
|
480
|
+
attr_accessor :tax_items
|
|
481
|
+
|
|
482
|
+
def initialize(tax_exempt_indicator: nil, tax_items: nil)
|
|
483
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
484
|
+
@tax_items = tax_items
|
|
1407
485
|
end
|
|
1408
486
|
end
|
|
1409
|
-
#
|
|
1410
|
-
attr_accessor :
|
|
1411
|
-
#
|
|
1412
|
-
attr_accessor :
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
487
|
+
# Total amount in cents.
|
|
488
|
+
attr_accessor :amount
|
|
489
|
+
# Currency of the amount.
|
|
490
|
+
attr_accessor :currency
|
|
491
|
+
# Discount details for the rental.
|
|
492
|
+
attr_accessor :discounts
|
|
493
|
+
# Additional charges for the rental.
|
|
494
|
+
attr_accessor :extra_charges
|
|
495
|
+
# Rate per unit for the rental.
|
|
496
|
+
attr_accessor :rate_per_unit
|
|
497
|
+
# Unit of measurement for the rate.
|
|
498
|
+
attr_accessor :rate_unit
|
|
499
|
+
# Tax breakdown for the rental.
|
|
500
|
+
attr_accessor :tax
|
|
501
|
+
|
|
502
|
+
def initialize(
|
|
503
|
+
amount: nil,
|
|
504
|
+
currency: nil,
|
|
505
|
+
discounts: nil,
|
|
506
|
+
extra_charges: nil,
|
|
507
|
+
rate_per_unit: nil,
|
|
508
|
+
rate_unit: nil,
|
|
509
|
+
tax: nil
|
|
510
|
+
)
|
|
511
|
+
@amount = amount
|
|
512
|
+
@currency = currency
|
|
513
|
+
@discounts = discounts
|
|
514
|
+
@extra_charges = extra_charges
|
|
515
|
+
@rate_per_unit = rate_per_unit
|
|
516
|
+
@rate_unit = rate_unit
|
|
517
|
+
@tax = tax
|
|
1417
518
|
end
|
|
1418
519
|
end
|
|
1419
520
|
|
|
1420
|
-
class
|
|
1421
|
-
#
|
|
1422
|
-
attr_accessor :
|
|
521
|
+
class Vehicle < ::Stripe::RequestParams
|
|
522
|
+
# Make of the rental vehicle.
|
|
523
|
+
attr_accessor :make
|
|
524
|
+
# Model of the rental vehicle.
|
|
525
|
+
attr_accessor :model
|
|
526
|
+
# Odometer reading at the time of rental.
|
|
527
|
+
attr_accessor :odometer
|
|
528
|
+
# Type of the rental vehicle.
|
|
529
|
+
attr_accessor :type
|
|
530
|
+
# Class of the rental vehicle.
|
|
531
|
+
attr_accessor :vehicle_class
|
|
532
|
+
# Vehicle identification number (VIN).
|
|
533
|
+
attr_accessor :vehicle_identification_number
|
|
1423
534
|
|
|
1424
|
-
def initialize(
|
|
1425
|
-
|
|
535
|
+
def initialize(
|
|
536
|
+
make: nil,
|
|
537
|
+
model: nil,
|
|
538
|
+
odometer: nil,
|
|
539
|
+
type: nil,
|
|
540
|
+
vehicle_class: nil,
|
|
541
|
+
vehicle_identification_number: nil
|
|
542
|
+
)
|
|
543
|
+
@make = make
|
|
544
|
+
@model = model
|
|
545
|
+
@odometer = odometer
|
|
546
|
+
@type = type
|
|
547
|
+
@vehicle_class = vehicle_class
|
|
548
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
1426
549
|
end
|
|
1427
550
|
end
|
|
1428
|
-
#
|
|
1429
|
-
attr_accessor :address
|
|
1430
|
-
# The number of adults on the booking
|
|
1431
|
-
attr_accessor :adults
|
|
1432
|
-
# Affiliate details for this purchase.
|
|
551
|
+
# Affiliate (such as travel agency) details for the rental.
|
|
1433
552
|
attr_accessor :affiliate
|
|
1434
|
-
#
|
|
553
|
+
# Booking confirmation number for the car rental.
|
|
1435
554
|
attr_accessor :booking_number
|
|
1436
|
-
#
|
|
1437
|
-
attr_accessor :
|
|
1438
|
-
#
|
|
1439
|
-
attr_accessor :checkin_at
|
|
1440
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
1441
|
-
attr_accessor :checkout_at
|
|
1442
|
-
# The customer service phone number of the lodging company.
|
|
555
|
+
# Name of the car rental company.
|
|
556
|
+
attr_accessor :carrier_name
|
|
557
|
+
# Customer service phone number for the car rental company.
|
|
1443
558
|
attr_accessor :customer_service_phone_number
|
|
1444
|
-
#
|
|
1445
|
-
attr_accessor :
|
|
1446
|
-
#
|
|
1447
|
-
attr_accessor :
|
|
1448
|
-
# List of
|
|
1449
|
-
attr_accessor :
|
|
1450
|
-
#
|
|
1451
|
-
attr_accessor :
|
|
1452
|
-
#
|
|
1453
|
-
attr_accessor :
|
|
1454
|
-
# Indicates if the customer
|
|
1455
|
-
attr_accessor :
|
|
1456
|
-
#
|
|
1457
|
-
attr_accessor :
|
|
1458
|
-
#
|
|
1459
|
-
attr_accessor :
|
|
1460
|
-
#
|
|
1461
|
-
attr_accessor :
|
|
1462
|
-
#
|
|
1463
|
-
attr_accessor :
|
|
1464
|
-
# The number of room nights
|
|
1465
|
-
attr_accessor :room_nights
|
|
1466
|
-
# The total tax amount associating with the room reservation.
|
|
1467
|
-
attr_accessor :total_room_tax_amount
|
|
1468
|
-
# The total tax amount
|
|
1469
|
-
attr_accessor :total_tax_amount
|
|
559
|
+
# Number of days the car is being rented.
|
|
560
|
+
attr_accessor :days_rented
|
|
561
|
+
# Distance details for the rental.
|
|
562
|
+
attr_accessor :distance
|
|
563
|
+
# List of drivers for the rental.
|
|
564
|
+
attr_accessor :drivers
|
|
565
|
+
# Drop-off location details.
|
|
566
|
+
attr_accessor :drop_off
|
|
567
|
+
# Insurance details for the rental.
|
|
568
|
+
attr_accessor :insurances
|
|
569
|
+
# Indicates if the customer was a no-show.
|
|
570
|
+
attr_accessor :no_show_indicator
|
|
571
|
+
# Pickup location details.
|
|
572
|
+
attr_accessor :pickup
|
|
573
|
+
# Name of the person renting the vehicle.
|
|
574
|
+
attr_accessor :renter_name
|
|
575
|
+
# Total cost breakdown for the rental.
|
|
576
|
+
attr_accessor :total
|
|
577
|
+
# Vehicle details for the rental.
|
|
578
|
+
attr_accessor :vehicle
|
|
1470
579
|
|
|
1471
580
|
def initialize(
|
|
1472
|
-
address: nil,
|
|
1473
|
-
adults: nil,
|
|
1474
581
|
affiliate: nil,
|
|
1475
582
|
booking_number: nil,
|
|
1476
|
-
|
|
1477
|
-
checkin_at: nil,
|
|
1478
|
-
checkout_at: nil,
|
|
583
|
+
carrier_name: nil,
|
|
1479
584
|
customer_service_phone_number: nil,
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
room_nights: nil,
|
|
1491
|
-
total_room_tax_amount: nil,
|
|
1492
|
-
total_tax_amount: nil
|
|
585
|
+
days_rented: nil,
|
|
586
|
+
distance: nil,
|
|
587
|
+
drivers: nil,
|
|
588
|
+
drop_off: nil,
|
|
589
|
+
insurances: nil,
|
|
590
|
+
no_show_indicator: nil,
|
|
591
|
+
pickup: nil,
|
|
592
|
+
renter_name: nil,
|
|
593
|
+
total: nil,
|
|
594
|
+
vehicle: nil
|
|
1493
595
|
)
|
|
1494
|
-
@address = address
|
|
1495
|
-
@adults = adults
|
|
1496
596
|
@affiliate = affiliate
|
|
1497
597
|
@booking_number = booking_number
|
|
1498
|
-
@
|
|
1499
|
-
@checkin_at = checkin_at
|
|
1500
|
-
@checkout_at = checkout_at
|
|
598
|
+
@carrier_name = carrier_name
|
|
1501
599
|
@customer_service_phone_number = customer_service_phone_number
|
|
1502
|
-
@
|
|
1503
|
-
@
|
|
1504
|
-
@
|
|
1505
|
-
@
|
|
1506
|
-
@
|
|
1507
|
-
@
|
|
1508
|
-
@
|
|
1509
|
-
@
|
|
1510
|
-
@
|
|
1511
|
-
@
|
|
1512
|
-
@room_nights = room_nights
|
|
1513
|
-
@total_room_tax_amount = total_room_tax_amount
|
|
1514
|
-
@total_tax_amount = total_tax_amount
|
|
600
|
+
@days_rented = days_rented
|
|
601
|
+
@distance = distance
|
|
602
|
+
@drivers = drivers
|
|
603
|
+
@drop_off = drop_off
|
|
604
|
+
@insurances = insurances
|
|
605
|
+
@no_show_indicator = no_show_indicator
|
|
606
|
+
@pickup = pickup
|
|
607
|
+
@renter_name = renter_name
|
|
608
|
+
@total = total
|
|
609
|
+
@vehicle = vehicle
|
|
1515
610
|
end
|
|
1516
611
|
end
|
|
1517
612
|
|
|
@@ -1808,104 +903,29 @@ module Stripe
|
|
|
1808
903
|
@total = total
|
|
1809
904
|
end
|
|
1810
905
|
end
|
|
1811
|
-
|
|
1812
|
-
class Subscription < ::Stripe::RequestParams
|
|
1813
|
-
class Affiliate < ::Stripe::RequestParams
|
|
1814
|
-
# The name of the affiliate that originated the purchase.
|
|
1815
|
-
attr_accessor :name
|
|
1816
|
-
|
|
1817
|
-
def initialize(name: nil)
|
|
1818
|
-
@name = name
|
|
1819
|
-
end
|
|
1820
|
-
end
|
|
1821
|
-
|
|
1822
|
-
class BillingInterval < ::Stripe::RequestParams
|
|
1823
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1824
|
-
attr_accessor :count
|
|
1825
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1826
|
-
attr_accessor :interval
|
|
1827
|
-
|
|
1828
|
-
def initialize(count: nil, interval: nil)
|
|
1829
|
-
@count = count
|
|
1830
|
-
@interval = interval
|
|
1831
|
-
end
|
|
1832
|
-
end
|
|
1833
|
-
# Affiliate details for this purchase.
|
|
1834
|
-
attr_accessor :affiliate
|
|
1835
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
1836
|
-
attr_accessor :auto_renewal
|
|
1837
|
-
# Subscription billing details for this purchase.
|
|
1838
|
-
attr_accessor :billing_interval
|
|
1839
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
1840
|
-
attr_accessor :ends_at
|
|
1841
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
1842
|
-
attr_accessor :name
|
|
1843
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
1844
|
-
attr_accessor :starts_at
|
|
1845
|
-
|
|
1846
|
-
def initialize(
|
|
1847
|
-
affiliate: nil,
|
|
1848
|
-
auto_renewal: nil,
|
|
1849
|
-
billing_interval: nil,
|
|
1850
|
-
ends_at: nil,
|
|
1851
|
-
name: nil,
|
|
1852
|
-
starts_at: nil
|
|
1853
|
-
)
|
|
1854
|
-
@affiliate = affiliate
|
|
1855
|
-
@auto_renewal = auto_renewal
|
|
1856
|
-
@billing_interval = billing_interval
|
|
1857
|
-
@ends_at = ends_at
|
|
1858
|
-
@name = name
|
|
1859
|
-
@starts_at = starts_at
|
|
1860
|
-
end
|
|
1861
|
-
end
|
|
1862
|
-
# Car rental details for this PaymentIntent.
|
|
1863
|
-
attr_accessor :car_rental
|
|
1864
906
|
# Car rental data for this PaymentIntent.
|
|
1865
907
|
attr_accessor :car_rental_data
|
|
1866
908
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
1867
909
|
#
|
|
1868
910
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1869
911
|
attr_accessor :customer_reference
|
|
1870
|
-
# Event details for this PaymentIntent
|
|
1871
|
-
attr_accessor :event_details
|
|
1872
|
-
# Flight reservation details for this PaymentIntent
|
|
1873
|
-
attr_accessor :flight
|
|
1874
|
-
# Flight data for this PaymentIntent.
|
|
1875
|
-
attr_accessor :flight_data
|
|
1876
|
-
# Lodging reservation details for this PaymentIntent
|
|
1877
|
-
attr_accessor :lodging
|
|
1878
912
|
# Lodging data for this PaymentIntent.
|
|
1879
913
|
attr_accessor :lodging_data
|
|
1880
914
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1881
915
|
#
|
|
1882
916
|
# 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.
|
|
1883
917
|
attr_accessor :order_reference
|
|
1884
|
-
# Subscription details for this PaymentIntent
|
|
1885
|
-
attr_accessor :subscription
|
|
1886
918
|
|
|
1887
919
|
def initialize(
|
|
1888
|
-
car_rental: nil,
|
|
1889
920
|
car_rental_data: nil,
|
|
1890
921
|
customer_reference: nil,
|
|
1891
|
-
event_details: nil,
|
|
1892
|
-
flight: nil,
|
|
1893
|
-
flight_data: nil,
|
|
1894
|
-
lodging: nil,
|
|
1895
922
|
lodging_data: nil,
|
|
1896
|
-
order_reference: nil
|
|
1897
|
-
subscription: nil
|
|
923
|
+
order_reference: nil
|
|
1898
924
|
)
|
|
1899
|
-
@car_rental = car_rental
|
|
1900
925
|
@car_rental_data = car_rental_data
|
|
1901
926
|
@customer_reference = customer_reference
|
|
1902
|
-
@event_details = event_details
|
|
1903
|
-
@flight = flight
|
|
1904
|
-
@flight_data = flight_data
|
|
1905
|
-
@lodging = lodging
|
|
1906
927
|
@lodging_data = lodging_data
|
|
1907
928
|
@order_reference = order_reference
|
|
1908
|
-
@subscription = subscription
|
|
1909
929
|
end
|
|
1910
930
|
end
|
|
1911
931
|
|
|
@@ -2047,18 +1067,8 @@ module Stripe
|
|
|
2047
1067
|
end
|
|
2048
1068
|
|
|
2049
1069
|
class Giropay < ::Stripe::RequestParams; end
|
|
2050
|
-
class Gopay < ::Stripe::RequestParams; end
|
|
2051
1070
|
class Grabpay < ::Stripe::RequestParams; end
|
|
2052
1071
|
|
|
2053
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
2054
|
-
# Bank where the account is held.
|
|
2055
|
-
attr_accessor :bank
|
|
2056
|
-
|
|
2057
|
-
def initialize(bank: nil)
|
|
2058
|
-
@bank = bank
|
|
2059
|
-
end
|
|
2060
|
-
end
|
|
2061
|
-
|
|
2062
1072
|
class Ideal < ::Stripe::RequestParams
|
|
2063
1073
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
2064
1074
|
attr_accessor :bank
|
|
@@ -2175,7 +1185,6 @@ module Stripe
|
|
|
2175
1185
|
|
|
2176
1186
|
class Pix < ::Stripe::RequestParams; end
|
|
2177
1187
|
class Promptpay < ::Stripe::RequestParams; end
|
|
2178
|
-
class Qris < ::Stripe::RequestParams; end
|
|
2179
1188
|
|
|
2180
1189
|
class RadarOptions < ::Stripe::RequestParams
|
|
2181
1190
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -2186,29 +1195,6 @@ module Stripe
|
|
|
2186
1195
|
end
|
|
2187
1196
|
end
|
|
2188
1197
|
|
|
2189
|
-
class Rechnung < ::Stripe::RequestParams
|
|
2190
|
-
class Dob < ::Stripe::RequestParams
|
|
2191
|
-
# The day of birth, between 1 and 31.
|
|
2192
|
-
attr_accessor :day
|
|
2193
|
-
# The month of birth, between 1 and 12.
|
|
2194
|
-
attr_accessor :month
|
|
2195
|
-
# The four-digit year of birth.
|
|
2196
|
-
attr_accessor :year
|
|
2197
|
-
|
|
2198
|
-
def initialize(day: nil, month: nil, year: nil)
|
|
2199
|
-
@day = day
|
|
2200
|
-
@month = month
|
|
2201
|
-
@year = year
|
|
2202
|
-
end
|
|
2203
|
-
end
|
|
2204
|
-
# Customer's date of birth
|
|
2205
|
-
attr_accessor :dob
|
|
2206
|
-
|
|
2207
|
-
def initialize(dob: nil)
|
|
2208
|
-
@dob = dob
|
|
2209
|
-
end
|
|
2210
|
-
end
|
|
2211
|
-
|
|
2212
1198
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
2213
1199
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
2214
1200
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -2224,7 +1210,6 @@ module Stripe
|
|
|
2224
1210
|
end
|
|
2225
1211
|
|
|
2226
1212
|
class Sequra < ::Stripe::RequestParams; end
|
|
2227
|
-
class Shopeepay < ::Stripe::RequestParams; end
|
|
2228
1213
|
|
|
2229
1214
|
class Sofort < ::Stripe::RequestParams
|
|
2230
1215
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -2235,15 +1220,6 @@ module Stripe
|
|
|
2235
1220
|
end
|
|
2236
1221
|
end
|
|
2237
1222
|
|
|
2238
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
2239
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2240
|
-
attr_accessor :account
|
|
2241
|
-
|
|
2242
|
-
def initialize(account: nil)
|
|
2243
|
-
@account = account
|
|
2244
|
-
end
|
|
2245
|
-
end
|
|
2246
|
-
|
|
2247
1223
|
class Sunbit < ::Stripe::RequestParams; end
|
|
2248
1224
|
class Swish < ::Stripe::RequestParams; end
|
|
2249
1225
|
class Twint < ::Stripe::RequestParams; end
|
|
@@ -2275,25 +1251,12 @@ module Stripe
|
|
|
2275
1251
|
end
|
|
2276
1252
|
|
|
2277
1253
|
class UsBankAccount < ::Stripe::RequestParams
|
|
2278
|
-
class ExternalToken < ::Stripe::RequestParams
|
|
2279
|
-
# The Plaid processor token to use for this bank account.
|
|
2280
|
-
attr_accessor :plaid_processor_token
|
|
2281
|
-
# The type of external token.
|
|
2282
|
-
attr_accessor :type
|
|
2283
|
-
|
|
2284
|
-
def initialize(plaid_processor_token: nil, type: nil)
|
|
2285
|
-
@plaid_processor_token = plaid_processor_token
|
|
2286
|
-
@type = type
|
|
2287
|
-
end
|
|
2288
|
-
end
|
|
2289
1254
|
# Account holder type: individual or company.
|
|
2290
1255
|
attr_accessor :account_holder_type
|
|
2291
1256
|
# Account number of the bank account.
|
|
2292
1257
|
attr_accessor :account_number
|
|
2293
1258
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
|
2294
1259
|
attr_accessor :account_type
|
|
2295
|
-
# An external token used to create a payment method.
|
|
2296
|
-
attr_accessor :external_token
|
|
2297
1260
|
# The ID of a Financial Connections Account to use as a payment method.
|
|
2298
1261
|
attr_accessor :financial_connections_account
|
|
2299
1262
|
# Routing number of the bank account.
|
|
@@ -2303,21 +1266,18 @@ module Stripe
|
|
|
2303
1266
|
account_holder_type: nil,
|
|
2304
1267
|
account_number: nil,
|
|
2305
1268
|
account_type: nil,
|
|
2306
|
-
external_token: nil,
|
|
2307
1269
|
financial_connections_account: nil,
|
|
2308
1270
|
routing_number: nil
|
|
2309
1271
|
)
|
|
2310
1272
|
@account_holder_type = account_holder_type
|
|
2311
1273
|
@account_number = account_number
|
|
2312
1274
|
@account_type = account_type
|
|
2313
|
-
@external_token = external_token
|
|
2314
1275
|
@financial_connections_account = financial_connections_account
|
|
2315
1276
|
@routing_number = routing_number
|
|
2316
1277
|
end
|
|
2317
1278
|
end
|
|
2318
1279
|
|
|
2319
1280
|
class WechatPay < ::Stripe::RequestParams; end
|
|
2320
|
-
class Wero < ::Stripe::RequestParams; end
|
|
2321
1281
|
class Zip < ::Stripe::RequestParams; end
|
|
2322
1282
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
2323
1283
|
attr_accessor :acss_debit
|
|
@@ -2361,12 +1321,8 @@ module Stripe
|
|
|
2361
1321
|
attr_accessor :fpx
|
|
2362
1322
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
2363
1323
|
attr_accessor :giropay
|
|
2364
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2365
|
-
attr_accessor :gopay
|
|
2366
1324
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
2367
1325
|
attr_accessor :grabpay
|
|
2368
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2369
|
-
attr_accessor :id_bank_transfer
|
|
2370
1326
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
2371
1327
|
attr_accessor :ideal
|
|
2372
1328
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -2413,12 +1369,8 @@ module Stripe
|
|
|
2413
1369
|
attr_accessor :pix
|
|
2414
1370
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
2415
1371
|
attr_accessor :promptpay
|
|
2416
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2417
|
-
attr_accessor :qris
|
|
2418
1372
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
2419
1373
|
attr_accessor :radar_options
|
|
2420
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2421
|
-
attr_accessor :rechnung
|
|
2422
1374
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2423
1375
|
attr_accessor :revolut_pay
|
|
2424
1376
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -2431,14 +1383,8 @@ module Stripe
|
|
|
2431
1383
|
attr_accessor :sepa_debit
|
|
2432
1384
|
# If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method.
|
|
2433
1385
|
attr_accessor :sequra
|
|
2434
|
-
# ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
2435
|
-
attr_accessor :shared_payment_granted_token
|
|
2436
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2437
|
-
attr_accessor :shopeepay
|
|
2438
1386
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
2439
1387
|
attr_accessor :sofort
|
|
2440
|
-
# This hash contains details about the Stripe balance payment method.
|
|
2441
|
-
attr_accessor :stripe_balance
|
|
2442
1388
|
# If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
2443
1389
|
attr_accessor :sunbit
|
|
2444
1390
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
@@ -2453,8 +1399,6 @@ module Stripe
|
|
|
2453
1399
|
attr_accessor :us_bank_account
|
|
2454
1400
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
|
2455
1401
|
attr_accessor :wechat_pay
|
|
2456
|
-
# If this is a Wero PaymentMethod, this hash contains details about the Wero payment method.
|
|
2457
|
-
attr_accessor :wero
|
|
2458
1402
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
|
2459
1403
|
attr_accessor :zip
|
|
2460
1404
|
|
|
@@ -2480,9 +1424,7 @@ module Stripe
|
|
|
2480
1424
|
eps: nil,
|
|
2481
1425
|
fpx: nil,
|
|
2482
1426
|
giropay: nil,
|
|
2483
|
-
gopay: nil,
|
|
2484
1427
|
grabpay: nil,
|
|
2485
|
-
id_bank_transfer: nil,
|
|
2486
1428
|
ideal: nil,
|
|
2487
1429
|
interac_present: nil,
|
|
2488
1430
|
kakao_pay: nil,
|
|
@@ -2506,19 +1448,14 @@ module Stripe
|
|
|
2506
1448
|
payto: nil,
|
|
2507
1449
|
pix: nil,
|
|
2508
1450
|
promptpay: nil,
|
|
2509
|
-
qris: nil,
|
|
2510
1451
|
radar_options: nil,
|
|
2511
|
-
rechnung: nil,
|
|
2512
1452
|
revolut_pay: nil,
|
|
2513
1453
|
samsung_pay: nil,
|
|
2514
1454
|
satispay: nil,
|
|
2515
1455
|
scalapay: nil,
|
|
2516
1456
|
sepa_debit: nil,
|
|
2517
1457
|
sequra: nil,
|
|
2518
|
-
shared_payment_granted_token: nil,
|
|
2519
|
-
shopeepay: nil,
|
|
2520
1458
|
sofort: nil,
|
|
2521
|
-
stripe_balance: nil,
|
|
2522
1459
|
sunbit: nil,
|
|
2523
1460
|
swish: nil,
|
|
2524
1461
|
twint: nil,
|
|
@@ -2526,7 +1463,6 @@ module Stripe
|
|
|
2526
1463
|
upi: nil,
|
|
2527
1464
|
us_bank_account: nil,
|
|
2528
1465
|
wechat_pay: nil,
|
|
2529
|
-
wero: nil,
|
|
2530
1466
|
zip: nil
|
|
2531
1467
|
)
|
|
2532
1468
|
@acss_debit = acss_debit
|
|
@@ -2550,9 +1486,7 @@ module Stripe
|
|
|
2550
1486
|
@eps = eps
|
|
2551
1487
|
@fpx = fpx
|
|
2552
1488
|
@giropay = giropay
|
|
2553
|
-
@gopay = gopay
|
|
2554
1489
|
@grabpay = grabpay
|
|
2555
|
-
@id_bank_transfer = id_bank_transfer
|
|
2556
1490
|
@ideal = ideal
|
|
2557
1491
|
@interac_present = interac_present
|
|
2558
1492
|
@kakao_pay = kakao_pay
|
|
@@ -2576,19 +1510,14 @@ module Stripe
|
|
|
2576
1510
|
@payto = payto
|
|
2577
1511
|
@pix = pix
|
|
2578
1512
|
@promptpay = promptpay
|
|
2579
|
-
@qris = qris
|
|
2580
1513
|
@radar_options = radar_options
|
|
2581
|
-
@rechnung = rechnung
|
|
2582
1514
|
@revolut_pay = revolut_pay
|
|
2583
1515
|
@samsung_pay = samsung_pay
|
|
2584
1516
|
@satispay = satispay
|
|
2585
1517
|
@scalapay = scalapay
|
|
2586
1518
|
@sepa_debit = sepa_debit
|
|
2587
1519
|
@sequra = sequra
|
|
2588
|
-
@shared_payment_granted_token = shared_payment_granted_token
|
|
2589
|
-
@shopeepay = shopeepay
|
|
2590
1520
|
@sofort = sofort
|
|
2591
|
-
@stripe_balance = stripe_balance
|
|
2592
1521
|
@sunbit = sunbit
|
|
2593
1522
|
@swish = swish
|
|
2594
1523
|
@twint = twint
|
|
@@ -2596,7 +1525,6 @@ module Stripe
|
|
|
2596
1525
|
@upi = upi
|
|
2597
1526
|
@us_bank_account = us_bank_account
|
|
2598
1527
|
@wechat_pay = wechat_pay
|
|
2599
|
-
@wero = wero
|
|
2600
1528
|
@zip = zip
|
|
2601
1529
|
end
|
|
2602
1530
|
end
|
|
@@ -3020,62 +1948,20 @@ module Stripe
|
|
|
3020
1948
|
description: nil,
|
|
3021
1949
|
end_date: nil,
|
|
3022
1950
|
interval: nil,
|
|
3023
|
-
interval_count: nil,
|
|
3024
|
-
reference: nil,
|
|
3025
|
-
start_date: nil,
|
|
3026
|
-
supported_types: nil
|
|
3027
|
-
)
|
|
3028
|
-
@amount = amount
|
|
3029
|
-
@amount_type = amount_type
|
|
3030
|
-
@description = description
|
|
3031
|
-
@end_date = end_date
|
|
3032
|
-
@interval = interval
|
|
3033
|
-
@interval_count = interval_count
|
|
3034
|
-
@reference = reference
|
|
3035
|
-
@start_date = start_date
|
|
3036
|
-
@supported_types = supported_types
|
|
3037
|
-
end
|
|
3038
|
-
end
|
|
3039
|
-
|
|
3040
|
-
class StatementDetails < ::Stripe::RequestParams
|
|
3041
|
-
class Address < ::Stripe::RequestParams
|
|
3042
|
-
# City, district, suburb, town, or village.
|
|
3043
|
-
attr_accessor :city
|
|
3044
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3045
|
-
attr_accessor :country
|
|
3046
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
3047
|
-
attr_accessor :line1
|
|
3048
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
3049
|
-
attr_accessor :line2
|
|
3050
|
-
# ZIP or postal code.
|
|
3051
|
-
attr_accessor :postal_code
|
|
3052
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3053
|
-
attr_accessor :state
|
|
3054
|
-
|
|
3055
|
-
def initialize(
|
|
3056
|
-
city: nil,
|
|
3057
|
-
country: nil,
|
|
3058
|
-
line1: nil,
|
|
3059
|
-
line2: nil,
|
|
3060
|
-
postal_code: nil,
|
|
3061
|
-
state: nil
|
|
3062
|
-
)
|
|
3063
|
-
@city = city
|
|
3064
|
-
@country = country
|
|
3065
|
-
@line1 = line1
|
|
3066
|
-
@line2 = line2
|
|
3067
|
-
@postal_code = postal_code
|
|
3068
|
-
@state = state
|
|
3069
|
-
end
|
|
3070
|
-
end
|
|
3071
|
-
# Please pass in an address that is within your Stripe user account country
|
|
3072
|
-
attr_accessor :address
|
|
3073
|
-
# Phone number (e.g., a toll-free number that customers can call)
|
|
3074
|
-
attr_accessor :phone
|
|
3075
|
-
|
|
3076
|
-
def initialize(address: nil, phone: nil)
|
|
3077
|
-
@address = address
|
|
3078
|
-
@phone = phone
|
|
1951
|
+
interval_count: nil,
|
|
1952
|
+
reference: nil,
|
|
1953
|
+
start_date: nil,
|
|
1954
|
+
supported_types: nil
|
|
1955
|
+
)
|
|
1956
|
+
@amount = amount
|
|
1957
|
+
@amount_type = amount_type
|
|
1958
|
+
@description = description
|
|
1959
|
+
@end_date = end_date
|
|
1960
|
+
@interval = interval
|
|
1961
|
+
@interval_count = interval_count
|
|
1962
|
+
@reference = reference
|
|
1963
|
+
@start_date = start_date
|
|
1964
|
+
@supported_types = supported_types
|
|
3079
1965
|
end
|
|
3080
1966
|
end
|
|
3081
1967
|
|
|
@@ -3173,8 +2059,6 @@ module Stripe
|
|
|
3173
2059
|
attr_accessor :moto
|
|
3174
2060
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
|
3175
2061
|
attr_accessor :network
|
|
3176
|
-
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3177
|
-
attr_accessor :request_decremental_authorization
|
|
3178
2062
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
3179
2063
|
attr_accessor :request_extended_authorization
|
|
3180
2064
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -3183,8 +2067,6 @@ module Stripe
|
|
|
3183
2067
|
attr_accessor :request_multicapture
|
|
3184
2068
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
3185
2069
|
attr_accessor :request_overcapture
|
|
3186
|
-
# Request partial authorization on this PaymentIntent.
|
|
3187
|
-
attr_accessor :request_partial_authorization
|
|
3188
2070
|
# 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.
|
|
3189
2071
|
attr_accessor :request_three_d_secure
|
|
3190
2072
|
# 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).
|
|
@@ -3205,8 +2087,6 @@ module Stripe
|
|
|
3205
2087
|
attr_accessor :statement_descriptor_suffix_kana
|
|
3206
2088
|
# 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.
|
|
3207
2089
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
3208
|
-
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
3209
|
-
attr_accessor :statement_details
|
|
3210
2090
|
# Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards).
|
|
3211
2091
|
#
|
|
3212
2092
|
# When making an off session payment with a previously saved card (that was saved with a SetupIntent or with a PaymentIntent with `setup_future_usage`), set this parameter to indicate the type of transaction.
|
|
@@ -3226,19 +2106,16 @@ module Stripe
|
|
|
3226
2106
|
mandate_options: nil,
|
|
3227
2107
|
moto: nil,
|
|
3228
2108
|
network: nil,
|
|
3229
|
-
request_decremental_authorization: nil,
|
|
3230
2109
|
request_extended_authorization: nil,
|
|
3231
2110
|
request_incremental_authorization: nil,
|
|
3232
2111
|
request_multicapture: nil,
|
|
3233
2112
|
request_overcapture: nil,
|
|
3234
|
-
request_partial_authorization: nil,
|
|
3235
2113
|
request_three_d_secure: nil,
|
|
3236
2114
|
require_cvc_recollection: nil,
|
|
3237
2115
|
setup_credential_usage: nil,
|
|
3238
2116
|
setup_future_usage: nil,
|
|
3239
2117
|
statement_descriptor_suffix_kana: nil,
|
|
3240
2118
|
statement_descriptor_suffix_kanji: nil,
|
|
3241
|
-
statement_details: nil,
|
|
3242
2119
|
stored_credential_usage: nil,
|
|
3243
2120
|
three_d_secure: nil
|
|
3244
2121
|
)
|
|
@@ -3248,19 +2125,16 @@ module Stripe
|
|
|
3248
2125
|
@mandate_options = mandate_options
|
|
3249
2126
|
@moto = moto
|
|
3250
2127
|
@network = network
|
|
3251
|
-
@request_decremental_authorization = request_decremental_authorization
|
|
3252
2128
|
@request_extended_authorization = request_extended_authorization
|
|
3253
2129
|
@request_incremental_authorization = request_incremental_authorization
|
|
3254
2130
|
@request_multicapture = request_multicapture
|
|
3255
2131
|
@request_overcapture = request_overcapture
|
|
3256
|
-
@request_partial_authorization = request_partial_authorization
|
|
3257
2132
|
@request_three_d_secure = request_three_d_secure
|
|
3258
2133
|
@require_cvc_recollection = require_cvc_recollection
|
|
3259
2134
|
@setup_credential_usage = setup_credential_usage
|
|
3260
2135
|
@setup_future_usage = setup_future_usage
|
|
3261
2136
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
3262
2137
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
3263
|
-
@statement_details = statement_details
|
|
3264
2138
|
@stored_credential_usage = stored_credential_usage
|
|
3265
2139
|
@three_d_secure = three_d_secure
|
|
3266
2140
|
end
|
|
@@ -3440,23 +2314,6 @@ module Stripe
|
|
|
3440
2314
|
end
|
|
3441
2315
|
end
|
|
3442
2316
|
|
|
3443
|
-
class Gopay < ::Stripe::RequestParams
|
|
3444
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3445
|
-
#
|
|
3446
|
-
# 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.
|
|
3447
|
-
#
|
|
3448
|
-
# 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.
|
|
3449
|
-
#
|
|
3450
|
-
# 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).
|
|
3451
|
-
#
|
|
3452
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3453
|
-
attr_accessor :setup_future_usage
|
|
3454
|
-
|
|
3455
|
-
def initialize(setup_future_usage: nil)
|
|
3456
|
-
@setup_future_usage = setup_future_usage
|
|
3457
|
-
end
|
|
3458
|
-
end
|
|
3459
|
-
|
|
3460
2317
|
class Grabpay < ::Stripe::RequestParams
|
|
3461
2318
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3462
2319
|
#
|
|
@@ -3474,29 +2331,6 @@ module Stripe
|
|
|
3474
2331
|
end
|
|
3475
2332
|
end
|
|
3476
2333
|
|
|
3477
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
3478
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
3479
|
-
attr_accessor :expires_after
|
|
3480
|
-
# 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.
|
|
3481
|
-
attr_accessor :expires_at
|
|
3482
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3483
|
-
#
|
|
3484
|
-
# 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.
|
|
3485
|
-
#
|
|
3486
|
-
# 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.
|
|
3487
|
-
#
|
|
3488
|
-
# 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).
|
|
3489
|
-
#
|
|
3490
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3491
|
-
attr_accessor :setup_future_usage
|
|
3492
|
-
|
|
3493
|
-
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
3494
|
-
@expires_after = expires_after
|
|
3495
|
-
@expires_at = expires_at
|
|
3496
|
-
@setup_future_usage = setup_future_usage
|
|
3497
|
-
end
|
|
3498
|
-
end
|
|
3499
|
-
|
|
3500
2334
|
class Ideal < ::Stripe::RequestParams
|
|
3501
2335
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3502
2336
|
#
|
|
@@ -3603,939 +2437,6 @@ module Stripe
|
|
|
3603
2437
|
@reference = reference
|
|
3604
2438
|
end
|
|
3605
2439
|
end
|
|
3606
|
-
|
|
3607
|
-
class SupplementaryPurchaseData < ::Stripe::RequestParams
|
|
3608
|
-
class BusReservationDetail < ::Stripe::RequestParams
|
|
3609
|
-
class Arrival < ::Stripe::RequestParams
|
|
3610
|
-
class Address < ::Stripe::RequestParams
|
|
3611
|
-
# The city or town.
|
|
3612
|
-
attr_accessor :city
|
|
3613
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3614
|
-
attr_accessor :country
|
|
3615
|
-
# The postal code formatted according to country.
|
|
3616
|
-
attr_accessor :postal_code
|
|
3617
|
-
# The state, county, province, or region formatted according to country.
|
|
3618
|
-
attr_accessor :region
|
|
3619
|
-
# Line 1 of the street address.
|
|
3620
|
-
attr_accessor :street_address
|
|
3621
|
-
# Line 2 of the street address.
|
|
3622
|
-
attr_accessor :street_address2
|
|
3623
|
-
|
|
3624
|
-
def initialize(
|
|
3625
|
-
city: nil,
|
|
3626
|
-
country: nil,
|
|
3627
|
-
postal_code: nil,
|
|
3628
|
-
region: nil,
|
|
3629
|
-
street_address: nil,
|
|
3630
|
-
street_address2: nil
|
|
3631
|
-
)
|
|
3632
|
-
@city = city
|
|
3633
|
-
@country = country
|
|
3634
|
-
@postal_code = postal_code
|
|
3635
|
-
@region = region
|
|
3636
|
-
@street_address = street_address
|
|
3637
|
-
@street_address2 = street_address2
|
|
3638
|
-
end
|
|
3639
|
-
end
|
|
3640
|
-
# Address of the arrival location.
|
|
3641
|
-
attr_accessor :address
|
|
3642
|
-
# Identifier name or reference for the arrival location.
|
|
3643
|
-
attr_accessor :arrival_location
|
|
3644
|
-
|
|
3645
|
-
def initialize(address: nil, arrival_location: nil)
|
|
3646
|
-
@address = address
|
|
3647
|
-
@arrival_location = arrival_location
|
|
3648
|
-
end
|
|
3649
|
-
end
|
|
3650
|
-
|
|
3651
|
-
class Departure < ::Stripe::RequestParams
|
|
3652
|
-
class Address < ::Stripe::RequestParams
|
|
3653
|
-
# The city or town.
|
|
3654
|
-
attr_accessor :city
|
|
3655
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3656
|
-
attr_accessor :country
|
|
3657
|
-
# The postal code formatted according to country.
|
|
3658
|
-
attr_accessor :postal_code
|
|
3659
|
-
# The state, county, province, or region formatted according to country.
|
|
3660
|
-
attr_accessor :region
|
|
3661
|
-
# Line 1 of the street address.
|
|
3662
|
-
attr_accessor :street_address
|
|
3663
|
-
# Line 2 of the street address.
|
|
3664
|
-
attr_accessor :street_address2
|
|
3665
|
-
|
|
3666
|
-
def initialize(
|
|
3667
|
-
city: nil,
|
|
3668
|
-
country: nil,
|
|
3669
|
-
postal_code: nil,
|
|
3670
|
-
region: nil,
|
|
3671
|
-
street_address: nil,
|
|
3672
|
-
street_address2: nil
|
|
3673
|
-
)
|
|
3674
|
-
@city = city
|
|
3675
|
-
@country = country
|
|
3676
|
-
@postal_code = postal_code
|
|
3677
|
-
@region = region
|
|
3678
|
-
@street_address = street_address
|
|
3679
|
-
@street_address2 = street_address2
|
|
3680
|
-
end
|
|
3681
|
-
end
|
|
3682
|
-
# Address of the departure location.
|
|
3683
|
-
attr_accessor :address
|
|
3684
|
-
# Timestamp of departure.
|
|
3685
|
-
attr_accessor :departs_at
|
|
3686
|
-
# Identifier name or reference for the origin location.
|
|
3687
|
-
attr_accessor :departure_location
|
|
3688
|
-
|
|
3689
|
-
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
3690
|
-
@address = address
|
|
3691
|
-
@departs_at = departs_at
|
|
3692
|
-
@departure_location = departure_location
|
|
3693
|
-
end
|
|
3694
|
-
end
|
|
3695
|
-
|
|
3696
|
-
class Insurance < ::Stripe::RequestParams
|
|
3697
|
-
# Insurance currency.
|
|
3698
|
-
attr_accessor :currency
|
|
3699
|
-
# Name of the company providing the insurance.
|
|
3700
|
-
attr_accessor :insurance_company_name
|
|
3701
|
-
# Type of insurance.
|
|
3702
|
-
attr_accessor :insurance_type
|
|
3703
|
-
# Price of insurance in cents.
|
|
3704
|
-
attr_accessor :price
|
|
3705
|
-
|
|
3706
|
-
def initialize(
|
|
3707
|
-
currency: nil,
|
|
3708
|
-
insurance_company_name: nil,
|
|
3709
|
-
insurance_type: nil,
|
|
3710
|
-
price: nil
|
|
3711
|
-
)
|
|
3712
|
-
@currency = currency
|
|
3713
|
-
@insurance_company_name = insurance_company_name
|
|
3714
|
-
@insurance_type = insurance_type
|
|
3715
|
-
@price = price
|
|
3716
|
-
end
|
|
3717
|
-
end
|
|
3718
|
-
|
|
3719
|
-
class Passenger < ::Stripe::RequestParams
|
|
3720
|
-
# The family name of the person.
|
|
3721
|
-
attr_accessor :family_name
|
|
3722
|
-
# The given name of the person.
|
|
3723
|
-
attr_accessor :given_name
|
|
3724
|
-
|
|
3725
|
-
def initialize(family_name: nil, given_name: nil)
|
|
3726
|
-
@family_name = family_name
|
|
3727
|
-
@given_name = given_name
|
|
3728
|
-
end
|
|
3729
|
-
end
|
|
3730
|
-
# Name of associated or partner company for the service.
|
|
3731
|
-
attr_accessor :affiliate_name
|
|
3732
|
-
# Arrival details.
|
|
3733
|
-
attr_accessor :arrival
|
|
3734
|
-
# Name of transportation company.
|
|
3735
|
-
attr_accessor :carrier_name
|
|
3736
|
-
# Currency.
|
|
3737
|
-
attr_accessor :currency
|
|
3738
|
-
# Departure details.
|
|
3739
|
-
attr_accessor :departure
|
|
3740
|
-
# List of insurances for this reservation.
|
|
3741
|
-
attr_accessor :insurances
|
|
3742
|
-
# List of passengers that this reservation applies to.
|
|
3743
|
-
attr_accessor :passengers
|
|
3744
|
-
# Price in cents.
|
|
3745
|
-
attr_accessor :price
|
|
3746
|
-
# Ticket class.
|
|
3747
|
-
attr_accessor :ticket_class
|
|
3748
|
-
|
|
3749
|
-
def initialize(
|
|
3750
|
-
affiliate_name: nil,
|
|
3751
|
-
arrival: nil,
|
|
3752
|
-
carrier_name: nil,
|
|
3753
|
-
currency: nil,
|
|
3754
|
-
departure: nil,
|
|
3755
|
-
insurances: nil,
|
|
3756
|
-
passengers: nil,
|
|
3757
|
-
price: nil,
|
|
3758
|
-
ticket_class: nil
|
|
3759
|
-
)
|
|
3760
|
-
@affiliate_name = affiliate_name
|
|
3761
|
-
@arrival = arrival
|
|
3762
|
-
@carrier_name = carrier_name
|
|
3763
|
-
@currency = currency
|
|
3764
|
-
@departure = departure
|
|
3765
|
-
@insurances = insurances
|
|
3766
|
-
@passengers = passengers
|
|
3767
|
-
@price = price
|
|
3768
|
-
@ticket_class = ticket_class
|
|
3769
|
-
end
|
|
3770
|
-
end
|
|
3771
|
-
|
|
3772
|
-
class EventReservationDetail < ::Stripe::RequestParams
|
|
3773
|
-
class Address < ::Stripe::RequestParams
|
|
3774
|
-
# The city or town.
|
|
3775
|
-
attr_accessor :city
|
|
3776
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3777
|
-
attr_accessor :country
|
|
3778
|
-
# The postal code formatted according to country.
|
|
3779
|
-
attr_accessor :postal_code
|
|
3780
|
-
# The state, county, province, or region formatted according to country.
|
|
3781
|
-
attr_accessor :region
|
|
3782
|
-
# Line 1 of the street address.
|
|
3783
|
-
attr_accessor :street_address
|
|
3784
|
-
# Line 2 of the street address.
|
|
3785
|
-
attr_accessor :street_address2
|
|
3786
|
-
|
|
3787
|
-
def initialize(
|
|
3788
|
-
city: nil,
|
|
3789
|
-
country: nil,
|
|
3790
|
-
postal_code: nil,
|
|
3791
|
-
region: nil,
|
|
3792
|
-
street_address: nil,
|
|
3793
|
-
street_address2: nil
|
|
3794
|
-
)
|
|
3795
|
-
@city = city
|
|
3796
|
-
@country = country
|
|
3797
|
-
@postal_code = postal_code
|
|
3798
|
-
@region = region
|
|
3799
|
-
@street_address = street_address
|
|
3800
|
-
@street_address2 = street_address2
|
|
3801
|
-
end
|
|
3802
|
-
end
|
|
3803
|
-
|
|
3804
|
-
class Insurance < ::Stripe::RequestParams
|
|
3805
|
-
# Insurance currency.
|
|
3806
|
-
attr_accessor :currency
|
|
3807
|
-
# Name of the company providing the insurance.
|
|
3808
|
-
attr_accessor :insurance_company_name
|
|
3809
|
-
# Type of insurance.
|
|
3810
|
-
attr_accessor :insurance_type
|
|
3811
|
-
# Price of insurance in cents.
|
|
3812
|
-
attr_accessor :price
|
|
3813
|
-
|
|
3814
|
-
def initialize(
|
|
3815
|
-
currency: nil,
|
|
3816
|
-
insurance_company_name: nil,
|
|
3817
|
-
insurance_type: nil,
|
|
3818
|
-
price: nil
|
|
3819
|
-
)
|
|
3820
|
-
@currency = currency
|
|
3821
|
-
@insurance_company_name = insurance_company_name
|
|
3822
|
-
@insurance_type = insurance_type
|
|
3823
|
-
@price = price
|
|
3824
|
-
end
|
|
3825
|
-
end
|
|
3826
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
3827
|
-
attr_accessor :access_controlled_venue
|
|
3828
|
-
# Address of the event.
|
|
3829
|
-
attr_accessor :address
|
|
3830
|
-
# Name of associated or partner company for the service.
|
|
3831
|
-
attr_accessor :affiliate_name
|
|
3832
|
-
# End timestamp of the event.
|
|
3833
|
-
attr_accessor :ends_at
|
|
3834
|
-
# Company selling the ticket.
|
|
3835
|
-
attr_accessor :event_company_name
|
|
3836
|
-
# Name of the event.
|
|
3837
|
-
attr_accessor :event_name
|
|
3838
|
-
# Type of the event.
|
|
3839
|
-
attr_accessor :event_type
|
|
3840
|
-
# List of insurances for this event.
|
|
3841
|
-
attr_accessor :insurances
|
|
3842
|
-
# Start timestamp of the event.
|
|
3843
|
-
attr_accessor :starts_at
|
|
3844
|
-
# Name of the venue where the event takes place.
|
|
3845
|
-
attr_accessor :venue_name
|
|
3846
|
-
|
|
3847
|
-
def initialize(
|
|
3848
|
-
access_controlled_venue: nil,
|
|
3849
|
-
address: nil,
|
|
3850
|
-
affiliate_name: nil,
|
|
3851
|
-
ends_at: nil,
|
|
3852
|
-
event_company_name: nil,
|
|
3853
|
-
event_name: nil,
|
|
3854
|
-
event_type: nil,
|
|
3855
|
-
insurances: nil,
|
|
3856
|
-
starts_at: nil,
|
|
3857
|
-
venue_name: nil
|
|
3858
|
-
)
|
|
3859
|
-
@access_controlled_venue = access_controlled_venue
|
|
3860
|
-
@address = address
|
|
3861
|
-
@affiliate_name = affiliate_name
|
|
3862
|
-
@ends_at = ends_at
|
|
3863
|
-
@event_company_name = event_company_name
|
|
3864
|
-
@event_name = event_name
|
|
3865
|
-
@event_type = event_type
|
|
3866
|
-
@insurances = insurances
|
|
3867
|
-
@starts_at = starts_at
|
|
3868
|
-
@venue_name = venue_name
|
|
3869
|
-
end
|
|
3870
|
-
end
|
|
3871
|
-
|
|
3872
|
-
class FerryReservationDetail < ::Stripe::RequestParams
|
|
3873
|
-
class Arrival < ::Stripe::RequestParams
|
|
3874
|
-
class Address < ::Stripe::RequestParams
|
|
3875
|
-
# The city or town.
|
|
3876
|
-
attr_accessor :city
|
|
3877
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3878
|
-
attr_accessor :country
|
|
3879
|
-
# The postal code formatted according to country.
|
|
3880
|
-
attr_accessor :postal_code
|
|
3881
|
-
# The state, county, province, or region formatted according to country.
|
|
3882
|
-
attr_accessor :region
|
|
3883
|
-
# Line 1 of the street address.
|
|
3884
|
-
attr_accessor :street_address
|
|
3885
|
-
# Line 2 of the street address.
|
|
3886
|
-
attr_accessor :street_address2
|
|
3887
|
-
|
|
3888
|
-
def initialize(
|
|
3889
|
-
city: nil,
|
|
3890
|
-
country: nil,
|
|
3891
|
-
postal_code: nil,
|
|
3892
|
-
region: nil,
|
|
3893
|
-
street_address: nil,
|
|
3894
|
-
street_address2: nil
|
|
3895
|
-
)
|
|
3896
|
-
@city = city
|
|
3897
|
-
@country = country
|
|
3898
|
-
@postal_code = postal_code
|
|
3899
|
-
@region = region
|
|
3900
|
-
@street_address = street_address
|
|
3901
|
-
@street_address2 = street_address2
|
|
3902
|
-
end
|
|
3903
|
-
end
|
|
3904
|
-
# Address of the arrival location.
|
|
3905
|
-
attr_accessor :address
|
|
3906
|
-
# Identifier name or reference for the arrival location.
|
|
3907
|
-
attr_accessor :arrival_location
|
|
3908
|
-
|
|
3909
|
-
def initialize(address: nil, arrival_location: nil)
|
|
3910
|
-
@address = address
|
|
3911
|
-
@arrival_location = arrival_location
|
|
3912
|
-
end
|
|
3913
|
-
end
|
|
3914
|
-
|
|
3915
|
-
class Departure < ::Stripe::RequestParams
|
|
3916
|
-
class Address < ::Stripe::RequestParams
|
|
3917
|
-
# The city or town.
|
|
3918
|
-
attr_accessor :city
|
|
3919
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3920
|
-
attr_accessor :country
|
|
3921
|
-
# The postal code formatted according to country.
|
|
3922
|
-
attr_accessor :postal_code
|
|
3923
|
-
# The state, county, province, or region formatted according to country.
|
|
3924
|
-
attr_accessor :region
|
|
3925
|
-
# Line 1 of the street address.
|
|
3926
|
-
attr_accessor :street_address
|
|
3927
|
-
# Line 2 of the street address.
|
|
3928
|
-
attr_accessor :street_address2
|
|
3929
|
-
|
|
3930
|
-
def initialize(
|
|
3931
|
-
city: nil,
|
|
3932
|
-
country: nil,
|
|
3933
|
-
postal_code: nil,
|
|
3934
|
-
region: nil,
|
|
3935
|
-
street_address: nil,
|
|
3936
|
-
street_address2: nil
|
|
3937
|
-
)
|
|
3938
|
-
@city = city
|
|
3939
|
-
@country = country
|
|
3940
|
-
@postal_code = postal_code
|
|
3941
|
-
@region = region
|
|
3942
|
-
@street_address = street_address
|
|
3943
|
-
@street_address2 = street_address2
|
|
3944
|
-
end
|
|
3945
|
-
end
|
|
3946
|
-
# Address of the departure location.
|
|
3947
|
-
attr_accessor :address
|
|
3948
|
-
# Timestamp of departure.
|
|
3949
|
-
attr_accessor :departs_at
|
|
3950
|
-
# Identifier name or reference for the origin location.
|
|
3951
|
-
attr_accessor :departure_location
|
|
3952
|
-
|
|
3953
|
-
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
3954
|
-
@address = address
|
|
3955
|
-
@departs_at = departs_at
|
|
3956
|
-
@departure_location = departure_location
|
|
3957
|
-
end
|
|
3958
|
-
end
|
|
3959
|
-
|
|
3960
|
-
class Insurance < ::Stripe::RequestParams
|
|
3961
|
-
# Insurance currency.
|
|
3962
|
-
attr_accessor :currency
|
|
3963
|
-
# Name of the company providing the insurance.
|
|
3964
|
-
attr_accessor :insurance_company_name
|
|
3965
|
-
# Type of insurance.
|
|
3966
|
-
attr_accessor :insurance_type
|
|
3967
|
-
# Price of insurance in cents.
|
|
3968
|
-
attr_accessor :price
|
|
3969
|
-
|
|
3970
|
-
def initialize(
|
|
3971
|
-
currency: nil,
|
|
3972
|
-
insurance_company_name: nil,
|
|
3973
|
-
insurance_type: nil,
|
|
3974
|
-
price: nil
|
|
3975
|
-
)
|
|
3976
|
-
@currency = currency
|
|
3977
|
-
@insurance_company_name = insurance_company_name
|
|
3978
|
-
@insurance_type = insurance_type
|
|
3979
|
-
@price = price
|
|
3980
|
-
end
|
|
3981
|
-
end
|
|
3982
|
-
|
|
3983
|
-
class Passenger < ::Stripe::RequestParams
|
|
3984
|
-
# The family name of the person.
|
|
3985
|
-
attr_accessor :family_name
|
|
3986
|
-
# The given name of the person.
|
|
3987
|
-
attr_accessor :given_name
|
|
3988
|
-
|
|
3989
|
-
def initialize(family_name: nil, given_name: nil)
|
|
3990
|
-
@family_name = family_name
|
|
3991
|
-
@given_name = given_name
|
|
3992
|
-
end
|
|
3993
|
-
end
|
|
3994
|
-
# Name of associated or partner company for the service.
|
|
3995
|
-
attr_accessor :affiliate_name
|
|
3996
|
-
# Arrival details.
|
|
3997
|
-
attr_accessor :arrival
|
|
3998
|
-
# Name of transportation company.
|
|
3999
|
-
attr_accessor :carrier_name
|
|
4000
|
-
# Currency.
|
|
4001
|
-
attr_accessor :currency
|
|
4002
|
-
# Departure details.
|
|
4003
|
-
attr_accessor :departure
|
|
4004
|
-
# List of insurances for this reservation.
|
|
4005
|
-
attr_accessor :insurances
|
|
4006
|
-
# List of passengers that this reservation applies to.
|
|
4007
|
-
attr_accessor :passengers
|
|
4008
|
-
# Price in cents.
|
|
4009
|
-
attr_accessor :price
|
|
4010
|
-
# Ticket class.
|
|
4011
|
-
attr_accessor :ticket_class
|
|
4012
|
-
|
|
4013
|
-
def initialize(
|
|
4014
|
-
affiliate_name: nil,
|
|
4015
|
-
arrival: nil,
|
|
4016
|
-
carrier_name: nil,
|
|
4017
|
-
currency: nil,
|
|
4018
|
-
departure: nil,
|
|
4019
|
-
insurances: nil,
|
|
4020
|
-
passengers: nil,
|
|
4021
|
-
price: nil,
|
|
4022
|
-
ticket_class: nil
|
|
4023
|
-
)
|
|
4024
|
-
@affiliate_name = affiliate_name
|
|
4025
|
-
@arrival = arrival
|
|
4026
|
-
@carrier_name = carrier_name
|
|
4027
|
-
@currency = currency
|
|
4028
|
-
@departure = departure
|
|
4029
|
-
@insurances = insurances
|
|
4030
|
-
@passengers = passengers
|
|
4031
|
-
@price = price
|
|
4032
|
-
@ticket_class = ticket_class
|
|
4033
|
-
end
|
|
4034
|
-
end
|
|
4035
|
-
|
|
4036
|
-
class Insurance < ::Stripe::RequestParams
|
|
4037
|
-
# Insurance currency.
|
|
4038
|
-
attr_accessor :currency
|
|
4039
|
-
# Name of the company providing the insurance.
|
|
4040
|
-
attr_accessor :insurance_company_name
|
|
4041
|
-
# Type of insurance
|
|
4042
|
-
attr_accessor :insurance_type
|
|
4043
|
-
# Price of insurance in cents.
|
|
4044
|
-
attr_accessor :price
|
|
4045
|
-
|
|
4046
|
-
def initialize(
|
|
4047
|
-
currency: nil,
|
|
4048
|
-
insurance_company_name: nil,
|
|
4049
|
-
insurance_type: nil,
|
|
4050
|
-
price: nil
|
|
4051
|
-
)
|
|
4052
|
-
@currency = currency
|
|
4053
|
-
@insurance_company_name = insurance_company_name
|
|
4054
|
-
@insurance_type = insurance_type
|
|
4055
|
-
@price = price
|
|
4056
|
-
end
|
|
4057
|
-
end
|
|
4058
|
-
|
|
4059
|
-
class MarketplaceSeller < ::Stripe::RequestParams
|
|
4060
|
-
class MarketplaceSellerAddress < ::Stripe::RequestParams
|
|
4061
|
-
# The city or town.
|
|
4062
|
-
attr_accessor :city
|
|
4063
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
4064
|
-
attr_accessor :country
|
|
4065
|
-
# The postal code formatted according to country.
|
|
4066
|
-
attr_accessor :postal_code
|
|
4067
|
-
# The state, county, province, or region formatted according to country.
|
|
4068
|
-
attr_accessor :region
|
|
4069
|
-
# Line 1 of the street address.
|
|
4070
|
-
attr_accessor :street_address
|
|
4071
|
-
# Line 2 of the street address.
|
|
4072
|
-
attr_accessor :street_address2
|
|
4073
|
-
|
|
4074
|
-
def initialize(
|
|
4075
|
-
city: nil,
|
|
4076
|
-
country: nil,
|
|
4077
|
-
postal_code: nil,
|
|
4078
|
-
region: nil,
|
|
4079
|
-
street_address: nil,
|
|
4080
|
-
street_address2: nil
|
|
4081
|
-
)
|
|
4082
|
-
@city = city
|
|
4083
|
-
@country = country
|
|
4084
|
-
@postal_code = postal_code
|
|
4085
|
-
@region = region
|
|
4086
|
-
@street_address = street_address
|
|
4087
|
-
@street_address2 = street_address2
|
|
4088
|
-
end
|
|
4089
|
-
end
|
|
4090
|
-
# The references to line items for purchases with multiple associated sub-sellers.
|
|
4091
|
-
attr_accessor :line_item_references
|
|
4092
|
-
# The address of the selling or delivering merchant.
|
|
4093
|
-
attr_accessor :marketplace_seller_address
|
|
4094
|
-
# The name of the marketplace seller.
|
|
4095
|
-
attr_accessor :marketplace_seller_name
|
|
4096
|
-
# The unique identifier for the marketplace seller.
|
|
4097
|
-
attr_accessor :marketplace_seller_reference
|
|
4098
|
-
# The number of transactions the sub-seller completed in the last 12 months.
|
|
4099
|
-
attr_accessor :number_of_transactions
|
|
4100
|
-
# The category of the product.
|
|
4101
|
-
attr_accessor :product_category
|
|
4102
|
-
# The date when the seller's account with the marketplace was last logged in.
|
|
4103
|
-
attr_accessor :seller_last_login_at
|
|
4104
|
-
# The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
|
|
4105
|
-
attr_accessor :seller_rating
|
|
4106
|
-
# The date when the seller's account with the marketplace was created.
|
|
4107
|
-
attr_accessor :seller_registered_at
|
|
4108
|
-
# The date when the seller's account with the marketplace was last updated.
|
|
4109
|
-
attr_accessor :seller_updated_at
|
|
4110
|
-
# The references to shipping addresses for purchases with multiple associated sub-sellers.
|
|
4111
|
-
attr_accessor :shipping_references
|
|
4112
|
-
# The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units.
|
|
4113
|
-
attr_accessor :volume_of_transactions
|
|
4114
|
-
|
|
4115
|
-
def initialize(
|
|
4116
|
-
line_item_references: nil,
|
|
4117
|
-
marketplace_seller_address: nil,
|
|
4118
|
-
marketplace_seller_name: nil,
|
|
4119
|
-
marketplace_seller_reference: nil,
|
|
4120
|
-
number_of_transactions: nil,
|
|
4121
|
-
product_category: nil,
|
|
4122
|
-
seller_last_login_at: nil,
|
|
4123
|
-
seller_rating: nil,
|
|
4124
|
-
seller_registered_at: nil,
|
|
4125
|
-
seller_updated_at: nil,
|
|
4126
|
-
shipping_references: nil,
|
|
4127
|
-
volume_of_transactions: nil
|
|
4128
|
-
)
|
|
4129
|
-
@line_item_references = line_item_references
|
|
4130
|
-
@marketplace_seller_address = marketplace_seller_address
|
|
4131
|
-
@marketplace_seller_name = marketplace_seller_name
|
|
4132
|
-
@marketplace_seller_reference = marketplace_seller_reference
|
|
4133
|
-
@number_of_transactions = number_of_transactions
|
|
4134
|
-
@product_category = product_category
|
|
4135
|
-
@seller_last_login_at = seller_last_login_at
|
|
4136
|
-
@seller_rating = seller_rating
|
|
4137
|
-
@seller_registered_at = seller_registered_at
|
|
4138
|
-
@seller_updated_at = seller_updated_at
|
|
4139
|
-
@shipping_references = shipping_references
|
|
4140
|
-
@volume_of_transactions = volume_of_transactions
|
|
4141
|
-
end
|
|
4142
|
-
end
|
|
4143
|
-
|
|
4144
|
-
class RoundTripReservationDetail < ::Stripe::RequestParams
|
|
4145
|
-
class Arrival < ::Stripe::RequestParams
|
|
4146
|
-
class Address < ::Stripe::RequestParams
|
|
4147
|
-
# The city or town.
|
|
4148
|
-
attr_accessor :city
|
|
4149
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
4150
|
-
attr_accessor :country
|
|
4151
|
-
# The postal code formatted according to country.
|
|
4152
|
-
attr_accessor :postal_code
|
|
4153
|
-
# The state, county, province, or region formatted according to country.
|
|
4154
|
-
attr_accessor :region
|
|
4155
|
-
# Line 1 of the street address.
|
|
4156
|
-
attr_accessor :street_address
|
|
4157
|
-
# Line 2 of the street address.
|
|
4158
|
-
attr_accessor :street_address2
|
|
4159
|
-
|
|
4160
|
-
def initialize(
|
|
4161
|
-
city: nil,
|
|
4162
|
-
country: nil,
|
|
4163
|
-
postal_code: nil,
|
|
4164
|
-
region: nil,
|
|
4165
|
-
street_address: nil,
|
|
4166
|
-
street_address2: nil
|
|
4167
|
-
)
|
|
4168
|
-
@city = city
|
|
4169
|
-
@country = country
|
|
4170
|
-
@postal_code = postal_code
|
|
4171
|
-
@region = region
|
|
4172
|
-
@street_address = street_address
|
|
4173
|
-
@street_address2 = street_address2
|
|
4174
|
-
end
|
|
4175
|
-
end
|
|
4176
|
-
# Address of the arrival location.
|
|
4177
|
-
attr_accessor :address
|
|
4178
|
-
# Identifier name or reference for the arrival location.
|
|
4179
|
-
attr_accessor :arrival_location
|
|
4180
|
-
|
|
4181
|
-
def initialize(address: nil, arrival_location: nil)
|
|
4182
|
-
@address = address
|
|
4183
|
-
@arrival_location = arrival_location
|
|
4184
|
-
end
|
|
4185
|
-
end
|
|
4186
|
-
|
|
4187
|
-
class Departure < ::Stripe::RequestParams
|
|
4188
|
-
class Address < ::Stripe::RequestParams
|
|
4189
|
-
# The city or town.
|
|
4190
|
-
attr_accessor :city
|
|
4191
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
4192
|
-
attr_accessor :country
|
|
4193
|
-
# The postal code formatted according to country.
|
|
4194
|
-
attr_accessor :postal_code
|
|
4195
|
-
# The state, county, province, or region formatted according to country.
|
|
4196
|
-
attr_accessor :region
|
|
4197
|
-
# Line 1 of the street address.
|
|
4198
|
-
attr_accessor :street_address
|
|
4199
|
-
# Line 2 of the street address.
|
|
4200
|
-
attr_accessor :street_address2
|
|
4201
|
-
|
|
4202
|
-
def initialize(
|
|
4203
|
-
city: nil,
|
|
4204
|
-
country: nil,
|
|
4205
|
-
postal_code: nil,
|
|
4206
|
-
region: nil,
|
|
4207
|
-
street_address: nil,
|
|
4208
|
-
street_address2: nil
|
|
4209
|
-
)
|
|
4210
|
-
@city = city
|
|
4211
|
-
@country = country
|
|
4212
|
-
@postal_code = postal_code
|
|
4213
|
-
@region = region
|
|
4214
|
-
@street_address = street_address
|
|
4215
|
-
@street_address2 = street_address2
|
|
4216
|
-
end
|
|
4217
|
-
end
|
|
4218
|
-
# Address of the departure location.
|
|
4219
|
-
attr_accessor :address
|
|
4220
|
-
# Timestamp of departure.
|
|
4221
|
-
attr_accessor :departs_at
|
|
4222
|
-
# Identifier name or reference for the origin location.
|
|
4223
|
-
attr_accessor :departure_location
|
|
4224
|
-
|
|
4225
|
-
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4226
|
-
@address = address
|
|
4227
|
-
@departs_at = departs_at
|
|
4228
|
-
@departure_location = departure_location
|
|
4229
|
-
end
|
|
4230
|
-
end
|
|
4231
|
-
|
|
4232
|
-
class Insurance < ::Stripe::RequestParams
|
|
4233
|
-
# Insurance currency.
|
|
4234
|
-
attr_accessor :currency
|
|
4235
|
-
# Name of the company providing the insurance.
|
|
4236
|
-
attr_accessor :insurance_company_name
|
|
4237
|
-
# Type of insurance.
|
|
4238
|
-
attr_accessor :insurance_type
|
|
4239
|
-
# Price of insurance in cents.
|
|
4240
|
-
attr_accessor :price
|
|
4241
|
-
|
|
4242
|
-
def initialize(
|
|
4243
|
-
currency: nil,
|
|
4244
|
-
insurance_company_name: nil,
|
|
4245
|
-
insurance_type: nil,
|
|
4246
|
-
price: nil
|
|
4247
|
-
)
|
|
4248
|
-
@currency = currency
|
|
4249
|
-
@insurance_company_name = insurance_company_name
|
|
4250
|
-
@insurance_type = insurance_type
|
|
4251
|
-
@price = price
|
|
4252
|
-
end
|
|
4253
|
-
end
|
|
4254
|
-
|
|
4255
|
-
class Passenger < ::Stripe::RequestParams
|
|
4256
|
-
# The family name of the person.
|
|
4257
|
-
attr_accessor :family_name
|
|
4258
|
-
# The given name of the person.
|
|
4259
|
-
attr_accessor :given_name
|
|
4260
|
-
|
|
4261
|
-
def initialize(family_name: nil, given_name: nil)
|
|
4262
|
-
@family_name = family_name
|
|
4263
|
-
@given_name = given_name
|
|
4264
|
-
end
|
|
4265
|
-
end
|
|
4266
|
-
# Name of associated or partner company for the service.
|
|
4267
|
-
attr_accessor :affiliate_name
|
|
4268
|
-
# Arrival details.
|
|
4269
|
-
attr_accessor :arrival
|
|
4270
|
-
# Name of transportation company.
|
|
4271
|
-
attr_accessor :carrier_name
|
|
4272
|
-
# Currency.
|
|
4273
|
-
attr_accessor :currency
|
|
4274
|
-
# Departure details.
|
|
4275
|
-
attr_accessor :departure
|
|
4276
|
-
# List of insurances for this reservation.
|
|
4277
|
-
attr_accessor :insurances
|
|
4278
|
-
# List of passengers that this reservation applies to.
|
|
4279
|
-
attr_accessor :passengers
|
|
4280
|
-
# Price in cents.
|
|
4281
|
-
attr_accessor :price
|
|
4282
|
-
# Ticket class.
|
|
4283
|
-
attr_accessor :ticket_class
|
|
4284
|
-
|
|
4285
|
-
def initialize(
|
|
4286
|
-
affiliate_name: nil,
|
|
4287
|
-
arrival: nil,
|
|
4288
|
-
carrier_name: nil,
|
|
4289
|
-
currency: nil,
|
|
4290
|
-
departure: nil,
|
|
4291
|
-
insurances: nil,
|
|
4292
|
-
passengers: nil,
|
|
4293
|
-
price: nil,
|
|
4294
|
-
ticket_class: nil
|
|
4295
|
-
)
|
|
4296
|
-
@affiliate_name = affiliate_name
|
|
4297
|
-
@arrival = arrival
|
|
4298
|
-
@carrier_name = carrier_name
|
|
4299
|
-
@currency = currency
|
|
4300
|
-
@departure = departure
|
|
4301
|
-
@insurances = insurances
|
|
4302
|
-
@passengers = passengers
|
|
4303
|
-
@price = price
|
|
4304
|
-
@ticket_class = ticket_class
|
|
4305
|
-
end
|
|
4306
|
-
end
|
|
4307
|
-
|
|
4308
|
-
class TrainReservationDetail < ::Stripe::RequestParams
|
|
4309
|
-
class Arrival < ::Stripe::RequestParams
|
|
4310
|
-
class Address < ::Stripe::RequestParams
|
|
4311
|
-
# The city or town.
|
|
4312
|
-
attr_accessor :city
|
|
4313
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
4314
|
-
attr_accessor :country
|
|
4315
|
-
# The postal code formatted according to country.
|
|
4316
|
-
attr_accessor :postal_code
|
|
4317
|
-
# The state, county, province, or region formatted according to country.
|
|
4318
|
-
attr_accessor :region
|
|
4319
|
-
# Line 1 of the street address.
|
|
4320
|
-
attr_accessor :street_address
|
|
4321
|
-
# Line 2 of the street address.
|
|
4322
|
-
attr_accessor :street_address2
|
|
4323
|
-
|
|
4324
|
-
def initialize(
|
|
4325
|
-
city: nil,
|
|
4326
|
-
country: nil,
|
|
4327
|
-
postal_code: nil,
|
|
4328
|
-
region: nil,
|
|
4329
|
-
street_address: nil,
|
|
4330
|
-
street_address2: nil
|
|
4331
|
-
)
|
|
4332
|
-
@city = city
|
|
4333
|
-
@country = country
|
|
4334
|
-
@postal_code = postal_code
|
|
4335
|
-
@region = region
|
|
4336
|
-
@street_address = street_address
|
|
4337
|
-
@street_address2 = street_address2
|
|
4338
|
-
end
|
|
4339
|
-
end
|
|
4340
|
-
# Address of the arrival location.
|
|
4341
|
-
attr_accessor :address
|
|
4342
|
-
# Identifier name or reference for the arrival location.
|
|
4343
|
-
attr_accessor :arrival_location
|
|
4344
|
-
|
|
4345
|
-
def initialize(address: nil, arrival_location: nil)
|
|
4346
|
-
@address = address
|
|
4347
|
-
@arrival_location = arrival_location
|
|
4348
|
-
end
|
|
4349
|
-
end
|
|
4350
|
-
|
|
4351
|
-
class Departure < ::Stripe::RequestParams
|
|
4352
|
-
class Address < ::Stripe::RequestParams
|
|
4353
|
-
# The city or town.
|
|
4354
|
-
attr_accessor :city
|
|
4355
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
4356
|
-
attr_accessor :country
|
|
4357
|
-
# The postal code formatted according to country.
|
|
4358
|
-
attr_accessor :postal_code
|
|
4359
|
-
# The state, county, province, or region formatted according to country.
|
|
4360
|
-
attr_accessor :region
|
|
4361
|
-
# Line 1 of the street address.
|
|
4362
|
-
attr_accessor :street_address
|
|
4363
|
-
# Line 2 of the street address.
|
|
4364
|
-
attr_accessor :street_address2
|
|
4365
|
-
|
|
4366
|
-
def initialize(
|
|
4367
|
-
city: nil,
|
|
4368
|
-
country: nil,
|
|
4369
|
-
postal_code: nil,
|
|
4370
|
-
region: nil,
|
|
4371
|
-
street_address: nil,
|
|
4372
|
-
street_address2: nil
|
|
4373
|
-
)
|
|
4374
|
-
@city = city
|
|
4375
|
-
@country = country
|
|
4376
|
-
@postal_code = postal_code
|
|
4377
|
-
@region = region
|
|
4378
|
-
@street_address = street_address
|
|
4379
|
-
@street_address2 = street_address2
|
|
4380
|
-
end
|
|
4381
|
-
end
|
|
4382
|
-
# Address of the departure location.
|
|
4383
|
-
attr_accessor :address
|
|
4384
|
-
# Timestamp of departure.
|
|
4385
|
-
attr_accessor :departs_at
|
|
4386
|
-
# Identifier name or reference for the origin location.
|
|
4387
|
-
attr_accessor :departure_location
|
|
4388
|
-
|
|
4389
|
-
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4390
|
-
@address = address
|
|
4391
|
-
@departs_at = departs_at
|
|
4392
|
-
@departure_location = departure_location
|
|
4393
|
-
end
|
|
4394
|
-
end
|
|
4395
|
-
|
|
4396
|
-
class Insurance < ::Stripe::RequestParams
|
|
4397
|
-
# Insurance currency.
|
|
4398
|
-
attr_accessor :currency
|
|
4399
|
-
# Name of the company providing the insurance.
|
|
4400
|
-
attr_accessor :insurance_company_name
|
|
4401
|
-
# Type of insurance.
|
|
4402
|
-
attr_accessor :insurance_type
|
|
4403
|
-
# Price of insurance in cents.
|
|
4404
|
-
attr_accessor :price
|
|
4405
|
-
|
|
4406
|
-
def initialize(
|
|
4407
|
-
currency: nil,
|
|
4408
|
-
insurance_company_name: nil,
|
|
4409
|
-
insurance_type: nil,
|
|
4410
|
-
price: nil
|
|
4411
|
-
)
|
|
4412
|
-
@currency = currency
|
|
4413
|
-
@insurance_company_name = insurance_company_name
|
|
4414
|
-
@insurance_type = insurance_type
|
|
4415
|
-
@price = price
|
|
4416
|
-
end
|
|
4417
|
-
end
|
|
4418
|
-
|
|
4419
|
-
class Passenger < ::Stripe::RequestParams
|
|
4420
|
-
# The family name of the person.
|
|
4421
|
-
attr_accessor :family_name
|
|
4422
|
-
# The given name of the person.
|
|
4423
|
-
attr_accessor :given_name
|
|
4424
|
-
|
|
4425
|
-
def initialize(family_name: nil, given_name: nil)
|
|
4426
|
-
@family_name = family_name
|
|
4427
|
-
@given_name = given_name
|
|
4428
|
-
end
|
|
4429
|
-
end
|
|
4430
|
-
# Name of associated or partner company for the service.
|
|
4431
|
-
attr_accessor :affiliate_name
|
|
4432
|
-
# Arrival details.
|
|
4433
|
-
attr_accessor :arrival
|
|
4434
|
-
# Name of transportation company.
|
|
4435
|
-
attr_accessor :carrier_name
|
|
4436
|
-
# Currency.
|
|
4437
|
-
attr_accessor :currency
|
|
4438
|
-
# Departure details.
|
|
4439
|
-
attr_accessor :departure
|
|
4440
|
-
# List of insurances for this reservation.
|
|
4441
|
-
attr_accessor :insurances
|
|
4442
|
-
# List of passengers that this reservation applies to.
|
|
4443
|
-
attr_accessor :passengers
|
|
4444
|
-
# Price in cents.
|
|
4445
|
-
attr_accessor :price
|
|
4446
|
-
# Ticket class.
|
|
4447
|
-
attr_accessor :ticket_class
|
|
4448
|
-
|
|
4449
|
-
def initialize(
|
|
4450
|
-
affiliate_name: nil,
|
|
4451
|
-
arrival: nil,
|
|
4452
|
-
carrier_name: nil,
|
|
4453
|
-
currency: nil,
|
|
4454
|
-
departure: nil,
|
|
4455
|
-
insurances: nil,
|
|
4456
|
-
passengers: nil,
|
|
4457
|
-
price: nil,
|
|
4458
|
-
ticket_class: nil
|
|
4459
|
-
)
|
|
4460
|
-
@affiliate_name = affiliate_name
|
|
4461
|
-
@arrival = arrival
|
|
4462
|
-
@carrier_name = carrier_name
|
|
4463
|
-
@currency = currency
|
|
4464
|
-
@departure = departure
|
|
4465
|
-
@insurances = insurances
|
|
4466
|
-
@passengers = passengers
|
|
4467
|
-
@price = price
|
|
4468
|
-
@ticket_class = ticket_class
|
|
4469
|
-
end
|
|
4470
|
-
end
|
|
4471
|
-
|
|
4472
|
-
class Voucher < ::Stripe::RequestParams
|
|
4473
|
-
# Name of associated or partner company for this voucher.
|
|
4474
|
-
attr_accessor :affiliate_name
|
|
4475
|
-
# The voucher validity end time.
|
|
4476
|
-
attr_accessor :ends_at
|
|
4477
|
-
# The voucher validity start time.
|
|
4478
|
-
attr_accessor :starts_at
|
|
4479
|
-
# The issuer or provider of this voucher.
|
|
4480
|
-
attr_accessor :voucher_company
|
|
4481
|
-
# The name or reference to identify the voucher.
|
|
4482
|
-
attr_accessor :voucher_name
|
|
4483
|
-
# The type of this voucher.
|
|
4484
|
-
attr_accessor :voucher_type
|
|
4485
|
-
|
|
4486
|
-
def initialize(
|
|
4487
|
-
affiliate_name: nil,
|
|
4488
|
-
ends_at: nil,
|
|
4489
|
-
starts_at: nil,
|
|
4490
|
-
voucher_company: nil,
|
|
4491
|
-
voucher_name: nil,
|
|
4492
|
-
voucher_type: nil
|
|
4493
|
-
)
|
|
4494
|
-
@affiliate_name = affiliate_name
|
|
4495
|
-
@ends_at = ends_at
|
|
4496
|
-
@starts_at = starts_at
|
|
4497
|
-
@voucher_company = voucher_company
|
|
4498
|
-
@voucher_name = voucher_name
|
|
4499
|
-
@voucher_type = voucher_type
|
|
4500
|
-
end
|
|
4501
|
-
end
|
|
4502
|
-
# Supplementary bus reservation details.
|
|
4503
|
-
attr_accessor :bus_reservation_details
|
|
4504
|
-
# Supplementary event reservation details.
|
|
4505
|
-
attr_accessor :event_reservation_details
|
|
4506
|
-
# Supplementary ferry reservation details.
|
|
4507
|
-
attr_accessor :ferry_reservation_details
|
|
4508
|
-
# Supplementary insurance details.
|
|
4509
|
-
attr_accessor :insurances
|
|
4510
|
-
# Supplementary marketplace seller details.
|
|
4511
|
-
attr_accessor :marketplace_sellers
|
|
4512
|
-
# Supplementary round trip reservation details.
|
|
4513
|
-
attr_accessor :round_trip_reservation_details
|
|
4514
|
-
# Supplementary train reservation details.
|
|
4515
|
-
attr_accessor :train_reservation_details
|
|
4516
|
-
# Voucher details, such as a gift card or discount code.
|
|
4517
|
-
attr_accessor :vouchers
|
|
4518
|
-
|
|
4519
|
-
def initialize(
|
|
4520
|
-
bus_reservation_details: nil,
|
|
4521
|
-
event_reservation_details: nil,
|
|
4522
|
-
ferry_reservation_details: nil,
|
|
4523
|
-
insurances: nil,
|
|
4524
|
-
marketplace_sellers: nil,
|
|
4525
|
-
round_trip_reservation_details: nil,
|
|
4526
|
-
train_reservation_details: nil,
|
|
4527
|
-
vouchers: nil
|
|
4528
|
-
)
|
|
4529
|
-
@bus_reservation_details = bus_reservation_details
|
|
4530
|
-
@event_reservation_details = event_reservation_details
|
|
4531
|
-
@ferry_reservation_details = ferry_reservation_details
|
|
4532
|
-
@insurances = insurances
|
|
4533
|
-
@marketplace_sellers = marketplace_sellers
|
|
4534
|
-
@round_trip_reservation_details = round_trip_reservation_details
|
|
4535
|
-
@train_reservation_details = train_reservation_details
|
|
4536
|
-
@vouchers = vouchers
|
|
4537
|
-
end
|
|
4538
|
-
end
|
|
4539
2440
|
# Controls when the funds are captured from the customer's account.
|
|
4540
2441
|
#
|
|
4541
2442
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -4558,23 +2459,19 @@ module Stripe
|
|
|
4558
2459
|
attr_accessor :setup_future_usage
|
|
4559
2460
|
# Subscription details if setting up or charging a subscription.
|
|
4560
2461
|
attr_accessor :subscriptions
|
|
4561
|
-
# Supplementary Purchase Data for the corresponding Klarna payment
|
|
4562
|
-
attr_accessor :supplementary_purchase_data
|
|
4563
2462
|
|
|
4564
2463
|
def initialize(
|
|
4565
2464
|
capture_method: nil,
|
|
4566
2465
|
on_demand: nil,
|
|
4567
2466
|
preferred_locale: nil,
|
|
4568
2467
|
setup_future_usage: nil,
|
|
4569
|
-
subscriptions: nil
|
|
4570
|
-
supplementary_purchase_data: nil
|
|
2468
|
+
subscriptions: nil
|
|
4571
2469
|
)
|
|
4572
2470
|
@capture_method = capture_method
|
|
4573
2471
|
@on_demand = on_demand
|
|
4574
2472
|
@preferred_locale = preferred_locale
|
|
4575
2473
|
@setup_future_usage = setup_future_usage
|
|
4576
2474
|
@subscriptions = subscriptions
|
|
4577
|
-
@supplementary_purchase_data = supplementary_purchase_data
|
|
4578
2475
|
end
|
|
4579
2476
|
end
|
|
4580
2477
|
|
|
@@ -4844,65 +2741,12 @@ module Stripe
|
|
|
4844
2741
|
end
|
|
4845
2742
|
|
|
4846
2743
|
class Paypal < ::Stripe::RequestParams
|
|
4847
|
-
class LineItem < ::Stripe::RequestParams
|
|
4848
|
-
class Tax < ::Stripe::RequestParams
|
|
4849
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4850
|
-
attr_accessor :amount
|
|
4851
|
-
# The tax behavior for the line item.
|
|
4852
|
-
attr_accessor :behavior
|
|
4853
|
-
|
|
4854
|
-
def initialize(amount: nil, behavior: nil)
|
|
4855
|
-
@amount = amount
|
|
4856
|
-
@behavior = behavior
|
|
4857
|
-
end
|
|
4858
|
-
end
|
|
4859
|
-
# Type of the line item.
|
|
4860
|
-
attr_accessor :category
|
|
4861
|
-
# Description of the line item.
|
|
4862
|
-
attr_accessor :description
|
|
4863
|
-
# Descriptive name of the line item.
|
|
4864
|
-
attr_accessor :name
|
|
4865
|
-
# Quantity of the line item. Must be a positive number.
|
|
4866
|
-
attr_accessor :quantity
|
|
4867
|
-
# Client facing stock keeping unit, article number or similar.
|
|
4868
|
-
attr_accessor :sku
|
|
4869
|
-
# The Stripe account ID of the connected account that sells the item.
|
|
4870
|
-
attr_accessor :sold_by
|
|
4871
|
-
# The tax information for the line item.
|
|
4872
|
-
attr_accessor :tax
|
|
4873
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4874
|
-
attr_accessor :unit_amount
|
|
4875
|
-
|
|
4876
|
-
def initialize(
|
|
4877
|
-
category: nil,
|
|
4878
|
-
description: nil,
|
|
4879
|
-
name: nil,
|
|
4880
|
-
quantity: nil,
|
|
4881
|
-
sku: nil,
|
|
4882
|
-
sold_by: nil,
|
|
4883
|
-
tax: nil,
|
|
4884
|
-
unit_amount: nil
|
|
4885
|
-
)
|
|
4886
|
-
@category = category
|
|
4887
|
-
@description = description
|
|
4888
|
-
@name = name
|
|
4889
|
-
@quantity = quantity
|
|
4890
|
-
@sku = sku
|
|
4891
|
-
@sold_by = sold_by
|
|
4892
|
-
@tax = tax
|
|
4893
|
-
@unit_amount = unit_amount
|
|
4894
|
-
end
|
|
4895
|
-
end
|
|
4896
2744
|
# Controls when the funds will be captured from the customer's account.
|
|
4897
2745
|
attr_accessor :capture_method
|
|
4898
|
-
# The line items purchased by the customer.
|
|
4899
|
-
attr_accessor :line_items
|
|
4900
2746
|
# [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
4901
2747
|
attr_accessor :preferred_locale
|
|
4902
2748
|
# 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.
|
|
4903
2749
|
attr_accessor :reference
|
|
4904
|
-
# 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.
|
|
4905
|
-
attr_accessor :reference_id
|
|
4906
2750
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
4907
2751
|
attr_accessor :risk_correlation_id
|
|
4908
2752
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -4915,27 +2759,19 @@ module Stripe
|
|
|
4915
2759
|
#
|
|
4916
2760
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
4917
2761
|
attr_accessor :setup_future_usage
|
|
4918
|
-
# 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.
|
|
4919
|
-
attr_accessor :subsellers
|
|
4920
2762
|
|
|
4921
2763
|
def initialize(
|
|
4922
2764
|
capture_method: nil,
|
|
4923
|
-
line_items: nil,
|
|
4924
2765
|
preferred_locale: nil,
|
|
4925
2766
|
reference: nil,
|
|
4926
|
-
reference_id: nil,
|
|
4927
2767
|
risk_correlation_id: nil,
|
|
4928
|
-
setup_future_usage: nil
|
|
4929
|
-
subsellers: nil
|
|
2768
|
+
setup_future_usage: nil
|
|
4930
2769
|
)
|
|
4931
2770
|
@capture_method = capture_method
|
|
4932
|
-
@line_items = line_items
|
|
4933
2771
|
@preferred_locale = preferred_locale
|
|
4934
2772
|
@reference = reference
|
|
4935
|
-
@reference_id = reference_id
|
|
4936
2773
|
@risk_correlation_id = risk_correlation_id
|
|
4937
2774
|
@setup_future_usage = setup_future_usage
|
|
4938
|
-
@subsellers = subsellers
|
|
4939
2775
|
end
|
|
4940
2776
|
end
|
|
4941
2777
|
|
|
@@ -5079,25 +2915,6 @@ module Stripe
|
|
|
5079
2915
|
end
|
|
5080
2916
|
end
|
|
5081
2917
|
|
|
5082
|
-
class Qris < ::Stripe::RequestParams
|
|
5083
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5084
|
-
#
|
|
5085
|
-
# 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.
|
|
5086
|
-
#
|
|
5087
|
-
# 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.
|
|
5088
|
-
#
|
|
5089
|
-
# 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).
|
|
5090
|
-
#
|
|
5091
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5092
|
-
attr_accessor :setup_future_usage
|
|
5093
|
-
|
|
5094
|
-
def initialize(setup_future_usage: nil)
|
|
5095
|
-
@setup_future_usage = setup_future_usage
|
|
5096
|
-
end
|
|
5097
|
-
end
|
|
5098
|
-
|
|
5099
|
-
class Rechnung < ::Stripe::RequestParams; end
|
|
5100
|
-
|
|
5101
2918
|
class RevolutPay < ::Stripe::RequestParams
|
|
5102
2919
|
# Controls when the funds are captured from the customer's account.
|
|
5103
2920
|
#
|
|
@@ -5232,23 +3049,6 @@ module Stripe
|
|
|
5232
3049
|
end
|
|
5233
3050
|
end
|
|
5234
3051
|
|
|
5235
|
-
class Shopeepay < ::Stripe::RequestParams
|
|
5236
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5237
|
-
#
|
|
5238
|
-
# 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.
|
|
5239
|
-
#
|
|
5240
|
-
# 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.
|
|
5241
|
-
#
|
|
5242
|
-
# 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).
|
|
5243
|
-
#
|
|
5244
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5245
|
-
attr_accessor :setup_future_usage
|
|
5246
|
-
|
|
5247
|
-
def initialize(setup_future_usage: nil)
|
|
5248
|
-
@setup_future_usage = setup_future_usage
|
|
5249
|
-
end
|
|
5250
|
-
end
|
|
5251
|
-
|
|
5252
3052
|
class Sofort < ::Stripe::RequestParams
|
|
5253
3053
|
# Language shown to the payer on redirect.
|
|
5254
3054
|
attr_accessor :preferred_language
|
|
@@ -5269,23 +3069,6 @@ module Stripe
|
|
|
5269
3069
|
end
|
|
5270
3070
|
end
|
|
5271
3071
|
|
|
5272
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
5273
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5274
|
-
#
|
|
5275
|
-
# 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.
|
|
5276
|
-
#
|
|
5277
|
-
# 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.
|
|
5278
|
-
#
|
|
5279
|
-
# 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).
|
|
5280
|
-
#
|
|
5281
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5282
|
-
attr_accessor :setup_future_usage
|
|
5283
|
-
|
|
5284
|
-
def initialize(setup_future_usage: nil)
|
|
5285
|
-
@setup_future_usage = setup_future_usage
|
|
5286
|
-
end
|
|
5287
|
-
end
|
|
5288
|
-
|
|
5289
3072
|
class Sunbit < ::Stripe::RequestParams
|
|
5290
3073
|
# Controls when the funds are captured from the customer's account.
|
|
5291
3074
|
#
|
|
@@ -5379,27 +3162,13 @@ module Stripe
|
|
|
5379
3162
|
class Filters < ::Stripe::RequestParams
|
|
5380
3163
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
5381
3164
|
attr_accessor :account_subcategories
|
|
5382
|
-
# ID of the institution to use to filter for selectable accounts.
|
|
5383
|
-
attr_accessor :institution
|
|
5384
3165
|
|
|
5385
|
-
def initialize(account_subcategories: nil
|
|
3166
|
+
def initialize(account_subcategories: nil)
|
|
5386
3167
|
@account_subcategories = account_subcategories
|
|
5387
|
-
@institution = institution
|
|
5388
|
-
end
|
|
5389
|
-
end
|
|
5390
|
-
|
|
5391
|
-
class ManualEntry < ::Stripe::RequestParams
|
|
5392
|
-
# Settings for configuring manual entry of account details.
|
|
5393
|
-
attr_accessor :mode
|
|
5394
|
-
|
|
5395
|
-
def initialize(mode: nil)
|
|
5396
|
-
@mode = mode
|
|
5397
3168
|
end
|
|
5398
3169
|
end
|
|
5399
3170
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
5400
3171
|
attr_accessor :filters
|
|
5401
|
-
# Customize manual entry behavior
|
|
5402
|
-
attr_accessor :manual_entry
|
|
5403
3172
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
5404
3173
|
attr_accessor :permissions
|
|
5405
3174
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -5407,15 +3176,8 @@ module Stripe
|
|
|
5407
3176
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
5408
3177
|
attr_accessor :return_url
|
|
5409
3178
|
|
|
5410
|
-
def initialize(
|
|
5411
|
-
filters: nil,
|
|
5412
|
-
manual_entry: nil,
|
|
5413
|
-
permissions: nil,
|
|
5414
|
-
prefetch: nil,
|
|
5415
|
-
return_url: nil
|
|
5416
|
-
)
|
|
3179
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
|
5417
3180
|
@filters = filters
|
|
5418
|
-
@manual_entry = manual_entry
|
|
5419
3181
|
@permissions = permissions
|
|
5420
3182
|
@prefetch = prefetch
|
|
5421
3183
|
@return_url = return_url
|
|
@@ -5504,23 +3266,6 @@ module Stripe
|
|
|
5504
3266
|
end
|
|
5505
3267
|
end
|
|
5506
3268
|
|
|
5507
|
-
class Wero < ::Stripe::RequestParams
|
|
5508
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5509
|
-
#
|
|
5510
|
-
# 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.
|
|
5511
|
-
#
|
|
5512
|
-
# 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.
|
|
5513
|
-
#
|
|
5514
|
-
# 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).
|
|
5515
|
-
#
|
|
5516
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5517
|
-
attr_accessor :setup_future_usage
|
|
5518
|
-
|
|
5519
|
-
def initialize(setup_future_usage: nil)
|
|
5520
|
-
@setup_future_usage = setup_future_usage
|
|
5521
|
-
end
|
|
5522
|
-
end
|
|
5523
|
-
|
|
5524
3269
|
class Zip < ::Stripe::RequestParams
|
|
5525
3270
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5526
3271
|
#
|
|
@@ -5579,12 +3324,8 @@ module Stripe
|
|
|
5579
3324
|
attr_accessor :fpx
|
|
5580
3325
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
5581
3326
|
attr_accessor :giropay
|
|
5582
|
-
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
5583
|
-
attr_accessor :gopay
|
|
5584
3327
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
5585
3328
|
attr_accessor :grabpay
|
|
5586
|
-
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
5587
|
-
attr_accessor :id_bank_transfer
|
|
5588
3329
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
5589
3330
|
attr_accessor :ideal
|
|
5590
3331
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -5629,10 +3370,6 @@ module Stripe
|
|
|
5629
3370
|
attr_accessor :pix
|
|
5630
3371
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
5631
3372
|
attr_accessor :promptpay
|
|
5632
|
-
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
5633
|
-
attr_accessor :qris
|
|
5634
|
-
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
5635
|
-
attr_accessor :rechnung
|
|
5636
3373
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
5637
3374
|
attr_accessor :revolut_pay
|
|
5638
3375
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -5645,12 +3382,8 @@ module Stripe
|
|
|
5645
3382
|
attr_accessor :sepa_debit
|
|
5646
3383
|
# If this is a `sequra` PaymentMethod, this sub-hash contains details about the SeQura payment method options.
|
|
5647
3384
|
attr_accessor :sequra
|
|
5648
|
-
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
5649
|
-
attr_accessor :shopeepay
|
|
5650
3385
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
5651
3386
|
attr_accessor :sofort
|
|
5652
|
-
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
5653
|
-
attr_accessor :stripe_balance
|
|
5654
3387
|
# If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit payment method options.
|
|
5655
3388
|
attr_accessor :sunbit
|
|
5656
3389
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
@@ -5663,8 +3396,6 @@ module Stripe
|
|
|
5663
3396
|
attr_accessor :us_bank_account
|
|
5664
3397
|
# If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.
|
|
5665
3398
|
attr_accessor :wechat_pay
|
|
5666
|
-
# If this is a `wero` PaymentMethod, this sub-hash contains details about the Wero payment method options.
|
|
5667
|
-
attr_accessor :wero
|
|
5668
3399
|
# If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options.
|
|
5669
3400
|
attr_accessor :zip
|
|
5670
3401
|
|
|
@@ -5690,9 +3421,7 @@ module Stripe
|
|
|
5690
3421
|
eps: nil,
|
|
5691
3422
|
fpx: nil,
|
|
5692
3423
|
giropay: nil,
|
|
5693
|
-
gopay: nil,
|
|
5694
3424
|
grabpay: nil,
|
|
5695
|
-
id_bank_transfer: nil,
|
|
5696
3425
|
ideal: nil,
|
|
5697
3426
|
interac_present: nil,
|
|
5698
3427
|
kakao_pay: nil,
|
|
@@ -5715,24 +3444,19 @@ module Stripe
|
|
|
5715
3444
|
payto: nil,
|
|
5716
3445
|
pix: nil,
|
|
5717
3446
|
promptpay: nil,
|
|
5718
|
-
qris: nil,
|
|
5719
|
-
rechnung: nil,
|
|
5720
3447
|
revolut_pay: nil,
|
|
5721
3448
|
samsung_pay: nil,
|
|
5722
3449
|
satispay: nil,
|
|
5723
3450
|
scalapay: nil,
|
|
5724
3451
|
sepa_debit: nil,
|
|
5725
3452
|
sequra: nil,
|
|
5726
|
-
shopeepay: nil,
|
|
5727
3453
|
sofort: nil,
|
|
5728
|
-
stripe_balance: nil,
|
|
5729
3454
|
sunbit: nil,
|
|
5730
3455
|
swish: nil,
|
|
5731
3456
|
twint: nil,
|
|
5732
3457
|
upi: nil,
|
|
5733
3458
|
us_bank_account: nil,
|
|
5734
3459
|
wechat_pay: nil,
|
|
5735
|
-
wero: nil,
|
|
5736
3460
|
zip: nil
|
|
5737
3461
|
)
|
|
5738
3462
|
@acss_debit = acss_debit
|
|
@@ -5756,9 +3480,7 @@ module Stripe
|
|
|
5756
3480
|
@eps = eps
|
|
5757
3481
|
@fpx = fpx
|
|
5758
3482
|
@giropay = giropay
|
|
5759
|
-
@gopay = gopay
|
|
5760
3483
|
@grabpay = grabpay
|
|
5761
|
-
@id_bank_transfer = id_bank_transfer
|
|
5762
3484
|
@ideal = ideal
|
|
5763
3485
|
@interac_present = interac_present
|
|
5764
3486
|
@kakao_pay = kakao_pay
|
|
@@ -5781,24 +3503,19 @@ module Stripe
|
|
|
5781
3503
|
@payto = payto
|
|
5782
3504
|
@pix = pix
|
|
5783
3505
|
@promptpay = promptpay
|
|
5784
|
-
@qris = qris
|
|
5785
|
-
@rechnung = rechnung
|
|
5786
3506
|
@revolut_pay = revolut_pay
|
|
5787
3507
|
@samsung_pay = samsung_pay
|
|
5788
3508
|
@satispay = satispay
|
|
5789
3509
|
@scalapay = scalapay
|
|
5790
3510
|
@sepa_debit = sepa_debit
|
|
5791
3511
|
@sequra = sequra
|
|
5792
|
-
@shopeepay = shopeepay
|
|
5793
3512
|
@sofort = sofort
|
|
5794
|
-
@stripe_balance = stripe_balance
|
|
5795
3513
|
@sunbit = sunbit
|
|
5796
3514
|
@swish = swish
|
|
5797
3515
|
@twint = twint
|
|
5798
3516
|
@upi = upi
|
|
5799
3517
|
@us_bank_account = us_bank_account
|
|
5800
3518
|
@wechat_pay = wechat_pay
|
|
5801
|
-
@wero = wero
|
|
5802
3519
|
@zip = zip
|
|
5803
3520
|
end
|
|
5804
3521
|
end
|
|
@@ -5871,8 +3588,6 @@ module Stripe
|
|
|
5871
3588
|
attr_accessor :amount_details
|
|
5872
3589
|
# Amount to confirm on the PaymentIntent. Defaults to `amount` if not provided.
|
|
5873
3590
|
attr_accessor :amount_to_confirm
|
|
5874
|
-
# 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).
|
|
5875
|
-
attr_accessor :application_fee_amount
|
|
5876
3591
|
# Controls when the funds will be captured from the customer's account.
|
|
5877
3592
|
attr_accessor :capture_method
|
|
5878
3593
|
# ID of the ConfirmationToken used to confirm this PaymentIntent.
|
|
@@ -5885,8 +3600,6 @@ module Stripe
|
|
|
5885
3600
|
attr_accessor :excluded_payment_method_types
|
|
5886
3601
|
# Specifies which fields in the response should be expanded.
|
|
5887
3602
|
attr_accessor :expand
|
|
5888
|
-
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
5889
|
-
attr_accessor :fx_quote
|
|
5890
3603
|
# Automations to be run during the PaymentIntent lifecycle
|
|
5891
3604
|
attr_accessor :hooks
|
|
5892
3605
|
# ID of the mandate that's used for this payment.
|
|
@@ -5933,13 +3646,11 @@ module Stripe
|
|
|
5933
3646
|
allowed_payment_method_types: nil,
|
|
5934
3647
|
amount_details: nil,
|
|
5935
3648
|
amount_to_confirm: nil,
|
|
5936
|
-
application_fee_amount: nil,
|
|
5937
3649
|
capture_method: nil,
|
|
5938
3650
|
confirmation_token: nil,
|
|
5939
3651
|
error_on_requires_action: nil,
|
|
5940
3652
|
excluded_payment_method_types: nil,
|
|
5941
3653
|
expand: nil,
|
|
5942
|
-
fx_quote: nil,
|
|
5943
3654
|
hooks: nil,
|
|
5944
3655
|
mandate: nil,
|
|
5945
3656
|
mandate_data: nil,
|
|
@@ -5958,13 +3669,11 @@ module Stripe
|
|
|
5958
3669
|
@allowed_payment_method_types = allowed_payment_method_types
|
|
5959
3670
|
@amount_details = amount_details
|
|
5960
3671
|
@amount_to_confirm = amount_to_confirm
|
|
5961
|
-
@application_fee_amount = application_fee_amount
|
|
5962
3672
|
@capture_method = capture_method
|
|
5963
3673
|
@confirmation_token = confirmation_token
|
|
5964
3674
|
@error_on_requires_action = error_on_requires_action
|
|
5965
3675
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
5966
3676
|
@expand = expand
|
|
5967
|
-
@fx_quote = fx_quote
|
|
5968
3677
|
@hooks = hooks
|
|
5969
3678
|
@mandate = mandate
|
|
5970
3679
|
@mandate_data = mandate_data
|