stripe 19.2.0.pre.beta.2 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +3 -36
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -228
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +17 -364
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +16 -326
- data/lib/stripe/params/balance_settings_update_params.rb +42 -2
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_create_params.rb +4 -1
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +31 -141
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -70
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -790
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -48
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +3 -1645
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3038
- data/lib/stripe/params/payment_intent_create_params.rb +167 -3043
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +2 -39
- data/lib/stripe/params/payment_intent_update_params.rb +121 -3034
- data/lib/stripe/params/payment_link_create_params.rb +30 -16
- data/lib/stripe/params/payment_link_update_params.rb +29 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +24 -87
- data/lib/stripe/params/payment_method_configuration_list_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +24 -87
- data/lib/stripe/params/payment_method_create_params.rb +11 -75
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- data/lib/stripe/params/quote_create_params.rb +3 -809
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -817
- data/lib/stripe/params/setup_intent_confirm_params.rb +21 -110
- data/lib/stripe/params/setup_intent_create_params.rb +21 -110
- data/lib/stripe/params/setup_intent_update_params.rb +21 -110
- data/lib/stripe/params/subscription_create_params.rb +11 -181
- data/lib/stripe/params/subscription_item_create_params.rb +3 -69
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -7
- data/lib/stripe/params/subscription_item_update_params.rb +2 -52
- data/lib/stripe/params/subscription_schedule_create_params.rb +9 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +9 -167
- data/lib/stripe/params/subscription_update_params.rb +11 -161
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- data/lib/stripe/params/tax/registration_create_params.rb +0 -104
- data/lib/stripe/params/terminal/configuration_create_params.rb +52 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +4 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -4
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/account_create_params.rb +33 -288
- data/lib/stripe/params/v2/core/account_token_create_params.rb +28 -18
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -281
- data/lib/stripe/params.rb +1342 -795
- data/lib/stripe/railtie.rb +8 -0
- data/lib/stripe/resources/account.rb +5 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +42 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +36 -211
- data/lib/stripe/resources/checkout/session.rb +26 -82
- data/lib/stripe/resources/confirmation_token.rb +20 -125
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +2 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -57
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +3 -117
- data/lib/stripe/resources/invoice_item.rb +34 -3
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/dispute.rb +1 -1
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +13 -12
- data/lib/stripe/resources/payment_attempt_record.rb +41 -187
- data/lib/stripe/resources/payment_intent.rb +96 -1583
- data/lib/stripe/resources/payment_link.rb +40 -0
- data/lib/stripe/resources/payment_method.rb +21 -130
- data/lib/stripe/resources/payment_method_configuration.rb +20 -122
- data/lib/stripe/resources/payment_record.rb +41 -187
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +4 -26
- data/lib/stripe/resources/setup_intent.rb +27 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +10 -107
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +5 -198
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/terminal/configuration.rb +64 -16
- data/lib/stripe/resources/terminal/reader.rb +116 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/commerce/product_catalog_import.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +40 -607
- data/lib/stripe/resources/v2/core/account_token.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +1 -0
- data/lib/stripe/resources.rb +500 -301
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -41
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +3 -38
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -55
- data/lib/stripe/services/subscription_service.rb +2 -32
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +5 -1
- data/lib/stripe/services/v2/core/event_service.rb +2 -1
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +469 -268
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +25 -58
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +53183 -118054
- metadata +5 -377
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -63
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +0 -15
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/invoice_detach_payment_params.rb +0 -16
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_create_params.rb +0 -2083
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -2087
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -67
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -87
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/authorization.rb +0 -82
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -927
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1181
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -734
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1766
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/tax/location.rb +0 -72
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -91
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
- data/lib/stripe/resources/v2/billing/profile.rb +0 -47
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -492
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
- data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -29
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -160
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/authorization_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_service.rb +0 -53
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -19
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
- data/lib/stripe/services/shared_payment_service.rb +0 -14
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/tax/location_service.rb +0 -45
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/datum_service.rb +0 -15
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -21
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/stripe_event_notification_handler.rb +0 -581
|
@@ -46,9 +46,9 @@ module Stripe
|
|
|
46
46
|
class Shipping < ::Stripe::StripeObject
|
|
47
47
|
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
48
48
|
attr_reader :amount
|
|
49
|
-
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
49
|
+
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
|
|
50
50
|
attr_reader :from_postal_code
|
|
51
|
-
# If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
51
|
+
# If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
|
|
52
52
|
attr_reader :to_postal_code
|
|
53
53
|
|
|
54
54
|
def self.inner_class_types
|
|
@@ -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
|
|
@@ -339,6 +275,16 @@ module Stripe
|
|
|
339
275
|
end
|
|
340
276
|
end
|
|
341
277
|
|
|
278
|
+
class BlikAuthorize < ::Stripe::StripeObject
|
|
279
|
+
def self.inner_class_types
|
|
280
|
+
@inner_class_types = {}
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
def self.field_remappings
|
|
284
|
+
@field_remappings = {}
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
|
|
342
288
|
class BoletoDisplayDetails < ::Stripe::StripeObject
|
|
343
289
|
# The timestamp after which the boleto expires.
|
|
344
290
|
attr_reader :expires_at
|
|
@@ -1264,6 +1210,8 @@ module Stripe
|
|
|
1264
1210
|
end
|
|
1265
1211
|
# Attribute for field alipay_handle_redirect
|
|
1266
1212
|
attr_reader :alipay_handle_redirect
|
|
1213
|
+
# Attribute for field blik_authorize
|
|
1214
|
+
attr_reader :blik_authorize
|
|
1267
1215
|
# Attribute for field boleto_display_details
|
|
1268
1216
|
attr_reader :boleto_display_details
|
|
1269
1217
|
# Attribute for field card_await_notification
|
|
@@ -1305,1209 +1253,48 @@ module Stripe
|
|
|
1305
1253
|
# Attribute for field wechat_pay_redirect_to_ios_app
|
|
1306
1254
|
attr_reader :wechat_pay_redirect_to_ios_app
|
|
1307
1255
|
|
|
1308
|
-
def self.inner_class_types
|
|
1309
|
-
@inner_class_types = {
|
|
1310
|
-
alipay_handle_redirect: AlipayHandleRedirect,
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
def self.field_remappings
|
|
1333
|
-
@field_remappings = {}
|
|
1334
|
-
end
|
|
1335
|
-
end
|
|
1336
|
-
|
|
1337
|
-
class PaymentDetails < ::Stripe::StripeObject
|
|
1338
|
-
class CarRental < ::Stripe::StripeObject
|
|
1339
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1340
|
-
# The name of the affiliate that originated the purchase.
|
|
1341
|
-
attr_reader :name
|
|
1342
|
-
|
|
1343
|
-
def self.inner_class_types
|
|
1344
|
-
@inner_class_types = {}
|
|
1345
|
-
end
|
|
1346
|
-
|
|
1347
|
-
def self.field_remappings
|
|
1348
|
-
@field_remappings = {}
|
|
1349
|
-
end
|
|
1350
|
-
end
|
|
1351
|
-
|
|
1352
|
-
class Delivery < ::Stripe::StripeObject
|
|
1353
|
-
class Recipient < ::Stripe::StripeObject
|
|
1354
|
-
# The email of the recipient the ticket is delivered to.
|
|
1355
|
-
attr_reader :email
|
|
1356
|
-
# The name of the recipient the ticket is delivered to.
|
|
1357
|
-
attr_reader :name
|
|
1358
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1359
|
-
attr_reader :phone
|
|
1360
|
-
|
|
1361
|
-
def self.inner_class_types
|
|
1362
|
-
@inner_class_types = {}
|
|
1363
|
-
end
|
|
1364
|
-
|
|
1365
|
-
def self.field_remappings
|
|
1366
|
-
@field_remappings = {}
|
|
1367
|
-
end
|
|
1368
|
-
end
|
|
1369
|
-
# The delivery method for the payment
|
|
1370
|
-
attr_reader :mode
|
|
1371
|
-
# Attribute for field recipient
|
|
1372
|
-
attr_reader :recipient
|
|
1373
|
-
|
|
1374
|
-
def self.inner_class_types
|
|
1375
|
-
@inner_class_types = { recipient: Recipient }
|
|
1376
|
-
end
|
|
1377
|
-
|
|
1378
|
-
def self.field_remappings
|
|
1379
|
-
@field_remappings = {}
|
|
1380
|
-
end
|
|
1381
|
-
end
|
|
1382
|
-
|
|
1383
|
-
class Distance < ::Stripe::StripeObject
|
|
1384
|
-
# Distance traveled.
|
|
1385
|
-
attr_reader :amount
|
|
1386
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1387
|
-
attr_reader :unit
|
|
1388
|
-
|
|
1389
|
-
def self.inner_class_types
|
|
1390
|
-
@inner_class_types = {}
|
|
1391
|
-
end
|
|
1392
|
-
|
|
1393
|
-
def self.field_remappings
|
|
1394
|
-
@field_remappings = {}
|
|
1395
|
-
end
|
|
1396
|
-
end
|
|
1397
|
-
|
|
1398
|
-
class Driver < ::Stripe::StripeObject
|
|
1399
|
-
# Driver's identification number.
|
|
1400
|
-
attr_reader :driver_identification_number
|
|
1401
|
-
# Driver's tax number.
|
|
1402
|
-
attr_reader :driver_tax_number
|
|
1403
|
-
# Full name of the driver on the reservation.
|
|
1404
|
-
attr_reader :name
|
|
1405
|
-
|
|
1406
|
-
def self.inner_class_types
|
|
1407
|
-
@inner_class_types = {}
|
|
1408
|
-
end
|
|
1409
|
-
|
|
1410
|
-
def self.field_remappings
|
|
1411
|
-
@field_remappings = {}
|
|
1412
|
-
end
|
|
1413
|
-
end
|
|
1414
|
-
|
|
1415
|
-
class PickupAddress < ::Stripe::StripeObject
|
|
1416
|
-
# City, district, suburb, town, or village.
|
|
1417
|
-
attr_reader :city
|
|
1418
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1419
|
-
attr_reader :country
|
|
1420
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1421
|
-
attr_reader :line1
|
|
1422
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1423
|
-
attr_reader :line2
|
|
1424
|
-
# ZIP or postal code.
|
|
1425
|
-
attr_reader :postal_code
|
|
1426
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1427
|
-
attr_reader :state
|
|
1428
|
-
|
|
1429
|
-
def self.inner_class_types
|
|
1430
|
-
@inner_class_types = {}
|
|
1431
|
-
end
|
|
1432
|
-
|
|
1433
|
-
def self.field_remappings
|
|
1434
|
-
@field_remappings = {}
|
|
1435
|
-
end
|
|
1436
|
-
end
|
|
1437
|
-
|
|
1438
|
-
class ReturnAddress < ::Stripe::StripeObject
|
|
1439
|
-
# City, district, suburb, town, or village.
|
|
1440
|
-
attr_reader :city
|
|
1441
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1442
|
-
attr_reader :country
|
|
1443
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1444
|
-
attr_reader :line1
|
|
1445
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1446
|
-
attr_reader :line2
|
|
1447
|
-
# ZIP or postal code.
|
|
1448
|
-
attr_reader :postal_code
|
|
1449
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1450
|
-
attr_reader :state
|
|
1451
|
-
|
|
1452
|
-
def self.inner_class_types
|
|
1453
|
-
@inner_class_types = {}
|
|
1454
|
-
end
|
|
1455
|
-
|
|
1456
|
-
def self.field_remappings
|
|
1457
|
-
@field_remappings = {}
|
|
1458
|
-
end
|
|
1459
|
-
end
|
|
1460
|
-
# Attribute for field affiliate
|
|
1461
|
-
attr_reader :affiliate
|
|
1462
|
-
# The booking number associated with the car rental.
|
|
1463
|
-
attr_reader :booking_number
|
|
1464
|
-
# Class code of the car.
|
|
1465
|
-
attr_reader :car_class_code
|
|
1466
|
-
# Make of the car.
|
|
1467
|
-
attr_reader :car_make
|
|
1468
|
-
# Model of the car.
|
|
1469
|
-
attr_reader :car_model
|
|
1470
|
-
# The name of the rental car company.
|
|
1471
|
-
attr_reader :company
|
|
1472
|
-
# The customer service phone number of the car rental company.
|
|
1473
|
-
attr_reader :customer_service_phone_number
|
|
1474
|
-
# Number of days the car is being rented.
|
|
1475
|
-
attr_reader :days_rented
|
|
1476
|
-
# Attribute for field delivery
|
|
1477
|
-
attr_reader :delivery
|
|
1478
|
-
# Attribute for field distance
|
|
1479
|
-
attr_reader :distance
|
|
1480
|
-
# The details of the drivers associated with the trip.
|
|
1481
|
-
attr_reader :drivers
|
|
1482
|
-
# List of additional charges being billed.
|
|
1483
|
-
attr_reader :extra_charges
|
|
1484
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1485
|
-
attr_reader :no_show
|
|
1486
|
-
# Attribute for field pickup_address
|
|
1487
|
-
attr_reader :pickup_address
|
|
1488
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1489
|
-
attr_reader :pickup_at
|
|
1490
|
-
# Name of the pickup location.
|
|
1491
|
-
attr_reader :pickup_location_name
|
|
1492
|
-
# Rental rate.
|
|
1493
|
-
attr_reader :rate_amount
|
|
1494
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1495
|
-
attr_reader :rate_interval
|
|
1496
|
-
# The full name of the person or entity renting the car.
|
|
1497
|
-
attr_reader :renter_name
|
|
1498
|
-
# Attribute for field return_address
|
|
1499
|
-
attr_reader :return_address
|
|
1500
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
1501
|
-
attr_reader :return_at
|
|
1502
|
-
# Name of the return location.
|
|
1503
|
-
attr_reader :return_location_name
|
|
1504
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1505
|
-
attr_reader :tax_exempt
|
|
1506
|
-
# The vehicle identification number of the car.
|
|
1507
|
-
attr_reader :vehicle_identification_number
|
|
1508
|
-
|
|
1509
|
-
def self.inner_class_types
|
|
1510
|
-
@inner_class_types = {
|
|
1511
|
-
affiliate: Affiliate,
|
|
1512
|
-
delivery: Delivery,
|
|
1513
|
-
distance: Distance,
|
|
1514
|
-
drivers: Driver,
|
|
1515
|
-
pickup_address: PickupAddress,
|
|
1516
|
-
return_address: ReturnAddress,
|
|
1517
|
-
}
|
|
1518
|
-
end
|
|
1519
|
-
|
|
1520
|
-
def self.field_remappings
|
|
1521
|
-
@field_remappings = {}
|
|
1522
|
-
end
|
|
1523
|
-
end
|
|
1524
|
-
|
|
1525
|
-
class CarRentalDatum < ::Stripe::StripeObject
|
|
1526
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1527
|
-
# Affiliate code.
|
|
1528
|
-
attr_reader :code
|
|
1529
|
-
# Affiliate name.
|
|
1530
|
-
attr_reader :name
|
|
1531
|
-
|
|
1532
|
-
def self.inner_class_types
|
|
1533
|
-
@inner_class_types = {}
|
|
1534
|
-
end
|
|
1535
|
-
|
|
1536
|
-
def self.field_remappings
|
|
1537
|
-
@field_remappings = {}
|
|
1538
|
-
end
|
|
1539
|
-
end
|
|
1540
|
-
|
|
1541
|
-
class Distance < ::Stripe::StripeObject
|
|
1542
|
-
# Distance amount.
|
|
1543
|
-
attr_reader :amount
|
|
1544
|
-
# Unit for the distance.
|
|
1545
|
-
attr_reader :unit
|
|
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 Driver < ::Stripe::StripeObject
|
|
1557
|
-
class DateOfBirth < ::Stripe::StripeObject
|
|
1558
|
-
# Day of birth.
|
|
1559
|
-
attr_reader :day
|
|
1560
|
-
# Month of birth.
|
|
1561
|
-
attr_reader :month
|
|
1562
|
-
# Year of birth.
|
|
1563
|
-
attr_reader :year
|
|
1564
|
-
|
|
1565
|
-
def self.inner_class_types
|
|
1566
|
-
@inner_class_types = {}
|
|
1567
|
-
end
|
|
1568
|
-
|
|
1569
|
-
def self.field_remappings
|
|
1570
|
-
@field_remappings = {}
|
|
1571
|
-
end
|
|
1572
|
-
end
|
|
1573
|
-
# Attribute for field date_of_birth
|
|
1574
|
-
attr_reader :date_of_birth
|
|
1575
|
-
# Driver's identification number.
|
|
1576
|
-
attr_reader :driver_identification_number
|
|
1577
|
-
# Driver's tax number.
|
|
1578
|
-
attr_reader :driver_tax_number
|
|
1579
|
-
# Full name of the driver.
|
|
1580
|
-
attr_reader :name
|
|
1581
|
-
|
|
1582
|
-
def self.inner_class_types
|
|
1583
|
-
@inner_class_types = { date_of_birth: DateOfBirth }
|
|
1584
|
-
end
|
|
1585
|
-
|
|
1586
|
-
def self.field_remappings
|
|
1587
|
-
@field_remappings = {}
|
|
1588
|
-
end
|
|
1589
|
-
end
|
|
1590
|
-
|
|
1591
|
-
class DropOff < ::Stripe::StripeObject
|
|
1592
|
-
class Address < ::Stripe::StripeObject
|
|
1593
|
-
# City, district, suburb, town, or village.
|
|
1594
|
-
attr_reader :city
|
|
1595
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1596
|
-
attr_reader :country
|
|
1597
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1598
|
-
attr_reader :line1
|
|
1599
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1600
|
-
attr_reader :line2
|
|
1601
|
-
# ZIP or postal code.
|
|
1602
|
-
attr_reader :postal_code
|
|
1603
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1604
|
-
attr_reader :state
|
|
1605
|
-
|
|
1606
|
-
def self.inner_class_types
|
|
1607
|
-
@inner_class_types = {}
|
|
1608
|
-
end
|
|
1609
|
-
|
|
1610
|
-
def self.field_remappings
|
|
1611
|
-
@field_remappings = {}
|
|
1612
|
-
end
|
|
1613
|
-
end
|
|
1614
|
-
# Attribute for field address
|
|
1615
|
-
attr_reader :address
|
|
1616
|
-
# Name of the location.
|
|
1617
|
-
attr_reader :location_name
|
|
1618
|
-
# Time associated with the location.
|
|
1619
|
-
attr_reader :time
|
|
1620
|
-
|
|
1621
|
-
def self.inner_class_types
|
|
1622
|
-
@inner_class_types = { address: Address }
|
|
1623
|
-
end
|
|
1624
|
-
|
|
1625
|
-
def self.field_remappings
|
|
1626
|
-
@field_remappings = {}
|
|
1627
|
-
end
|
|
1628
|
-
end
|
|
1629
|
-
|
|
1630
|
-
class Insurance < ::Stripe::StripeObject
|
|
1631
|
-
# Amount of the insurance.
|
|
1632
|
-
attr_reader :amount
|
|
1633
|
-
# Currency for the insurance price.
|
|
1634
|
-
attr_reader :currency
|
|
1635
|
-
# Name of the insurance company.
|
|
1636
|
-
attr_reader :insurance_company_name
|
|
1637
|
-
# Type of insurance.
|
|
1638
|
-
attr_reader :insurance_type
|
|
1639
|
-
|
|
1640
|
-
def self.inner_class_types
|
|
1641
|
-
@inner_class_types = {}
|
|
1642
|
-
end
|
|
1643
|
-
|
|
1644
|
-
def self.field_remappings
|
|
1645
|
-
@field_remappings = {}
|
|
1646
|
-
end
|
|
1647
|
-
end
|
|
1648
|
-
|
|
1649
|
-
class Pickup < ::Stripe::StripeObject
|
|
1650
|
-
class Address < ::Stripe::StripeObject
|
|
1651
|
-
# City, district, suburb, town, or village.
|
|
1652
|
-
attr_reader :city
|
|
1653
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1654
|
-
attr_reader :country
|
|
1655
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1656
|
-
attr_reader :line1
|
|
1657
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1658
|
-
attr_reader :line2
|
|
1659
|
-
# ZIP or postal code.
|
|
1660
|
-
attr_reader :postal_code
|
|
1661
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1662
|
-
attr_reader :state
|
|
1663
|
-
|
|
1664
|
-
def self.inner_class_types
|
|
1665
|
-
@inner_class_types = {}
|
|
1666
|
-
end
|
|
1667
|
-
|
|
1668
|
-
def self.field_remappings
|
|
1669
|
-
@field_remappings = {}
|
|
1670
|
-
end
|
|
1671
|
-
end
|
|
1672
|
-
# Attribute for field address
|
|
1673
|
-
attr_reader :address
|
|
1674
|
-
# Name of the location.
|
|
1675
|
-
attr_reader :location_name
|
|
1676
|
-
# Time associated with the location.
|
|
1677
|
-
attr_reader :time
|
|
1678
|
-
|
|
1679
|
-
def self.inner_class_types
|
|
1680
|
-
@inner_class_types = { address: Address }
|
|
1681
|
-
end
|
|
1682
|
-
|
|
1683
|
-
def self.field_remappings
|
|
1684
|
-
@field_remappings = {}
|
|
1685
|
-
end
|
|
1686
|
-
end
|
|
1687
|
-
|
|
1688
|
-
class Total < ::Stripe::StripeObject
|
|
1689
|
-
class Discounts < ::Stripe::StripeObject
|
|
1690
|
-
# Corporate client discount code.
|
|
1691
|
-
attr_reader :corporate_client_code
|
|
1692
|
-
# Coupon code applied.
|
|
1693
|
-
attr_reader :coupon
|
|
1694
|
-
# Maximum free miles or kilometers included.
|
|
1695
|
-
attr_reader :maximum_free_miles_or_kilometers
|
|
1696
|
-
|
|
1697
|
-
def self.inner_class_types
|
|
1698
|
-
@inner_class_types = {}
|
|
1699
|
-
end
|
|
1700
|
-
|
|
1701
|
-
def self.field_remappings
|
|
1702
|
-
@field_remappings = {}
|
|
1703
|
-
end
|
|
1704
|
-
end
|
|
1705
|
-
|
|
1706
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
1707
|
-
# Amount of the extra charge.
|
|
1708
|
-
attr_reader :amount
|
|
1709
|
-
# Type of extra charge.
|
|
1710
|
-
attr_reader :type
|
|
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 Tax < ::Stripe::StripeObject
|
|
1722
|
-
class Tax < ::Stripe::StripeObject
|
|
1723
|
-
# Tax amount.
|
|
1724
|
-
attr_reader :amount
|
|
1725
|
-
# Tax rate.
|
|
1726
|
-
attr_reader :rate
|
|
1727
|
-
# Type of tax.
|
|
1728
|
-
attr_reader :type
|
|
1729
|
-
|
|
1730
|
-
def self.inner_class_types
|
|
1731
|
-
@inner_class_types = {}
|
|
1732
|
-
end
|
|
1733
|
-
|
|
1734
|
-
def self.field_remappings
|
|
1735
|
-
@field_remappings = {}
|
|
1736
|
-
end
|
|
1737
|
-
end
|
|
1738
|
-
# Indicates whether the rental is tax-exempt.
|
|
1739
|
-
attr_reader :tax_exempt_indicator
|
|
1740
|
-
# Tax details.
|
|
1741
|
-
attr_reader :taxes
|
|
1742
|
-
|
|
1743
|
-
def self.inner_class_types
|
|
1744
|
-
@inner_class_types = { taxes: Tax }
|
|
1745
|
-
end
|
|
1746
|
-
|
|
1747
|
-
def self.field_remappings
|
|
1748
|
-
@field_remappings = {}
|
|
1749
|
-
end
|
|
1750
|
-
end
|
|
1751
|
-
# Total amount.
|
|
1752
|
-
attr_reader :amount
|
|
1753
|
-
# Currency for the total amount.
|
|
1754
|
-
attr_reader :currency
|
|
1755
|
-
# Attribute for field discounts
|
|
1756
|
-
attr_reader :discounts
|
|
1757
|
-
# Additional charges for the rental.
|
|
1758
|
-
attr_reader :extra_charges
|
|
1759
|
-
# Rate per unit.
|
|
1760
|
-
attr_reader :rate_per_unit
|
|
1761
|
-
# Unit for the rate.
|
|
1762
|
-
attr_reader :rate_unit
|
|
1763
|
-
# Attribute for field tax
|
|
1764
|
-
attr_reader :tax
|
|
1765
|
-
|
|
1766
|
-
def self.inner_class_types
|
|
1767
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
1768
|
-
end
|
|
1769
|
-
|
|
1770
|
-
def self.field_remappings
|
|
1771
|
-
@field_remappings = {}
|
|
1772
|
-
end
|
|
1773
|
-
end
|
|
1774
|
-
|
|
1775
|
-
class Vehicle < ::Stripe::StripeObject
|
|
1776
|
-
# Make of the vehicle.
|
|
1777
|
-
attr_reader :make
|
|
1778
|
-
# Model of the vehicle.
|
|
1779
|
-
attr_reader :model
|
|
1780
|
-
# Odometer reading.
|
|
1781
|
-
attr_reader :odometer
|
|
1782
|
-
# Type of the vehicle.
|
|
1783
|
-
attr_reader :type
|
|
1784
|
-
# Class of the vehicle.
|
|
1785
|
-
attr_reader :vehicle_class
|
|
1786
|
-
# Vehicle identification number.
|
|
1787
|
-
attr_reader :vehicle_identification_number
|
|
1788
|
-
|
|
1789
|
-
def self.inner_class_types
|
|
1790
|
-
@inner_class_types = {}
|
|
1791
|
-
end
|
|
1792
|
-
|
|
1793
|
-
def self.field_remappings
|
|
1794
|
-
@field_remappings = {}
|
|
1795
|
-
end
|
|
1796
|
-
end
|
|
1797
|
-
# Attribute for field affiliate
|
|
1798
|
-
attr_reader :affiliate
|
|
1799
|
-
# The booking number associated with the car rental.
|
|
1800
|
-
attr_reader :booking_number
|
|
1801
|
-
# The name of the car rental company.
|
|
1802
|
-
attr_reader :carrier_name
|
|
1803
|
-
# The customer service phone number of the car rental company.
|
|
1804
|
-
attr_reader :customer_service_phone_number
|
|
1805
|
-
# Number of days the car is being rented.
|
|
1806
|
-
attr_reader :days_rented
|
|
1807
|
-
# Attribute for field distance
|
|
1808
|
-
attr_reader :distance
|
|
1809
|
-
# The details of the drivers associated with the rental.
|
|
1810
|
-
attr_reader :drivers
|
|
1811
|
-
# Attribute for field drop_off
|
|
1812
|
-
attr_reader :drop_off
|
|
1813
|
-
# Insurance details for the car rental.
|
|
1814
|
-
attr_reader :insurances
|
|
1815
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1816
|
-
attr_reader :no_show_indicator
|
|
1817
|
-
# Attribute for field pickup
|
|
1818
|
-
attr_reader :pickup
|
|
1819
|
-
# Name of the person renting the vehicle.
|
|
1820
|
-
attr_reader :renter_name
|
|
1821
|
-
# Attribute for field total
|
|
1822
|
-
attr_reader :total
|
|
1823
|
-
# Attribute for field vehicle
|
|
1824
|
-
attr_reader :vehicle
|
|
1825
|
-
|
|
1826
|
-
def self.inner_class_types
|
|
1827
|
-
@inner_class_types = {
|
|
1828
|
-
affiliate: Affiliate,
|
|
1829
|
-
distance: Distance,
|
|
1830
|
-
drivers: Driver,
|
|
1831
|
-
drop_off: DropOff,
|
|
1832
|
-
insurances: Insurance,
|
|
1833
|
-
pickup: Pickup,
|
|
1834
|
-
total: Total,
|
|
1835
|
-
vehicle: Vehicle,
|
|
1836
|
-
}
|
|
1837
|
-
end
|
|
1838
|
-
|
|
1839
|
-
def self.field_remappings
|
|
1840
|
-
@field_remappings = {}
|
|
1841
|
-
end
|
|
1842
|
-
end
|
|
1843
|
-
|
|
1844
|
-
class EventDetails < ::Stripe::StripeObject
|
|
1845
|
-
class Address < ::Stripe::StripeObject
|
|
1846
|
-
# City, district, suburb, town, or village.
|
|
1847
|
-
attr_reader :city
|
|
1848
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1849
|
-
attr_reader :country
|
|
1850
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1851
|
-
attr_reader :line1
|
|
1852
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1853
|
-
attr_reader :line2
|
|
1854
|
-
# ZIP or postal code.
|
|
1855
|
-
attr_reader :postal_code
|
|
1856
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1857
|
-
attr_reader :state
|
|
1858
|
-
|
|
1859
|
-
def self.inner_class_types
|
|
1860
|
-
@inner_class_types = {}
|
|
1861
|
-
end
|
|
1862
|
-
|
|
1863
|
-
def self.field_remappings
|
|
1864
|
-
@field_remappings = {}
|
|
1865
|
-
end
|
|
1866
|
-
end
|
|
1867
|
-
|
|
1868
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1869
|
-
# The name of the affiliate that originated the purchase.
|
|
1870
|
-
attr_reader :name
|
|
1871
|
-
|
|
1872
|
-
def self.inner_class_types
|
|
1873
|
-
@inner_class_types = {}
|
|
1874
|
-
end
|
|
1875
|
-
|
|
1876
|
-
def self.field_remappings
|
|
1877
|
-
@field_remappings = {}
|
|
1878
|
-
end
|
|
1879
|
-
end
|
|
1880
|
-
|
|
1881
|
-
class Delivery < ::Stripe::StripeObject
|
|
1882
|
-
class Recipient < ::Stripe::StripeObject
|
|
1883
|
-
# The email of the recipient the ticket is delivered to.
|
|
1884
|
-
attr_reader :email
|
|
1885
|
-
# The name of the recipient the ticket is delivered to.
|
|
1886
|
-
attr_reader :name
|
|
1887
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1888
|
-
attr_reader :phone
|
|
1889
|
-
|
|
1890
|
-
def self.inner_class_types
|
|
1891
|
-
@inner_class_types = {}
|
|
1892
|
-
end
|
|
1893
|
-
|
|
1894
|
-
def self.field_remappings
|
|
1895
|
-
@field_remappings = {}
|
|
1896
|
-
end
|
|
1897
|
-
end
|
|
1898
|
-
# The delivery method for the payment
|
|
1899
|
-
attr_reader :mode
|
|
1900
|
-
# Attribute for field recipient
|
|
1901
|
-
attr_reader :recipient
|
|
1902
|
-
|
|
1903
|
-
def self.inner_class_types
|
|
1904
|
-
@inner_class_types = { recipient: Recipient }
|
|
1905
|
-
end
|
|
1906
|
-
|
|
1907
|
-
def self.field_remappings
|
|
1908
|
-
@field_remappings = {}
|
|
1909
|
-
end
|
|
1910
|
-
end
|
|
1911
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
1912
|
-
attr_reader :access_controlled_venue
|
|
1913
|
-
# Attribute for field address
|
|
1914
|
-
attr_reader :address
|
|
1915
|
-
# Attribute for field affiliate
|
|
1916
|
-
attr_reader :affiliate
|
|
1917
|
-
# The name of the company
|
|
1918
|
-
attr_reader :company
|
|
1919
|
-
# Attribute for field delivery
|
|
1920
|
-
attr_reader :delivery
|
|
1921
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
1922
|
-
attr_reader :ends_at
|
|
1923
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
1924
|
-
attr_reader :genre
|
|
1925
|
-
# The name of the event.
|
|
1926
|
-
attr_reader :name
|
|
1927
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
1928
|
-
attr_reader :starts_at
|
|
1929
|
-
|
|
1930
|
-
def self.inner_class_types
|
|
1931
|
-
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
1932
|
-
end
|
|
1933
|
-
|
|
1934
|
-
def self.field_remappings
|
|
1935
|
-
@field_remappings = {}
|
|
1936
|
-
end
|
|
1937
|
-
end
|
|
1938
|
-
|
|
1939
|
-
class FlightDatum < ::Stripe::StripeObject
|
|
1940
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1941
|
-
# Affiliate code.
|
|
1942
|
-
attr_reader :code
|
|
1943
|
-
# Affiliate name.
|
|
1944
|
-
attr_reader :name
|
|
1945
|
-
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1946
|
-
attr_reader :travel_authorization_code
|
|
1947
|
-
|
|
1948
|
-
def self.inner_class_types
|
|
1949
|
-
@inner_class_types = {}
|
|
1950
|
-
end
|
|
1951
|
-
|
|
1952
|
-
def self.field_remappings
|
|
1953
|
-
@field_remappings = {}
|
|
1954
|
-
end
|
|
1955
|
-
end
|
|
1956
|
-
|
|
1957
|
-
class Insurance < ::Stripe::StripeObject
|
|
1958
|
-
# Amount of the insurance.
|
|
1959
|
-
attr_reader :amount
|
|
1960
|
-
# Currency for the insurance price.
|
|
1961
|
-
attr_reader :currency
|
|
1962
|
-
# Name of the insurance company.
|
|
1963
|
-
attr_reader :insurance_company_name
|
|
1964
|
-
# Type of insurance.
|
|
1965
|
-
attr_reader :insurance_type
|
|
1966
|
-
|
|
1967
|
-
def self.inner_class_types
|
|
1968
|
-
@inner_class_types = {}
|
|
1969
|
-
end
|
|
1970
|
-
|
|
1971
|
-
def self.field_remappings
|
|
1972
|
-
@field_remappings = {}
|
|
1973
|
-
end
|
|
1974
|
-
end
|
|
1975
|
-
|
|
1976
|
-
class Passenger < ::Stripe::StripeObject
|
|
1977
|
-
# Full name of the passenger.
|
|
1978
|
-
attr_reader :name
|
|
1979
|
-
|
|
1980
|
-
def self.inner_class_types
|
|
1981
|
-
@inner_class_types = {}
|
|
1982
|
-
end
|
|
1983
|
-
|
|
1984
|
-
def self.field_remappings
|
|
1985
|
-
@field_remappings = {}
|
|
1986
|
-
end
|
|
1987
|
-
end
|
|
1988
|
-
|
|
1989
|
-
class Segment < ::Stripe::StripeObject
|
|
1990
|
-
class Arrival < ::Stripe::StripeObject
|
|
1991
|
-
# Arrival airport IATA code.
|
|
1992
|
-
attr_reader :airport
|
|
1993
|
-
# Arrival date and time.
|
|
1994
|
-
attr_reader :arrives_at
|
|
1995
|
-
# Arrival city.
|
|
1996
|
-
attr_reader :city
|
|
1997
|
-
# Arrival country.
|
|
1998
|
-
attr_reader :country
|
|
1999
|
-
|
|
2000
|
-
def self.inner_class_types
|
|
2001
|
-
@inner_class_types = {}
|
|
2002
|
-
end
|
|
2003
|
-
|
|
2004
|
-
def self.field_remappings
|
|
2005
|
-
@field_remappings = {}
|
|
2006
|
-
end
|
|
2007
|
-
end
|
|
2008
|
-
|
|
2009
|
-
class Departure < ::Stripe::StripeObject
|
|
2010
|
-
# Departure airport IATA code.
|
|
2011
|
-
attr_reader :airport
|
|
2012
|
-
# Departure city.
|
|
2013
|
-
attr_reader :city
|
|
2014
|
-
# Departure country.
|
|
2015
|
-
attr_reader :country
|
|
2016
|
-
# Departure date and time.
|
|
2017
|
-
attr_reader :departs_at
|
|
2018
|
-
|
|
2019
|
-
def self.inner_class_types
|
|
2020
|
-
@inner_class_types = {}
|
|
2021
|
-
end
|
|
2022
|
-
|
|
2023
|
-
def self.field_remappings
|
|
2024
|
-
@field_remappings = {}
|
|
2025
|
-
end
|
|
2026
|
-
end
|
|
2027
|
-
# Segment fare amount.
|
|
2028
|
-
attr_reader :amount
|
|
2029
|
-
# Attribute for field arrival
|
|
2030
|
-
attr_reader :arrival
|
|
2031
|
-
# Airline carrier code.
|
|
2032
|
-
attr_reader :carrier_code
|
|
2033
|
-
# Carrier name.
|
|
2034
|
-
attr_reader :carrier_name
|
|
2035
|
-
# Segment currency.
|
|
2036
|
-
attr_reader :currency
|
|
2037
|
-
# Attribute for field departure
|
|
2038
|
-
attr_reader :departure
|
|
2039
|
-
# Exchange ticket number.
|
|
2040
|
-
attr_reader :exchange_ticket_number
|
|
2041
|
-
# Fare basis code.
|
|
2042
|
-
attr_reader :fare_basis_code
|
|
2043
|
-
# Additional fees.
|
|
2044
|
-
attr_reader :fees
|
|
2045
|
-
# Flight number.
|
|
2046
|
-
attr_reader :flight_number
|
|
2047
|
-
# Stopover indicator.
|
|
2048
|
-
attr_reader :is_stop_over_indicator
|
|
2049
|
-
# Refundable ticket indicator.
|
|
2050
|
-
attr_reader :refundable
|
|
2051
|
-
# Class of service.
|
|
2052
|
-
attr_reader :service_class
|
|
2053
|
-
# Tax amount for segment.
|
|
2054
|
-
attr_reader :tax_amount
|
|
2055
|
-
# Ticket number.
|
|
2056
|
-
attr_reader :ticket_number
|
|
2057
|
-
|
|
2058
|
-
def self.inner_class_types
|
|
2059
|
-
@inner_class_types = { arrival: Arrival, departure: Departure }
|
|
2060
|
-
end
|
|
2061
|
-
|
|
2062
|
-
def self.field_remappings
|
|
2063
|
-
@field_remappings = {}
|
|
2064
|
-
end
|
|
2065
|
-
end
|
|
2066
|
-
|
|
2067
|
-
class Total < ::Stripe::StripeObject
|
|
2068
|
-
class Discounts < ::Stripe::StripeObject
|
|
2069
|
-
# Corporate client discount code.
|
|
2070
|
-
attr_reader :corporate_client_code
|
|
2071
|
-
|
|
2072
|
-
def self.inner_class_types
|
|
2073
|
-
@inner_class_types = {}
|
|
2074
|
-
end
|
|
2075
|
-
|
|
2076
|
-
def self.field_remappings
|
|
2077
|
-
@field_remappings = {}
|
|
2078
|
-
end
|
|
2079
|
-
end
|
|
2080
|
-
|
|
2081
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
2082
|
-
# Amount of the extra charge.
|
|
2083
|
-
attr_reader :amount
|
|
2084
|
-
# Type of extra charge.
|
|
2085
|
-
attr_reader :type
|
|
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 Tax < ::Stripe::StripeObject
|
|
2097
|
-
class Tax < ::Stripe::StripeObject
|
|
2098
|
-
# Tax amount.
|
|
2099
|
-
attr_reader :amount
|
|
2100
|
-
# Tax rate.
|
|
2101
|
-
attr_reader :rate
|
|
2102
|
-
# Type of tax.
|
|
2103
|
-
attr_reader :type
|
|
2104
|
-
|
|
2105
|
-
def self.inner_class_types
|
|
2106
|
-
@inner_class_types = {}
|
|
2107
|
-
end
|
|
2108
|
-
|
|
2109
|
-
def self.field_remappings
|
|
2110
|
-
@field_remappings = {}
|
|
2111
|
-
end
|
|
2112
|
-
end
|
|
2113
|
-
# Tax details.
|
|
2114
|
-
attr_reader :taxes
|
|
2115
|
-
|
|
2116
|
-
def self.inner_class_types
|
|
2117
|
-
@inner_class_types = { taxes: Tax }
|
|
2118
|
-
end
|
|
2119
|
-
|
|
2120
|
-
def self.field_remappings
|
|
2121
|
-
@field_remappings = {}
|
|
2122
|
-
end
|
|
2123
|
-
end
|
|
2124
|
-
# Total amount.
|
|
2125
|
-
attr_reader :amount
|
|
2126
|
-
# Reason for credit.
|
|
2127
|
-
attr_reader :credit_reason
|
|
2128
|
-
# Currency for the total amount.
|
|
2129
|
-
attr_reader :currency
|
|
2130
|
-
# Attribute for field discounts
|
|
2131
|
-
attr_reader :discounts
|
|
2132
|
-
# Additional charges for the flight.
|
|
2133
|
-
attr_reader :extra_charges
|
|
2134
|
-
# Attribute for field tax
|
|
2135
|
-
attr_reader :tax
|
|
2136
|
-
|
|
2137
|
-
def self.inner_class_types
|
|
2138
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2139
|
-
end
|
|
2140
|
-
|
|
2141
|
-
def self.field_remappings
|
|
2142
|
-
@field_remappings = {}
|
|
2143
|
-
end
|
|
2144
|
-
end
|
|
2145
|
-
# Attribute for field affiliate
|
|
2146
|
-
attr_reader :affiliate
|
|
2147
|
-
# The booking number associated with the flight reservation.
|
|
2148
|
-
attr_reader :booking_number
|
|
2149
|
-
# The computerized reservation system used to make the reservation and purchase the ticket.
|
|
2150
|
-
attr_reader :computerized_reservation_system
|
|
2151
|
-
# Ticket restrictions.
|
|
2152
|
-
attr_reader :endorsements_and_restrictions
|
|
2153
|
-
# Insurance details for the flight.
|
|
2154
|
-
attr_reader :insurances
|
|
2155
|
-
# The list of passengers for this flight.
|
|
2156
|
-
attr_reader :passengers
|
|
2157
|
-
# The list of flight segments for this reservation.
|
|
2158
|
-
attr_reader :segments
|
|
2159
|
-
# Electronic ticket indicator.
|
|
2160
|
-
attr_reader :ticket_electronically_issued_indicator
|
|
2161
|
-
# Attribute for field total
|
|
2162
|
-
attr_reader :total
|
|
2163
|
-
# Type of flight transaction.
|
|
2164
|
-
attr_reader :transaction_type
|
|
2165
|
-
|
|
2166
|
-
def self.inner_class_types
|
|
2167
|
-
@inner_class_types = {
|
|
2168
|
-
affiliate: Affiliate,
|
|
2169
|
-
insurances: Insurance,
|
|
2170
|
-
passengers: Passenger,
|
|
2171
|
-
segments: Segment,
|
|
2172
|
-
total: Total,
|
|
2173
|
-
}
|
|
2174
|
-
end
|
|
2175
|
-
|
|
2176
|
-
def self.field_remappings
|
|
2177
|
-
@field_remappings = {}
|
|
2178
|
-
end
|
|
2179
|
-
end
|
|
2180
|
-
|
|
2181
|
-
class LodgingDatum < ::Stripe::StripeObject
|
|
2182
|
-
class Accommodation < ::Stripe::StripeObject
|
|
2183
|
-
# Type of accommodation.
|
|
2184
|
-
attr_reader :accommodation_type
|
|
2185
|
-
# Bed type.
|
|
2186
|
-
attr_reader :bed_type
|
|
2187
|
-
# Daily accommodation rate in cents.
|
|
2188
|
-
attr_reader :daily_rate_amount
|
|
2189
|
-
# Number of nights.
|
|
2190
|
-
attr_reader :nights
|
|
2191
|
-
# Number of rooms, cabanas, apartments, and so on.
|
|
2192
|
-
attr_reader :number_of_rooms
|
|
2193
|
-
# Rate type.
|
|
2194
|
-
attr_reader :rate_type
|
|
2195
|
-
# Whether smoking is allowed.
|
|
2196
|
-
attr_reader :smoking_indicator
|
|
2197
|
-
|
|
2198
|
-
def self.inner_class_types
|
|
2199
|
-
@inner_class_types = {}
|
|
2200
|
-
end
|
|
2201
|
-
|
|
2202
|
-
def self.field_remappings
|
|
2203
|
-
@field_remappings = {}
|
|
2204
|
-
end
|
|
2205
|
-
end
|
|
2206
|
-
|
|
2207
|
-
class Affiliate < ::Stripe::StripeObject
|
|
2208
|
-
# Affiliate partner code.
|
|
2209
|
-
attr_reader :code
|
|
2210
|
-
# Affiliate partner name.
|
|
2211
|
-
attr_reader :name
|
|
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 Guest < ::Stripe::StripeObject
|
|
2223
|
-
# Guest's full name.
|
|
2224
|
-
attr_reader :name
|
|
2225
|
-
|
|
2226
|
-
def self.inner_class_types
|
|
2227
|
-
@inner_class_types = {}
|
|
2228
|
-
end
|
|
2229
|
-
|
|
2230
|
-
def self.field_remappings
|
|
2231
|
-
@field_remappings = {}
|
|
2232
|
-
end
|
|
2233
|
-
end
|
|
2234
|
-
|
|
2235
|
-
class Host < ::Stripe::StripeObject
|
|
2236
|
-
class Address < ::Stripe::StripeObject
|
|
2237
|
-
# City, district, suburb, town, or village.
|
|
2238
|
-
attr_reader :city
|
|
2239
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2240
|
-
attr_reader :country
|
|
2241
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
2242
|
-
attr_reader :line1
|
|
2243
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2244
|
-
attr_reader :line2
|
|
2245
|
-
# ZIP or postal code.
|
|
2246
|
-
attr_reader :postal_code
|
|
2247
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2248
|
-
attr_reader :state
|
|
2249
|
-
|
|
2250
|
-
def self.inner_class_types
|
|
2251
|
-
@inner_class_types = {}
|
|
2252
|
-
end
|
|
2253
|
-
|
|
2254
|
-
def self.field_remappings
|
|
2255
|
-
@field_remappings = {}
|
|
2256
|
-
end
|
|
2257
|
-
end
|
|
2258
|
-
# Attribute for field address
|
|
2259
|
-
attr_reader :address
|
|
2260
|
-
# Host's country of domicile.
|
|
2261
|
-
attr_reader :country_of_domicile
|
|
2262
|
-
# Reference number for the host.
|
|
2263
|
-
attr_reader :host_reference
|
|
2264
|
-
# Type of host.
|
|
2265
|
-
attr_reader :host_type
|
|
2266
|
-
# Name of the lodging property or host.
|
|
2267
|
-
attr_reader :name
|
|
2268
|
-
# Total number of reservations for the host.
|
|
2269
|
-
attr_reader :number_of_reservations
|
|
2270
|
-
# Property phone number.
|
|
2271
|
-
attr_reader :property_phone_number
|
|
2272
|
-
# Host's registration date.
|
|
2273
|
-
attr_reader :registered_at
|
|
2274
|
-
|
|
2275
|
-
def self.inner_class_types
|
|
2276
|
-
@inner_class_types = { address: Address }
|
|
2277
|
-
end
|
|
2278
|
-
|
|
2279
|
-
def self.field_remappings
|
|
2280
|
-
@field_remappings = {}
|
|
2281
|
-
end
|
|
2282
|
-
end
|
|
2283
|
-
|
|
2284
|
-
class Insurance < ::Stripe::StripeObject
|
|
2285
|
-
# Price of the insurance coverage in cents.
|
|
2286
|
-
attr_reader :amount
|
|
2287
|
-
# Currency of the insurance amount.
|
|
2288
|
-
attr_reader :currency
|
|
2289
|
-
# Name of the insurance company.
|
|
2290
|
-
attr_reader :insurance_company_name
|
|
2291
|
-
# Type of insurance coverage.
|
|
2292
|
-
attr_reader :insurance_type
|
|
2293
|
-
|
|
2294
|
-
def self.inner_class_types
|
|
2295
|
-
@inner_class_types = {}
|
|
2296
|
-
end
|
|
2297
|
-
|
|
2298
|
-
def self.field_remappings
|
|
2299
|
-
@field_remappings = {}
|
|
2300
|
-
end
|
|
2301
|
-
end
|
|
2302
|
-
|
|
2303
|
-
class Total < ::Stripe::StripeObject
|
|
2304
|
-
class Discounts < ::Stripe::StripeObject
|
|
2305
|
-
# Corporate client discount code.
|
|
2306
|
-
attr_reader :corporate_client_code
|
|
2307
|
-
# Coupon code.
|
|
2308
|
-
attr_reader :coupon
|
|
2309
|
-
|
|
2310
|
-
def self.inner_class_types
|
|
2311
|
-
@inner_class_types = {}
|
|
2312
|
-
end
|
|
2313
|
-
|
|
2314
|
-
def self.field_remappings
|
|
2315
|
-
@field_remappings = {}
|
|
2316
|
-
end
|
|
2317
|
-
end
|
|
2318
|
-
|
|
2319
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
2320
|
-
# Amount of the extra charge in cents.
|
|
2321
|
-
attr_reader :amount
|
|
2322
|
-
# Type of extra charge.
|
|
2323
|
-
attr_reader :type
|
|
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 Tax < ::Stripe::StripeObject
|
|
2335
|
-
class Tax < ::Stripe::StripeObject
|
|
2336
|
-
# Tax amount in cents.
|
|
2337
|
-
attr_reader :amount
|
|
2338
|
-
# Tax rate.
|
|
2339
|
-
attr_reader :rate
|
|
2340
|
-
# Type of tax applied.
|
|
2341
|
-
attr_reader :type
|
|
2342
|
-
|
|
2343
|
-
def self.inner_class_types
|
|
2344
|
-
@inner_class_types = {}
|
|
2345
|
-
end
|
|
2346
|
-
|
|
2347
|
-
def self.field_remappings
|
|
2348
|
-
@field_remappings = {}
|
|
2349
|
-
end
|
|
2350
|
-
end
|
|
2351
|
-
# Indicates whether the transaction is tax exempt.
|
|
2352
|
-
attr_reader :tax_exempt_indicator
|
|
2353
|
-
# Tax details.
|
|
2354
|
-
attr_reader :taxes
|
|
2355
|
-
|
|
2356
|
-
def self.inner_class_types
|
|
2357
|
-
@inner_class_types = { taxes: Tax }
|
|
2358
|
-
end
|
|
2359
|
-
|
|
2360
|
-
def self.field_remappings
|
|
2361
|
-
@field_remappings = {}
|
|
2362
|
-
end
|
|
2363
|
-
end
|
|
2364
|
-
# Total price of the lodging reservation in cents.
|
|
2365
|
-
attr_reader :amount
|
|
2366
|
-
# Cash advances in cents.
|
|
2367
|
-
attr_reader :cash_advances
|
|
2368
|
-
# Currency of the total amount.
|
|
2369
|
-
attr_reader :currency
|
|
2370
|
-
# Attribute for field discounts
|
|
2371
|
-
attr_reader :discounts
|
|
2372
|
-
# Additional charges for the lodging.
|
|
2373
|
-
attr_reader :extra_charges
|
|
2374
|
-
# Prepaid amount in cents.
|
|
2375
|
-
attr_reader :prepaid_amount
|
|
2376
|
-
# Attribute for field tax
|
|
2377
|
-
attr_reader :tax
|
|
2378
|
-
|
|
2379
|
-
def self.inner_class_types
|
|
2380
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2381
|
-
end
|
|
2382
|
-
|
|
2383
|
-
def self.field_remappings
|
|
2384
|
-
@field_remappings = {}
|
|
2385
|
-
end
|
|
2386
|
-
end
|
|
2387
|
-
# Attribute for field accommodation
|
|
2388
|
-
attr_reader :accommodation
|
|
2389
|
-
# Attribute for field affiliate
|
|
2390
|
-
attr_reader :affiliate
|
|
2391
|
-
# Booking confirmation number for the lodging.
|
|
2392
|
-
attr_reader :booking_number
|
|
2393
|
-
# Check-in date.
|
|
2394
|
-
attr_reader :checkin_at
|
|
2395
|
-
# Check-out date.
|
|
2396
|
-
attr_reader :checkout_at
|
|
2397
|
-
# Customer service phone number for the lodging company.
|
|
2398
|
-
attr_reader :customer_service_phone_number
|
|
2399
|
-
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2400
|
-
attr_reader :fire_safety_act_compliance_indicator
|
|
2401
|
-
# List of guests for the lodging.
|
|
2402
|
-
attr_reader :guests
|
|
2403
|
-
# Attribute for field host
|
|
2404
|
-
attr_reader :host
|
|
2405
|
-
# List of insurances for the lodging.
|
|
2406
|
-
attr_reader :insurances
|
|
2407
|
-
# Whether the renter is a no-show.
|
|
2408
|
-
attr_reader :no_show_indicator
|
|
2409
|
-
# Renter ID number for the lodging.
|
|
2410
|
-
attr_reader :renter_id_number
|
|
2411
|
-
# Renter name for the lodging.
|
|
2412
|
-
attr_reader :renter_name
|
|
2413
|
-
# Attribute for field total
|
|
2414
|
-
attr_reader :total
|
|
2415
|
-
|
|
2416
|
-
def self.inner_class_types
|
|
2417
|
-
@inner_class_types = {
|
|
2418
|
-
accommodation: Accommodation,
|
|
2419
|
-
affiliate: Affiliate,
|
|
2420
|
-
guests: Guest,
|
|
2421
|
-
host: Host,
|
|
2422
|
-
insurances: Insurance,
|
|
2423
|
-
total: Total,
|
|
2424
|
-
}
|
|
2425
|
-
end
|
|
2426
|
-
|
|
2427
|
-
def self.field_remappings
|
|
2428
|
-
@field_remappings = {}
|
|
2429
|
-
end
|
|
2430
|
-
end
|
|
2431
|
-
|
|
2432
|
-
class Subscription < ::Stripe::StripeObject
|
|
2433
|
-
class Affiliate < ::Stripe::StripeObject
|
|
2434
|
-
# The name of the affiliate that originated the purchase.
|
|
2435
|
-
attr_reader :name
|
|
2436
|
-
|
|
2437
|
-
def self.inner_class_types
|
|
2438
|
-
@inner_class_types = {}
|
|
2439
|
-
end
|
|
2440
|
-
|
|
2441
|
-
def self.field_remappings
|
|
2442
|
-
@field_remappings = {}
|
|
2443
|
-
end
|
|
2444
|
-
end
|
|
2445
|
-
|
|
2446
|
-
class BillingInterval < ::Stripe::StripeObject
|
|
2447
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2448
|
-
attr_reader :count
|
|
2449
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2450
|
-
attr_reader :interval
|
|
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
|
-
# Attribute for field affiliate
|
|
2461
|
-
attr_reader :affiliate
|
|
2462
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
2463
|
-
attr_reader :auto_renewal
|
|
2464
|
-
# Attribute for field billing_interval
|
|
2465
|
-
attr_reader :billing_interval
|
|
2466
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2467
|
-
attr_reader :ends_at
|
|
2468
|
-
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
2469
|
-
attr_reader :name
|
|
2470
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2471
|
-
attr_reader :starts_at
|
|
2472
|
-
|
|
2473
|
-
def self.inner_class_types
|
|
2474
|
-
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
2475
|
-
end
|
|
1256
|
+
def self.inner_class_types
|
|
1257
|
+
@inner_class_types = {
|
|
1258
|
+
alipay_handle_redirect: AlipayHandleRedirect,
|
|
1259
|
+
blik_authorize: BlikAuthorize,
|
|
1260
|
+
boleto_display_details: BoletoDisplayDetails,
|
|
1261
|
+
card_await_notification: CardAwaitNotification,
|
|
1262
|
+
cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
|
|
1263
|
+
display_bank_transfer_instructions: DisplayBankTransferInstructions,
|
|
1264
|
+
klarna_display_qr_code: KlarnaDisplayQrCode,
|
|
1265
|
+
konbini_display_details: KonbiniDisplayDetails,
|
|
1266
|
+
multibanco_display_details: MultibancoDisplayDetails,
|
|
1267
|
+
oxxo_display_details: OxxoDisplayDetails,
|
|
1268
|
+
paynow_display_qr_code: PaynowDisplayQrCode,
|
|
1269
|
+
pix_display_qr_code: PixDisplayQrCode,
|
|
1270
|
+
promptpay_display_qr_code: PromptpayDisplayQrCode,
|
|
1271
|
+
redirect_to_url: RedirectToUrl,
|
|
1272
|
+
swish_handle_redirect_or_display_qr_code: SwishHandleRedirectOrDisplayQrCode,
|
|
1273
|
+
upi_handle_redirect_or_display_qr_code: UpiHandleRedirectOrDisplayQrCode,
|
|
1274
|
+
verify_with_microdeposits: VerifyWithMicrodeposits,
|
|
1275
|
+
wechat_pay_display_qr_code: WechatPayDisplayQrCode,
|
|
1276
|
+
wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
|
|
1277
|
+
wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
|
|
1278
|
+
}
|
|
1279
|
+
end
|
|
2476
1280
|
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
end
|
|
1281
|
+
def self.field_remappings
|
|
1282
|
+
@field_remappings = {}
|
|
2480
1283
|
end
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
attr_reader :car_rental_data
|
|
1284
|
+
end
|
|
1285
|
+
|
|
1286
|
+
class PaymentDetails < ::Stripe::StripeObject
|
|
2485
1287
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
2486
1288
|
#
|
|
2487
1289
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
2488
1290
|
attr_reader :customer_reference
|
|
2489
|
-
# Attribute for field event_details
|
|
2490
|
-
attr_reader :event_details
|
|
2491
|
-
# Attribute for field flight_data
|
|
2492
|
-
attr_reader :flight_data
|
|
2493
|
-
# Attribute for field lodging_data
|
|
2494
|
-
attr_reader :lodging_data
|
|
2495
1291
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
2496
1292
|
#
|
|
2497
1293
|
# 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.
|
|
2498
1294
|
attr_reader :order_reference
|
|
2499
|
-
# Attribute for field subscription
|
|
2500
|
-
attr_reader :subscription
|
|
2501
1295
|
|
|
2502
1296
|
def self.inner_class_types
|
|
2503
|
-
@inner_class_types = {
|
|
2504
|
-
car_rental: CarRental,
|
|
2505
|
-
car_rental_data: CarRentalDatum,
|
|
2506
|
-
event_details: EventDetails,
|
|
2507
|
-
flight_data: FlightDatum,
|
|
2508
|
-
lodging_data: LodgingDatum,
|
|
2509
|
-
subscription: Subscription,
|
|
2510
|
-
}
|
|
1297
|
+
@inner_class_types = {}
|
|
2511
1298
|
end
|
|
2512
1299
|
|
|
2513
1300
|
def self.field_remappings
|
|
@@ -2764,6 +1551,16 @@ module Stripe
|
|
|
2764
1551
|
end
|
|
2765
1552
|
end
|
|
2766
1553
|
|
|
1554
|
+
class Bizum < ::Stripe::StripeObject
|
|
1555
|
+
def self.inner_class_types
|
|
1556
|
+
@inner_class_types = {}
|
|
1557
|
+
end
|
|
1558
|
+
|
|
1559
|
+
def self.field_remappings
|
|
1560
|
+
@field_remappings = {}
|
|
1561
|
+
end
|
|
1562
|
+
end
|
|
1563
|
+
|
|
2767
1564
|
class Blik < ::Stripe::StripeObject
|
|
2768
1565
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2769
1566
|
#
|
|
@@ -2885,43 +1682,6 @@ module Stripe
|
|
|
2885
1682
|
@field_remappings = {}
|
|
2886
1683
|
end
|
|
2887
1684
|
end
|
|
2888
|
-
|
|
2889
|
-
class StatementDetails < ::Stripe::StripeObject
|
|
2890
|
-
class Address < ::Stripe::StripeObject
|
|
2891
|
-
# City, district, suburb, town, or village.
|
|
2892
|
-
attr_reader :city
|
|
2893
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2894
|
-
attr_reader :country
|
|
2895
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
2896
|
-
attr_reader :line1
|
|
2897
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2898
|
-
attr_reader :line2
|
|
2899
|
-
# ZIP or postal code.
|
|
2900
|
-
attr_reader :postal_code
|
|
2901
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2902
|
-
attr_reader :state
|
|
2903
|
-
|
|
2904
|
-
def self.inner_class_types
|
|
2905
|
-
@inner_class_types = {}
|
|
2906
|
-
end
|
|
2907
|
-
|
|
2908
|
-
def self.field_remappings
|
|
2909
|
-
@field_remappings = {}
|
|
2910
|
-
end
|
|
2911
|
-
end
|
|
2912
|
-
# Attribute for field address
|
|
2913
|
-
attr_reader :address
|
|
2914
|
-
# Phone number
|
|
2915
|
-
attr_reader :phone
|
|
2916
|
-
|
|
2917
|
-
def self.inner_class_types
|
|
2918
|
-
@inner_class_types = { address: Address }
|
|
2919
|
-
end
|
|
2920
|
-
|
|
2921
|
-
def self.field_remappings
|
|
2922
|
-
@field_remappings = {}
|
|
2923
|
-
end
|
|
2924
|
-
end
|
|
2925
1685
|
# Controls when the funds will be captured from the customer's account.
|
|
2926
1686
|
attr_reader :capture_method
|
|
2927
1687
|
# Installment details for this payment.
|
|
@@ -2932,8 +1692,6 @@ module Stripe
|
|
|
2932
1692
|
attr_reader :mandate_options
|
|
2933
1693
|
# 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.
|
|
2934
1694
|
attr_reader :network
|
|
2935
|
-
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
2936
|
-
attr_reader :request_decremental_authorization
|
|
2937
1695
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
2938
1696
|
attr_reader :request_extended_authorization
|
|
2939
1697
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -2942,8 +1700,6 @@ module Stripe
|
|
|
2942
1700
|
attr_reader :request_multicapture
|
|
2943
1701
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
2944
1702
|
attr_reader :request_overcapture
|
|
2945
|
-
# Request partial authorization on this PaymentIntent.
|
|
2946
|
-
attr_reader :request_partial_authorization
|
|
2947
1703
|
# 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.
|
|
2948
1704
|
attr_reader :request_three_d_secure
|
|
2949
1705
|
# 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).
|
|
@@ -2960,15 +1716,9 @@ module Stripe
|
|
|
2960
1716
|
attr_reader :statement_descriptor_suffix_kana
|
|
2961
1717
|
# 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.
|
|
2962
1718
|
attr_reader :statement_descriptor_suffix_kanji
|
|
2963
|
-
# Attribute for field statement_details
|
|
2964
|
-
attr_reader :statement_details
|
|
2965
1719
|
|
|
2966
1720
|
def self.inner_class_types
|
|
2967
|
-
@inner_class_types = {
|
|
2968
|
-
installments: Installments,
|
|
2969
|
-
mandate_options: MandateOptions,
|
|
2970
|
-
statement_details: StatementDetails,
|
|
2971
|
-
}
|
|
1721
|
+
@inner_class_types = { installments: Installments, mandate_options: MandateOptions }
|
|
2972
1722
|
end
|
|
2973
1723
|
|
|
2974
1724
|
def self.field_remappings
|
|
@@ -3157,25 +1907,6 @@ module Stripe
|
|
|
3157
1907
|
end
|
|
3158
1908
|
end
|
|
3159
1909
|
|
|
3160
|
-
class Gopay < ::Stripe::StripeObject
|
|
3161
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3162
|
-
#
|
|
3163
|
-
# 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.
|
|
3164
|
-
#
|
|
3165
|
-
# 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.
|
|
3166
|
-
#
|
|
3167
|
-
# 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).
|
|
3168
|
-
attr_reader :setup_future_usage
|
|
3169
|
-
|
|
3170
|
-
def self.inner_class_types
|
|
3171
|
-
@inner_class_types = {}
|
|
3172
|
-
end
|
|
3173
|
-
|
|
3174
|
-
def self.field_remappings
|
|
3175
|
-
@field_remappings = {}
|
|
3176
|
-
end
|
|
3177
|
-
end
|
|
3178
|
-
|
|
3179
1910
|
class Grabpay < ::Stripe::StripeObject
|
|
3180
1911
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3181
1912
|
#
|
|
@@ -3195,29 +1926,6 @@ module Stripe
|
|
|
3195
1926
|
end
|
|
3196
1927
|
end
|
|
3197
1928
|
|
|
3198
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
3199
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
3200
|
-
attr_reader :expires_after
|
|
3201
|
-
# 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.
|
|
3202
|
-
attr_reader :expires_at
|
|
3203
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3204
|
-
#
|
|
3205
|
-
# 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.
|
|
3206
|
-
#
|
|
3207
|
-
# 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.
|
|
3208
|
-
#
|
|
3209
|
-
# 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).
|
|
3210
|
-
attr_reader :setup_future_usage
|
|
3211
|
-
|
|
3212
|
-
def self.inner_class_types
|
|
3213
|
-
@inner_class_types = {}
|
|
3214
|
-
end
|
|
3215
|
-
|
|
3216
|
-
def self.field_remappings
|
|
3217
|
-
@field_remappings = {}
|
|
3218
|
-
end
|
|
3219
|
-
end
|
|
3220
|
-
|
|
3221
1929
|
class Ideal < ::Stripe::StripeObject
|
|
3222
1930
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3223
1931
|
#
|
|
@@ -3546,56 +2254,12 @@ module Stripe
|
|
|
3546
2254
|
end
|
|
3547
2255
|
|
|
3548
2256
|
class Paypal < ::Stripe::StripeObject
|
|
3549
|
-
class LineItem < ::Stripe::StripeObject
|
|
3550
|
-
class Tax < ::Stripe::StripeObject
|
|
3551
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3552
|
-
attr_reader :amount
|
|
3553
|
-
# The tax behavior for the line item.
|
|
3554
|
-
attr_reader :behavior
|
|
3555
|
-
|
|
3556
|
-
def self.inner_class_types
|
|
3557
|
-
@inner_class_types = {}
|
|
3558
|
-
end
|
|
3559
|
-
|
|
3560
|
-
def self.field_remappings
|
|
3561
|
-
@field_remappings = {}
|
|
3562
|
-
end
|
|
3563
|
-
end
|
|
3564
|
-
# Type of the line item.
|
|
3565
|
-
attr_reader :category
|
|
3566
|
-
# Description of the line item.
|
|
3567
|
-
attr_reader :description
|
|
3568
|
-
# Descriptive name of the line item.
|
|
3569
|
-
attr_reader :name
|
|
3570
|
-
# Quantity of the line item. Cannot be a negative number.
|
|
3571
|
-
attr_reader :quantity
|
|
3572
|
-
# Client facing stock keeping unit, article number or similar.
|
|
3573
|
-
attr_reader :sku
|
|
3574
|
-
# 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).
|
|
3575
|
-
attr_reader :sold_by
|
|
3576
|
-
# Attribute for field tax
|
|
3577
|
-
attr_reader :tax
|
|
3578
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3579
|
-
attr_reader :unit_amount
|
|
3580
|
-
|
|
3581
|
-
def self.inner_class_types
|
|
3582
|
-
@inner_class_types = { tax: Tax }
|
|
3583
|
-
end
|
|
3584
|
-
|
|
3585
|
-
def self.field_remappings
|
|
3586
|
-
@field_remappings = {}
|
|
3587
|
-
end
|
|
3588
|
-
end
|
|
3589
2257
|
# Controls when the funds will be captured from the customer's account.
|
|
3590
2258
|
attr_reader :capture_method
|
|
3591
|
-
# The line items purchased by the customer.
|
|
3592
|
-
attr_reader :line_items
|
|
3593
2259
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
3594
2260
|
attr_reader :preferred_locale
|
|
3595
2261
|
# 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.
|
|
3596
2262
|
attr_reader :reference
|
|
3597
|
-
# 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.
|
|
3598
|
-
attr_reader :reference_id
|
|
3599
2263
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3600
2264
|
#
|
|
3601
2265
|
# 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.
|
|
@@ -3604,19 +2268,7 @@ module Stripe
|
|
|
3604
2268
|
#
|
|
3605
2269
|
# 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).
|
|
3606
2270
|
attr_reader :setup_future_usage
|
|
3607
|
-
# 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.
|
|
3608
|
-
attr_reader :subsellers
|
|
3609
|
-
|
|
3610
|
-
def self.inner_class_types
|
|
3611
|
-
@inner_class_types = { line_items: LineItem }
|
|
3612
|
-
end
|
|
3613
2271
|
|
|
3614
|
-
def self.field_remappings
|
|
3615
|
-
@field_remappings = {}
|
|
3616
|
-
end
|
|
3617
|
-
end
|
|
3618
|
-
|
|
3619
|
-
class Paypay < ::Stripe::StripeObject
|
|
3620
2272
|
def self.inner_class_types
|
|
3621
2273
|
@inner_class_types = {}
|
|
3622
2274
|
end
|
|
@@ -3741,7 +2393,9 @@ module Stripe
|
|
|
3741
2393
|
end
|
|
3742
2394
|
end
|
|
3743
2395
|
|
|
3744
|
-
class
|
|
2396
|
+
class RevolutPay < ::Stripe::StripeObject
|
|
2397
|
+
# Controls when the funds will be captured from the customer's account.
|
|
2398
|
+
attr_reader :capture_method
|
|
3745
2399
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3746
2400
|
#
|
|
3747
2401
|
# 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.
|
|
@@ -3760,27 +2414,9 @@ module Stripe
|
|
|
3760
2414
|
end
|
|
3761
2415
|
end
|
|
3762
2416
|
|
|
3763
|
-
class
|
|
3764
|
-
def self.inner_class_types
|
|
3765
|
-
@inner_class_types = {}
|
|
3766
|
-
end
|
|
3767
|
-
|
|
3768
|
-
def self.field_remappings
|
|
3769
|
-
@field_remappings = {}
|
|
3770
|
-
end
|
|
3771
|
-
end
|
|
3772
|
-
|
|
3773
|
-
class RevolutPay < ::Stripe::StripeObject
|
|
2417
|
+
class SamsungPay < ::Stripe::StripeObject
|
|
3774
2418
|
# Controls when the funds will be captured from the customer's account.
|
|
3775
2419
|
attr_reader :capture_method
|
|
3776
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3777
|
-
#
|
|
3778
|
-
# 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.
|
|
3779
|
-
#
|
|
3780
|
-
# 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.
|
|
3781
|
-
#
|
|
3782
|
-
# 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).
|
|
3783
|
-
attr_reader :setup_future_usage
|
|
3784
2420
|
|
|
3785
2421
|
def self.inner_class_types
|
|
3786
2422
|
@inner_class_types = {}
|
|
@@ -3791,7 +2427,7 @@ module Stripe
|
|
|
3791
2427
|
end
|
|
3792
2428
|
end
|
|
3793
2429
|
|
|
3794
|
-
class
|
|
2430
|
+
class Satispay < ::Stripe::StripeObject
|
|
3795
2431
|
# Controls when the funds will be captured from the customer's account.
|
|
3796
2432
|
attr_reader :capture_method
|
|
3797
2433
|
|
|
@@ -3804,7 +2440,7 @@ module Stripe
|
|
|
3804
2440
|
end
|
|
3805
2441
|
end
|
|
3806
2442
|
|
|
3807
|
-
class
|
|
2443
|
+
class Scalapay < ::Stripe::StripeObject
|
|
3808
2444
|
# Controls when the funds will be captured from the customer's account.
|
|
3809
2445
|
attr_reader :capture_method
|
|
3810
2446
|
|
|
@@ -3852,25 +2488,6 @@ module Stripe
|
|
|
3852
2488
|
end
|
|
3853
2489
|
end
|
|
3854
2490
|
|
|
3855
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
3856
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3857
|
-
#
|
|
3858
|
-
# 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.
|
|
3859
|
-
#
|
|
3860
|
-
# 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.
|
|
3861
|
-
#
|
|
3862
|
-
# 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).
|
|
3863
|
-
attr_reader :setup_future_usage
|
|
3864
|
-
|
|
3865
|
-
def self.inner_class_types
|
|
3866
|
-
@inner_class_types = {}
|
|
3867
|
-
end
|
|
3868
|
-
|
|
3869
|
-
def self.field_remappings
|
|
3870
|
-
@field_remappings = {}
|
|
3871
|
-
end
|
|
3872
|
-
end
|
|
3873
|
-
|
|
3874
2491
|
class Sofort < ::Stripe::StripeObject
|
|
3875
2492
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
3876
2493
|
attr_reader :preferred_language
|
|
@@ -3892,25 +2509,6 @@ module Stripe
|
|
|
3892
2509
|
end
|
|
3893
2510
|
end
|
|
3894
2511
|
|
|
3895
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
3896
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3897
|
-
#
|
|
3898
|
-
# 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.
|
|
3899
|
-
#
|
|
3900
|
-
# 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.
|
|
3901
|
-
#
|
|
3902
|
-
# 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).
|
|
3903
|
-
attr_reader :setup_future_usage
|
|
3904
|
-
|
|
3905
|
-
def self.inner_class_types
|
|
3906
|
-
@inner_class_types = {}
|
|
3907
|
-
end
|
|
3908
|
-
|
|
3909
|
-
def self.field_remappings
|
|
3910
|
-
@field_remappings = {}
|
|
3911
|
-
end
|
|
3912
|
-
end
|
|
3913
|
-
|
|
3914
2512
|
class Swish < ::Stripe::StripeObject
|
|
3915
2513
|
# A reference for this payment to be displayed in the Swish app.
|
|
3916
2514
|
attr_reader :reference
|
|
@@ -3975,21 +2573,6 @@ module Stripe
|
|
|
3975
2573
|
class Filters < ::Stripe::StripeObject
|
|
3976
2574
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
3977
2575
|
attr_reader :account_subcategories
|
|
3978
|
-
# The institution to use to filter for possible accounts to link.
|
|
3979
|
-
attr_reader :institution
|
|
3980
|
-
|
|
3981
|
-
def self.inner_class_types
|
|
3982
|
-
@inner_class_types = {}
|
|
3983
|
-
end
|
|
3984
|
-
|
|
3985
|
-
def self.field_remappings
|
|
3986
|
-
@field_remappings = {}
|
|
3987
|
-
end
|
|
3988
|
-
end
|
|
3989
|
-
|
|
3990
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
3991
|
-
# Settings for configuring manual entry of account details.
|
|
3992
|
-
attr_reader :mode
|
|
3993
2576
|
|
|
3994
2577
|
def self.inner_class_types
|
|
3995
2578
|
@inner_class_types = {}
|
|
@@ -4001,8 +2584,6 @@ module Stripe
|
|
|
4001
2584
|
end
|
|
4002
2585
|
# Attribute for field filters
|
|
4003
2586
|
attr_reader :filters
|
|
4004
|
-
# Attribute for field manual_entry
|
|
4005
|
-
attr_reader :manual_entry
|
|
4006
2587
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
4007
2588
|
attr_reader :permissions
|
|
4008
2589
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -4011,7 +2592,7 @@ module Stripe
|
|
|
4011
2592
|
attr_reader :return_url
|
|
4012
2593
|
|
|
4013
2594
|
def self.inner_class_types
|
|
4014
|
-
@inner_class_types = { filters: Filters
|
|
2595
|
+
@inner_class_types = { filters: Filters }
|
|
4015
2596
|
end
|
|
4016
2597
|
|
|
4017
2598
|
def self.field_remappings
|
|
@@ -4123,6 +2704,8 @@ module Stripe
|
|
|
4123
2704
|
attr_reader :bancontact
|
|
4124
2705
|
# Attribute for field billie
|
|
4125
2706
|
attr_reader :billie
|
|
2707
|
+
# Attribute for field bizum
|
|
2708
|
+
attr_reader :bizum
|
|
4126
2709
|
# Attribute for field blik
|
|
4127
2710
|
attr_reader :blik
|
|
4128
2711
|
# Attribute for field boleto
|
|
@@ -4143,12 +2726,8 @@ module Stripe
|
|
|
4143
2726
|
attr_reader :fpx
|
|
4144
2727
|
# Attribute for field giropay
|
|
4145
2728
|
attr_reader :giropay
|
|
4146
|
-
# Attribute for field gopay
|
|
4147
|
-
attr_reader :gopay
|
|
4148
2729
|
# Attribute for field grabpay
|
|
4149
2730
|
attr_reader :grabpay
|
|
4150
|
-
# Attribute for field id_bank_transfer
|
|
4151
|
-
attr_reader :id_bank_transfer
|
|
4152
2731
|
# Attribute for field ideal
|
|
4153
2732
|
attr_reader :ideal
|
|
4154
2733
|
# Attribute for field interac_present
|
|
@@ -4185,32 +2764,24 @@ module Stripe
|
|
|
4185
2764
|
attr_reader :paynow
|
|
4186
2765
|
# Attribute for field paypal
|
|
4187
2766
|
attr_reader :paypal
|
|
4188
|
-
# Attribute for field paypay
|
|
4189
|
-
attr_reader :paypay
|
|
4190
2767
|
# Attribute for field payto
|
|
4191
2768
|
attr_reader :payto
|
|
4192
2769
|
# Attribute for field pix
|
|
4193
2770
|
attr_reader :pix
|
|
4194
2771
|
# Attribute for field promptpay
|
|
4195
2772
|
attr_reader :promptpay
|
|
4196
|
-
# Attribute for field qris
|
|
4197
|
-
attr_reader :qris
|
|
4198
|
-
# Attribute for field rechnung
|
|
4199
|
-
attr_reader :rechnung
|
|
4200
2773
|
# Attribute for field revolut_pay
|
|
4201
2774
|
attr_reader :revolut_pay
|
|
4202
2775
|
# Attribute for field samsung_pay
|
|
4203
2776
|
attr_reader :samsung_pay
|
|
4204
2777
|
# Attribute for field satispay
|
|
4205
2778
|
attr_reader :satispay
|
|
2779
|
+
# Attribute for field scalapay
|
|
2780
|
+
attr_reader :scalapay
|
|
4206
2781
|
# Attribute for field sepa_debit
|
|
4207
2782
|
attr_reader :sepa_debit
|
|
4208
|
-
# Attribute for field shopeepay
|
|
4209
|
-
attr_reader :shopeepay
|
|
4210
2783
|
# Attribute for field sofort
|
|
4211
2784
|
attr_reader :sofort
|
|
4212
|
-
# Attribute for field stripe_balance
|
|
4213
|
-
attr_reader :stripe_balance
|
|
4214
2785
|
# Attribute for field swish
|
|
4215
2786
|
attr_reader :swish
|
|
4216
2787
|
# Attribute for field twint
|
|
@@ -4236,6 +2807,7 @@ module Stripe
|
|
|
4236
2807
|
bacs_debit: BacsDebit,
|
|
4237
2808
|
bancontact: Bancontact,
|
|
4238
2809
|
billie: Billie,
|
|
2810
|
+
bizum: Bizum,
|
|
4239
2811
|
blik: Blik,
|
|
4240
2812
|
boleto: Boleto,
|
|
4241
2813
|
card: Card,
|
|
@@ -4246,9 +2818,7 @@ module Stripe
|
|
|
4246
2818
|
eps: Eps,
|
|
4247
2819
|
fpx: Fpx,
|
|
4248
2820
|
giropay: Giropay,
|
|
4249
|
-
gopay: Gopay,
|
|
4250
2821
|
grabpay: Grabpay,
|
|
4251
|
-
id_bank_transfer: IdBankTransfer,
|
|
4252
2822
|
ideal: Ideal,
|
|
4253
2823
|
interac_present: InteracPresent,
|
|
4254
2824
|
kakao_pay: KakaoPay,
|
|
@@ -4267,19 +2837,15 @@ module Stripe
|
|
|
4267
2837
|
payco: Payco,
|
|
4268
2838
|
paynow: Paynow,
|
|
4269
2839
|
paypal: Paypal,
|
|
4270
|
-
paypay: Paypay,
|
|
4271
2840
|
payto: Payto,
|
|
4272
2841
|
pix: Pix,
|
|
4273
2842
|
promptpay: Promptpay,
|
|
4274
|
-
qris: Qris,
|
|
4275
|
-
rechnung: Rechnung,
|
|
4276
2843
|
revolut_pay: RevolutPay,
|
|
4277
2844
|
samsung_pay: SamsungPay,
|
|
4278
2845
|
satispay: Satispay,
|
|
2846
|
+
scalapay: Scalapay,
|
|
4279
2847
|
sepa_debit: SepaDebit,
|
|
4280
|
-
shopeepay: Shopeepay,
|
|
4281
2848
|
sofort: Sofort,
|
|
4282
|
-
stripe_balance: StripeBalance,
|
|
4283
2849
|
swish: Swish,
|
|
4284
2850
|
twint: Twint,
|
|
4285
2851
|
upi: Upi,
|
|
@@ -4394,15 +2960,35 @@ module Stripe
|
|
|
4394
2960
|
end
|
|
4395
2961
|
|
|
4396
2962
|
class TransferData < ::Stripe::StripeObject
|
|
2963
|
+
class PaymentData < ::Stripe::StripeObject
|
|
2964
|
+
# An arbitrary string attached to the destination payment. Often useful for displaying to users.
|
|
2965
|
+
attr_reader :description
|
|
2966
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
2967
|
+
attr_reader :metadata
|
|
2968
|
+
|
|
2969
|
+
def self.inner_class_types
|
|
2970
|
+
@inner_class_types = {}
|
|
2971
|
+
end
|
|
2972
|
+
|
|
2973
|
+
def self.field_remappings
|
|
2974
|
+
@field_remappings = {}
|
|
2975
|
+
end
|
|
2976
|
+
end
|
|
4397
2977
|
# The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.
|
|
4398
2978
|
# The amount must be less than or equal to the [amount](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer
|
|
4399
2979
|
# representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
|
|
4400
2980
|
attr_reader :amount
|
|
2981
|
+
# An arbitrary string attached to the transfer. Often useful for displaying to users.
|
|
2982
|
+
attr_reader :description
|
|
4401
2983
|
# The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.
|
|
4402
2984
|
attr_reader :destination
|
|
2985
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
2986
|
+
attr_reader :metadata
|
|
2987
|
+
# Attribute for field payment_data
|
|
2988
|
+
attr_reader :payment_data
|
|
4403
2989
|
|
|
4404
2990
|
def self.inner_class_types
|
|
4405
|
-
@inner_class_types = {}
|
|
2991
|
+
@inner_class_types = { payment_data: PaymentData }
|
|
4406
2992
|
end
|
|
4407
2993
|
|
|
4408
2994
|
def self.field_remappings
|
|
@@ -4421,8 +3007,6 @@ module Stripe
|
|
|
4421
3007
|
attr_reader :application
|
|
4422
3008
|
# 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).
|
|
4423
3009
|
attr_reader :application_fee_amount
|
|
4424
|
-
# Attribute for field async_workflows
|
|
4425
|
-
attr_reader :async_workflows
|
|
4426
3010
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
4427
3011
|
attr_reader :automatic_payment_methods
|
|
4428
3012
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -4459,8 +3043,6 @@ module Stripe
|
|
|
4459
3043
|
attr_reader :description
|
|
4460
3044
|
# The list of payment method types to exclude from use with this payment.
|
|
4461
3045
|
attr_reader :excluded_payment_method_types
|
|
4462
|
-
# The FX Quote used for the PaymentIntent.
|
|
4463
|
-
attr_reader :fx_quote
|
|
4464
3046
|
# Attribute for field hooks
|
|
4465
3047
|
attr_reader :hooks
|
|
4466
3048
|
# Unique identifier for the object.
|
|
@@ -4500,8 +3082,6 @@ module Stripe
|
|
|
4500
3082
|
attr_reader :receipt_email
|
|
4501
3083
|
# ID of the review associated with this PaymentIntent, if any.
|
|
4502
3084
|
attr_reader :review
|
|
4503
|
-
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
4504
|
-
attr_reader :secret_key_confirmation
|
|
4505
3085
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4506
3086
|
#
|
|
4507
3087
|
# 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.
|
|
@@ -4695,56 +3275,6 @@ module Stripe
|
|
|
4695
3275
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
4696
3276
|
end
|
|
4697
3277
|
|
|
4698
|
-
# Perform a decremental authorization on an eligible
|
|
4699
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4700
|
-
# PaymentIntent's status must be requires_capture and
|
|
4701
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4702
|
-
# must be available.
|
|
4703
|
-
#
|
|
4704
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4705
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4706
|
-
#
|
|
4707
|
-
# After decrement, the PaymentIntent object
|
|
4708
|
-
# returns with the updated
|
|
4709
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4710
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4711
|
-
#
|
|
4712
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4713
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4714
|
-
def decrement_authorization(params = {}, opts = {})
|
|
4715
|
-
request_stripe_object(
|
|
4716
|
-
method: :post,
|
|
4717
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
4718
|
-
params: params,
|
|
4719
|
-
opts: opts
|
|
4720
|
-
)
|
|
4721
|
-
end
|
|
4722
|
-
|
|
4723
|
-
# Perform a decremental authorization on an eligible
|
|
4724
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4725
|
-
# PaymentIntent's status must be requires_capture and
|
|
4726
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4727
|
-
# must be available.
|
|
4728
|
-
#
|
|
4729
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4730
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4731
|
-
#
|
|
4732
|
-
# After decrement, the PaymentIntent object
|
|
4733
|
-
# returns with the updated
|
|
4734
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4735
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4736
|
-
#
|
|
4737
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4738
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4739
|
-
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
4740
|
-
request_stripe_object(
|
|
4741
|
-
method: :post,
|
|
4742
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
4743
|
-
params: params,
|
|
4744
|
-
opts: opts
|
|
4745
|
-
)
|
|
4746
|
-
end
|
|
4747
|
-
|
|
4748
3278
|
# Perform an incremental authorization on an eligible
|
|
4749
3279
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4750
3280
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -4768,7 +3298,9 @@ module Stripe
|
|
|
4768
3298
|
# Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.
|
|
4769
3299
|
# After it's captured, a PaymentIntent can no longer be incremented.
|
|
4770
3300
|
#
|
|
4771
|
-
# Learn more about
|
|
3301
|
+
# Learn more about incremental authorizations with
|
|
3302
|
+
# [in-person payments](https://docs.stripe.com/docs/terminal/features/incremental-authorizations) and
|
|
3303
|
+
# [online payments](https://docs.stripe.com/docs/payments/incremental-authorization?platform=web&ui=elements).
|
|
4772
3304
|
def increment_authorization(params = {}, opts = {})
|
|
4773
3305
|
request_stripe_object(
|
|
4774
3306
|
method: :post,
|
|
@@ -4801,7 +3333,9 @@ module Stripe
|
|
|
4801
3333
|
# Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.
|
|
4802
3334
|
# After it's captured, a PaymentIntent can no longer be incremented.
|
|
4803
3335
|
#
|
|
4804
|
-
# Learn more about
|
|
3336
|
+
# Learn more about incremental authorizations with
|
|
3337
|
+
# [in-person payments](https://docs.stripe.com/docs/terminal/features/incremental-authorizations) and
|
|
3338
|
+
# [online payments](https://docs.stripe.com/docs/payments/incremental-authorization?platform=web&ui=elements).
|
|
4805
3339
|
def self.increment_authorization(intent, params = {}, opts = {})
|
|
4806
3340
|
request_stripe_object(
|
|
4807
3341
|
method: :post,
|
|
@@ -4829,26 +3363,6 @@ module Stripe
|
|
|
4829
3363
|
search(params, opts).auto_paging_each(&blk)
|
|
4830
3364
|
end
|
|
4831
3365
|
|
|
4832
|
-
# Trigger an external action on a PaymentIntent.
|
|
4833
|
-
def trigger_action(params = {}, opts = {})
|
|
4834
|
-
request_stripe_object(
|
|
4835
|
-
method: :post,
|
|
4836
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
4837
|
-
params: params,
|
|
4838
|
-
opts: opts
|
|
4839
|
-
)
|
|
4840
|
-
end
|
|
4841
|
-
|
|
4842
|
-
# Trigger an external action on a PaymentIntent.
|
|
4843
|
-
def self.trigger_action(intent, params = {}, opts = {})
|
|
4844
|
-
request_stripe_object(
|
|
4845
|
-
method: :post,
|
|
4846
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
4847
|
-
params: params,
|
|
4848
|
-
opts: opts
|
|
4849
|
-
)
|
|
4850
|
-
end
|
|
4851
|
-
|
|
4852
3366
|
# Updates properties on a PaymentIntent object without confirming.
|
|
4853
3367
|
#
|
|
4854
3368
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -4888,7 +3402,6 @@ module Stripe
|
|
|
4888
3402
|
def self.inner_class_types
|
|
4889
3403
|
@inner_class_types = {
|
|
4890
3404
|
amount_details: AmountDetails,
|
|
4891
|
-
async_workflows: AsyncWorkflows,
|
|
4892
3405
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
4893
3406
|
hooks: Hooks,
|
|
4894
3407
|
last_payment_error: LastPaymentError,
|