stripe 20.2.0.pre.beta.1 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_operations/request.rb +2 -0
- data/lib/stripe/api_requestor.rb +1 -4
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/errors.rb +0 -6
- data/lib/stripe/event_types.rb +0 -193
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -53
- data/lib/stripe/params/account_create_params.rb +1 -299
- data/lib/stripe/params/account_session_create_params.rb +0 -191
- data/lib/stripe/params/account_update_params.rb +0 -261
- data/lib/stripe/params/balance_settings_update_params.rb +1 -9
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +3 -87
- data/lib/stripe/params/checkout/session_update_params.rb +1 -161
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/financial_connections/session_create_params.rb +1 -38
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -64
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -772
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -64
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/cardholder_update_params.rb +0 -4
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +109 -3062
- data/lib/stripe/params/payment_intent_create_params.rb +122 -3075
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +76 -3060
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
- data/lib/stripe/params/payment_method_create_params.rb +0 -88
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/quote_create_params.rb +3 -809
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -817
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -122
- data/lib/stripe/params/setup_intent_create_params.rb +3 -122
- data/lib/stripe/params/setup_intent_update_params.rb +3 -122
- data/lib/stripe/params/subscription_create_params.rb +6 -133
- data/lib/stripe/params/subscription_item_create_params.rb +3 -50
- data/lib/stripe/params/subscription_item_update_params.rb +2 -33
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -167
- data/lib/stripe/params/subscription_update_params.rb +5 -116
- data/lib/stripe/params/tax/registration_create_params.rb +1 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -19
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/account_create_params.rb +5 -392
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -29
- data/lib/stripe/params/v2/core/account_update_params.rb +4 -376
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -40
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +1 -22
- data/lib/stripe/params.rb +0 -364
- data/lib/stripe/request_options.rb +18 -0
- data/lib/stripe/resources/account.rb +1 -176
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +0 -4
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +1 -227
- data/lib/stripe/resources/checkout/session.rb +3 -91
- data/lib/stripe/resources/confirmation_token.rb +0 -131
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +0 -18
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +0 -92
- data/lib/stripe/resources/invoice.rb +1 -106
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/authorization.rb +0 -16
- data/lib/stripe/resources/issuing/card.rb +0 -16
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +0 -18
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -12
- data/lib/stripe/resources/payment_attempt_record.rb +1 -177
- data/lib/stripe/resources/payment_intent.rb +24 -1602
- data/lib/stripe/resources/payment_method.rb +0 -151
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +1 -177
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/plan.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +0 -35
- data/lib/stripe/resources/setup_intent.rb +1 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -73
- data/lib/stripe/resources/subscription_item.rb +1 -22
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax/registration.rb +1 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/core/account.rb +2 -802
- data/lib/stripe/resources/v2/core/event.rb +1 -1
- data/lib/stripe/resources/v2/core/event_base.rb +36 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +1 -91
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +1 -26
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -4
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -50
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -63
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +1 -31
- data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -50
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -2
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -2
- data/lib/stripe/resources.rb +2 -341
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -11
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/radar_service.rb +1 -2
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -45
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -27
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +0 -13
- data/lib/stripe/services/v2/money_management_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -7
- data/lib/stripe/services.rb +0 -181
- data/lib/stripe/stripe_client.rb +1 -4
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_event_notification_handler.rb +0 -216
- data/lib/stripe/stripe_object.rb +60 -1
- data/lib/stripe/stripe_service.rb +13 -9
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +68 -3
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/v2/core/event_base.rbi +11 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -2
- data/rbi/stripe.rbi +33552 -100276
- metadata +6 -332
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
- data/lib/stripe/events/v2_signals_account_evaluation_complete_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +0 -15
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/invoice_detach_payment_params.rb +0 -16
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_create_params.rb +0 -2083
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -2087
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/payment_plan_create_params.rb +0 -128
- data/lib/stripe/params/payment_plan_list_params.rb +0 -25
- data/lib/stripe/params/payment_plan_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_plan_update_params.rb +0 -105
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/radar/billing_evaluation_create_params.rb +0 -231
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_list_params.rb +0 -37
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -71
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +0 -47
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +0 -17
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -53
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/data/query_run_create_params.rb +0 -50
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_list_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/data/report_run_create_params.rb +0 -48
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/data/schema_list_params.rb +0 -26
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -30
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -35
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -113
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -112
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_disable_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_generate_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_create_params.rb +0 -200
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +0 -192
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +0 -35
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -149
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -927
- data/lib/stripe/resources/payment_plan.rb +0 -213
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1241
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -968
- data/lib/stripe/resources/radar/billing_evaluation.rb +0 -281
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -681
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -310
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -91
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
- data/lib/stripe/resources/v2/billing/profile.rb +0 -47
- data/lib/stripe/resources/v2/core/approval_request.rb +0 -395
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -536
- data/lib/stripe/resources/v2/data/query_run.rb +0 -255
- data/lib/stripe/resources/v2/data/report.rb +0 -104
- data/lib/stripe/resources/v2/data/report_run.rb +0 -246
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/data/schema.rb +0 -121
- data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
- data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -368
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +0 -33
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -255
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -260
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -137
- data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
- data/lib/stripe/resources/v2/signals/account_activity.rb +0 -252
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +0 -249
- data/lib/stripe/resources/v2/signals/account_signal.rb +0 -184
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/authorization_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_service.rb +0 -53
- data/lib/stripe/services/payment_plan_service.rb +0 -50
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/radar/billing_evaluation_service.rb +0 -19
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -30
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
- data/lib/stripe/services/shared_payment_service.rb +0 -14
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/approval_request_service.rb +0 -58
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/data/query_run_service.rb +0 -34
- data/lib/stripe/services/v2/data/report_run_service.rb +0 -36
- data/lib/stripe/services/v2/data/report_service.rb +0 -34
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/data/schema_service.rb +0 -32
- data/lib/stripe/services/v2/data_service.rb +0 -19
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -32
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -35
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -61
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/signals/account_activity_service.rb +0 -43
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +0 -32
- data/lib/stripe/services/v2/signals/account_signal_service.rb +0 -32
- data/lib/stripe/services/v2/signals_service.rb +0 -17
|
@@ -60,25 +60,6 @@ module Stripe
|
|
|
60
60
|
end
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
-
class Surcharge < ::Stripe::StripeObject
|
|
64
|
-
# Portion of the amount that corresponds to a surcharge.
|
|
65
|
-
attr_reader :amount
|
|
66
|
-
# Indicate whether to enforce validations on the surcharge amount.
|
|
67
|
-
attr_reader :enforce_validation
|
|
68
|
-
# The maximum amount allowed for the surcharge.
|
|
69
|
-
attr_reader :maximum_amount
|
|
70
|
-
# The status of the surcharge.
|
|
71
|
-
attr_reader :status
|
|
72
|
-
|
|
73
|
-
def self.inner_class_types
|
|
74
|
-
@inner_class_types = {}
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
def self.field_remappings
|
|
78
|
-
@field_remappings = {}
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
63
|
class Tax < ::Stripe::StripeObject
|
|
83
64
|
# The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
84
65
|
#
|
|
@@ -116,58 +97,13 @@ module Stripe
|
|
|
116
97
|
attr_reader :line_items
|
|
117
98
|
# Attribute for field shipping
|
|
118
99
|
attr_reader :shipping
|
|
119
|
-
# Attribute for field surcharge
|
|
120
|
-
attr_reader :surcharge
|
|
121
100
|
# Attribute for field tax
|
|
122
101
|
attr_reader :tax
|
|
123
102
|
# Attribute for field tip
|
|
124
103
|
attr_reader :tip
|
|
125
104
|
|
|
126
105
|
def self.inner_class_types
|
|
127
|
-
@inner_class_types = {
|
|
128
|
-
error: Error,
|
|
129
|
-
shipping: Shipping,
|
|
130
|
-
surcharge: Surcharge,
|
|
131
|
-
tax: Tax,
|
|
132
|
-
tip: Tip,
|
|
133
|
-
}
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
def self.field_remappings
|
|
137
|
-
@field_remappings = {}
|
|
138
|
-
end
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
class AsyncWorkflows < ::Stripe::StripeObject
|
|
142
|
-
class Inputs < ::Stripe::StripeObject
|
|
143
|
-
class Tax < ::Stripe::StripeObject
|
|
144
|
-
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
145
|
-
attr_reader :calculation
|
|
146
|
-
|
|
147
|
-
def self.inner_class_types
|
|
148
|
-
@inner_class_types = {}
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
def self.field_remappings
|
|
152
|
-
@field_remappings = {}
|
|
153
|
-
end
|
|
154
|
-
end
|
|
155
|
-
# Attribute for field tax
|
|
156
|
-
attr_reader :tax
|
|
157
|
-
|
|
158
|
-
def self.inner_class_types
|
|
159
|
-
@inner_class_types = { tax: Tax }
|
|
160
|
-
end
|
|
161
|
-
|
|
162
|
-
def self.field_remappings
|
|
163
|
-
@field_remappings = {}
|
|
164
|
-
end
|
|
165
|
-
end
|
|
166
|
-
# Attribute for field inputs
|
|
167
|
-
attr_reader :inputs
|
|
168
|
-
|
|
169
|
-
def self.inner_class_types
|
|
170
|
-
@inner_class_types = { inputs: Inputs }
|
|
106
|
+
@inner_class_types = { error: Error, shipping: Shipping, tax: Tax, tip: Tip }
|
|
171
107
|
end
|
|
172
108
|
|
|
173
109
|
def self.field_remappings
|
|
@@ -1329,1200 +1265,38 @@ module Stripe
|
|
|
1329
1265
|
display_bank_transfer_instructions: DisplayBankTransferInstructions,
|
|
1330
1266
|
klarna_display_qr_code: KlarnaDisplayQrCode,
|
|
1331
1267
|
konbini_display_details: KonbiniDisplayDetails,
|
|
1332
|
-
multibanco_display_details: MultibancoDisplayDetails,
|
|
1333
|
-
oxxo_display_details: OxxoDisplayDetails,
|
|
1334
|
-
paynow_display_qr_code: PaynowDisplayQrCode,
|
|
1335
|
-
pix_display_qr_code: PixDisplayQrCode,
|
|
1336
|
-
promptpay_display_qr_code: PromptpayDisplayQrCode,
|
|
1337
|
-
redirect_to_url: RedirectToUrl,
|
|
1338
|
-
swish_handle_redirect_or_display_qr_code: SwishHandleRedirectOrDisplayQrCode,
|
|
1339
|
-
upi_handle_redirect_or_display_qr_code: UpiHandleRedirectOrDisplayQrCode,
|
|
1340
|
-
verify_with_microdeposits: VerifyWithMicrodeposits,
|
|
1341
|
-
wechat_pay_display_qr_code: WechatPayDisplayQrCode,
|
|
1342
|
-
wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
|
|
1343
|
-
wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
|
|
1344
|
-
}
|
|
1345
|
-
end
|
|
1346
|
-
|
|
1347
|
-
def self.field_remappings
|
|
1348
|
-
@field_remappings = {}
|
|
1349
|
-
end
|
|
1350
|
-
end
|
|
1351
|
-
|
|
1352
|
-
class PaymentDetails < ::Stripe::StripeObject
|
|
1353
|
-
class CarRental < ::Stripe::StripeObject
|
|
1354
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1355
|
-
# The name of the affiliate that originated the purchase.
|
|
1356
|
-
attr_reader :name
|
|
1357
|
-
|
|
1358
|
-
def self.inner_class_types
|
|
1359
|
-
@inner_class_types = {}
|
|
1360
|
-
end
|
|
1361
|
-
|
|
1362
|
-
def self.field_remappings
|
|
1363
|
-
@field_remappings = {}
|
|
1364
|
-
end
|
|
1365
|
-
end
|
|
1366
|
-
|
|
1367
|
-
class Delivery < ::Stripe::StripeObject
|
|
1368
|
-
class Recipient < ::Stripe::StripeObject
|
|
1369
|
-
# The email of the recipient the ticket is delivered to.
|
|
1370
|
-
attr_reader :email
|
|
1371
|
-
# The name of the recipient the ticket is delivered to.
|
|
1372
|
-
attr_reader :name
|
|
1373
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1374
|
-
attr_reader :phone
|
|
1375
|
-
|
|
1376
|
-
def self.inner_class_types
|
|
1377
|
-
@inner_class_types = {}
|
|
1378
|
-
end
|
|
1379
|
-
|
|
1380
|
-
def self.field_remappings
|
|
1381
|
-
@field_remappings = {}
|
|
1382
|
-
end
|
|
1383
|
-
end
|
|
1384
|
-
# The delivery method for the payment
|
|
1385
|
-
attr_reader :mode
|
|
1386
|
-
# Attribute for field recipient
|
|
1387
|
-
attr_reader :recipient
|
|
1388
|
-
|
|
1389
|
-
def self.inner_class_types
|
|
1390
|
-
@inner_class_types = { recipient: Recipient }
|
|
1391
|
-
end
|
|
1392
|
-
|
|
1393
|
-
def self.field_remappings
|
|
1394
|
-
@field_remappings = {}
|
|
1395
|
-
end
|
|
1396
|
-
end
|
|
1397
|
-
|
|
1398
|
-
class Distance < ::Stripe::StripeObject
|
|
1399
|
-
# Distance traveled.
|
|
1400
|
-
attr_reader :amount
|
|
1401
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1402
|
-
attr_reader :unit
|
|
1403
|
-
|
|
1404
|
-
def self.inner_class_types
|
|
1405
|
-
@inner_class_types = {}
|
|
1406
|
-
end
|
|
1407
|
-
|
|
1408
|
-
def self.field_remappings
|
|
1409
|
-
@field_remappings = {}
|
|
1410
|
-
end
|
|
1411
|
-
end
|
|
1412
|
-
|
|
1413
|
-
class Driver < ::Stripe::StripeObject
|
|
1414
|
-
# Driver's identification number.
|
|
1415
|
-
attr_reader :driver_identification_number
|
|
1416
|
-
# Driver's tax number.
|
|
1417
|
-
attr_reader :driver_tax_number
|
|
1418
|
-
# Full name of the driver on the reservation.
|
|
1419
|
-
attr_reader :name
|
|
1420
|
-
|
|
1421
|
-
def self.inner_class_types
|
|
1422
|
-
@inner_class_types = {}
|
|
1423
|
-
end
|
|
1424
|
-
|
|
1425
|
-
def self.field_remappings
|
|
1426
|
-
@field_remappings = {}
|
|
1427
|
-
end
|
|
1428
|
-
end
|
|
1429
|
-
|
|
1430
|
-
class PickupAddress < ::Stripe::StripeObject
|
|
1431
|
-
# City, district, suburb, town, or village.
|
|
1432
|
-
attr_reader :city
|
|
1433
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1434
|
-
attr_reader :country
|
|
1435
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1436
|
-
attr_reader :line1
|
|
1437
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1438
|
-
attr_reader :line2
|
|
1439
|
-
# ZIP or postal code.
|
|
1440
|
-
attr_reader :postal_code
|
|
1441
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1442
|
-
attr_reader :state
|
|
1443
|
-
|
|
1444
|
-
def self.inner_class_types
|
|
1445
|
-
@inner_class_types = {}
|
|
1446
|
-
end
|
|
1447
|
-
|
|
1448
|
-
def self.field_remappings
|
|
1449
|
-
@field_remappings = {}
|
|
1450
|
-
end
|
|
1451
|
-
end
|
|
1452
|
-
|
|
1453
|
-
class ReturnAddress < ::Stripe::StripeObject
|
|
1454
|
-
# City, district, suburb, town, or village.
|
|
1455
|
-
attr_reader :city
|
|
1456
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1457
|
-
attr_reader :country
|
|
1458
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1459
|
-
attr_reader :line1
|
|
1460
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1461
|
-
attr_reader :line2
|
|
1462
|
-
# ZIP or postal code.
|
|
1463
|
-
attr_reader :postal_code
|
|
1464
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1465
|
-
attr_reader :state
|
|
1466
|
-
|
|
1467
|
-
def self.inner_class_types
|
|
1468
|
-
@inner_class_types = {}
|
|
1469
|
-
end
|
|
1470
|
-
|
|
1471
|
-
def self.field_remappings
|
|
1472
|
-
@field_remappings = {}
|
|
1473
|
-
end
|
|
1474
|
-
end
|
|
1475
|
-
# Attribute for field affiliate
|
|
1476
|
-
attr_reader :affiliate
|
|
1477
|
-
# The booking number associated with the car rental.
|
|
1478
|
-
attr_reader :booking_number
|
|
1479
|
-
# Class code of the car.
|
|
1480
|
-
attr_reader :car_class_code
|
|
1481
|
-
# Make of the car.
|
|
1482
|
-
attr_reader :car_make
|
|
1483
|
-
# Model of the car.
|
|
1484
|
-
attr_reader :car_model
|
|
1485
|
-
# The name of the rental car company.
|
|
1486
|
-
attr_reader :company
|
|
1487
|
-
# The customer service phone number of the car rental company.
|
|
1488
|
-
attr_reader :customer_service_phone_number
|
|
1489
|
-
# Number of days the car is being rented.
|
|
1490
|
-
attr_reader :days_rented
|
|
1491
|
-
# Attribute for field delivery
|
|
1492
|
-
attr_reader :delivery
|
|
1493
|
-
# Attribute for field distance
|
|
1494
|
-
attr_reader :distance
|
|
1495
|
-
# The details of the drivers associated with the trip.
|
|
1496
|
-
attr_reader :drivers
|
|
1497
|
-
# List of additional charges being billed.
|
|
1498
|
-
attr_reader :extra_charges
|
|
1499
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1500
|
-
attr_reader :no_show
|
|
1501
|
-
# Attribute for field pickup_address
|
|
1502
|
-
attr_reader :pickup_address
|
|
1503
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1504
|
-
attr_reader :pickup_at
|
|
1505
|
-
# Name of the pickup location.
|
|
1506
|
-
attr_reader :pickup_location_name
|
|
1507
|
-
# Rental rate.
|
|
1508
|
-
attr_reader :rate_amount
|
|
1509
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1510
|
-
attr_reader :rate_interval
|
|
1511
|
-
# The full name of the person or entity renting the car.
|
|
1512
|
-
attr_reader :renter_name
|
|
1513
|
-
# Attribute for field return_address
|
|
1514
|
-
attr_reader :return_address
|
|
1515
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
1516
|
-
attr_reader :return_at
|
|
1517
|
-
# Name of the return location.
|
|
1518
|
-
attr_reader :return_location_name
|
|
1519
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1520
|
-
attr_reader :tax_exempt
|
|
1521
|
-
# The vehicle identification number of the car.
|
|
1522
|
-
attr_reader :vehicle_identification_number
|
|
1523
|
-
|
|
1524
|
-
def self.inner_class_types
|
|
1525
|
-
@inner_class_types = {
|
|
1526
|
-
affiliate: Affiliate,
|
|
1527
|
-
delivery: Delivery,
|
|
1528
|
-
distance: Distance,
|
|
1529
|
-
drivers: Driver,
|
|
1530
|
-
pickup_address: PickupAddress,
|
|
1531
|
-
return_address: ReturnAddress,
|
|
1532
|
-
}
|
|
1533
|
-
end
|
|
1534
|
-
|
|
1535
|
-
def self.field_remappings
|
|
1536
|
-
@field_remappings = {}
|
|
1537
|
-
end
|
|
1538
|
-
end
|
|
1539
|
-
|
|
1540
|
-
class CarRentalDatum < ::Stripe::StripeObject
|
|
1541
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1542
|
-
# Affiliate code.
|
|
1543
|
-
attr_reader :code
|
|
1544
|
-
# Affiliate name.
|
|
1545
|
-
attr_reader :name
|
|
1546
|
-
|
|
1547
|
-
def self.inner_class_types
|
|
1548
|
-
@inner_class_types = {}
|
|
1549
|
-
end
|
|
1550
|
-
|
|
1551
|
-
def self.field_remappings
|
|
1552
|
-
@field_remappings = {}
|
|
1553
|
-
end
|
|
1554
|
-
end
|
|
1555
|
-
|
|
1556
|
-
class Distance < ::Stripe::StripeObject
|
|
1557
|
-
# Distance amount.
|
|
1558
|
-
attr_reader :amount
|
|
1559
|
-
# Unit for the distance.
|
|
1560
|
-
attr_reader :unit
|
|
1561
|
-
|
|
1562
|
-
def self.inner_class_types
|
|
1563
|
-
@inner_class_types = {}
|
|
1564
|
-
end
|
|
1565
|
-
|
|
1566
|
-
def self.field_remappings
|
|
1567
|
-
@field_remappings = {}
|
|
1568
|
-
end
|
|
1569
|
-
end
|
|
1570
|
-
|
|
1571
|
-
class Driver < ::Stripe::StripeObject
|
|
1572
|
-
class DateOfBirth < ::Stripe::StripeObject
|
|
1573
|
-
# Day of birth.
|
|
1574
|
-
attr_reader :day
|
|
1575
|
-
# Month of birth.
|
|
1576
|
-
attr_reader :month
|
|
1577
|
-
# Year of birth.
|
|
1578
|
-
attr_reader :year
|
|
1579
|
-
|
|
1580
|
-
def self.inner_class_types
|
|
1581
|
-
@inner_class_types = {}
|
|
1582
|
-
end
|
|
1583
|
-
|
|
1584
|
-
def self.field_remappings
|
|
1585
|
-
@field_remappings = {}
|
|
1586
|
-
end
|
|
1587
|
-
end
|
|
1588
|
-
# Attribute for field date_of_birth
|
|
1589
|
-
attr_reader :date_of_birth
|
|
1590
|
-
# Driver's identification number.
|
|
1591
|
-
attr_reader :driver_identification_number
|
|
1592
|
-
# Driver's tax number.
|
|
1593
|
-
attr_reader :driver_tax_number
|
|
1594
|
-
# Full name of the driver.
|
|
1595
|
-
attr_reader :name
|
|
1596
|
-
|
|
1597
|
-
def self.inner_class_types
|
|
1598
|
-
@inner_class_types = { date_of_birth: DateOfBirth }
|
|
1599
|
-
end
|
|
1600
|
-
|
|
1601
|
-
def self.field_remappings
|
|
1602
|
-
@field_remappings = {}
|
|
1603
|
-
end
|
|
1604
|
-
end
|
|
1605
|
-
|
|
1606
|
-
class DropOff < ::Stripe::StripeObject
|
|
1607
|
-
class Address < ::Stripe::StripeObject
|
|
1608
|
-
# City, district, suburb, town, or village.
|
|
1609
|
-
attr_reader :city
|
|
1610
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1611
|
-
attr_reader :country
|
|
1612
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1613
|
-
attr_reader :line1
|
|
1614
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1615
|
-
attr_reader :line2
|
|
1616
|
-
# ZIP or postal code.
|
|
1617
|
-
attr_reader :postal_code
|
|
1618
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1619
|
-
attr_reader :state
|
|
1620
|
-
|
|
1621
|
-
def self.inner_class_types
|
|
1622
|
-
@inner_class_types = {}
|
|
1623
|
-
end
|
|
1624
|
-
|
|
1625
|
-
def self.field_remappings
|
|
1626
|
-
@field_remappings = {}
|
|
1627
|
-
end
|
|
1628
|
-
end
|
|
1629
|
-
# Attribute for field address
|
|
1630
|
-
attr_reader :address
|
|
1631
|
-
# Name of the location.
|
|
1632
|
-
attr_reader :location_name
|
|
1633
|
-
# Time associated with the location.
|
|
1634
|
-
attr_reader :time
|
|
1635
|
-
|
|
1636
|
-
def self.inner_class_types
|
|
1637
|
-
@inner_class_types = { address: Address }
|
|
1638
|
-
end
|
|
1639
|
-
|
|
1640
|
-
def self.field_remappings
|
|
1641
|
-
@field_remappings = {}
|
|
1642
|
-
end
|
|
1643
|
-
end
|
|
1644
|
-
|
|
1645
|
-
class Insurance < ::Stripe::StripeObject
|
|
1646
|
-
# Amount of the insurance.
|
|
1647
|
-
attr_reader :amount
|
|
1648
|
-
# Currency for the insurance price.
|
|
1649
|
-
attr_reader :currency
|
|
1650
|
-
# Name of the insurance company.
|
|
1651
|
-
attr_reader :insurance_company_name
|
|
1652
|
-
# Type of insurance.
|
|
1653
|
-
attr_reader :insurance_type
|
|
1654
|
-
|
|
1655
|
-
def self.inner_class_types
|
|
1656
|
-
@inner_class_types = {}
|
|
1657
|
-
end
|
|
1658
|
-
|
|
1659
|
-
def self.field_remappings
|
|
1660
|
-
@field_remappings = {}
|
|
1661
|
-
end
|
|
1662
|
-
end
|
|
1663
|
-
|
|
1664
|
-
class Pickup < ::Stripe::StripeObject
|
|
1665
|
-
class Address < ::Stripe::StripeObject
|
|
1666
|
-
# City, district, suburb, town, or village.
|
|
1667
|
-
attr_reader :city
|
|
1668
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1669
|
-
attr_reader :country
|
|
1670
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1671
|
-
attr_reader :line1
|
|
1672
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1673
|
-
attr_reader :line2
|
|
1674
|
-
# ZIP or postal code.
|
|
1675
|
-
attr_reader :postal_code
|
|
1676
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1677
|
-
attr_reader :state
|
|
1678
|
-
|
|
1679
|
-
def self.inner_class_types
|
|
1680
|
-
@inner_class_types = {}
|
|
1681
|
-
end
|
|
1682
|
-
|
|
1683
|
-
def self.field_remappings
|
|
1684
|
-
@field_remappings = {}
|
|
1685
|
-
end
|
|
1686
|
-
end
|
|
1687
|
-
# Attribute for field address
|
|
1688
|
-
attr_reader :address
|
|
1689
|
-
# Name of the location.
|
|
1690
|
-
attr_reader :location_name
|
|
1691
|
-
# Time associated with the location.
|
|
1692
|
-
attr_reader :time
|
|
1693
|
-
|
|
1694
|
-
def self.inner_class_types
|
|
1695
|
-
@inner_class_types = { address: Address }
|
|
1696
|
-
end
|
|
1697
|
-
|
|
1698
|
-
def self.field_remappings
|
|
1699
|
-
@field_remappings = {}
|
|
1700
|
-
end
|
|
1701
|
-
end
|
|
1702
|
-
|
|
1703
|
-
class Total < ::Stripe::StripeObject
|
|
1704
|
-
class Discounts < ::Stripe::StripeObject
|
|
1705
|
-
# Corporate client discount code.
|
|
1706
|
-
attr_reader :corporate_client_code
|
|
1707
|
-
# Coupon code applied.
|
|
1708
|
-
attr_reader :coupon
|
|
1709
|
-
# Maximum free miles or kilometers included.
|
|
1710
|
-
attr_reader :maximum_free_miles_or_kilometers
|
|
1711
|
-
|
|
1712
|
-
def self.inner_class_types
|
|
1713
|
-
@inner_class_types = {}
|
|
1714
|
-
end
|
|
1715
|
-
|
|
1716
|
-
def self.field_remappings
|
|
1717
|
-
@field_remappings = {}
|
|
1718
|
-
end
|
|
1719
|
-
end
|
|
1720
|
-
|
|
1721
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
1722
|
-
# Amount of the extra charge.
|
|
1723
|
-
attr_reader :amount
|
|
1724
|
-
# Type of extra charge.
|
|
1725
|
-
attr_reader :type
|
|
1726
|
-
|
|
1727
|
-
def self.inner_class_types
|
|
1728
|
-
@inner_class_types = {}
|
|
1729
|
-
end
|
|
1730
|
-
|
|
1731
|
-
def self.field_remappings
|
|
1732
|
-
@field_remappings = {}
|
|
1733
|
-
end
|
|
1734
|
-
end
|
|
1735
|
-
|
|
1736
|
-
class Tax < ::Stripe::StripeObject
|
|
1737
|
-
class TaxItem < ::Stripe::StripeObject
|
|
1738
|
-
# Tax amount.
|
|
1739
|
-
attr_reader :amount
|
|
1740
|
-
# Tax rate.
|
|
1741
|
-
attr_reader :rate
|
|
1742
|
-
# Type of tax.
|
|
1743
|
-
attr_reader :type
|
|
1744
|
-
|
|
1745
|
-
def self.inner_class_types
|
|
1746
|
-
@inner_class_types = {}
|
|
1747
|
-
end
|
|
1748
|
-
|
|
1749
|
-
def self.field_remappings
|
|
1750
|
-
@field_remappings = {}
|
|
1751
|
-
end
|
|
1752
|
-
end
|
|
1753
|
-
# Indicates whether the rental is tax-exempt.
|
|
1754
|
-
attr_reader :tax_exempt_indicator
|
|
1755
|
-
# Tax details.
|
|
1756
|
-
attr_reader :tax_items
|
|
1757
|
-
|
|
1758
|
-
def self.inner_class_types
|
|
1759
|
-
@inner_class_types = { tax_items: TaxItem }
|
|
1760
|
-
end
|
|
1761
|
-
|
|
1762
|
-
def self.field_remappings
|
|
1763
|
-
@field_remappings = {}
|
|
1764
|
-
end
|
|
1765
|
-
end
|
|
1766
|
-
# Total amount.
|
|
1767
|
-
attr_reader :amount
|
|
1768
|
-
# Currency for the total amount.
|
|
1769
|
-
attr_reader :currency
|
|
1770
|
-
# Attribute for field discounts
|
|
1771
|
-
attr_reader :discounts
|
|
1772
|
-
# Additional charges for the rental.
|
|
1773
|
-
attr_reader :extra_charges
|
|
1774
|
-
# Rate per unit.
|
|
1775
|
-
attr_reader :rate_per_unit
|
|
1776
|
-
# Unit for the rate.
|
|
1777
|
-
attr_reader :rate_unit
|
|
1778
|
-
# Attribute for field tax
|
|
1779
|
-
attr_reader :tax
|
|
1780
|
-
|
|
1781
|
-
def self.inner_class_types
|
|
1782
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
1783
|
-
end
|
|
1784
|
-
|
|
1785
|
-
def self.field_remappings
|
|
1786
|
-
@field_remappings = {}
|
|
1787
|
-
end
|
|
1788
|
-
end
|
|
1789
|
-
|
|
1790
|
-
class Vehicle < ::Stripe::StripeObject
|
|
1791
|
-
# Make of the vehicle.
|
|
1792
|
-
attr_reader :make
|
|
1793
|
-
# Model of the vehicle.
|
|
1794
|
-
attr_reader :model
|
|
1795
|
-
# Odometer reading.
|
|
1796
|
-
attr_reader :odometer
|
|
1797
|
-
# Type of the vehicle.
|
|
1798
|
-
attr_reader :type
|
|
1799
|
-
# Class of the vehicle.
|
|
1800
|
-
attr_reader :vehicle_class
|
|
1801
|
-
# Vehicle identification number.
|
|
1802
|
-
attr_reader :vehicle_identification_number
|
|
1803
|
-
|
|
1804
|
-
def self.inner_class_types
|
|
1805
|
-
@inner_class_types = {}
|
|
1806
|
-
end
|
|
1807
|
-
|
|
1808
|
-
def self.field_remappings
|
|
1809
|
-
@field_remappings = {}
|
|
1810
|
-
end
|
|
1811
|
-
end
|
|
1812
|
-
# Attribute for field affiliate
|
|
1813
|
-
attr_reader :affiliate
|
|
1814
|
-
# The booking number associated with the car rental.
|
|
1815
|
-
attr_reader :booking_number
|
|
1816
|
-
# The name of the car rental company.
|
|
1817
|
-
attr_reader :carrier_name
|
|
1818
|
-
# The customer service phone number of the car rental company.
|
|
1819
|
-
attr_reader :customer_service_phone_number
|
|
1820
|
-
# Number of days the car is being rented.
|
|
1821
|
-
attr_reader :days_rented
|
|
1822
|
-
# Attribute for field distance
|
|
1823
|
-
attr_reader :distance
|
|
1824
|
-
# The details of the drivers associated with the rental.
|
|
1825
|
-
attr_reader :drivers
|
|
1826
|
-
# Attribute for field drop_off
|
|
1827
|
-
attr_reader :drop_off
|
|
1828
|
-
# Insurance details for the car rental.
|
|
1829
|
-
attr_reader :insurances
|
|
1830
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1831
|
-
attr_reader :no_show_indicator
|
|
1832
|
-
# Attribute for field pickup
|
|
1833
|
-
attr_reader :pickup
|
|
1834
|
-
# Name of the person renting the vehicle.
|
|
1835
|
-
attr_reader :renter_name
|
|
1836
|
-
# Attribute for field total
|
|
1837
|
-
attr_reader :total
|
|
1838
|
-
# Attribute for field vehicle
|
|
1839
|
-
attr_reader :vehicle
|
|
1840
|
-
|
|
1841
|
-
def self.inner_class_types
|
|
1842
|
-
@inner_class_types = {
|
|
1843
|
-
affiliate: Affiliate,
|
|
1844
|
-
distance: Distance,
|
|
1845
|
-
drivers: Driver,
|
|
1846
|
-
drop_off: DropOff,
|
|
1847
|
-
insurances: Insurance,
|
|
1848
|
-
pickup: Pickup,
|
|
1849
|
-
total: Total,
|
|
1850
|
-
vehicle: Vehicle,
|
|
1851
|
-
}
|
|
1852
|
-
end
|
|
1853
|
-
|
|
1854
|
-
def self.field_remappings
|
|
1855
|
-
@field_remappings = {}
|
|
1856
|
-
end
|
|
1857
|
-
end
|
|
1858
|
-
|
|
1859
|
-
class EventDetails < ::Stripe::StripeObject
|
|
1860
|
-
class Address < ::Stripe::StripeObject
|
|
1861
|
-
# City, district, suburb, town, or village.
|
|
1862
|
-
attr_reader :city
|
|
1863
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1864
|
-
attr_reader :country
|
|
1865
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1866
|
-
attr_reader :line1
|
|
1867
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1868
|
-
attr_reader :line2
|
|
1869
|
-
# ZIP or postal code.
|
|
1870
|
-
attr_reader :postal_code
|
|
1871
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1872
|
-
attr_reader :state
|
|
1873
|
-
|
|
1874
|
-
def self.inner_class_types
|
|
1875
|
-
@inner_class_types = {}
|
|
1876
|
-
end
|
|
1877
|
-
|
|
1878
|
-
def self.field_remappings
|
|
1879
|
-
@field_remappings = {}
|
|
1880
|
-
end
|
|
1881
|
-
end
|
|
1882
|
-
|
|
1883
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1884
|
-
# The name of the affiliate that originated the purchase.
|
|
1885
|
-
attr_reader :name
|
|
1886
|
-
|
|
1887
|
-
def self.inner_class_types
|
|
1888
|
-
@inner_class_types = {}
|
|
1889
|
-
end
|
|
1890
|
-
|
|
1891
|
-
def self.field_remappings
|
|
1892
|
-
@field_remappings = {}
|
|
1893
|
-
end
|
|
1894
|
-
end
|
|
1895
|
-
|
|
1896
|
-
class Delivery < ::Stripe::StripeObject
|
|
1897
|
-
class Recipient < ::Stripe::StripeObject
|
|
1898
|
-
# The email of the recipient the ticket is delivered to.
|
|
1899
|
-
attr_reader :email
|
|
1900
|
-
# The name of the recipient the ticket is delivered to.
|
|
1901
|
-
attr_reader :name
|
|
1902
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1903
|
-
attr_reader :phone
|
|
1904
|
-
|
|
1905
|
-
def self.inner_class_types
|
|
1906
|
-
@inner_class_types = {}
|
|
1907
|
-
end
|
|
1908
|
-
|
|
1909
|
-
def self.field_remappings
|
|
1910
|
-
@field_remappings = {}
|
|
1911
|
-
end
|
|
1912
|
-
end
|
|
1913
|
-
# The delivery method for the payment
|
|
1914
|
-
attr_reader :mode
|
|
1915
|
-
# Attribute for field recipient
|
|
1916
|
-
attr_reader :recipient
|
|
1917
|
-
|
|
1918
|
-
def self.inner_class_types
|
|
1919
|
-
@inner_class_types = { recipient: Recipient }
|
|
1920
|
-
end
|
|
1921
|
-
|
|
1922
|
-
def self.field_remappings
|
|
1923
|
-
@field_remappings = {}
|
|
1924
|
-
end
|
|
1925
|
-
end
|
|
1926
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
1927
|
-
attr_reader :access_controlled_venue
|
|
1928
|
-
# Attribute for field address
|
|
1929
|
-
attr_reader :address
|
|
1930
|
-
# Attribute for field affiliate
|
|
1931
|
-
attr_reader :affiliate
|
|
1932
|
-
# The name of the company
|
|
1933
|
-
attr_reader :company
|
|
1934
|
-
# Attribute for field delivery
|
|
1935
|
-
attr_reader :delivery
|
|
1936
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
1937
|
-
attr_reader :ends_at
|
|
1938
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
1939
|
-
attr_reader :genre
|
|
1940
|
-
# The name of the event.
|
|
1941
|
-
attr_reader :name
|
|
1942
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
1943
|
-
attr_reader :starts_at
|
|
1944
|
-
|
|
1945
|
-
def self.inner_class_types
|
|
1946
|
-
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
1947
|
-
end
|
|
1948
|
-
|
|
1949
|
-
def self.field_remappings
|
|
1950
|
-
@field_remappings = {}
|
|
1951
|
-
end
|
|
1952
|
-
end
|
|
1953
|
-
|
|
1954
|
-
class FlightDatum < ::Stripe::StripeObject
|
|
1955
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1956
|
-
# Affiliate code.
|
|
1957
|
-
attr_reader :code
|
|
1958
|
-
# Affiliate name.
|
|
1959
|
-
attr_reader :name
|
|
1960
|
-
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1961
|
-
attr_reader :travel_authorization_code
|
|
1962
|
-
|
|
1963
|
-
def self.inner_class_types
|
|
1964
|
-
@inner_class_types = {}
|
|
1965
|
-
end
|
|
1966
|
-
|
|
1967
|
-
def self.field_remappings
|
|
1968
|
-
@field_remappings = {}
|
|
1969
|
-
end
|
|
1970
|
-
end
|
|
1971
|
-
|
|
1972
|
-
class Insurance < ::Stripe::StripeObject
|
|
1973
|
-
# Amount of the insurance.
|
|
1974
|
-
attr_reader :amount
|
|
1975
|
-
# Currency for the insurance price.
|
|
1976
|
-
attr_reader :currency
|
|
1977
|
-
# Name of the insurance company.
|
|
1978
|
-
attr_reader :insurance_company_name
|
|
1979
|
-
# Type of insurance.
|
|
1980
|
-
attr_reader :insurance_type
|
|
1981
|
-
|
|
1982
|
-
def self.inner_class_types
|
|
1983
|
-
@inner_class_types = {}
|
|
1984
|
-
end
|
|
1985
|
-
|
|
1986
|
-
def self.field_remappings
|
|
1987
|
-
@field_remappings = {}
|
|
1988
|
-
end
|
|
1989
|
-
end
|
|
1990
|
-
|
|
1991
|
-
class Passenger < ::Stripe::StripeObject
|
|
1992
|
-
# Full name of the passenger.
|
|
1993
|
-
attr_reader :name
|
|
1994
|
-
|
|
1995
|
-
def self.inner_class_types
|
|
1996
|
-
@inner_class_types = {}
|
|
1997
|
-
end
|
|
1998
|
-
|
|
1999
|
-
def self.field_remappings
|
|
2000
|
-
@field_remappings = {}
|
|
2001
|
-
end
|
|
2002
|
-
end
|
|
2003
|
-
|
|
2004
|
-
class Segment < ::Stripe::StripeObject
|
|
2005
|
-
class Arrival < ::Stripe::StripeObject
|
|
2006
|
-
# Arrival airport IATA code.
|
|
2007
|
-
attr_reader :airport
|
|
2008
|
-
# Arrival date and time.
|
|
2009
|
-
attr_reader :arrives_at
|
|
2010
|
-
# Arrival city.
|
|
2011
|
-
attr_reader :city
|
|
2012
|
-
# Arrival country.
|
|
2013
|
-
attr_reader :country
|
|
2014
|
-
|
|
2015
|
-
def self.inner_class_types
|
|
2016
|
-
@inner_class_types = {}
|
|
2017
|
-
end
|
|
2018
|
-
|
|
2019
|
-
def self.field_remappings
|
|
2020
|
-
@field_remappings = {}
|
|
2021
|
-
end
|
|
2022
|
-
end
|
|
2023
|
-
|
|
2024
|
-
class Departure < ::Stripe::StripeObject
|
|
2025
|
-
# Departure airport IATA code.
|
|
2026
|
-
attr_reader :airport
|
|
2027
|
-
# Departure city.
|
|
2028
|
-
attr_reader :city
|
|
2029
|
-
# Departure country.
|
|
2030
|
-
attr_reader :country
|
|
2031
|
-
# Departure date and time.
|
|
2032
|
-
attr_reader :departs_at
|
|
2033
|
-
|
|
2034
|
-
def self.inner_class_types
|
|
2035
|
-
@inner_class_types = {}
|
|
2036
|
-
end
|
|
2037
|
-
|
|
2038
|
-
def self.field_remappings
|
|
2039
|
-
@field_remappings = {}
|
|
2040
|
-
end
|
|
2041
|
-
end
|
|
2042
|
-
# Segment fare amount.
|
|
2043
|
-
attr_reader :amount
|
|
2044
|
-
# Attribute for field arrival
|
|
2045
|
-
attr_reader :arrival
|
|
2046
|
-
# Airline carrier code.
|
|
2047
|
-
attr_reader :carrier_code
|
|
2048
|
-
# Carrier name.
|
|
2049
|
-
attr_reader :carrier_name
|
|
2050
|
-
# Segment currency.
|
|
2051
|
-
attr_reader :currency
|
|
2052
|
-
# Attribute for field departure
|
|
2053
|
-
attr_reader :departure
|
|
2054
|
-
# Exchange ticket number.
|
|
2055
|
-
attr_reader :exchange_ticket_number
|
|
2056
|
-
# Fare basis code.
|
|
2057
|
-
attr_reader :fare_basis_code
|
|
2058
|
-
# Additional fees.
|
|
2059
|
-
attr_reader :fees
|
|
2060
|
-
# Flight number.
|
|
2061
|
-
attr_reader :flight_number
|
|
2062
|
-
# Stopover indicator.
|
|
2063
|
-
attr_reader :is_stop_over_indicator
|
|
2064
|
-
# Refundable ticket indicator.
|
|
2065
|
-
attr_reader :refundable
|
|
2066
|
-
# Class of service.
|
|
2067
|
-
attr_reader :service_class
|
|
2068
|
-
# Tax amount for segment.
|
|
2069
|
-
attr_reader :tax_amount
|
|
2070
|
-
# Ticket number.
|
|
2071
|
-
attr_reader :ticket_number
|
|
2072
|
-
|
|
2073
|
-
def self.inner_class_types
|
|
2074
|
-
@inner_class_types = { arrival: Arrival, departure: Departure }
|
|
2075
|
-
end
|
|
2076
|
-
|
|
2077
|
-
def self.field_remappings
|
|
2078
|
-
@field_remappings = {}
|
|
2079
|
-
end
|
|
2080
|
-
end
|
|
2081
|
-
|
|
2082
|
-
class Total < ::Stripe::StripeObject
|
|
2083
|
-
class Discounts < ::Stripe::StripeObject
|
|
2084
|
-
# Corporate client discount code.
|
|
2085
|
-
attr_reader :corporate_client_code
|
|
2086
|
-
|
|
2087
|
-
def self.inner_class_types
|
|
2088
|
-
@inner_class_types = {}
|
|
2089
|
-
end
|
|
2090
|
-
|
|
2091
|
-
def self.field_remappings
|
|
2092
|
-
@field_remappings = {}
|
|
2093
|
-
end
|
|
2094
|
-
end
|
|
2095
|
-
|
|
2096
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
2097
|
-
# Amount of the extra charge.
|
|
2098
|
-
attr_reader :amount
|
|
2099
|
-
# Type of extra charge.
|
|
2100
|
-
attr_reader :type
|
|
2101
|
-
|
|
2102
|
-
def self.inner_class_types
|
|
2103
|
-
@inner_class_types = {}
|
|
2104
|
-
end
|
|
2105
|
-
|
|
2106
|
-
def self.field_remappings
|
|
2107
|
-
@field_remappings = {}
|
|
2108
|
-
end
|
|
2109
|
-
end
|
|
2110
|
-
|
|
2111
|
-
class Tax < ::Stripe::StripeObject
|
|
2112
|
-
class TaxItem < ::Stripe::StripeObject
|
|
2113
|
-
# Tax amount.
|
|
2114
|
-
attr_reader :amount
|
|
2115
|
-
# Tax rate.
|
|
2116
|
-
attr_reader :rate
|
|
2117
|
-
# Type of tax.
|
|
2118
|
-
attr_reader :type
|
|
2119
|
-
|
|
2120
|
-
def self.inner_class_types
|
|
2121
|
-
@inner_class_types = {}
|
|
2122
|
-
end
|
|
2123
|
-
|
|
2124
|
-
def self.field_remappings
|
|
2125
|
-
@field_remappings = {}
|
|
2126
|
-
end
|
|
2127
|
-
end
|
|
2128
|
-
# Tax details.
|
|
2129
|
-
attr_reader :tax_items
|
|
2130
|
-
|
|
2131
|
-
def self.inner_class_types
|
|
2132
|
-
@inner_class_types = { tax_items: TaxItem }
|
|
2133
|
-
end
|
|
2134
|
-
|
|
2135
|
-
def self.field_remappings
|
|
2136
|
-
@field_remappings = {}
|
|
2137
|
-
end
|
|
2138
|
-
end
|
|
2139
|
-
# Total amount.
|
|
2140
|
-
attr_reader :amount
|
|
2141
|
-
# Reason for credit.
|
|
2142
|
-
attr_reader :credit_reason
|
|
2143
|
-
# Currency for the total amount.
|
|
2144
|
-
attr_reader :currency
|
|
2145
|
-
# Attribute for field discounts
|
|
2146
|
-
attr_reader :discounts
|
|
2147
|
-
# Additional charges for the flight.
|
|
2148
|
-
attr_reader :extra_charges
|
|
2149
|
-
# Attribute for field tax
|
|
2150
|
-
attr_reader :tax
|
|
2151
|
-
|
|
2152
|
-
def self.inner_class_types
|
|
2153
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2154
|
-
end
|
|
2155
|
-
|
|
2156
|
-
def self.field_remappings
|
|
2157
|
-
@field_remappings = {}
|
|
2158
|
-
end
|
|
2159
|
-
end
|
|
2160
|
-
# Attribute for field affiliate
|
|
2161
|
-
attr_reader :affiliate
|
|
2162
|
-
# The booking number associated with the flight reservation.
|
|
2163
|
-
attr_reader :booking_number
|
|
2164
|
-
# The computerized reservation system used to make the reservation and purchase the ticket.
|
|
2165
|
-
attr_reader :computerized_reservation_system
|
|
2166
|
-
# Ticket restrictions.
|
|
2167
|
-
attr_reader :endorsements_and_restrictions
|
|
2168
|
-
# Insurance details for the flight.
|
|
2169
|
-
attr_reader :insurances
|
|
2170
|
-
# The list of passengers for this flight.
|
|
2171
|
-
attr_reader :passengers
|
|
2172
|
-
# The list of flight segments for this reservation.
|
|
2173
|
-
attr_reader :segments
|
|
2174
|
-
# Electronic ticket indicator.
|
|
2175
|
-
attr_reader :ticket_electronically_issued_indicator
|
|
2176
|
-
# Attribute for field total
|
|
2177
|
-
attr_reader :total
|
|
2178
|
-
# Type of flight transaction.
|
|
2179
|
-
attr_reader :transaction_type
|
|
2180
|
-
|
|
2181
|
-
def self.inner_class_types
|
|
2182
|
-
@inner_class_types = {
|
|
2183
|
-
affiliate: Affiliate,
|
|
2184
|
-
insurances: Insurance,
|
|
2185
|
-
passengers: Passenger,
|
|
2186
|
-
segments: Segment,
|
|
2187
|
-
total: Total,
|
|
2188
|
-
}
|
|
2189
|
-
end
|
|
2190
|
-
|
|
2191
|
-
def self.field_remappings
|
|
2192
|
-
@field_remappings = {}
|
|
2193
|
-
end
|
|
2194
|
-
end
|
|
2195
|
-
|
|
2196
|
-
class LodgingDatum < ::Stripe::StripeObject
|
|
2197
|
-
class Accommodation < ::Stripe::StripeObject
|
|
2198
|
-
# Type of accommodation.
|
|
2199
|
-
attr_reader :accommodation_type
|
|
2200
|
-
# Bed type.
|
|
2201
|
-
attr_reader :bed_type
|
|
2202
|
-
# Daily accommodation rate in cents.
|
|
2203
|
-
attr_reader :daily_rate_amount
|
|
2204
|
-
# Number of nights.
|
|
2205
|
-
attr_reader :nights
|
|
2206
|
-
# Number of rooms, cabanas, apartments, and so on.
|
|
2207
|
-
attr_reader :number_of_rooms
|
|
2208
|
-
# Rate type.
|
|
2209
|
-
attr_reader :rate_type
|
|
2210
|
-
# Whether smoking is allowed.
|
|
2211
|
-
attr_reader :smoking_indicator
|
|
2212
|
-
|
|
2213
|
-
def self.inner_class_types
|
|
2214
|
-
@inner_class_types = {}
|
|
2215
|
-
end
|
|
2216
|
-
|
|
2217
|
-
def self.field_remappings
|
|
2218
|
-
@field_remappings = {}
|
|
2219
|
-
end
|
|
2220
|
-
end
|
|
2221
|
-
|
|
2222
|
-
class Affiliate < ::Stripe::StripeObject
|
|
2223
|
-
# Affiliate partner code.
|
|
2224
|
-
attr_reader :code
|
|
2225
|
-
# Affiliate partner name.
|
|
2226
|
-
attr_reader :name
|
|
2227
|
-
|
|
2228
|
-
def self.inner_class_types
|
|
2229
|
-
@inner_class_types = {}
|
|
2230
|
-
end
|
|
2231
|
-
|
|
2232
|
-
def self.field_remappings
|
|
2233
|
-
@field_remappings = {}
|
|
2234
|
-
end
|
|
2235
|
-
end
|
|
2236
|
-
|
|
2237
|
-
class Guest < ::Stripe::StripeObject
|
|
2238
|
-
# Guest's full name.
|
|
2239
|
-
attr_reader :name
|
|
2240
|
-
|
|
2241
|
-
def self.inner_class_types
|
|
2242
|
-
@inner_class_types = {}
|
|
2243
|
-
end
|
|
2244
|
-
|
|
2245
|
-
def self.field_remappings
|
|
2246
|
-
@field_remappings = {}
|
|
2247
|
-
end
|
|
2248
|
-
end
|
|
2249
|
-
|
|
2250
|
-
class Host < ::Stripe::StripeObject
|
|
2251
|
-
class Address < ::Stripe::StripeObject
|
|
2252
|
-
# City, district, suburb, town, or village.
|
|
2253
|
-
attr_reader :city
|
|
2254
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2255
|
-
attr_reader :country
|
|
2256
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
2257
|
-
attr_reader :line1
|
|
2258
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2259
|
-
attr_reader :line2
|
|
2260
|
-
# ZIP or postal code.
|
|
2261
|
-
attr_reader :postal_code
|
|
2262
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2263
|
-
attr_reader :state
|
|
2264
|
-
|
|
2265
|
-
def self.inner_class_types
|
|
2266
|
-
@inner_class_types = {}
|
|
2267
|
-
end
|
|
2268
|
-
|
|
2269
|
-
def self.field_remappings
|
|
2270
|
-
@field_remappings = {}
|
|
2271
|
-
end
|
|
2272
|
-
end
|
|
2273
|
-
# Attribute for field address
|
|
2274
|
-
attr_reader :address
|
|
2275
|
-
# Host's country of domicile.
|
|
2276
|
-
attr_reader :country_of_domicile
|
|
2277
|
-
# Reference number for the host.
|
|
2278
|
-
attr_reader :host_reference
|
|
2279
|
-
# Type of host.
|
|
2280
|
-
attr_reader :host_type
|
|
2281
|
-
# Name of the lodging property or host.
|
|
2282
|
-
attr_reader :name
|
|
2283
|
-
# Total number of reservations for the host.
|
|
2284
|
-
attr_reader :number_of_reservations
|
|
2285
|
-
# Property phone number.
|
|
2286
|
-
attr_reader :property_phone_number
|
|
2287
|
-
# Host's registration date.
|
|
2288
|
-
attr_reader :registered_at
|
|
2289
|
-
|
|
2290
|
-
def self.inner_class_types
|
|
2291
|
-
@inner_class_types = { address: Address }
|
|
2292
|
-
end
|
|
2293
|
-
|
|
2294
|
-
def self.field_remappings
|
|
2295
|
-
@field_remappings = {}
|
|
2296
|
-
end
|
|
2297
|
-
end
|
|
2298
|
-
|
|
2299
|
-
class Insurance < ::Stripe::StripeObject
|
|
2300
|
-
# Price of the insurance coverage in cents.
|
|
2301
|
-
attr_reader :amount
|
|
2302
|
-
# Currency of the insurance amount.
|
|
2303
|
-
attr_reader :currency
|
|
2304
|
-
# Name of the insurance company.
|
|
2305
|
-
attr_reader :insurance_company_name
|
|
2306
|
-
# Type of insurance coverage.
|
|
2307
|
-
attr_reader :insurance_type
|
|
2308
|
-
|
|
2309
|
-
def self.inner_class_types
|
|
2310
|
-
@inner_class_types = {}
|
|
2311
|
-
end
|
|
2312
|
-
|
|
2313
|
-
def self.field_remappings
|
|
2314
|
-
@field_remappings = {}
|
|
2315
|
-
end
|
|
2316
|
-
end
|
|
2317
|
-
|
|
2318
|
-
class Total < ::Stripe::StripeObject
|
|
2319
|
-
class Discounts < ::Stripe::StripeObject
|
|
2320
|
-
# Corporate client discount code.
|
|
2321
|
-
attr_reader :corporate_client_code
|
|
2322
|
-
# Coupon code.
|
|
2323
|
-
attr_reader :coupon
|
|
2324
|
-
|
|
2325
|
-
def self.inner_class_types
|
|
2326
|
-
@inner_class_types = {}
|
|
2327
|
-
end
|
|
2328
|
-
|
|
2329
|
-
def self.field_remappings
|
|
2330
|
-
@field_remappings = {}
|
|
2331
|
-
end
|
|
2332
|
-
end
|
|
2333
|
-
|
|
2334
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
2335
|
-
# Amount of the extra charge in cents.
|
|
2336
|
-
attr_reader :amount
|
|
2337
|
-
# Type of extra charge.
|
|
2338
|
-
attr_reader :type
|
|
2339
|
-
|
|
2340
|
-
def self.inner_class_types
|
|
2341
|
-
@inner_class_types = {}
|
|
2342
|
-
end
|
|
2343
|
-
|
|
2344
|
-
def self.field_remappings
|
|
2345
|
-
@field_remappings = {}
|
|
2346
|
-
end
|
|
2347
|
-
end
|
|
2348
|
-
|
|
2349
|
-
class Tax < ::Stripe::StripeObject
|
|
2350
|
-
class TaxItem < ::Stripe::StripeObject
|
|
2351
|
-
# Tax amount in cents.
|
|
2352
|
-
attr_reader :amount
|
|
2353
|
-
# Tax rate.
|
|
2354
|
-
attr_reader :rate
|
|
2355
|
-
# Type of tax applied.
|
|
2356
|
-
attr_reader :type
|
|
2357
|
-
|
|
2358
|
-
def self.inner_class_types
|
|
2359
|
-
@inner_class_types = {}
|
|
2360
|
-
end
|
|
2361
|
-
|
|
2362
|
-
def self.field_remappings
|
|
2363
|
-
@field_remappings = {}
|
|
2364
|
-
end
|
|
2365
|
-
end
|
|
2366
|
-
# Indicates whether the transaction is tax exempt.
|
|
2367
|
-
attr_reader :tax_exempt_indicator
|
|
2368
|
-
# Tax details.
|
|
2369
|
-
attr_reader :tax_items
|
|
2370
|
-
|
|
2371
|
-
def self.inner_class_types
|
|
2372
|
-
@inner_class_types = { tax_items: TaxItem }
|
|
2373
|
-
end
|
|
2374
|
-
|
|
2375
|
-
def self.field_remappings
|
|
2376
|
-
@field_remappings = {}
|
|
2377
|
-
end
|
|
2378
|
-
end
|
|
2379
|
-
# Total price of the lodging reservation in cents.
|
|
2380
|
-
attr_reader :amount
|
|
2381
|
-
# Cash advances in cents.
|
|
2382
|
-
attr_reader :cash_advances
|
|
2383
|
-
# Currency of the total amount.
|
|
2384
|
-
attr_reader :currency
|
|
2385
|
-
# Attribute for field discounts
|
|
2386
|
-
attr_reader :discounts
|
|
2387
|
-
# Additional charges for the lodging.
|
|
2388
|
-
attr_reader :extra_charges
|
|
2389
|
-
# Prepaid amount in cents.
|
|
2390
|
-
attr_reader :prepaid_amount
|
|
2391
|
-
# Attribute for field tax
|
|
2392
|
-
attr_reader :tax
|
|
2393
|
-
|
|
2394
|
-
def self.inner_class_types
|
|
2395
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2396
|
-
end
|
|
2397
|
-
|
|
2398
|
-
def self.field_remappings
|
|
2399
|
-
@field_remappings = {}
|
|
2400
|
-
end
|
|
2401
|
-
end
|
|
2402
|
-
# Attribute for field accommodation
|
|
2403
|
-
attr_reader :accommodation
|
|
2404
|
-
# Attribute for field affiliate
|
|
2405
|
-
attr_reader :affiliate
|
|
2406
|
-
# Booking confirmation number for the lodging.
|
|
2407
|
-
attr_reader :booking_number
|
|
2408
|
-
# Check-in date.
|
|
2409
|
-
attr_reader :checkin_at
|
|
2410
|
-
# Check-out date.
|
|
2411
|
-
attr_reader :checkout_at
|
|
2412
|
-
# Customer service phone number for the lodging company.
|
|
2413
|
-
attr_reader :customer_service_phone_number
|
|
2414
|
-
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2415
|
-
attr_reader :fire_safety_act_compliance_indicator
|
|
2416
|
-
# List of guests for the lodging.
|
|
2417
|
-
attr_reader :guests
|
|
2418
|
-
# Attribute for field host
|
|
2419
|
-
attr_reader :host
|
|
2420
|
-
# List of insurances for the lodging.
|
|
2421
|
-
attr_reader :insurances
|
|
2422
|
-
# Whether the renter is a no-show.
|
|
2423
|
-
attr_reader :no_show_indicator
|
|
2424
|
-
# Renter ID number for the lodging.
|
|
2425
|
-
attr_reader :renter_id_number
|
|
2426
|
-
# Renter name for the lodging.
|
|
2427
|
-
attr_reader :renter_name
|
|
2428
|
-
# Attribute for field total
|
|
2429
|
-
attr_reader :total
|
|
2430
|
-
|
|
2431
|
-
def self.inner_class_types
|
|
2432
|
-
@inner_class_types = {
|
|
2433
|
-
accommodation: Accommodation,
|
|
2434
|
-
affiliate: Affiliate,
|
|
2435
|
-
guests: Guest,
|
|
2436
|
-
host: Host,
|
|
2437
|
-
insurances: Insurance,
|
|
2438
|
-
total: Total,
|
|
2439
|
-
}
|
|
2440
|
-
end
|
|
2441
|
-
|
|
2442
|
-
def self.field_remappings
|
|
2443
|
-
@field_remappings = {}
|
|
2444
|
-
end
|
|
2445
|
-
end
|
|
2446
|
-
|
|
2447
|
-
class Subscription < ::Stripe::StripeObject
|
|
2448
|
-
class Affiliate < ::Stripe::StripeObject
|
|
2449
|
-
# The name of the affiliate that originated the purchase.
|
|
2450
|
-
attr_reader :name
|
|
2451
|
-
|
|
2452
|
-
def self.inner_class_types
|
|
2453
|
-
@inner_class_types = {}
|
|
2454
|
-
end
|
|
2455
|
-
|
|
2456
|
-
def self.field_remappings
|
|
2457
|
-
@field_remappings = {}
|
|
2458
|
-
end
|
|
2459
|
-
end
|
|
2460
|
-
|
|
2461
|
-
class BillingInterval < ::Stripe::StripeObject
|
|
2462
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2463
|
-
attr_reader :count
|
|
2464
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2465
|
-
attr_reader :interval
|
|
2466
|
-
|
|
2467
|
-
def self.inner_class_types
|
|
2468
|
-
@inner_class_types = {}
|
|
2469
|
-
end
|
|
2470
|
-
|
|
2471
|
-
def self.field_remappings
|
|
2472
|
-
@field_remappings = {}
|
|
2473
|
-
end
|
|
2474
|
-
end
|
|
2475
|
-
# Attribute for field affiliate
|
|
2476
|
-
attr_reader :affiliate
|
|
2477
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
2478
|
-
attr_reader :auto_renewal
|
|
2479
|
-
# Attribute for field billing_interval
|
|
2480
|
-
attr_reader :billing_interval
|
|
2481
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2482
|
-
attr_reader :ends_at
|
|
2483
|
-
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
2484
|
-
attr_reader :name
|
|
2485
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2486
|
-
attr_reader :starts_at
|
|
2487
|
-
|
|
2488
|
-
def self.inner_class_types
|
|
2489
|
-
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
2490
|
-
end
|
|
1268
|
+
multibanco_display_details: MultibancoDisplayDetails,
|
|
1269
|
+
oxxo_display_details: OxxoDisplayDetails,
|
|
1270
|
+
paynow_display_qr_code: PaynowDisplayQrCode,
|
|
1271
|
+
pix_display_qr_code: PixDisplayQrCode,
|
|
1272
|
+
promptpay_display_qr_code: PromptpayDisplayQrCode,
|
|
1273
|
+
redirect_to_url: RedirectToUrl,
|
|
1274
|
+
swish_handle_redirect_or_display_qr_code: SwishHandleRedirectOrDisplayQrCode,
|
|
1275
|
+
upi_handle_redirect_or_display_qr_code: UpiHandleRedirectOrDisplayQrCode,
|
|
1276
|
+
verify_with_microdeposits: VerifyWithMicrodeposits,
|
|
1277
|
+
wechat_pay_display_qr_code: WechatPayDisplayQrCode,
|
|
1278
|
+
wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
|
|
1279
|
+
wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
|
|
1280
|
+
}
|
|
1281
|
+
end
|
|
2491
1282
|
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
end
|
|
1283
|
+
def self.field_remappings
|
|
1284
|
+
@field_remappings = {}
|
|
2495
1285
|
end
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
attr_reader :car_rental_data
|
|
1286
|
+
end
|
|
1287
|
+
|
|
1288
|
+
class PaymentDetails < ::Stripe::StripeObject
|
|
2500
1289
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
2501
1290
|
#
|
|
2502
1291
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
2503
1292
|
attr_reader :customer_reference
|
|
2504
|
-
# Attribute for field event_details
|
|
2505
|
-
attr_reader :event_details
|
|
2506
|
-
# Attribute for field flight_data
|
|
2507
|
-
attr_reader :flight_data
|
|
2508
|
-
# Attribute for field lodging_data
|
|
2509
|
-
attr_reader :lodging_data
|
|
2510
1293
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
2511
1294
|
#
|
|
2512
1295
|
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
2513
1296
|
attr_reader :order_reference
|
|
2514
|
-
# Attribute for field subscription
|
|
2515
|
-
attr_reader :subscription
|
|
2516
1297
|
|
|
2517
1298
|
def self.inner_class_types
|
|
2518
|
-
@inner_class_types = {
|
|
2519
|
-
car_rental: CarRental,
|
|
2520
|
-
car_rental_data: CarRentalDatum,
|
|
2521
|
-
event_details: EventDetails,
|
|
2522
|
-
flight_data: FlightDatum,
|
|
2523
|
-
lodging_data: LodgingDatum,
|
|
2524
|
-
subscription: Subscription,
|
|
2525
|
-
}
|
|
1299
|
+
@inner_class_types = {}
|
|
2526
1300
|
end
|
|
2527
1301
|
|
|
2528
1302
|
def self.field_remappings
|
|
@@ -2972,43 +1746,6 @@ module Stripe
|
|
|
2972
1746
|
@field_remappings = {}
|
|
2973
1747
|
end
|
|
2974
1748
|
end
|
|
2975
|
-
|
|
2976
|
-
class StatementDetails < ::Stripe::StripeObject
|
|
2977
|
-
class Address < ::Stripe::StripeObject
|
|
2978
|
-
# City, district, suburb, town, or village.
|
|
2979
|
-
attr_reader :city
|
|
2980
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2981
|
-
attr_reader :country
|
|
2982
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
2983
|
-
attr_reader :line1
|
|
2984
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2985
|
-
attr_reader :line2
|
|
2986
|
-
# ZIP or postal code.
|
|
2987
|
-
attr_reader :postal_code
|
|
2988
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2989
|
-
attr_reader :state
|
|
2990
|
-
|
|
2991
|
-
def self.inner_class_types
|
|
2992
|
-
@inner_class_types = {}
|
|
2993
|
-
end
|
|
2994
|
-
|
|
2995
|
-
def self.field_remappings
|
|
2996
|
-
@field_remappings = {}
|
|
2997
|
-
end
|
|
2998
|
-
end
|
|
2999
|
-
# Attribute for field address
|
|
3000
|
-
attr_reader :address
|
|
3001
|
-
# Phone number
|
|
3002
|
-
attr_reader :phone
|
|
3003
|
-
|
|
3004
|
-
def self.inner_class_types
|
|
3005
|
-
@inner_class_types = { address: Address }
|
|
3006
|
-
end
|
|
3007
|
-
|
|
3008
|
-
def self.field_remappings
|
|
3009
|
-
@field_remappings = {}
|
|
3010
|
-
end
|
|
3011
|
-
end
|
|
3012
1749
|
# Controls when the funds will be captured from the customer's account.
|
|
3013
1750
|
attr_reader :capture_method
|
|
3014
1751
|
# Installment details for this payment.
|
|
@@ -3019,8 +1756,6 @@ module Stripe
|
|
|
3019
1756
|
attr_reader :mandate_options
|
|
3020
1757
|
# Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
|
3021
1758
|
attr_reader :network
|
|
3022
|
-
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3023
|
-
attr_reader :request_decremental_authorization
|
|
3024
1759
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
3025
1760
|
attr_reader :request_extended_authorization
|
|
3026
1761
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -3029,8 +1764,6 @@ module Stripe
|
|
|
3029
1764
|
attr_reader :request_multicapture
|
|
3030
1765
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
3031
1766
|
attr_reader :request_overcapture
|
|
3032
|
-
# Request partial authorization on this PaymentIntent.
|
|
3033
|
-
attr_reader :request_partial_authorization
|
|
3034
1767
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
3035
1768
|
attr_reader :request_three_d_secure
|
|
3036
1769
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -3049,17 +1782,11 @@ module Stripe
|
|
|
3049
1782
|
attr_reader :statement_descriptor_suffix_kana
|
|
3050
1783
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
3051
1784
|
attr_reader :statement_descriptor_suffix_kanji
|
|
3052
|
-
# Attribute for field statement_details
|
|
3053
|
-
attr_reader :statement_details
|
|
3054
1785
|
# Selected usage to indicate the transaction type of the off-session payment.
|
|
3055
1786
|
attr_reader :stored_credential_usage
|
|
3056
1787
|
|
|
3057
1788
|
def self.inner_class_types
|
|
3058
|
-
@inner_class_types = {
|
|
3059
|
-
installments: Installments,
|
|
3060
|
-
mandate_options: MandateOptions,
|
|
3061
|
-
statement_details: StatementDetails,
|
|
3062
|
-
}
|
|
1789
|
+
@inner_class_types = { installments: Installments, mandate_options: MandateOptions }
|
|
3063
1790
|
end
|
|
3064
1791
|
|
|
3065
1792
|
def self.field_remappings
|
|
@@ -3248,25 +1975,6 @@ module Stripe
|
|
|
3248
1975
|
end
|
|
3249
1976
|
end
|
|
3250
1977
|
|
|
3251
|
-
class Gopay < ::Stripe::StripeObject
|
|
3252
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3253
|
-
#
|
|
3254
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3255
|
-
#
|
|
3256
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3257
|
-
#
|
|
3258
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3259
|
-
attr_reader :setup_future_usage
|
|
3260
|
-
|
|
3261
|
-
def self.inner_class_types
|
|
3262
|
-
@inner_class_types = {}
|
|
3263
|
-
end
|
|
3264
|
-
|
|
3265
|
-
def self.field_remappings
|
|
3266
|
-
@field_remappings = {}
|
|
3267
|
-
end
|
|
3268
|
-
end
|
|
3269
|
-
|
|
3270
1978
|
class Grabpay < ::Stripe::StripeObject
|
|
3271
1979
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3272
1980
|
#
|
|
@@ -3286,29 +1994,6 @@ module Stripe
|
|
|
3286
1994
|
end
|
|
3287
1995
|
end
|
|
3288
1996
|
|
|
3289
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
3290
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
3291
|
-
attr_reader :expires_after
|
|
3292
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
3293
|
-
attr_reader :expires_at
|
|
3294
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3295
|
-
#
|
|
3296
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3297
|
-
#
|
|
3298
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3299
|
-
#
|
|
3300
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3301
|
-
attr_reader :setup_future_usage
|
|
3302
|
-
|
|
3303
|
-
def self.inner_class_types
|
|
3304
|
-
@inner_class_types = {}
|
|
3305
|
-
end
|
|
3306
|
-
|
|
3307
|
-
def self.field_remappings
|
|
3308
|
-
@field_remappings = {}
|
|
3309
|
-
end
|
|
3310
|
-
end
|
|
3311
|
-
|
|
3312
1997
|
class Ideal < ::Stripe::StripeObject
|
|
3313
1998
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3314
1999
|
#
|
|
@@ -3645,56 +2330,12 @@ module Stripe
|
|
|
3645
2330
|
end
|
|
3646
2331
|
|
|
3647
2332
|
class Paypal < ::Stripe::StripeObject
|
|
3648
|
-
class LineItem < ::Stripe::StripeObject
|
|
3649
|
-
class Tax < ::Stripe::StripeObject
|
|
3650
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3651
|
-
attr_reader :amount
|
|
3652
|
-
# The tax behavior for the line item.
|
|
3653
|
-
attr_reader :behavior
|
|
3654
|
-
|
|
3655
|
-
def self.inner_class_types
|
|
3656
|
-
@inner_class_types = {}
|
|
3657
|
-
end
|
|
3658
|
-
|
|
3659
|
-
def self.field_remappings
|
|
3660
|
-
@field_remappings = {}
|
|
3661
|
-
end
|
|
3662
|
-
end
|
|
3663
|
-
# Type of the line item.
|
|
3664
|
-
attr_reader :category
|
|
3665
|
-
# Description of the line item.
|
|
3666
|
-
attr_reader :description
|
|
3667
|
-
# Descriptive name of the line item.
|
|
3668
|
-
attr_reader :name
|
|
3669
|
-
# Quantity of the line item. Cannot be a negative number.
|
|
3670
|
-
attr_reader :quantity
|
|
3671
|
-
# Client facing stock keeping unit, article number or similar.
|
|
3672
|
-
attr_reader :sku
|
|
3673
|
-
# The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
3674
|
-
attr_reader :sold_by
|
|
3675
|
-
# Attribute for field tax
|
|
3676
|
-
attr_reader :tax
|
|
3677
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3678
|
-
attr_reader :unit_amount
|
|
3679
|
-
|
|
3680
|
-
def self.inner_class_types
|
|
3681
|
-
@inner_class_types = { tax: Tax }
|
|
3682
|
-
end
|
|
3683
|
-
|
|
3684
|
-
def self.field_remappings
|
|
3685
|
-
@field_remappings = {}
|
|
3686
|
-
end
|
|
3687
|
-
end
|
|
3688
2333
|
# Controls when the funds will be captured from the customer's account.
|
|
3689
2334
|
attr_reader :capture_method
|
|
3690
|
-
# The line items purchased by the customer.
|
|
3691
|
-
attr_reader :line_items
|
|
3692
2335
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
3693
2336
|
attr_reader :preferred_locale
|
|
3694
2337
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3695
2338
|
attr_reader :reference
|
|
3696
|
-
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3697
|
-
attr_reader :reference_id
|
|
3698
2339
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3699
2340
|
#
|
|
3700
2341
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -3703,11 +2344,9 @@ module Stripe
|
|
|
3703
2344
|
#
|
|
3704
2345
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3705
2346
|
attr_reader :setup_future_usage
|
|
3706
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
3707
|
-
attr_reader :subsellers
|
|
3708
2347
|
|
|
3709
2348
|
def self.inner_class_types
|
|
3710
|
-
@inner_class_types = {
|
|
2349
|
+
@inner_class_types = {}
|
|
3711
2350
|
end
|
|
3712
2351
|
|
|
3713
2352
|
def self.field_remappings
|
|
@@ -3840,35 +2479,6 @@ module Stripe
|
|
|
3840
2479
|
end
|
|
3841
2480
|
end
|
|
3842
2481
|
|
|
3843
|
-
class Qris < ::Stripe::StripeObject
|
|
3844
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3845
|
-
#
|
|
3846
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3847
|
-
#
|
|
3848
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3849
|
-
#
|
|
3850
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3851
|
-
attr_reader :setup_future_usage
|
|
3852
|
-
|
|
3853
|
-
def self.inner_class_types
|
|
3854
|
-
@inner_class_types = {}
|
|
3855
|
-
end
|
|
3856
|
-
|
|
3857
|
-
def self.field_remappings
|
|
3858
|
-
@field_remappings = {}
|
|
3859
|
-
end
|
|
3860
|
-
end
|
|
3861
|
-
|
|
3862
|
-
class Rechnung < ::Stripe::StripeObject
|
|
3863
|
-
def self.inner_class_types
|
|
3864
|
-
@inner_class_types = {}
|
|
3865
|
-
end
|
|
3866
|
-
|
|
3867
|
-
def self.field_remappings
|
|
3868
|
-
@field_remappings = {}
|
|
3869
|
-
end
|
|
3870
|
-
end
|
|
3871
|
-
|
|
3872
2482
|
class RevolutPay < ::Stripe::StripeObject
|
|
3873
2483
|
# Controls when the funds will be captured from the customer's account.
|
|
3874
2484
|
attr_reader :capture_method
|
|
@@ -4001,25 +2611,6 @@ module Stripe
|
|
|
4001
2611
|
end
|
|
4002
2612
|
end
|
|
4003
2613
|
|
|
4004
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
4005
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4006
|
-
#
|
|
4007
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
4008
|
-
#
|
|
4009
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
4010
|
-
#
|
|
4011
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
4012
|
-
attr_reader :setup_future_usage
|
|
4013
|
-
|
|
4014
|
-
def self.inner_class_types
|
|
4015
|
-
@inner_class_types = {}
|
|
4016
|
-
end
|
|
4017
|
-
|
|
4018
|
-
def self.field_remappings
|
|
4019
|
-
@field_remappings = {}
|
|
4020
|
-
end
|
|
4021
|
-
end
|
|
4022
|
-
|
|
4023
2614
|
class Sofort < ::Stripe::StripeObject
|
|
4024
2615
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
4025
2616
|
attr_reader :preferred_language
|
|
@@ -4041,25 +2632,6 @@ module Stripe
|
|
|
4041
2632
|
end
|
|
4042
2633
|
end
|
|
4043
2634
|
|
|
4044
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
4045
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4046
|
-
#
|
|
4047
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
4048
|
-
#
|
|
4049
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
4050
|
-
#
|
|
4051
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
4052
|
-
attr_reader :setup_future_usage
|
|
4053
|
-
|
|
4054
|
-
def self.inner_class_types
|
|
4055
|
-
@inner_class_types = {}
|
|
4056
|
-
end
|
|
4057
|
-
|
|
4058
|
-
def self.field_remappings
|
|
4059
|
-
@field_remappings = {}
|
|
4060
|
-
end
|
|
4061
|
-
end
|
|
4062
|
-
|
|
4063
2635
|
class Sunbit < ::Stripe::StripeObject
|
|
4064
2636
|
# Controls when the funds will be captured from the customer's account.
|
|
4065
2637
|
attr_reader :capture_method
|
|
@@ -4145,21 +2717,6 @@ module Stripe
|
|
|
4145
2717
|
class Filters < ::Stripe::StripeObject
|
|
4146
2718
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
4147
2719
|
attr_reader :account_subcategories
|
|
4148
|
-
# The institution to use to filter for possible accounts to link.
|
|
4149
|
-
attr_reader :institution
|
|
4150
|
-
|
|
4151
|
-
def self.inner_class_types
|
|
4152
|
-
@inner_class_types = {}
|
|
4153
|
-
end
|
|
4154
|
-
|
|
4155
|
-
def self.field_remappings
|
|
4156
|
-
@field_remappings = {}
|
|
4157
|
-
end
|
|
4158
|
-
end
|
|
4159
|
-
|
|
4160
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
4161
|
-
# Settings for configuring manual entry of account details.
|
|
4162
|
-
attr_reader :mode
|
|
4163
2720
|
|
|
4164
2721
|
def self.inner_class_types
|
|
4165
2722
|
@inner_class_types = {}
|
|
@@ -4171,8 +2728,6 @@ module Stripe
|
|
|
4171
2728
|
end
|
|
4172
2729
|
# Attribute for field filters
|
|
4173
2730
|
attr_reader :filters
|
|
4174
|
-
# Attribute for field manual_entry
|
|
4175
|
-
attr_reader :manual_entry
|
|
4176
2731
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
4177
2732
|
attr_reader :permissions
|
|
4178
2733
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -4181,7 +2736,7 @@ module Stripe
|
|
|
4181
2736
|
attr_reader :return_url
|
|
4182
2737
|
|
|
4183
2738
|
def self.inner_class_types
|
|
4184
|
-
@inner_class_types = { filters: Filters
|
|
2739
|
+
@inner_class_types = { filters: Filters }
|
|
4185
2740
|
end
|
|
4186
2741
|
|
|
4187
2742
|
def self.field_remappings
|
|
@@ -4255,25 +2810,6 @@ module Stripe
|
|
|
4255
2810
|
end
|
|
4256
2811
|
end
|
|
4257
2812
|
|
|
4258
|
-
class Wero < ::Stripe::StripeObject
|
|
4259
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4260
|
-
#
|
|
4261
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
4262
|
-
#
|
|
4263
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
4264
|
-
#
|
|
4265
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
4266
|
-
attr_reader :setup_future_usage
|
|
4267
|
-
|
|
4268
|
-
def self.inner_class_types
|
|
4269
|
-
@inner_class_types = {}
|
|
4270
|
-
end
|
|
4271
|
-
|
|
4272
|
-
def self.field_remappings
|
|
4273
|
-
@field_remappings = {}
|
|
4274
|
-
end
|
|
4275
|
-
end
|
|
4276
|
-
|
|
4277
2813
|
class Zip < ::Stripe::StripeObject
|
|
4278
2814
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4279
2815
|
#
|
|
@@ -4334,12 +2870,8 @@ module Stripe
|
|
|
4334
2870
|
attr_reader :fpx
|
|
4335
2871
|
# Attribute for field giropay
|
|
4336
2872
|
attr_reader :giropay
|
|
4337
|
-
# Attribute for field gopay
|
|
4338
|
-
attr_reader :gopay
|
|
4339
2873
|
# Attribute for field grabpay
|
|
4340
2874
|
attr_reader :grabpay
|
|
4341
|
-
# Attribute for field id_bank_transfer
|
|
4342
|
-
attr_reader :id_bank_transfer
|
|
4343
2875
|
# Attribute for field ideal
|
|
4344
2876
|
attr_reader :ideal
|
|
4345
2877
|
# Attribute for field interac_present
|
|
@@ -4384,10 +2916,6 @@ module Stripe
|
|
|
4384
2916
|
attr_reader :pix
|
|
4385
2917
|
# Attribute for field promptpay
|
|
4386
2918
|
attr_reader :promptpay
|
|
4387
|
-
# Attribute for field qris
|
|
4388
|
-
attr_reader :qris
|
|
4389
|
-
# Attribute for field rechnung
|
|
4390
|
-
attr_reader :rechnung
|
|
4391
2919
|
# Attribute for field revolut_pay
|
|
4392
2920
|
attr_reader :revolut_pay
|
|
4393
2921
|
# Attribute for field samsung_pay
|
|
@@ -4400,12 +2928,8 @@ module Stripe
|
|
|
4400
2928
|
attr_reader :sepa_debit
|
|
4401
2929
|
# Attribute for field sequra
|
|
4402
2930
|
attr_reader :sequra
|
|
4403
|
-
# Attribute for field shopeepay
|
|
4404
|
-
attr_reader :shopeepay
|
|
4405
2931
|
# Attribute for field sofort
|
|
4406
2932
|
attr_reader :sofort
|
|
4407
|
-
# Attribute for field stripe_balance
|
|
4408
|
-
attr_reader :stripe_balance
|
|
4409
2933
|
# Attribute for field sunbit
|
|
4410
2934
|
attr_reader :sunbit
|
|
4411
2935
|
# Attribute for field swish
|
|
@@ -4418,8 +2942,6 @@ module Stripe
|
|
|
4418
2942
|
attr_reader :us_bank_account
|
|
4419
2943
|
# Attribute for field wechat_pay
|
|
4420
2944
|
attr_reader :wechat_pay
|
|
4421
|
-
# Attribute for field wero
|
|
4422
|
-
attr_reader :wero
|
|
4423
2945
|
# Attribute for field zip
|
|
4424
2946
|
attr_reader :zip
|
|
4425
2947
|
|
|
@@ -4446,9 +2968,7 @@ module Stripe
|
|
|
4446
2968
|
eps: Eps,
|
|
4447
2969
|
fpx: Fpx,
|
|
4448
2970
|
giropay: Giropay,
|
|
4449
|
-
gopay: Gopay,
|
|
4450
2971
|
grabpay: Grabpay,
|
|
4451
|
-
id_bank_transfer: IdBankTransfer,
|
|
4452
2972
|
ideal: Ideal,
|
|
4453
2973
|
interac_present: InteracPresent,
|
|
4454
2974
|
kakao_pay: KakaoPay,
|
|
@@ -4471,24 +2991,19 @@ module Stripe
|
|
|
4471
2991
|
payto: Payto,
|
|
4472
2992
|
pix: Pix,
|
|
4473
2993
|
promptpay: Promptpay,
|
|
4474
|
-
qris: Qris,
|
|
4475
|
-
rechnung: Rechnung,
|
|
4476
2994
|
revolut_pay: RevolutPay,
|
|
4477
2995
|
samsung_pay: SamsungPay,
|
|
4478
2996
|
satispay: Satispay,
|
|
4479
2997
|
scalapay: Scalapay,
|
|
4480
2998
|
sepa_debit: SepaDebit,
|
|
4481
2999
|
sequra: Sequra,
|
|
4482
|
-
shopeepay: Shopeepay,
|
|
4483
3000
|
sofort: Sofort,
|
|
4484
|
-
stripe_balance: StripeBalance,
|
|
4485
3001
|
sunbit: Sunbit,
|
|
4486
3002
|
swish: Swish,
|
|
4487
3003
|
twint: Twint,
|
|
4488
3004
|
upi: Upi,
|
|
4489
3005
|
us_bank_account: UsBankAccount,
|
|
4490
3006
|
wechat_pay: WechatPay,
|
|
4491
|
-
wero: Wero,
|
|
4492
3007
|
zip: Zip,
|
|
4493
3008
|
}
|
|
4494
3009
|
end
|
|
@@ -4554,19 +3069,6 @@ module Stripe
|
|
|
4554
3069
|
end
|
|
4555
3070
|
end
|
|
4556
3071
|
|
|
4557
|
-
class Redaction < ::Stripe::StripeObject
|
|
4558
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
4559
|
-
attr_reader :status
|
|
4560
|
-
|
|
4561
|
-
def self.inner_class_types
|
|
4562
|
-
@inner_class_types = {}
|
|
4563
|
-
end
|
|
4564
|
-
|
|
4565
|
-
def self.field_remappings
|
|
4566
|
-
@field_remappings = {}
|
|
4567
|
-
end
|
|
4568
|
-
end
|
|
4569
|
-
|
|
4570
3072
|
class Shipping < ::Stripe::StripeObject
|
|
4571
3073
|
class Address < ::Stripe::StripeObject
|
|
4572
3074
|
# City, district, suburb, town, or village.
|
|
@@ -4660,8 +3162,6 @@ module Stripe
|
|
|
4660
3162
|
attr_reader :application
|
|
4661
3163
|
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
4662
3164
|
attr_reader :application_fee_amount
|
|
4663
|
-
# Attribute for field async_workflows
|
|
4664
|
-
attr_reader :async_workflows
|
|
4665
3165
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
4666
3166
|
attr_reader :automatic_payment_methods
|
|
4667
3167
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -4698,8 +3198,6 @@ module Stripe
|
|
|
4698
3198
|
attr_reader :description
|
|
4699
3199
|
# The list of payment method types to exclude from use with this payment.
|
|
4700
3200
|
attr_reader :excluded_payment_method_types
|
|
4701
|
-
# The FX Quote used for the PaymentIntent.
|
|
4702
|
-
attr_reader :fx_quote
|
|
4703
3201
|
# Attribute for field hooks
|
|
4704
3202
|
attr_reader :hooks
|
|
4705
3203
|
# Unique identifier for the object.
|
|
@@ -4739,12 +3237,8 @@ module Stripe
|
|
|
4739
3237
|
attr_reader :processing
|
|
4740
3238
|
# Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
4741
3239
|
attr_reader :receipt_email
|
|
4742
|
-
# Redaction status of this PaymentIntent. If the PaymentIntent isn't redacted, this field is null.
|
|
4743
|
-
attr_reader :redaction
|
|
4744
3240
|
# ID of the review associated with this PaymentIntent, if any.
|
|
4745
3241
|
attr_reader :review
|
|
4746
|
-
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
4747
|
-
attr_reader :secret_key_confirmation
|
|
4748
3242
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4749
3243
|
#
|
|
4750
3244
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -4938,56 +3432,6 @@ module Stripe
|
|
|
4938
3432
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
4939
3433
|
end
|
|
4940
3434
|
|
|
4941
|
-
# Perform a decremental authorization on an eligible
|
|
4942
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4943
|
-
# PaymentIntent's status must be requires_capture and
|
|
4944
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4945
|
-
# must be available.
|
|
4946
|
-
#
|
|
4947
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4948
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4949
|
-
#
|
|
4950
|
-
# After decrement, the PaymentIntent object
|
|
4951
|
-
# returns with the updated
|
|
4952
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4953
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4954
|
-
#
|
|
4955
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4956
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4957
|
-
def decrement_authorization(params = {}, opts = {})
|
|
4958
|
-
request_stripe_object(
|
|
4959
|
-
method: :post,
|
|
4960
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
4961
|
-
params: params,
|
|
4962
|
-
opts: opts
|
|
4963
|
-
)
|
|
4964
|
-
end
|
|
4965
|
-
|
|
4966
|
-
# Perform a decremental authorization on an eligible
|
|
4967
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4968
|
-
# PaymentIntent's status must be requires_capture and
|
|
4969
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4970
|
-
# must be available.
|
|
4971
|
-
#
|
|
4972
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4973
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4974
|
-
#
|
|
4975
|
-
# After decrement, the PaymentIntent object
|
|
4976
|
-
# returns with the updated
|
|
4977
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4978
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4979
|
-
#
|
|
4980
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4981
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4982
|
-
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
4983
|
-
request_stripe_object(
|
|
4984
|
-
method: :post,
|
|
4985
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
4986
|
-
params: params,
|
|
4987
|
-
opts: opts
|
|
4988
|
-
)
|
|
4989
|
-
end
|
|
4990
|
-
|
|
4991
3435
|
# Perform an incremental authorization on an eligible
|
|
4992
3436
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4993
3437
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -5076,26 +3520,6 @@ module Stripe
|
|
|
5076
3520
|
search(params, opts).auto_paging_each(&blk)
|
|
5077
3521
|
end
|
|
5078
3522
|
|
|
5079
|
-
# Trigger an external action on a PaymentIntent.
|
|
5080
|
-
def trigger_action(params = {}, opts = {})
|
|
5081
|
-
request_stripe_object(
|
|
5082
|
-
method: :post,
|
|
5083
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
5084
|
-
params: params,
|
|
5085
|
-
opts: opts
|
|
5086
|
-
)
|
|
5087
|
-
end
|
|
5088
|
-
|
|
5089
|
-
# Trigger an external action on a PaymentIntent.
|
|
5090
|
-
def self.trigger_action(intent, params = {}, opts = {})
|
|
5091
|
-
request_stripe_object(
|
|
5092
|
-
method: :post,
|
|
5093
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
5094
|
-
params: params,
|
|
5095
|
-
opts: opts
|
|
5096
|
-
)
|
|
5097
|
-
end
|
|
5098
|
-
|
|
5099
3523
|
# Updates properties on a PaymentIntent object without confirming.
|
|
5100
3524
|
#
|
|
5101
3525
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -5135,7 +3559,6 @@ module Stripe
|
|
|
5135
3559
|
def self.inner_class_types
|
|
5136
3560
|
@inner_class_types = {
|
|
5137
3561
|
amount_details: AmountDetails,
|
|
5138
|
-
async_workflows: AsyncWorkflows,
|
|
5139
3562
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
5140
3563
|
hooks: Hooks,
|
|
5141
3564
|
last_payment_error: LastPaymentError,
|
|
@@ -5146,7 +3569,6 @@ module Stripe
|
|
|
5146
3569
|
payment_method_options: PaymentMethodOptions,
|
|
5147
3570
|
presentment_details: PresentmentDetails,
|
|
5148
3571
|
processing: Processing,
|
|
5149
|
-
redaction: Redaction,
|
|
5150
3572
|
shipping: Shipping,
|
|
5151
3573
|
transfer_data: TransferData,
|
|
5152
3574
|
}
|