stripe 19.6.3 → 19.7.0.pre.alpha.1
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/data/ca-certificates.crt +3504 -290
- data/lib/stripe/api_requestor.rb +42 -2
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/error_object.rb +5 -0
- data/lib/stripe/errors.rb +93 -0
- data/lib/stripe/event_types.rb +1432 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v1_account_application_authorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_application_deauthorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_created_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_deleted_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_updated_event.rb +20 -0
- data/lib/stripe/events/v1_account_signals_including_delinquency_created_event.rb +68 -0
- data/lib/stripe/events/v1_account_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_balance_available_event.rb +44 -0
- data/lib/stripe/events/v1_balance_settings_updated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_alert_triggered_event.rb +44 -0
- data/lib/stripe/events/v1_billing_credit_balance_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_credit_grant_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_credit_grant_updated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_meter_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_meter_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_meter_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_meter_updated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_session_created_event.rb +20 -0
- data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
- data/lib/stripe/events/v1_cash_balance_funds_available_event.rb +44 -0
- data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
- data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
- data/lib/stripe/events/v1_customer_cash_balance_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v1_entitlements_active_entitlement_summary_updated_event.rb +20 -0
- data/lib/stripe/events/v1_file_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_account_numbers_updated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_expected_deactivation_date_updated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_supported_payment_method_types_updated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_upcoming_account_number_expiry_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_upcoming_deactivation_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_attempt_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payout_created_event.rb +44 -0
- data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
- data/lib/stripe/events/v1_person_created_event.rb +44 -0
- data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_person_updated_event.rb +44 -0
- data/lib/stripe/events/v1_plan_created_event.rb +44 -0
- data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v1_price_created_event.rb +44 -0
- data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_price_updated_event.rb +44 -0
- data/lib/stripe/events/v1_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_product_updated_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
- data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
- data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_quote_created_event.rb +44 -0
- data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
- data/lib/stripe/events/v1_refund_created_event.rb +44 -0
- data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
- data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_review_closed_event.rb +44 -0
- data/lib/stripe/events/v1_review_opened_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
- data/lib/stripe/events/v1_source_failed_event.rb +44 -0
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_settings_updated_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
- data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_topup_created_event.rb +44 -0
- data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_contract_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_contract_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_contract_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_contract_ended_event.rb +44 -0
- data/lib/stripe/events/v2_billing_contract_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_custom_pricing_unit_overage_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_signals_fraudulent_website_ready_event.rb +48 -0
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +117 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +98 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +100 -0
- data/lib/stripe/events/v2_core_health_elements_error_firing_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_elements_error_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_firing_event.rb +75 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_resolved_event.rb +77 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +111 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +70 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +72 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_extension_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +40 -0
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_approved_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_canceled_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_denied_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_removed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_requested_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_updated_event.rb +38 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_debit_dispute_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_debit_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_debit_dispute_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_restated_event.rb +71 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_under_review_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_mandate_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_mandate_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_mandate_expired_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_mandate_pending_cancellation_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_scheduled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +63 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_paused_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_resumed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_evaluation_complete_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +109 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_merchant_delinquency_ready_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_payment_delinquency_exposure_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +145 -0
- data/lib/stripe/params/account_create_params.rb +475 -3
- data/lib/stripe/params/account_link_create_params.rb +4 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_person_create_params.rb +60 -0
- data/lib/stripe/params/account_person_update_params.rb +60 -0
- data/lib/stripe/params/account_session_create_params.rb +285 -9
- data/lib/stripe/params/account_signals_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_update_params.rb +437 -2
- data/lib/stripe/params/balance_settings_update_params.rb +9 -1
- data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
- data/lib/stripe/params/billing/alert_create_params.rb +264 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/alert_notification_list_params.rb +70 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +25 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +60 -2
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +20 -0
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +1 -4
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -4
- data/lib/stripe/params/billing_portal/session_create_params.rb +13 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/{billing/feedback_option_retrieve_params.rb → capital/financing_offer_retrieve_params.rb} +2 -2
- data/lib/stripe/params/{billing/feedback_option_deactivate_params.rb → capital/financing_summary_retrieve_params.rb} +2 -2
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1743 -0
- data/lib/stripe/params/charge_update_params.rb +1743 -0
- data/lib/stripe/params/checkout/session_approve_params.rb +52 -0
- data/lib/stripe/params/checkout/session_create_params.rb +573 -10
- data/lib/stripe/params/checkout/session_update_params.rb +180 -2
- data/lib/stripe/params/confirmation_token_create_params.rb +101 -0
- data/lib/stripe/params/coupon_create_params.rb +47 -1
- data/lib/stripe/params/crypto/customer_consumer_wallet_list_params.rb +24 -0
- data/lib/stripe/params/crypto/customer_payment_token_list_params.rb +24 -0
- data/lib/stripe/params/crypto/customer_retrieve_params.rb +15 -0
- data/lib/stripe/params/crypto/deposit_address_create_params.rb +24 -0
- data/lib/stripe/params/crypto/deposit_address_list_params.rb +45 -0
- data/lib/stripe/params/crypto/deposit_address_retrieve_params.rb +15 -0
- data/lib/stripe/params/crypto/onramp_session_checkout_params.rb +56 -0
- data/lib/stripe/params/crypto/onramp_session_create_params.rb +122 -0
- data/lib/stripe/params/crypto/onramp_session_list_params.rb +62 -0
- data/lib/stripe/params/crypto/onramp_session_quote_params.rb +15 -0
- data/lib/stripe/params/crypto/onramp_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/crypto/onramp_transaction_limits_retrieve_params.rb +33 -0
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +23 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -27
- data/lib/stripe/params/customer_tax_exemption_create_params.rb +55 -0
- data/lib/stripe/params/customer_tax_exemption_delete_params.rb +6 -0
- data/lib/stripe/params/customer_tax_exemption_list_params.rb +25 -0
- data/lib/stripe/params/customer_tax_exemption_retrieve_params.rb +13 -0
- data/lib/stripe/params/delegated_checkout/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +176 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +230 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_list_orders_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_order_list_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +216 -0
- data/lib/stripe/params/dispute_update_params.rb +14 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +38 -1
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/gift_card_activate_params.rb +30 -0
- data/lib/stripe/params/gift_card_cashout_params.rb +16 -0
- data/lib/stripe/params/gift_card_check_balance_params.rb +16 -0
- data/lib/stripe/params/gift_card_create_params.rb +28 -0
- data/lib/stripe/params/gift_card_operation_retrieve_params.rb +13 -0
- data/lib/stripe/params/gift_card_reload_params.rb +22 -0
- data/lib/stripe/params/gift_card_retrieve_params.rb +13 -0
- data/lib/stripe/params/gift_card_void_operation_params.rb +19 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +23 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +30 -1
- data/lib/stripe/params/invoice_add_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +178 -4
- data/lib/stripe/params/invoice_create_preview_params.rb +1365 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +46 -1
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +48 -1
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_update_params.rb +165 -4
- data/lib/stripe/params/issuing/authorization_capture_params.rb +56 -0
- data/lib/stripe/params/issuing/authorization_create_params.rb +55 -0
- data/lib/stripe/params/issuing/card_create_params.rb +26 -0
- data/lib/stripe/params/issuing/card_list_params.rb +34 -1
- data/lib/stripe/params/issuing/card_update_params.rb +17 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/cardholder_update_params.rb +4 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_offer_acceptance_params.rb +15 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_close_params.rb +18 -0
- data/lib/stripe/params/issuing/dispute_provisional_credit_params.rb +21 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_update_params.rb +22 -1
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_create_params.rb +21 -0
- data/lib/stripe/params/issuing/program_list_params.rb +24 -0
- data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_update_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +64 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +51 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/orchestration/payment_attempt_retrieve_params.rb +15 -0
- data/lib/stripe/params/order_create_params.rb +2117 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2121 -0
- data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +19 -0
- data/lib/stripe/params/payment_attempt_record_report_authorized_params.rb +88 -0
- data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +31 -0
- data/lib/stripe/params/payment_attempt_record_report_early_fraud_warning_params.rb +22 -0
- data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +95 -0
- data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +92 -0
- data/lib/stripe/params/payment_attempt_record_report_informational_params.rb +93 -0
- data/lib/stripe/params/payment_attempt_record_report_refund_params.rb +103 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1815 -3
- data/lib/stripe/params/payment_intent_confirm_params.rb +3770 -57
- data/lib/stripe/params/payment_intent_create_params.rb +3793 -64
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +370 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +112 -2
- data/lib/stripe/params/payment_intent_reauthorize_params.rb +19 -0
- data/lib/stripe/params/payment_intent_simulate_crypto_deposit_params.rb +31 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_crypto_refund_address_params.rb +19 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3814 -70
- data/lib/stripe/params/payment_link_create_params.rb +34 -0
- data/lib/stripe/params/payment_link_update_params.rb +1 -32
- data/lib/stripe/params/payment_location_capability_list_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_retrieve_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_update_params.rb +19 -0
- data/lib/stripe/params/payment_location_create_params.rb +54 -0
- data/lib/stripe/params/payment_location_delete_params.rb +6 -0
- data/lib/stripe/params/payment_location_list_params.rb +22 -0
- data/lib/stripe/params/payment_location_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_location_update_params.rb +63 -0
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +126 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +126 -0
- data/lib/stripe/params/payment_method_create_params.rb +97 -0
- data/lib/stripe/params/payment_method_update_params.rb +16 -0
- data/lib/stripe/params/payment_plan_create_params.rb +128 -0
- data/lib/stripe/params/payment_plan_list_params.rb +25 -0
- data/lib/stripe/params/payment_plan_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_plan_update_params.rb +105 -0
- data/lib/stripe/params/payment_record_report_dispute_params.rb +109 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +13 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +77 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +70 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +87 -3
- data/lib/stripe/params/payment_record_report_payment_params.rb +87 -3
- data/lib/stripe/params/payment_record_report_refund_params.rb +24 -0
- data/lib/stripe/params/payment_record_search_params.rb +22 -0
- data/lib/stripe/params/plan_create_params.rb +15 -0
- data/lib/stripe/params/price_create_params.rb +19 -0
- data/lib/stripe/params/price_update_params.rb +23 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/{billing/feedback_option_list_params.rb → privacy/redaction_job_list_params.rb} +3 -3
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_catalog/trial_offer_list_params.rb +54 -0
- data/lib/stripe/params/product_catalog/trial_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/product_create_params.rb +47 -0
- data/lib/stripe/params/product_update_params.rb +47 -0
- data/lib/stripe/params/quote_create_params.rb +1217 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +1225 -4
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +115 -0
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +72 -0
- data/lib/stripe/params/radar/customer_evaluation_create_params.rb +86 -0
- data/lib/stripe/params/radar/customer_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/customer_evaluation_update_params.rb +21 -0
- data/lib/stripe/params/radar/issuing_authorization_evaluation_create_params.rb +197 -0
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +65 -2
- data/lib/stripe/params/refund_create_params.rb +8 -0
- data/lib/stripe/params/refund_list_params.rb +8 -0
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +187 -3
- data/lib/stripe/params/setup_intent_create_params.rb +187 -3
- data/lib/stripe/params/setup_intent_update_params.rb +188 -4
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +50 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +74 -0
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_cancel_params.rb +1 -4
- data/lib/stripe/params/subscription_create_params.rb +389 -8
- data/lib/stripe/params/subscription_item_create_params.rb +114 -2
- data/lib/stripe/params/subscription_item_update_params.rb +97 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_pause_params.rb +50 -0
- data/lib/stripe/params/subscription_resume_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +805 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +471 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +471 -5
- data/lib/stripe/params/subscription_update_params.rb +373 -11
- data/lib/stripe/params/tax/calculation_create_params.rb +46 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +144 -351
- data/lib/stripe/params/tax_fund_list_params.rb +42 -0
- data/lib/stripe/params/tax_fund_retrieve_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_activate_gift_card_params.rb +35 -0
- data/lib/stripe/params/terminal/reader_cashout_gift_card_params.rb +21 -0
- data/lib/stripe/params/terminal/reader_check_gift_card_balance_params.rb +21 -0
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +4 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +16 -0
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +4 -0
- data/lib/stripe/params/terminal/reader_reload_gift_card_params.rb +27 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +101 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +56 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +55 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_close_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_provisional_credit_params.rb +23 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +64 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +51 -0
- data/lib/stripe/params/test_helpers/payment_intent_simulate_crypto_deposit_params.rb +33 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +52 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +16 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/token_create_params.rb +134 -0
- data/lib/stripe/params/transfer_create_params.rb +8 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/contract_activate_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_cancel_params.rb +39 -0
- data/lib/stripe/params/v2/billing/contract_create_params.rb +495 -0
- data/lib/stripe/params/v2/billing/contract_delete_params.rb +10 -0
- data/lib/stripe/params/v2/billing/contract_list_params.rb +23 -0
- data/lib/stripe/params/v2/billing/contract_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_update_params.rb +804 -0
- data/lib/stripe/params/v2/billing/contracts/pricing_lines/quantity_change_list_contract_pricing_line_quantity_changes_params.rb +21 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +899 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +121 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +102 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +54 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_remove_discounts_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_modify_rates_params.rb +177 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +109 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +315 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +4100 -53
- data/lib/stripe/params/v2/core/account_evaluation_create_params.rb +73 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +81 -1
- data/lib/stripe/params/v2/core/account_list_params.rb +9 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +254 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +4082 -56
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_execute_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +17 -0
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_submit_params.rb +17 -0
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +53 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +59 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +28 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/connection_session_create_params.rb +23 -0
- data/lib/stripe/params/v2/core/connection_session_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
- data/lib/stripe/params/v2/core/fee_batch_list_params.rb +43 -0
- data/lib/stripe/params/v2/core/fee_batch_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/fee_entry_list_params.rb +51 -0
- data/lib/stripe/params/v2/core/fee_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/health/alert_list_params.rb +53 -0
- data/lib/stripe/params/v2/core/health/alert_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/health/alerts/history_list_params.rb +21 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/data/analytics/metric_query_create_params.rb +68 -0
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +19 -0
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_create_params.rb +68 -0
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +26 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +49 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/debit_dispute_create_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/debit_dispute_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/debit_dispute_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +26 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +33 -0
- data/lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb +25 -0
- data/lib/stripe/params/v2/money_management/financial_accounts/statement_retrieve_params.rb +19 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +179 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +116 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +110 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +88 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +104 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_create_params.rb +142 -0
- data/lib/stripe/params/v2/money_management/payout_intent_fx_quote_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/payout_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_update_params.rb +138 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/received_debit_mandate_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_mandate_list_params.rb +26 -0
- data/lib/stripe/params/v2/money_management/received_debit_mandate_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_debit_params.rb +25 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_update_params.rb +21 -0
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +178 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +366 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_pause_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_resume_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +35 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_list_params.rb +47 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +20 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +28 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_list_params.rb +22 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/risk/inquiry_list_params.rb +20 -0
- data/lib/stripe/params/v2/risk/inquiry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/risk/inquiry_update_params.rb +49 -0
- data/lib/stripe/params/v2/signals/account_activity_create_params.rb +197 -0
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +188 -0
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +35 -0
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +124 -0
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +124 -0
- data/lib/stripe/params/v2/tax/operation_resolve_address_params.rb +37 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +1064 -10
- data/lib/stripe/resources/account.rb +317 -3
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +414 -0
- data/lib/stripe/resources/account_signals.rb +104 -0
- data/lib/stripe/resources/application_fee.rb +24 -1
- data/lib/stripe/resources/balance.rb +166 -0
- data/lib/stripe/resources/balance_settings.rb +4 -0
- data/lib/stripe/resources/balance_transfer.rb +139 -0
- data/lib/stripe/resources/bank_account.rb +30 -2
- data/lib/stripe/resources/billing/alert.rb +309 -1
- data/lib/stripe/resources/billing/alert_notification.rb +56 -0
- data/lib/stripe/resources/billing/alert_recovered.rb +60 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +48 -1
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +198 -3
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +177 -2
- data/lib/stripe/resources/billing/credit_grant.rb +100 -2
- data/lib/stripe/resources/billing/feedback_option.rb +0 -54
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/billing_portal/session.rb +16 -0
- data/lib/stripe/resources/capability.rb +66 -3
- data/lib/stripe/resources/capital/financing_offer.rb +185 -0
- data/lib/stripe/resources/capital/financing_summary.rb +84 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +35 -1
- data/lib/stripe/resources/charge.rb +404 -2
- data/lib/stripe/resources/checkout/session.rb +703 -4
- data/lib/stripe/resources/confirmation_token.rb +242 -3
- data/lib/stripe/resources/coupon.rb +60 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/crypto/customer.rb +73 -0
- data/lib/stripe/resources/crypto/customer_consumer_wallet.rb +35 -0
- data/lib/stripe/resources/crypto/customer_payment_token.rb +84 -0
- data/lib/stripe/resources/crypto/deposit_address.rb +82 -0
- data/lib/stripe/resources/crypto/onramp_session.rb +224 -0
- data/lib/stripe/resources/crypto/onramp_transaction_limits.rb +33 -0
- data/lib/stripe/resources/customer.rb +17 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/customer_tax_exemption.rb +70 -0
- data/lib/stripe/resources/delegated_checkout/order.rb +142 -0
- data/lib/stripe/resources/delegated_checkout/order_event.rb +118 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +895 -0
- data/lib/stripe/resources/discount.rb +20 -1
- data/lib/stripe/resources/dispute.rb +24 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +89 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +24 -1
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +92 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +109 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/gift_card.rb +146 -0
- data/lib/stripe/resources/gift_card_operation.rb +280 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +24 -1
- data/lib/stripe/resources/invoice.rb +283 -1
- data/lib/stripe/resources/invoice_item.rb +140 -2
- data/lib/stripe/resources/invoice_line_item.rb +195 -1
- data/lib/stripe/resources/issuing/authorization.rb +832 -2
- data/lib/stripe/resources/issuing/card.rb +64 -0
- data/lib/stripe/resources/issuing/cardholder.rb +16 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +285 -0
- data/lib/stripe/resources/issuing/dispute.rb +349 -1
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/program.rb +69 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +10 -0
- data/lib/stripe/resources/issuing/transaction.rb +191 -1
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +30 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/orchestration/payment_attempt.rb +31 -0
- data/lib/stripe/resources/order.rb +929 -0
- data/lib/stripe/resources/payment_attempt_record.rb +497 -3
- data/lib/stripe/resources/payment_intent.rb +2620 -26
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +48 -1
- data/lib/stripe/resources/payment_link.rb +22 -0
- data/lib/stripe/resources/payment_location.rb +165 -0
- data/lib/stripe/resources/payment_location_capability.rb +94 -0
- data/lib/stripe/resources/payment_method.rb +286 -1
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +204 -0
- data/lib/stripe/resources/payment_plan.rb +213 -0
- data/lib/stripe/resources/payment_record.rb +373 -3
- data/lib/stripe/resources/person.rb +92 -2
- data/lib/stripe/resources/price.rb +22 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +78 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +117 -0
- data/lib/stripe/resources/profile.rb +80 -0
- data/lib/stripe/resources/quote.rb +806 -2
- data/lib/stripe/resources/quote_line.rb +731 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1360 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +1140 -0
- data/lib/stripe/resources/radar/account_evaluation.rb +180 -0
- data/lib/stripe/resources/radar/customer_evaluation.rb +155 -0
- data/lib/stripe/resources/radar/issuing_authorization_evaluation.rb +245 -0
- data/lib/stripe/resources/radar/payment_evaluation.rb +45 -2
- data/lib/stripe/resources/radar/value_list_item.rb +15 -1
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +7 -0
- data/lib/stripe/resources/reserve/release.rb +12 -0
- data/lib/stripe/resources/risk_signals.rb +24 -0
- data/lib/stripe/resources/setup_attempt.rb +51 -0
- data/lib/stripe/resources/setup_intent.rb +129 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +683 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +312 -0
- data/lib/stripe/resources/source.rb +54 -0
- data/lib/stripe/resources/subscription.rb +296 -1
- data/lib/stripe/resources/subscription_item.rb +41 -1
- data/lib/stripe/resources/subscription_schedule.rb +558 -3
- data/lib/stripe/resources/tax/calculation_line_item.rb +43 -1
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/location.rb +74 -0
- data/lib/stripe/resources/tax/registration.rb +144 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/tax_fund.rb +179 -0
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +181 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/token.rb +15 -1
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +773 -0
- data/lib/stripe/resources/v2/billing/cadence_spend_modifier.rb +103 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/contract.rb +541 -0
- data/lib/stripe/resources/v2/billing/contract_pricing_line_quantity_change.rb +59 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +358 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +711 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +140 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +101 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/one_time_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +97 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +719 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +41 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +71 -0
- data/lib/stripe/resources/v2/billing/rate_card_custom_pricing_unit_overage_rate.rb +48 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +131 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +97 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +37 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +306 -0
- data/lib/stripe/resources/v2/core/account.rb +19893 -1376
- data/lib/stripe/resources/v2/core/account_evaluation.rb +106 -0
- data/lib/stripe/resources/v2/core/account_link.rb +72 -0
- data/lib/stripe/resources/v2/core/approval_request.rb +337 -0
- data/lib/stripe/resources/v2/core/batch_job.rb +565 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +146 -0
- data/lib/stripe/resources/v2/core/connection_session.rb +58 -0
- data/lib/stripe/resources/v2/core/event.rb +66 -1
- data/lib/stripe/resources/v2/core/event_notification.rb +4 -6
- data/lib/stripe/resources/v2/core/fee_batch.rb +225 -0
- data/lib/stripe/resources/v2/core/fee_entry.rb +173 -0
- data/lib/stripe/resources/v2/core/health/alert.rb +574 -0
- data/lib/stripe/resources/v2/core/health/alert_history_entry.rb +544 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
- data/lib/stripe/resources/v2/data/analytics/metric_query_result.rb +106 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +159 -0
- data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
- data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +29 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +31 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +350 -0
- data/lib/stripe/resources/v2/iam/api_key.rb +133 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +69 -0
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +66 -0
- data/lib/stripe/resources/v2/money_management/debit_dispute.rb +113 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +311 -0
- data/lib/stripe/resources/v2/money_management/financial_account_statement.rb +110 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +225 -0
- data/lib/stripe/resources/v2/money_management/financial_address_debit_simulation.rb +31 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +376 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +216 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +239 -0
- data/lib/stripe/resources/v2/money_management/payout_intent.rb +337 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +185 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +434 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +293 -0
- data/lib/stripe/resources/v2/money_management/received_debit_mandate.rb +121 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +190 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +157 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +292 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +77 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +65 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +159 -0
- data/lib/stripe/resources/v2/risk/inquiry.rb +89 -0
- data/lib/stripe/resources/v2/signals/account_activity.rb +250 -0
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +247 -0
- data/lib/stripe/resources/v2/signals/account_signal.rb +315 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +145 -0
- data/lib/stripe/resources/v2/tax/operations_resolve_address_result.rb +82 -0
- data/lib/stripe/resources.rb +1919 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_service.rb +46 -1
- data/lib/stripe/services/account_signals_service.rb +17 -0
- data/lib/stripe/services/balance_transfer_service.rb +17 -0
- data/lib/stripe/services/billing/alert_notification_service.rb +19 -0
- data/lib/stripe/services/billing/alert_service.rb +9 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +4 -0
- data/lib/stripe/services/billing_service.rb +2 -2
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/checkout/session_service.rb +11 -0
- data/lib/stripe/services/coupon_service.rb +44 -0
- data/lib/stripe/services/credit_note_service.rb +14 -0
- data/lib/stripe/services/crypto/customer_consumer_wallet_service.rb +19 -0
- data/lib/stripe/services/crypto/customer_payment_token_service.rb +19 -0
- data/lib/stripe/services/crypto/customer_service.rb +27 -0
- data/lib/stripe/services/crypto/deposit_address_service.rb +43 -0
- data/lib/stripe/services/crypto/onramp_session_service.rb +69 -0
- data/lib/stripe/services/crypto/onramp_transaction_limits_service.rb +19 -0
- data/lib/stripe/services/crypto_service.rb +16 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +15 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +15 -0
- data/lib/stripe/services/customer_payment_source_service.rb +60 -0
- data/lib/stripe/services/customer_service.rb +61 -1
- data/lib/stripe/services/customer_session_service.rb +14 -0
- data/lib/stripe/services/customer_tax_exemption_service.rb +50 -0
- data/lib/stripe/services/customer_tax_id_service.rb +30 -0
- data/lib/stripe/services/delegated_checkout/order_service.rb +19 -0
- data/lib/stripe/services/delegated_checkout/requested_session_order_service.rb +19 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +70 -0
- data/lib/stripe/services/delegated_checkout_service.rb +14 -0
- data/lib/stripe/services/dispute_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/gift_card_operation_service.rb +17 -0
- data/lib/stripe/services/gift_card_service.rb +77 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/invoice_item_service.rb +44 -0
- data/lib/stripe/services/invoice_line_item_service.rb +15 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +30 -0
- data/lib/stripe/services/invoice_service.rb +189 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +85 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing/program_service.rb +52 -0
- data/lib/stripe/services/issuing_service.rb +6 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/oauth_service.rb +1 -1
- data/lib/stripe/services/orchestration/payment_attempt_service.rb +19 -0
- data/lib/stripe/services/orchestration_service.rb +13 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +88 -0
- data/lib/stripe/services/payment_intent_service.rb +66 -0
- data/lib/stripe/services/payment_location_capability_service.rb +39 -0
- data/lib/stripe/services/payment_location_service.rb +61 -0
- data/lib/stripe/services/payment_method_service.rb +26 -0
- data/lib/stripe/services/payment_plan_service.rb +50 -0
- data/lib/stripe/services/payment_record_service.rb +26 -0
- data/lib/stripe/services/price_service.rb +29 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +41 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/product_feature_service.rb +30 -0
- data/lib/stripe/services/product_service.rb +44 -0
- data/lib/stripe/services/promotion_code_service.rb +29 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar/customer_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar/issuing_authorization_evaluation_service.rb +19 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +14 -0
- data/lib/stripe/services/radar_service.rb +5 -1
- data/lib/stripe/services/refund_service.rb +29 -0
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_item_service.rb +44 -0
- data/lib/stripe/services/subscription_schedule_service.rb +70 -0
- data/lib/stripe/services/subscription_service.rb +111 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax/registration_service.rb +29 -0
- data/lib/stripe/services/tax/settings_service.rb +14 -0
- data/lib/stripe/services/tax/transaction_service.rb +14 -0
- data/lib/stripe/services/tax_fund_service.rb +22 -0
- data/lib/stripe/services/tax_id_service.rb +14 -0
- data/lib/stripe/services/tax_rate_service.rb +29 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_service.rb +44 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers/issuing/dispute_service.rb +65 -0
- data/lib/stripe/services/test_helpers/issuing_service.rb +2 -1
- data/lib/stripe/services/test_helpers/payment_intent_service.rb +19 -0
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +4 -1
- data/lib/stripe/services/v1_services.rb +21 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +73 -0
- data/lib/stripe/services/v2/billing/cadences/spend_modifier_rule_service.rb +34 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/contract_service.rb +102 -0
- data/lib/stripe/services/v2/billing/contracts/pricing_lines/quantity_change_service.rb +30 -0
- data/lib/stripe/services/v2/billing/contracts/pricing_lines_service.rb +20 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +98 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +69 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/one_time_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +79 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/custom_pricing_unit_overage_rate_service.rb +56 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +61 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +47 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_evaluation_service.rb +21 -0
- data/lib/stripe/services/v2/core/approval_request_service.rb +70 -0
- data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +47 -0
- data/lib/stripe/services/v2/core/connection_session_service.rb +32 -0
- data/lib/stripe/services/v2/core/fee_batch_service.rb +32 -0
- data/lib/stripe/services/v2/core/fee_entry_service.rb +32 -0
- data/lib/stripe/services/v2/core/health/alert_service.rb +41 -0
- data/lib/stripe/services/v2/core/health/alerts/history_service.rb +25 -0
- data/lib/stripe/services/v2/core/health_service.rb +17 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +106 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +10 -1
- data/lib/stripe/services/v2/data/analytics/metric_query_service.rb +23 -0
- data/lib/stripe/services/v2/data/analytics_service.rb +17 -0
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data_service.rb +16 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
- data/lib/stripe/services/v2/iam_service.rb +16 -0
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +78 -0
- data/lib/stripe/services/v2/money_management/financial_accounts/statement_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_intent_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +66 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_mandate_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/test_helpers_service.rb +18 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +43 -0
- data/lib/stripe/services/v2/money_management_service.rb +40 -0
- data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +87 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +83 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +56 -0
- data/lib/stripe/services/v2/payments_service.rb +17 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/risk/inquiry_service.rb +43 -0
- data/lib/stripe/services/v2/risk_service.rb +15 -0
- data/lib/stripe/services/v2/signals/account_activity_service.rb +43 -0
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +32 -0
- data/lib/stripe/services/v2/signals/account_signal_service.rb +32 -0
- data/lib/stripe/services/v2/signals_service.rb +17 -0
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +73 -0
- data/lib/stripe/services/v2/tax/operation_service.rb +21 -0
- data/lib/stripe/services/v2/tax_service.rb +16 -0
- data/lib/stripe/services/v2/test_helper_service.rb +16 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +13 -1
- data/lib/stripe/services.rb +458 -2
- data/lib/stripe/stripe_client.rb +4 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_context.rb +1 -7
- data/lib/stripe/stripe_event_notification_handler.rb +1727 -44
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -33
- data/lib/stripe/v2_list_object.rb +1 -2
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +0 -8
- data/lib/stripe.rb +53 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +2 -0
- data/rbi/stripe/stripe_client.rbi +1 -1
- data/rbi/stripe.rbi +264708 -114523
- metadata +1171 -10
- data/lib/stripe/params/billing/feedback_option_create_params.rb +0 -18
- data/lib/stripe/params/billing/feedback_option_update_params.rb +0 -18
- data/lib/stripe/services/billing/feedback_option_service.rb +0 -63
|
@@ -27,6 +27,131 @@ module Stripe
|
|
|
27
27
|
|
|
28
28
|
nested_resource_class_methods :amount_details_line_item, operations: %i[list]
|
|
29
29
|
|
|
30
|
+
class AdvancedFeatureDetails < ::Stripe::StripeObject
|
|
31
|
+
class DecrementalAuthorization < ::Stripe::StripeObject
|
|
32
|
+
# Indicates whether the feature is supported.
|
|
33
|
+
attr_reader :status
|
|
34
|
+
|
|
35
|
+
def self.inner_class_types
|
|
36
|
+
@inner_class_types = {}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def self.field_remappings
|
|
40
|
+
@field_remappings = {}
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
class ForcedCapture < ::Stripe::StripeObject
|
|
45
|
+
# Timestamp at which the forced capture window expires.
|
|
46
|
+
attr_reader :expires_at
|
|
47
|
+
# Indicates whether forced capture is supported.
|
|
48
|
+
attr_reader :status
|
|
49
|
+
|
|
50
|
+
def self.inner_class_types
|
|
51
|
+
@inner_class_types = {}
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def self.field_remappings
|
|
55
|
+
@field_remappings = {}
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
class IncrementalAuthorization < ::Stripe::StripeObject
|
|
60
|
+
# Indicates whether the feature is supported.
|
|
61
|
+
attr_reader :status
|
|
62
|
+
|
|
63
|
+
def self.inner_class_types
|
|
64
|
+
@inner_class_types = {}
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
def self.field_remappings
|
|
68
|
+
@field_remappings = {}
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
class Multicapture < ::Stripe::StripeObject
|
|
73
|
+
# Indicates whether the feature is supported.
|
|
74
|
+
attr_reader :status
|
|
75
|
+
|
|
76
|
+
def self.inner_class_types
|
|
77
|
+
@inner_class_types = {}
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
def self.field_remappings
|
|
81
|
+
@field_remappings = {}
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class Overcapture < ::Stripe::StripeObject
|
|
86
|
+
# The maximum amount that can be captured.
|
|
87
|
+
attr_reader :maximum_amount_capturable
|
|
88
|
+
# Indicates whether overcapture is supported.
|
|
89
|
+
attr_reader :status
|
|
90
|
+
|
|
91
|
+
def self.inner_class_types
|
|
92
|
+
@inner_class_types = {}
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
def self.field_remappings
|
|
96
|
+
@field_remappings = {}
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
# Timestamp at which the authorization will expire if not captured.
|
|
100
|
+
attr_reader :capture_before
|
|
101
|
+
# Attribute for field decremental_authorization
|
|
102
|
+
attr_reader :decremental_authorization
|
|
103
|
+
# Attribute for field forced_capture
|
|
104
|
+
attr_reader :forced_capture
|
|
105
|
+
# Attribute for field incremental_authorization
|
|
106
|
+
attr_reader :incremental_authorization
|
|
107
|
+
# Attribute for field multicapture
|
|
108
|
+
attr_reader :multicapture
|
|
109
|
+
# Attribute for field overcapture
|
|
110
|
+
attr_reader :overcapture
|
|
111
|
+
|
|
112
|
+
def self.inner_class_types
|
|
113
|
+
@inner_class_types = {
|
|
114
|
+
decremental_authorization: DecrementalAuthorization,
|
|
115
|
+
forced_capture: ForcedCapture,
|
|
116
|
+
incremental_authorization: IncrementalAuthorization,
|
|
117
|
+
multicapture: Multicapture,
|
|
118
|
+
overcapture: Overcapture,
|
|
119
|
+
}
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
def self.field_remappings
|
|
123
|
+
@field_remappings = {}
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
class AgentDetails < ::Stripe::StripeObject
|
|
128
|
+
# The name of the agent that initiated the payment.
|
|
129
|
+
attr_reader :name
|
|
130
|
+
# The Stripe profile associated with the agent that initiated the payment.
|
|
131
|
+
attr_reader :network_business_profile
|
|
132
|
+
|
|
133
|
+
def self.inner_class_types
|
|
134
|
+
@inner_class_types = {}
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
def self.field_remappings
|
|
138
|
+
@field_remappings = {}
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
class AllocatedFunds < ::Stripe::StripeObject
|
|
143
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
144
|
+
attr_reader :enabled
|
|
145
|
+
|
|
146
|
+
def self.inner_class_types
|
|
147
|
+
@inner_class_types = {}
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
def self.field_remappings
|
|
151
|
+
@field_remappings = {}
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
30
155
|
class AmountDetails < ::Stripe::StripeObject
|
|
31
156
|
class Error < ::Stripe::StripeObject
|
|
32
157
|
# The code of the error that occurred when validating the current amount details.
|
|
@@ -60,6 +185,25 @@ module Stripe
|
|
|
60
185
|
end
|
|
61
186
|
end
|
|
62
187
|
|
|
188
|
+
class Surcharge < ::Stripe::StripeObject
|
|
189
|
+
# Portion of the amount that corresponds to a surcharge.
|
|
190
|
+
attr_reader :amount
|
|
191
|
+
# Indicate whether to enforce validations on the surcharge amount.
|
|
192
|
+
attr_reader :enforce_validation
|
|
193
|
+
# The maximum amount allowed for the surcharge.
|
|
194
|
+
attr_reader :maximum_amount
|
|
195
|
+
# The status of the surcharge.
|
|
196
|
+
attr_reader :status
|
|
197
|
+
|
|
198
|
+
def self.inner_class_types
|
|
199
|
+
@inner_class_types = {}
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
def self.field_remappings
|
|
203
|
+
@field_remappings = {}
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
|
|
63
207
|
class Tax < ::Stripe::StripeObject
|
|
64
208
|
# 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.
|
|
65
209
|
#
|
|
@@ -97,13 +241,58 @@ module Stripe
|
|
|
97
241
|
attr_reader :line_items
|
|
98
242
|
# Attribute for field shipping
|
|
99
243
|
attr_reader :shipping
|
|
244
|
+
# Attribute for field surcharge
|
|
245
|
+
attr_reader :surcharge
|
|
100
246
|
# Attribute for field tax
|
|
101
247
|
attr_reader :tax
|
|
102
248
|
# Attribute for field tip
|
|
103
249
|
attr_reader :tip
|
|
104
250
|
|
|
105
251
|
def self.inner_class_types
|
|
106
|
-
@inner_class_types = {
|
|
252
|
+
@inner_class_types = {
|
|
253
|
+
error: Error,
|
|
254
|
+
shipping: Shipping,
|
|
255
|
+
surcharge: Surcharge,
|
|
256
|
+
tax: Tax,
|
|
257
|
+
tip: Tip,
|
|
258
|
+
}
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
def self.field_remappings
|
|
262
|
+
@field_remappings = {}
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
class AsyncWorkflows < ::Stripe::StripeObject
|
|
267
|
+
class Inputs < ::Stripe::StripeObject
|
|
268
|
+
class Tax < ::Stripe::StripeObject
|
|
269
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
270
|
+
attr_reader :calculation
|
|
271
|
+
|
|
272
|
+
def self.inner_class_types
|
|
273
|
+
@inner_class_types = {}
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
def self.field_remappings
|
|
277
|
+
@field_remappings = {}
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
# Attribute for field tax
|
|
281
|
+
attr_reader :tax
|
|
282
|
+
|
|
283
|
+
def self.inner_class_types
|
|
284
|
+
@inner_class_types = { tax: Tax }
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
def self.field_remappings
|
|
288
|
+
@field_remappings = {}
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
# Attribute for field inputs
|
|
292
|
+
attr_reader :inputs
|
|
293
|
+
|
|
294
|
+
def self.inner_class_types
|
|
295
|
+
@inner_class_types = { inputs: Inputs }
|
|
107
296
|
end
|
|
108
297
|
|
|
109
298
|
def self.field_remappings
|
|
@@ -176,6 +365,9 @@ module Stripe
|
|
|
176
365
|
attr_reader :decline_code
|
|
177
366
|
# A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
|
|
178
367
|
attr_reader :doc_url
|
|
368
|
+
# A GiftCardOperation represents an operation performed on a third-party gift card,
|
|
369
|
+
# such as activation, reload, cashout, balance check, or void.
|
|
370
|
+
attr_reader :gift_card_operation
|
|
179
371
|
# A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
|
|
180
372
|
attr_reader :message
|
|
181
373
|
# For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
|
|
@@ -352,6 +544,199 @@ module Stripe
|
|
|
352
544
|
end
|
|
353
545
|
end
|
|
354
546
|
|
|
547
|
+
class CryptoDisplayDetails < ::Stripe::StripeObject
|
|
548
|
+
class DepositAddresses < ::Stripe::StripeObject
|
|
549
|
+
class Base < ::Stripe::StripeObject
|
|
550
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
551
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
552
|
+
attr_reader :token_contract_address
|
|
553
|
+
# The supported token currency.
|
|
554
|
+
attr_reader :token_currency
|
|
555
|
+
|
|
556
|
+
def self.inner_class_types
|
|
557
|
+
@inner_class_types = {}
|
|
558
|
+
end
|
|
559
|
+
|
|
560
|
+
def self.field_remappings
|
|
561
|
+
@field_remappings = {}
|
|
562
|
+
end
|
|
563
|
+
end
|
|
564
|
+
# Address of the deposit address.
|
|
565
|
+
attr_reader :address
|
|
566
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
567
|
+
attr_reader :refund_address
|
|
568
|
+
# The token currencies supported on this network.
|
|
569
|
+
attr_reader :supported_tokens
|
|
570
|
+
|
|
571
|
+
def self.inner_class_types
|
|
572
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
def self.field_remappings
|
|
576
|
+
@field_remappings = {}
|
|
577
|
+
end
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
class Ethereum < ::Stripe::StripeObject
|
|
581
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
582
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
583
|
+
attr_reader :token_contract_address
|
|
584
|
+
# The supported token currency.
|
|
585
|
+
attr_reader :token_currency
|
|
586
|
+
|
|
587
|
+
def self.inner_class_types
|
|
588
|
+
@inner_class_types = {}
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
def self.field_remappings
|
|
592
|
+
@field_remappings = {}
|
|
593
|
+
end
|
|
594
|
+
end
|
|
595
|
+
# Address of the deposit address.
|
|
596
|
+
attr_reader :address
|
|
597
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
598
|
+
attr_reader :refund_address
|
|
599
|
+
# The token currencies supported on this network.
|
|
600
|
+
attr_reader :supported_tokens
|
|
601
|
+
|
|
602
|
+
def self.inner_class_types
|
|
603
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
def self.field_remappings
|
|
607
|
+
@field_remappings = {}
|
|
608
|
+
end
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
class Polygon < ::Stripe::StripeObject
|
|
612
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
613
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
614
|
+
attr_reader :token_contract_address
|
|
615
|
+
# The supported token currency.
|
|
616
|
+
attr_reader :token_currency
|
|
617
|
+
|
|
618
|
+
def self.inner_class_types
|
|
619
|
+
@inner_class_types = {}
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
def self.field_remappings
|
|
623
|
+
@field_remappings = {}
|
|
624
|
+
end
|
|
625
|
+
end
|
|
626
|
+
# Address of the deposit address.
|
|
627
|
+
attr_reader :address
|
|
628
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
629
|
+
attr_reader :refund_address
|
|
630
|
+
# The token currencies supported on this network.
|
|
631
|
+
attr_reader :supported_tokens
|
|
632
|
+
|
|
633
|
+
def self.inner_class_types
|
|
634
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
def self.field_remappings
|
|
638
|
+
@field_remappings = {}
|
|
639
|
+
end
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
class Solana < ::Stripe::StripeObject
|
|
643
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
644
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
645
|
+
attr_reader :token_contract_address
|
|
646
|
+
# The supported token currency.
|
|
647
|
+
attr_reader :token_currency
|
|
648
|
+
|
|
649
|
+
def self.inner_class_types
|
|
650
|
+
@inner_class_types = {}
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
def self.field_remappings
|
|
654
|
+
@field_remappings = {}
|
|
655
|
+
end
|
|
656
|
+
end
|
|
657
|
+
# Address of the deposit address.
|
|
658
|
+
attr_reader :address
|
|
659
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
660
|
+
attr_reader :refund_address
|
|
661
|
+
# The token currencies supported on this network.
|
|
662
|
+
attr_reader :supported_tokens
|
|
663
|
+
|
|
664
|
+
def self.inner_class_types
|
|
665
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
def self.field_remappings
|
|
669
|
+
@field_remappings = {}
|
|
670
|
+
end
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
class Tempo < ::Stripe::StripeObject
|
|
674
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
675
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
676
|
+
attr_reader :token_contract_address
|
|
677
|
+
# The supported token currency.
|
|
678
|
+
attr_reader :token_currency
|
|
679
|
+
|
|
680
|
+
def self.inner_class_types
|
|
681
|
+
@inner_class_types = {}
|
|
682
|
+
end
|
|
683
|
+
|
|
684
|
+
def self.field_remappings
|
|
685
|
+
@field_remappings = {}
|
|
686
|
+
end
|
|
687
|
+
end
|
|
688
|
+
# Address of the deposit address.
|
|
689
|
+
attr_reader :address
|
|
690
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
691
|
+
attr_reader :refund_address
|
|
692
|
+
# The token currencies supported on this network.
|
|
693
|
+
attr_reader :supported_tokens
|
|
694
|
+
|
|
695
|
+
def self.inner_class_types
|
|
696
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
def self.field_remappings
|
|
700
|
+
@field_remappings = {}
|
|
701
|
+
end
|
|
702
|
+
end
|
|
703
|
+
# Attribute for field base
|
|
704
|
+
attr_reader :base
|
|
705
|
+
# Attribute for field ethereum
|
|
706
|
+
attr_reader :ethereum
|
|
707
|
+
# Attribute for field polygon
|
|
708
|
+
attr_reader :polygon
|
|
709
|
+
# Attribute for field solana
|
|
710
|
+
attr_reader :solana
|
|
711
|
+
# Attribute for field tempo
|
|
712
|
+
attr_reader :tempo
|
|
713
|
+
|
|
714
|
+
def self.inner_class_types
|
|
715
|
+
@inner_class_types = {
|
|
716
|
+
base: Base,
|
|
717
|
+
ethereum: Ethereum,
|
|
718
|
+
polygon: Polygon,
|
|
719
|
+
solana: Solana,
|
|
720
|
+
tempo: Tempo,
|
|
721
|
+
}
|
|
722
|
+
end
|
|
723
|
+
|
|
724
|
+
def self.field_remappings
|
|
725
|
+
@field_remappings = {}
|
|
726
|
+
end
|
|
727
|
+
end
|
|
728
|
+
# Attribute for field deposit_addresses
|
|
729
|
+
attr_reader :deposit_addresses
|
|
730
|
+
|
|
731
|
+
def self.inner_class_types
|
|
732
|
+
@inner_class_types = { deposit_addresses: DepositAddresses }
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
def self.field_remappings
|
|
736
|
+
@field_remappings = {}
|
|
737
|
+
end
|
|
738
|
+
end
|
|
739
|
+
|
|
355
740
|
class DisplayBankTransferInstructions < ::Stripe::StripeObject
|
|
356
741
|
class FinancialAddress < ::Stripe::StripeObject
|
|
357
742
|
class Aba < ::Stripe::StripeObject
|
|
@@ -1171,6 +1556,19 @@ module Stripe
|
|
|
1171
1556
|
end
|
|
1172
1557
|
end
|
|
1173
1558
|
|
|
1559
|
+
class WechatPayHandleAppRedirect < ::Stripe::StripeObject
|
|
1560
|
+
# Session ID of the WeChat Pay signing session
|
|
1561
|
+
attr_reader :session_id
|
|
1562
|
+
|
|
1563
|
+
def self.inner_class_types
|
|
1564
|
+
@inner_class_types = {}
|
|
1565
|
+
end
|
|
1566
|
+
|
|
1567
|
+
def self.field_remappings
|
|
1568
|
+
@field_remappings = {}
|
|
1569
|
+
end
|
|
1570
|
+
end
|
|
1571
|
+
|
|
1174
1572
|
class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject
|
|
1175
1573
|
# app_id is the APP ID registered on WeChat open platform
|
|
1176
1574
|
attr_reader :app_id
|
|
@@ -1218,6 +1616,8 @@ module Stripe
|
|
|
1218
1616
|
attr_reader :card_await_notification
|
|
1219
1617
|
# Attribute for field cashapp_handle_redirect_or_display_qr_code
|
|
1220
1618
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
|
1619
|
+
# Attribute for field crypto_display_details
|
|
1620
|
+
attr_reader :crypto_display_details
|
|
1221
1621
|
# Attribute for field display_bank_transfer_instructions
|
|
1222
1622
|
attr_reader :display_bank_transfer_instructions
|
|
1223
1623
|
# Attribute for field klarna_display_qr_code
|
|
@@ -1248,6 +1648,8 @@ module Stripe
|
|
|
1248
1648
|
attr_reader :verify_with_microdeposits
|
|
1249
1649
|
# Attribute for field wechat_pay_display_qr_code
|
|
1250
1650
|
attr_reader :wechat_pay_display_qr_code
|
|
1651
|
+
# Attribute for field wechat_pay_handle_app_redirect
|
|
1652
|
+
attr_reader :wechat_pay_handle_app_redirect
|
|
1251
1653
|
# Attribute for field wechat_pay_redirect_to_android_app
|
|
1252
1654
|
attr_reader :wechat_pay_redirect_to_android_app
|
|
1253
1655
|
# Attribute for field wechat_pay_redirect_to_ios_app
|
|
@@ -1260,6 +1662,7 @@ module Stripe
|
|
|
1260
1662
|
boleto_display_details: BoletoDisplayDetails,
|
|
1261
1663
|
card_await_notification: CardAwaitNotification,
|
|
1262
1664
|
cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
|
|
1665
|
+
crypto_display_details: CryptoDisplayDetails,
|
|
1263
1666
|
display_bank_transfer_instructions: DisplayBankTransferInstructions,
|
|
1264
1667
|
klarna_display_qr_code: KlarnaDisplayQrCode,
|
|
1265
1668
|
konbini_display_details: KonbiniDisplayDetails,
|
|
@@ -1273,6 +1676,7 @@ module Stripe
|
|
|
1273
1676
|
upi_handle_redirect_or_display_qr_code: UpiHandleRedirectOrDisplayQrCode,
|
|
1274
1677
|
verify_with_microdeposits: VerifyWithMicrodeposits,
|
|
1275
1678
|
wechat_pay_display_qr_code: WechatPayDisplayQrCode,
|
|
1679
|
+
wechat_pay_handle_app_redirect: WechatPayHandleAppRedirect,
|
|
1276
1680
|
wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
|
|
1277
1681
|
wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
|
|
1278
1682
|
}
|
|
@@ -1284,17 +1688,1463 @@ module Stripe
|
|
|
1284
1688
|
end
|
|
1285
1689
|
|
|
1286
1690
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1691
|
+
class Benefit < ::Stripe::StripeObject
|
|
1692
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
|
1693
|
+
# Whether meal voucher benefit is enabled for this payment.
|
|
1694
|
+
attr_reader :enabled
|
|
1695
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1696
|
+
attr_reader :siret
|
|
1697
|
+
|
|
1698
|
+
def self.inner_class_types
|
|
1699
|
+
@inner_class_types = {}
|
|
1700
|
+
end
|
|
1701
|
+
|
|
1702
|
+
def self.field_remappings
|
|
1703
|
+
@field_remappings = {}
|
|
1704
|
+
end
|
|
1705
|
+
end
|
|
1706
|
+
# Attribute for field fr_meal_voucher
|
|
1707
|
+
attr_reader :fr_meal_voucher
|
|
1708
|
+
|
|
1709
|
+
def self.inner_class_types
|
|
1710
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1711
|
+
end
|
|
1712
|
+
|
|
1713
|
+
def self.field_remappings
|
|
1714
|
+
@field_remappings = {}
|
|
1715
|
+
end
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
class CarRental < ::Stripe::StripeObject
|
|
1719
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1720
|
+
# The name of the affiliate that originated the purchase.
|
|
1721
|
+
attr_reader :name
|
|
1722
|
+
|
|
1723
|
+
def self.inner_class_types
|
|
1724
|
+
@inner_class_types = {}
|
|
1725
|
+
end
|
|
1726
|
+
|
|
1727
|
+
def self.field_remappings
|
|
1728
|
+
@field_remappings = {}
|
|
1729
|
+
end
|
|
1730
|
+
end
|
|
1731
|
+
|
|
1732
|
+
class Delivery < ::Stripe::StripeObject
|
|
1733
|
+
class Recipient < ::Stripe::StripeObject
|
|
1734
|
+
# The email of the recipient the ticket is delivered to.
|
|
1735
|
+
attr_reader :email
|
|
1736
|
+
# The name of the recipient the ticket is delivered to.
|
|
1737
|
+
attr_reader :name
|
|
1738
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1739
|
+
attr_reader :phone
|
|
1740
|
+
|
|
1741
|
+
def self.inner_class_types
|
|
1742
|
+
@inner_class_types = {}
|
|
1743
|
+
end
|
|
1744
|
+
|
|
1745
|
+
def self.field_remappings
|
|
1746
|
+
@field_remappings = {}
|
|
1747
|
+
end
|
|
1748
|
+
end
|
|
1749
|
+
# The delivery method for the payment
|
|
1750
|
+
attr_reader :mode
|
|
1751
|
+
# Attribute for field recipient
|
|
1752
|
+
attr_reader :recipient
|
|
1753
|
+
|
|
1754
|
+
def self.inner_class_types
|
|
1755
|
+
@inner_class_types = { recipient: Recipient }
|
|
1756
|
+
end
|
|
1757
|
+
|
|
1758
|
+
def self.field_remappings
|
|
1759
|
+
@field_remappings = {}
|
|
1760
|
+
end
|
|
1761
|
+
end
|
|
1762
|
+
|
|
1763
|
+
class Distance < ::Stripe::StripeObject
|
|
1764
|
+
# Distance traveled.
|
|
1765
|
+
attr_reader :amount
|
|
1766
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1767
|
+
attr_reader :unit
|
|
1768
|
+
|
|
1769
|
+
def self.inner_class_types
|
|
1770
|
+
@inner_class_types = {}
|
|
1771
|
+
end
|
|
1772
|
+
|
|
1773
|
+
def self.field_remappings
|
|
1774
|
+
@field_remappings = {}
|
|
1775
|
+
end
|
|
1776
|
+
end
|
|
1777
|
+
|
|
1778
|
+
class Driver < ::Stripe::StripeObject
|
|
1779
|
+
# Driver's identification number.
|
|
1780
|
+
attr_reader :driver_identification_number
|
|
1781
|
+
# Driver's tax number.
|
|
1782
|
+
attr_reader :driver_tax_number
|
|
1783
|
+
# Full name of the driver on the reservation.
|
|
1784
|
+
attr_reader :name
|
|
1785
|
+
|
|
1786
|
+
def self.inner_class_types
|
|
1787
|
+
@inner_class_types = {}
|
|
1788
|
+
end
|
|
1789
|
+
|
|
1790
|
+
def self.field_remappings
|
|
1791
|
+
@field_remappings = {}
|
|
1792
|
+
end
|
|
1793
|
+
end
|
|
1794
|
+
|
|
1795
|
+
class PickupAddress < ::Stripe::StripeObject
|
|
1796
|
+
# City, district, suburb, town, or village.
|
|
1797
|
+
attr_reader :city
|
|
1798
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1799
|
+
attr_reader :country
|
|
1800
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1801
|
+
attr_reader :line1
|
|
1802
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1803
|
+
attr_reader :line2
|
|
1804
|
+
# ZIP or postal code.
|
|
1805
|
+
attr_reader :postal_code
|
|
1806
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1807
|
+
attr_reader :state
|
|
1808
|
+
|
|
1809
|
+
def self.inner_class_types
|
|
1810
|
+
@inner_class_types = {}
|
|
1811
|
+
end
|
|
1812
|
+
|
|
1813
|
+
def self.field_remappings
|
|
1814
|
+
@field_remappings = {}
|
|
1815
|
+
end
|
|
1816
|
+
end
|
|
1817
|
+
|
|
1818
|
+
class ReturnAddress < ::Stripe::StripeObject
|
|
1819
|
+
# City, district, suburb, town, or village.
|
|
1820
|
+
attr_reader :city
|
|
1821
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1822
|
+
attr_reader :country
|
|
1823
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1824
|
+
attr_reader :line1
|
|
1825
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1826
|
+
attr_reader :line2
|
|
1827
|
+
# ZIP or postal code.
|
|
1828
|
+
attr_reader :postal_code
|
|
1829
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1830
|
+
attr_reader :state
|
|
1831
|
+
|
|
1832
|
+
def self.inner_class_types
|
|
1833
|
+
@inner_class_types = {}
|
|
1834
|
+
end
|
|
1835
|
+
|
|
1836
|
+
def self.field_remappings
|
|
1837
|
+
@field_remappings = {}
|
|
1838
|
+
end
|
|
1839
|
+
end
|
|
1840
|
+
# Attribute for field affiliate
|
|
1841
|
+
attr_reader :affiliate
|
|
1842
|
+
# The booking number associated with the car rental.
|
|
1843
|
+
attr_reader :booking_number
|
|
1844
|
+
# Class code of the car.
|
|
1845
|
+
attr_reader :car_class_code
|
|
1846
|
+
# Make of the car.
|
|
1847
|
+
attr_reader :car_make
|
|
1848
|
+
# Model of the car.
|
|
1849
|
+
attr_reader :car_model
|
|
1850
|
+
# The name of the rental car company.
|
|
1851
|
+
attr_reader :company
|
|
1852
|
+
# The customer service phone number of the car rental company.
|
|
1853
|
+
attr_reader :customer_service_phone_number
|
|
1854
|
+
# Number of days the car is being rented.
|
|
1855
|
+
attr_reader :days_rented
|
|
1856
|
+
# Attribute for field delivery
|
|
1857
|
+
attr_reader :delivery
|
|
1858
|
+
# Attribute for field distance
|
|
1859
|
+
attr_reader :distance
|
|
1860
|
+
# The details of the drivers associated with the trip.
|
|
1861
|
+
attr_reader :drivers
|
|
1862
|
+
# List of additional charges being billed.
|
|
1863
|
+
attr_reader :extra_charges
|
|
1864
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
1865
|
+
attr_reader :no_show
|
|
1866
|
+
# Attribute for field pickup_address
|
|
1867
|
+
attr_reader :pickup_address
|
|
1868
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1869
|
+
attr_reader :pickup_at
|
|
1870
|
+
# Name of the pickup location.
|
|
1871
|
+
attr_reader :pickup_location_name
|
|
1872
|
+
# Rental rate.
|
|
1873
|
+
attr_reader :rate_amount
|
|
1874
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1875
|
+
attr_reader :rate_interval
|
|
1876
|
+
# The full name of the person or entity renting the car.
|
|
1877
|
+
attr_reader :renter_name
|
|
1878
|
+
# Attribute for field return_address
|
|
1879
|
+
attr_reader :return_address
|
|
1880
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
1881
|
+
attr_reader :return_at
|
|
1882
|
+
# Name of the return location.
|
|
1883
|
+
attr_reader :return_location_name
|
|
1884
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1885
|
+
attr_reader :tax_exempt
|
|
1886
|
+
# The vehicle identification number of the car.
|
|
1887
|
+
attr_reader :vehicle_identification_number
|
|
1888
|
+
|
|
1889
|
+
def self.inner_class_types
|
|
1890
|
+
@inner_class_types = {
|
|
1891
|
+
affiliate: Affiliate,
|
|
1892
|
+
delivery: Delivery,
|
|
1893
|
+
distance: Distance,
|
|
1894
|
+
drivers: Driver,
|
|
1895
|
+
pickup_address: PickupAddress,
|
|
1896
|
+
return_address: ReturnAddress,
|
|
1897
|
+
}
|
|
1898
|
+
end
|
|
1899
|
+
|
|
1900
|
+
def self.field_remappings
|
|
1901
|
+
@field_remappings = {}
|
|
1902
|
+
end
|
|
1903
|
+
end
|
|
1904
|
+
|
|
1905
|
+
class CarRentalDatum < ::Stripe::StripeObject
|
|
1906
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1907
|
+
# Affiliate code.
|
|
1908
|
+
attr_reader :code
|
|
1909
|
+
# Affiliate name.
|
|
1910
|
+
attr_reader :name
|
|
1911
|
+
|
|
1912
|
+
def self.inner_class_types
|
|
1913
|
+
@inner_class_types = {}
|
|
1914
|
+
end
|
|
1915
|
+
|
|
1916
|
+
def self.field_remappings
|
|
1917
|
+
@field_remappings = {}
|
|
1918
|
+
end
|
|
1919
|
+
end
|
|
1920
|
+
|
|
1921
|
+
class Distance < ::Stripe::StripeObject
|
|
1922
|
+
# Distance amount.
|
|
1923
|
+
attr_reader :amount
|
|
1924
|
+
# Unit for the distance.
|
|
1925
|
+
attr_reader :unit
|
|
1926
|
+
|
|
1927
|
+
def self.inner_class_types
|
|
1928
|
+
@inner_class_types = {}
|
|
1929
|
+
end
|
|
1930
|
+
|
|
1931
|
+
def self.field_remappings
|
|
1932
|
+
@field_remappings = {}
|
|
1933
|
+
end
|
|
1934
|
+
end
|
|
1935
|
+
|
|
1936
|
+
class Driver < ::Stripe::StripeObject
|
|
1937
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
1938
|
+
# Day of birth.
|
|
1939
|
+
attr_reader :day
|
|
1940
|
+
# Month of birth.
|
|
1941
|
+
attr_reader :month
|
|
1942
|
+
# Year of birth.
|
|
1943
|
+
attr_reader :year
|
|
1944
|
+
|
|
1945
|
+
def self.inner_class_types
|
|
1946
|
+
@inner_class_types = {}
|
|
1947
|
+
end
|
|
1948
|
+
|
|
1949
|
+
def self.field_remappings
|
|
1950
|
+
@field_remappings = {}
|
|
1951
|
+
end
|
|
1952
|
+
end
|
|
1953
|
+
# Attribute for field date_of_birth
|
|
1954
|
+
attr_reader :date_of_birth
|
|
1955
|
+
# Driver's identification number.
|
|
1956
|
+
attr_reader :driver_identification_number
|
|
1957
|
+
# Driver's tax number.
|
|
1958
|
+
attr_reader :driver_tax_number
|
|
1959
|
+
# Full name of the driver.
|
|
1960
|
+
attr_reader :name
|
|
1961
|
+
|
|
1962
|
+
def self.inner_class_types
|
|
1963
|
+
@inner_class_types = { date_of_birth: DateOfBirth }
|
|
1964
|
+
end
|
|
1965
|
+
|
|
1966
|
+
def self.field_remappings
|
|
1967
|
+
@field_remappings = {}
|
|
1968
|
+
end
|
|
1969
|
+
end
|
|
1970
|
+
|
|
1971
|
+
class DropOff < ::Stripe::StripeObject
|
|
1972
|
+
class Address < ::Stripe::StripeObject
|
|
1973
|
+
# City, district, suburb, town, or village.
|
|
1974
|
+
attr_reader :city
|
|
1975
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1976
|
+
attr_reader :country
|
|
1977
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1978
|
+
attr_reader :line1
|
|
1979
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1980
|
+
attr_reader :line2
|
|
1981
|
+
# ZIP or postal code.
|
|
1982
|
+
attr_reader :postal_code
|
|
1983
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1984
|
+
attr_reader :state
|
|
1985
|
+
|
|
1986
|
+
def self.inner_class_types
|
|
1987
|
+
@inner_class_types = {}
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1990
|
+
def self.field_remappings
|
|
1991
|
+
@field_remappings = {}
|
|
1992
|
+
end
|
|
1993
|
+
end
|
|
1994
|
+
# Attribute for field address
|
|
1995
|
+
attr_reader :address
|
|
1996
|
+
# Name of the location.
|
|
1997
|
+
attr_reader :location_name
|
|
1998
|
+
# Time associated with the location.
|
|
1999
|
+
attr_reader :time
|
|
2000
|
+
|
|
2001
|
+
def self.inner_class_types
|
|
2002
|
+
@inner_class_types = { address: Address }
|
|
2003
|
+
end
|
|
2004
|
+
|
|
2005
|
+
def self.field_remappings
|
|
2006
|
+
@field_remappings = {}
|
|
2007
|
+
end
|
|
2008
|
+
end
|
|
2009
|
+
|
|
2010
|
+
class Insurance < ::Stripe::StripeObject
|
|
2011
|
+
# Amount of the insurance.
|
|
2012
|
+
attr_reader :amount
|
|
2013
|
+
# Currency for the insurance price.
|
|
2014
|
+
attr_reader :currency
|
|
2015
|
+
# Name of the insurance company.
|
|
2016
|
+
attr_reader :insurance_company_name
|
|
2017
|
+
# Type of insurance.
|
|
2018
|
+
attr_reader :insurance_type
|
|
2019
|
+
|
|
2020
|
+
def self.inner_class_types
|
|
2021
|
+
@inner_class_types = {}
|
|
2022
|
+
end
|
|
2023
|
+
|
|
2024
|
+
def self.field_remappings
|
|
2025
|
+
@field_remappings = {}
|
|
2026
|
+
end
|
|
2027
|
+
end
|
|
2028
|
+
|
|
2029
|
+
class Pickup < ::Stripe::StripeObject
|
|
2030
|
+
class Address < ::Stripe::StripeObject
|
|
2031
|
+
# City, district, suburb, town, or village.
|
|
2032
|
+
attr_reader :city
|
|
2033
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2034
|
+
attr_reader :country
|
|
2035
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2036
|
+
attr_reader :line1
|
|
2037
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2038
|
+
attr_reader :line2
|
|
2039
|
+
# ZIP or postal code.
|
|
2040
|
+
attr_reader :postal_code
|
|
2041
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2042
|
+
attr_reader :state
|
|
2043
|
+
|
|
2044
|
+
def self.inner_class_types
|
|
2045
|
+
@inner_class_types = {}
|
|
2046
|
+
end
|
|
2047
|
+
|
|
2048
|
+
def self.field_remappings
|
|
2049
|
+
@field_remappings = {}
|
|
2050
|
+
end
|
|
2051
|
+
end
|
|
2052
|
+
# Attribute for field address
|
|
2053
|
+
attr_reader :address
|
|
2054
|
+
# Name of the location.
|
|
2055
|
+
attr_reader :location_name
|
|
2056
|
+
# Time associated with the location.
|
|
2057
|
+
attr_reader :time
|
|
2058
|
+
|
|
2059
|
+
def self.inner_class_types
|
|
2060
|
+
@inner_class_types = { address: Address }
|
|
2061
|
+
end
|
|
2062
|
+
|
|
2063
|
+
def self.field_remappings
|
|
2064
|
+
@field_remappings = {}
|
|
2065
|
+
end
|
|
2066
|
+
end
|
|
2067
|
+
|
|
2068
|
+
class Total < ::Stripe::StripeObject
|
|
2069
|
+
class Discounts < ::Stripe::StripeObject
|
|
2070
|
+
# Corporate client discount code.
|
|
2071
|
+
attr_reader :corporate_client_code
|
|
2072
|
+
# Coupon code applied.
|
|
2073
|
+
attr_reader :coupon
|
|
2074
|
+
# Maximum free miles or kilometers included.
|
|
2075
|
+
attr_reader :maximum_free_miles_or_kilometers
|
|
2076
|
+
|
|
2077
|
+
def self.inner_class_types
|
|
2078
|
+
@inner_class_types = {}
|
|
2079
|
+
end
|
|
2080
|
+
|
|
2081
|
+
def self.field_remappings
|
|
2082
|
+
@field_remappings = {}
|
|
2083
|
+
end
|
|
2084
|
+
end
|
|
2085
|
+
|
|
2086
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2087
|
+
# Amount of the extra charge.
|
|
2088
|
+
attr_reader :amount
|
|
2089
|
+
# Type of extra charge.
|
|
2090
|
+
attr_reader :type
|
|
2091
|
+
|
|
2092
|
+
def self.inner_class_types
|
|
2093
|
+
@inner_class_types = {}
|
|
2094
|
+
end
|
|
2095
|
+
|
|
2096
|
+
def self.field_remappings
|
|
2097
|
+
@field_remappings = {}
|
|
2098
|
+
end
|
|
2099
|
+
end
|
|
2100
|
+
|
|
2101
|
+
class Tax < ::Stripe::StripeObject
|
|
2102
|
+
class TaxItem < ::Stripe::StripeObject
|
|
2103
|
+
# Tax amount.
|
|
2104
|
+
attr_reader :amount
|
|
2105
|
+
# Tax rate.
|
|
2106
|
+
attr_reader :rate
|
|
2107
|
+
# Type of tax.
|
|
2108
|
+
attr_reader :type
|
|
2109
|
+
|
|
2110
|
+
def self.inner_class_types
|
|
2111
|
+
@inner_class_types = {}
|
|
2112
|
+
end
|
|
2113
|
+
|
|
2114
|
+
def self.field_remappings
|
|
2115
|
+
@field_remappings = {}
|
|
2116
|
+
end
|
|
2117
|
+
end
|
|
2118
|
+
# Indicates whether the rental is tax-exempt.
|
|
2119
|
+
attr_reader :tax_exempt_indicator
|
|
2120
|
+
# Tax details.
|
|
2121
|
+
attr_reader :tax_items
|
|
2122
|
+
|
|
2123
|
+
def self.inner_class_types
|
|
2124
|
+
@inner_class_types = { tax_items: TaxItem }
|
|
2125
|
+
end
|
|
2126
|
+
|
|
2127
|
+
def self.field_remappings
|
|
2128
|
+
@field_remappings = {}
|
|
2129
|
+
end
|
|
2130
|
+
end
|
|
2131
|
+
# Total amount.
|
|
2132
|
+
attr_reader :amount
|
|
2133
|
+
# Currency for the total amount.
|
|
2134
|
+
attr_reader :currency
|
|
2135
|
+
# Attribute for field discounts
|
|
2136
|
+
attr_reader :discounts
|
|
2137
|
+
# Additional charges for the rental.
|
|
2138
|
+
attr_reader :extra_charges
|
|
2139
|
+
# Rate per unit.
|
|
2140
|
+
attr_reader :rate_per_unit
|
|
2141
|
+
# Unit for the rate.
|
|
2142
|
+
attr_reader :rate_unit
|
|
2143
|
+
# Attribute for field tax
|
|
2144
|
+
attr_reader :tax
|
|
2145
|
+
|
|
2146
|
+
def self.inner_class_types
|
|
2147
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2148
|
+
end
|
|
2149
|
+
|
|
2150
|
+
def self.field_remappings
|
|
2151
|
+
@field_remappings = {}
|
|
2152
|
+
end
|
|
2153
|
+
end
|
|
2154
|
+
|
|
2155
|
+
class Vehicle < ::Stripe::StripeObject
|
|
2156
|
+
# Make of the vehicle.
|
|
2157
|
+
attr_reader :make
|
|
2158
|
+
# Model of the vehicle.
|
|
2159
|
+
attr_reader :model
|
|
2160
|
+
# Odometer reading.
|
|
2161
|
+
attr_reader :odometer
|
|
2162
|
+
# Type of the vehicle.
|
|
2163
|
+
attr_reader :type
|
|
2164
|
+
# Class of the vehicle.
|
|
2165
|
+
attr_reader :vehicle_class
|
|
2166
|
+
# Vehicle identification number.
|
|
2167
|
+
attr_reader :vehicle_identification_number
|
|
2168
|
+
|
|
2169
|
+
def self.inner_class_types
|
|
2170
|
+
@inner_class_types = {}
|
|
2171
|
+
end
|
|
2172
|
+
|
|
2173
|
+
def self.field_remappings
|
|
2174
|
+
@field_remappings = {}
|
|
2175
|
+
end
|
|
2176
|
+
end
|
|
2177
|
+
# Attribute for field affiliate
|
|
2178
|
+
attr_reader :affiliate
|
|
2179
|
+
# The booking number associated with the car rental.
|
|
2180
|
+
attr_reader :booking_number
|
|
2181
|
+
# The name of the car rental company.
|
|
2182
|
+
attr_reader :carrier_name
|
|
2183
|
+
# The customer service phone number of the car rental company.
|
|
2184
|
+
attr_reader :customer_service_phone_number
|
|
2185
|
+
# Number of days the car is being rented.
|
|
2186
|
+
attr_reader :days_rented
|
|
2187
|
+
# Attribute for field distance
|
|
2188
|
+
attr_reader :distance
|
|
2189
|
+
# The details of the drivers associated with the rental.
|
|
2190
|
+
attr_reader :drivers
|
|
2191
|
+
# Attribute for field drop_off
|
|
2192
|
+
attr_reader :drop_off
|
|
2193
|
+
# Insurance details for the car rental.
|
|
2194
|
+
attr_reader :insurances
|
|
2195
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
2196
|
+
attr_reader :no_show_indicator
|
|
2197
|
+
# Attribute for field pickup
|
|
2198
|
+
attr_reader :pickup
|
|
2199
|
+
# Name of the person renting the vehicle.
|
|
2200
|
+
attr_reader :renter_name
|
|
2201
|
+
# Attribute for field total
|
|
2202
|
+
attr_reader :total
|
|
2203
|
+
# Attribute for field vehicle
|
|
2204
|
+
attr_reader :vehicle
|
|
2205
|
+
|
|
2206
|
+
def self.inner_class_types
|
|
2207
|
+
@inner_class_types = {
|
|
2208
|
+
affiliate: Affiliate,
|
|
2209
|
+
distance: Distance,
|
|
2210
|
+
drivers: Driver,
|
|
2211
|
+
drop_off: DropOff,
|
|
2212
|
+
insurances: Insurance,
|
|
2213
|
+
pickup: Pickup,
|
|
2214
|
+
total: Total,
|
|
2215
|
+
vehicle: Vehicle,
|
|
2216
|
+
}
|
|
2217
|
+
end
|
|
2218
|
+
|
|
2219
|
+
def self.field_remappings
|
|
2220
|
+
@field_remappings = {}
|
|
2221
|
+
end
|
|
2222
|
+
end
|
|
2223
|
+
|
|
2224
|
+
class EventDetails < ::Stripe::StripeObject
|
|
2225
|
+
class Address < ::Stripe::StripeObject
|
|
2226
|
+
# City, district, suburb, town, or village.
|
|
2227
|
+
attr_reader :city
|
|
2228
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2229
|
+
attr_reader :country
|
|
2230
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2231
|
+
attr_reader :line1
|
|
2232
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2233
|
+
attr_reader :line2
|
|
2234
|
+
# ZIP or postal code.
|
|
2235
|
+
attr_reader :postal_code
|
|
2236
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2237
|
+
attr_reader :state
|
|
2238
|
+
|
|
2239
|
+
def self.inner_class_types
|
|
2240
|
+
@inner_class_types = {}
|
|
2241
|
+
end
|
|
2242
|
+
|
|
2243
|
+
def self.field_remappings
|
|
2244
|
+
@field_remappings = {}
|
|
2245
|
+
end
|
|
2246
|
+
end
|
|
2247
|
+
|
|
2248
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2249
|
+
# The name of the affiliate that originated the purchase.
|
|
2250
|
+
attr_reader :name
|
|
2251
|
+
|
|
2252
|
+
def self.inner_class_types
|
|
2253
|
+
@inner_class_types = {}
|
|
2254
|
+
end
|
|
2255
|
+
|
|
2256
|
+
def self.field_remappings
|
|
2257
|
+
@field_remappings = {}
|
|
2258
|
+
end
|
|
2259
|
+
end
|
|
2260
|
+
|
|
2261
|
+
class Delivery < ::Stripe::StripeObject
|
|
2262
|
+
class Recipient < ::Stripe::StripeObject
|
|
2263
|
+
# The email of the recipient the ticket is delivered to.
|
|
2264
|
+
attr_reader :email
|
|
2265
|
+
# The name of the recipient the ticket is delivered to.
|
|
2266
|
+
attr_reader :name
|
|
2267
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
2268
|
+
attr_reader :phone
|
|
2269
|
+
|
|
2270
|
+
def self.inner_class_types
|
|
2271
|
+
@inner_class_types = {}
|
|
2272
|
+
end
|
|
2273
|
+
|
|
2274
|
+
def self.field_remappings
|
|
2275
|
+
@field_remappings = {}
|
|
2276
|
+
end
|
|
2277
|
+
end
|
|
2278
|
+
# The delivery method for the payment
|
|
2279
|
+
attr_reader :mode
|
|
2280
|
+
# Attribute for field recipient
|
|
2281
|
+
attr_reader :recipient
|
|
2282
|
+
|
|
2283
|
+
def self.inner_class_types
|
|
2284
|
+
@inner_class_types = { recipient: Recipient }
|
|
2285
|
+
end
|
|
2286
|
+
|
|
2287
|
+
def self.field_remappings
|
|
2288
|
+
@field_remappings = {}
|
|
2289
|
+
end
|
|
2290
|
+
end
|
|
2291
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
2292
|
+
attr_reader :access_controlled_venue
|
|
2293
|
+
# Attribute for field address
|
|
2294
|
+
attr_reader :address
|
|
2295
|
+
# Attribute for field affiliate
|
|
2296
|
+
attr_reader :affiliate
|
|
2297
|
+
# The name of the company
|
|
2298
|
+
attr_reader :company
|
|
2299
|
+
# Attribute for field delivery
|
|
2300
|
+
attr_reader :delivery
|
|
2301
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
2302
|
+
attr_reader :ends_at
|
|
2303
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
2304
|
+
attr_reader :genre
|
|
2305
|
+
# The name of the event.
|
|
2306
|
+
attr_reader :name
|
|
2307
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
2308
|
+
attr_reader :starts_at
|
|
2309
|
+
|
|
2310
|
+
def self.inner_class_types
|
|
2311
|
+
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
2312
|
+
end
|
|
2313
|
+
|
|
2314
|
+
def self.field_remappings
|
|
2315
|
+
@field_remappings = {}
|
|
2316
|
+
end
|
|
2317
|
+
end
|
|
2318
|
+
|
|
2319
|
+
class FleetDatum < ::Stripe::StripeObject
|
|
2320
|
+
class PrimaryFuelFields < ::Stripe::StripeObject
|
|
2321
|
+
# The fuel brand.
|
|
2322
|
+
attr_reader :brand
|
|
2323
|
+
|
|
2324
|
+
def self.inner_class_types
|
|
2325
|
+
@inner_class_types = {}
|
|
2326
|
+
end
|
|
2327
|
+
|
|
2328
|
+
def self.field_remappings
|
|
2329
|
+
@field_remappings = {}
|
|
2330
|
+
end
|
|
2331
|
+
end
|
|
2332
|
+
|
|
2333
|
+
class Station < ::Stripe::StripeObject
|
|
2334
|
+
class ServiceLocation < ::Stripe::StripeObject
|
|
2335
|
+
# City, district, suburb, town, or village.
|
|
2336
|
+
attr_reader :city
|
|
2337
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2338
|
+
attr_reader :country
|
|
2339
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2340
|
+
attr_reader :line1
|
|
2341
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2342
|
+
attr_reader :line2
|
|
2343
|
+
# ZIP or postal code.
|
|
2344
|
+
attr_reader :postal_code
|
|
2345
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2346
|
+
attr_reader :state
|
|
2347
|
+
|
|
2348
|
+
def self.inner_class_types
|
|
2349
|
+
@inner_class_types = {}
|
|
2350
|
+
end
|
|
2351
|
+
|
|
2352
|
+
def self.field_remappings
|
|
2353
|
+
@field_remappings = {}
|
|
2354
|
+
end
|
|
2355
|
+
end
|
|
2356
|
+
# Additional contact information for the station.
|
|
2357
|
+
attr_reader :additional_contact_info
|
|
2358
|
+
# The customer service phone number of the station.
|
|
2359
|
+
attr_reader :customer_service_phone_number
|
|
2360
|
+
# The partner ID code of the station.
|
|
2361
|
+
attr_reader :partner_id_code
|
|
2362
|
+
# The phone number of the station.
|
|
2363
|
+
attr_reader :phone_number
|
|
2364
|
+
# Attribute for field service_location
|
|
2365
|
+
attr_reader :service_location
|
|
2366
|
+
# The URL of the station.
|
|
2367
|
+
attr_reader :url
|
|
2368
|
+
|
|
2369
|
+
def self.inner_class_types
|
|
2370
|
+
@inner_class_types = { service_location: ServiceLocation }
|
|
2371
|
+
end
|
|
2372
|
+
|
|
2373
|
+
def self.field_remappings
|
|
2374
|
+
@field_remappings = {}
|
|
2375
|
+
end
|
|
2376
|
+
end
|
|
2377
|
+
|
|
2378
|
+
class Vat < ::Stripe::StripeObject
|
|
2379
|
+
# Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
2380
|
+
attr_reader :iob_indicator
|
|
2381
|
+
|
|
2382
|
+
def self.inner_class_types
|
|
2383
|
+
@inner_class_types = {}
|
|
2384
|
+
end
|
|
2385
|
+
|
|
2386
|
+
def self.field_remappings
|
|
2387
|
+
@field_remappings = {}
|
|
2388
|
+
end
|
|
2389
|
+
end
|
|
2390
|
+
# Attribute for field primary_fuel_fields
|
|
2391
|
+
attr_reader :primary_fuel_fields
|
|
2392
|
+
# Attribute for field station
|
|
2393
|
+
attr_reader :station
|
|
2394
|
+
# Attribute for field vat
|
|
2395
|
+
attr_reader :vat
|
|
2396
|
+
|
|
2397
|
+
def self.inner_class_types
|
|
2398
|
+
@inner_class_types = { primary_fuel_fields: PrimaryFuelFields, station: Station, vat: Vat }
|
|
2399
|
+
end
|
|
2400
|
+
|
|
2401
|
+
def self.field_remappings
|
|
2402
|
+
@field_remappings = {}
|
|
2403
|
+
end
|
|
2404
|
+
end
|
|
2405
|
+
|
|
2406
|
+
class FlightDatum < ::Stripe::StripeObject
|
|
2407
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2408
|
+
# Affiliate code.
|
|
2409
|
+
attr_reader :code
|
|
2410
|
+
# Affiliate name.
|
|
2411
|
+
attr_reader :name
|
|
2412
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
2413
|
+
attr_reader :travel_authorization_code
|
|
2414
|
+
|
|
2415
|
+
def self.inner_class_types
|
|
2416
|
+
@inner_class_types = {}
|
|
2417
|
+
end
|
|
2418
|
+
|
|
2419
|
+
def self.field_remappings
|
|
2420
|
+
@field_remappings = {}
|
|
2421
|
+
end
|
|
2422
|
+
end
|
|
2423
|
+
|
|
2424
|
+
class Insurance < ::Stripe::StripeObject
|
|
2425
|
+
# Amount of the insurance.
|
|
2426
|
+
attr_reader :amount
|
|
2427
|
+
# Currency for the insurance price.
|
|
2428
|
+
attr_reader :currency
|
|
2429
|
+
# Name of the insurance company.
|
|
2430
|
+
attr_reader :insurance_company_name
|
|
2431
|
+
# Type of insurance.
|
|
2432
|
+
attr_reader :insurance_type
|
|
2433
|
+
|
|
2434
|
+
def self.inner_class_types
|
|
2435
|
+
@inner_class_types = {}
|
|
2436
|
+
end
|
|
2437
|
+
|
|
2438
|
+
def self.field_remappings
|
|
2439
|
+
@field_remappings = {}
|
|
2440
|
+
end
|
|
2441
|
+
end
|
|
2442
|
+
|
|
2443
|
+
class Passenger < ::Stripe::StripeObject
|
|
2444
|
+
# Full name of the passenger.
|
|
2445
|
+
attr_reader :name
|
|
2446
|
+
|
|
2447
|
+
def self.inner_class_types
|
|
2448
|
+
@inner_class_types = {}
|
|
2449
|
+
end
|
|
2450
|
+
|
|
2451
|
+
def self.field_remappings
|
|
2452
|
+
@field_remappings = {}
|
|
2453
|
+
end
|
|
2454
|
+
end
|
|
2455
|
+
|
|
2456
|
+
class Segment < ::Stripe::StripeObject
|
|
2457
|
+
class Arrival < ::Stripe::StripeObject
|
|
2458
|
+
# Arrival airport IATA code.
|
|
2459
|
+
attr_reader :airport
|
|
2460
|
+
# Arrival date and time.
|
|
2461
|
+
attr_reader :arrives_at
|
|
2462
|
+
# Arrival city.
|
|
2463
|
+
attr_reader :city
|
|
2464
|
+
# Arrival country.
|
|
2465
|
+
attr_reader :country
|
|
2466
|
+
|
|
2467
|
+
def self.inner_class_types
|
|
2468
|
+
@inner_class_types = {}
|
|
2469
|
+
end
|
|
2470
|
+
|
|
2471
|
+
def self.field_remappings
|
|
2472
|
+
@field_remappings = {}
|
|
2473
|
+
end
|
|
2474
|
+
end
|
|
2475
|
+
|
|
2476
|
+
class Departure < ::Stripe::StripeObject
|
|
2477
|
+
# Departure airport IATA code.
|
|
2478
|
+
attr_reader :airport
|
|
2479
|
+
# Departure city.
|
|
2480
|
+
attr_reader :city
|
|
2481
|
+
# Departure country.
|
|
2482
|
+
attr_reader :country
|
|
2483
|
+
# Departure date and time.
|
|
2484
|
+
attr_reader :departs_at
|
|
2485
|
+
|
|
2486
|
+
def self.inner_class_types
|
|
2487
|
+
@inner_class_types = {}
|
|
2488
|
+
end
|
|
2489
|
+
|
|
2490
|
+
def self.field_remappings
|
|
2491
|
+
@field_remappings = {}
|
|
2492
|
+
end
|
|
2493
|
+
end
|
|
2494
|
+
# Segment fare amount.
|
|
2495
|
+
attr_reader :amount
|
|
2496
|
+
# Attribute for field arrival
|
|
2497
|
+
attr_reader :arrival
|
|
2498
|
+
# Airline carrier code.
|
|
2499
|
+
attr_reader :carrier_code
|
|
2500
|
+
# Carrier name.
|
|
2501
|
+
attr_reader :carrier_name
|
|
2502
|
+
# Segment currency.
|
|
2503
|
+
attr_reader :currency
|
|
2504
|
+
# Attribute for field departure
|
|
2505
|
+
attr_reader :departure
|
|
2506
|
+
# Exchange ticket number.
|
|
2507
|
+
attr_reader :exchange_ticket_number
|
|
2508
|
+
# Fare basis code.
|
|
2509
|
+
attr_reader :fare_basis_code
|
|
2510
|
+
# Additional fees.
|
|
2511
|
+
attr_reader :fees
|
|
2512
|
+
# Flight number.
|
|
2513
|
+
attr_reader :flight_number
|
|
2514
|
+
# Stopover indicator.
|
|
2515
|
+
attr_reader :is_stop_over_indicator
|
|
2516
|
+
# Refundable ticket indicator.
|
|
2517
|
+
attr_reader :refundable
|
|
2518
|
+
# Class of service.
|
|
2519
|
+
attr_reader :service_class
|
|
2520
|
+
# Tax amount for segment.
|
|
2521
|
+
attr_reader :tax_amount
|
|
2522
|
+
# Ticket number.
|
|
2523
|
+
attr_reader :ticket_number
|
|
2524
|
+
|
|
2525
|
+
def self.inner_class_types
|
|
2526
|
+
@inner_class_types = { arrival: Arrival, departure: Departure }
|
|
2527
|
+
end
|
|
2528
|
+
|
|
2529
|
+
def self.field_remappings
|
|
2530
|
+
@field_remappings = {}
|
|
2531
|
+
end
|
|
2532
|
+
end
|
|
2533
|
+
|
|
2534
|
+
class Total < ::Stripe::StripeObject
|
|
2535
|
+
class Discounts < ::Stripe::StripeObject
|
|
2536
|
+
# Corporate client discount code.
|
|
2537
|
+
attr_reader :corporate_client_code
|
|
2538
|
+
|
|
2539
|
+
def self.inner_class_types
|
|
2540
|
+
@inner_class_types = {}
|
|
2541
|
+
end
|
|
2542
|
+
|
|
2543
|
+
def self.field_remappings
|
|
2544
|
+
@field_remappings = {}
|
|
2545
|
+
end
|
|
2546
|
+
end
|
|
2547
|
+
|
|
2548
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2549
|
+
# Amount of the extra charge.
|
|
2550
|
+
attr_reader :amount
|
|
2551
|
+
# Type of extra charge.
|
|
2552
|
+
attr_reader :type
|
|
2553
|
+
|
|
2554
|
+
def self.inner_class_types
|
|
2555
|
+
@inner_class_types = {}
|
|
2556
|
+
end
|
|
2557
|
+
|
|
2558
|
+
def self.field_remappings
|
|
2559
|
+
@field_remappings = {}
|
|
2560
|
+
end
|
|
2561
|
+
end
|
|
2562
|
+
|
|
2563
|
+
class Tax < ::Stripe::StripeObject
|
|
2564
|
+
class TaxItem < ::Stripe::StripeObject
|
|
2565
|
+
# Tax amount.
|
|
2566
|
+
attr_reader :amount
|
|
2567
|
+
# Tax rate.
|
|
2568
|
+
attr_reader :rate
|
|
2569
|
+
# Type of tax.
|
|
2570
|
+
attr_reader :type
|
|
2571
|
+
|
|
2572
|
+
def self.inner_class_types
|
|
2573
|
+
@inner_class_types = {}
|
|
2574
|
+
end
|
|
2575
|
+
|
|
2576
|
+
def self.field_remappings
|
|
2577
|
+
@field_remappings = {}
|
|
2578
|
+
end
|
|
2579
|
+
end
|
|
2580
|
+
# Tax details.
|
|
2581
|
+
attr_reader :tax_items
|
|
2582
|
+
|
|
2583
|
+
def self.inner_class_types
|
|
2584
|
+
@inner_class_types = { tax_items: TaxItem }
|
|
2585
|
+
end
|
|
2586
|
+
|
|
2587
|
+
def self.field_remappings
|
|
2588
|
+
@field_remappings = {}
|
|
2589
|
+
end
|
|
2590
|
+
end
|
|
2591
|
+
# Total amount.
|
|
2592
|
+
attr_reader :amount
|
|
2593
|
+
# Reason for credit.
|
|
2594
|
+
attr_reader :credit_reason
|
|
2595
|
+
# Currency for the total amount.
|
|
2596
|
+
attr_reader :currency
|
|
2597
|
+
# Attribute for field discounts
|
|
2598
|
+
attr_reader :discounts
|
|
2599
|
+
# Additional charges for the flight.
|
|
2600
|
+
attr_reader :extra_charges
|
|
2601
|
+
# Attribute for field tax
|
|
2602
|
+
attr_reader :tax
|
|
2603
|
+
|
|
2604
|
+
def self.inner_class_types
|
|
2605
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2606
|
+
end
|
|
2607
|
+
|
|
2608
|
+
def self.field_remappings
|
|
2609
|
+
@field_remappings = {}
|
|
2610
|
+
end
|
|
2611
|
+
end
|
|
2612
|
+
# Attribute for field affiliate
|
|
2613
|
+
attr_reader :affiliate
|
|
2614
|
+
# The booking number associated with the flight reservation.
|
|
2615
|
+
attr_reader :booking_number
|
|
2616
|
+
# The computerized reservation system used to make the reservation and purchase the ticket.
|
|
2617
|
+
attr_reader :computerized_reservation_system
|
|
2618
|
+
# Ticket restrictions.
|
|
2619
|
+
attr_reader :endorsements_and_restrictions
|
|
2620
|
+
# Insurance details for the flight.
|
|
2621
|
+
attr_reader :insurances
|
|
2622
|
+
# The list of passengers for this flight.
|
|
2623
|
+
attr_reader :passengers
|
|
2624
|
+
# The list of flight segments for this reservation.
|
|
2625
|
+
attr_reader :segments
|
|
2626
|
+
# Electronic ticket indicator.
|
|
2627
|
+
attr_reader :ticket_electronically_issued_indicator
|
|
2628
|
+
# Attribute for field total
|
|
2629
|
+
attr_reader :total
|
|
2630
|
+
# Type of flight transaction.
|
|
2631
|
+
attr_reader :transaction_type
|
|
2632
|
+
|
|
2633
|
+
def self.inner_class_types
|
|
2634
|
+
@inner_class_types = {
|
|
2635
|
+
affiliate: Affiliate,
|
|
2636
|
+
insurances: Insurance,
|
|
2637
|
+
passengers: Passenger,
|
|
2638
|
+
segments: Segment,
|
|
2639
|
+
total: Total,
|
|
2640
|
+
}
|
|
2641
|
+
end
|
|
2642
|
+
|
|
2643
|
+
def self.field_remappings
|
|
2644
|
+
@field_remappings = {}
|
|
2645
|
+
end
|
|
2646
|
+
end
|
|
2647
|
+
|
|
2648
|
+
class LodgingDatum < ::Stripe::StripeObject
|
|
2649
|
+
class Accommodation < ::Stripe::StripeObject
|
|
2650
|
+
# Type of accommodation.
|
|
2651
|
+
attr_reader :accommodation_type
|
|
2652
|
+
# Bed type.
|
|
2653
|
+
attr_reader :bed_type
|
|
2654
|
+
# Daily accommodation rate in cents.
|
|
2655
|
+
attr_reader :daily_rate_amount
|
|
2656
|
+
# Number of nights.
|
|
2657
|
+
attr_reader :nights
|
|
2658
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
2659
|
+
attr_reader :number_of_rooms
|
|
2660
|
+
# Rate type.
|
|
2661
|
+
attr_reader :rate_type
|
|
2662
|
+
# Whether smoking is allowed.
|
|
2663
|
+
attr_reader :smoking_indicator
|
|
2664
|
+
|
|
2665
|
+
def self.inner_class_types
|
|
2666
|
+
@inner_class_types = {}
|
|
2667
|
+
end
|
|
2668
|
+
|
|
2669
|
+
def self.field_remappings
|
|
2670
|
+
@field_remappings = {}
|
|
2671
|
+
end
|
|
2672
|
+
end
|
|
2673
|
+
|
|
2674
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2675
|
+
# Affiliate partner code.
|
|
2676
|
+
attr_reader :code
|
|
2677
|
+
# Affiliate partner name.
|
|
2678
|
+
attr_reader :name
|
|
2679
|
+
|
|
2680
|
+
def self.inner_class_types
|
|
2681
|
+
@inner_class_types = {}
|
|
2682
|
+
end
|
|
2683
|
+
|
|
2684
|
+
def self.field_remappings
|
|
2685
|
+
@field_remappings = {}
|
|
2686
|
+
end
|
|
2687
|
+
end
|
|
2688
|
+
|
|
2689
|
+
class Guest < ::Stripe::StripeObject
|
|
2690
|
+
# Guest's full name.
|
|
2691
|
+
attr_reader :name
|
|
2692
|
+
|
|
2693
|
+
def self.inner_class_types
|
|
2694
|
+
@inner_class_types = {}
|
|
2695
|
+
end
|
|
2696
|
+
|
|
2697
|
+
def self.field_remappings
|
|
2698
|
+
@field_remappings = {}
|
|
2699
|
+
end
|
|
2700
|
+
end
|
|
2701
|
+
|
|
2702
|
+
class Host < ::Stripe::StripeObject
|
|
2703
|
+
class Address < ::Stripe::StripeObject
|
|
2704
|
+
# City, district, suburb, town, or village.
|
|
2705
|
+
attr_reader :city
|
|
2706
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2707
|
+
attr_reader :country
|
|
2708
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2709
|
+
attr_reader :line1
|
|
2710
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2711
|
+
attr_reader :line2
|
|
2712
|
+
# ZIP or postal code.
|
|
2713
|
+
attr_reader :postal_code
|
|
2714
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2715
|
+
attr_reader :state
|
|
2716
|
+
|
|
2717
|
+
def self.inner_class_types
|
|
2718
|
+
@inner_class_types = {}
|
|
2719
|
+
end
|
|
2720
|
+
|
|
2721
|
+
def self.field_remappings
|
|
2722
|
+
@field_remappings = {}
|
|
2723
|
+
end
|
|
2724
|
+
end
|
|
2725
|
+
# Attribute for field address
|
|
2726
|
+
attr_reader :address
|
|
2727
|
+
# Host's country of domicile.
|
|
2728
|
+
attr_reader :country_of_domicile
|
|
2729
|
+
# Reference number for the host.
|
|
2730
|
+
attr_reader :host_reference
|
|
2731
|
+
# Type of host.
|
|
2732
|
+
attr_reader :host_type
|
|
2733
|
+
# Name of the lodging property or host.
|
|
2734
|
+
attr_reader :name
|
|
2735
|
+
# Total number of reservations for the host.
|
|
2736
|
+
attr_reader :number_of_reservations
|
|
2737
|
+
# Property phone number.
|
|
2738
|
+
attr_reader :property_phone_number
|
|
2739
|
+
# Host's registration date.
|
|
2740
|
+
attr_reader :registered_at
|
|
2741
|
+
|
|
2742
|
+
def self.inner_class_types
|
|
2743
|
+
@inner_class_types = { address: Address }
|
|
2744
|
+
end
|
|
2745
|
+
|
|
2746
|
+
def self.field_remappings
|
|
2747
|
+
@field_remappings = {}
|
|
2748
|
+
end
|
|
2749
|
+
end
|
|
2750
|
+
|
|
2751
|
+
class Insurance < ::Stripe::StripeObject
|
|
2752
|
+
# Price of the insurance coverage in cents.
|
|
2753
|
+
attr_reader :amount
|
|
2754
|
+
# Currency of the insurance amount.
|
|
2755
|
+
attr_reader :currency
|
|
2756
|
+
# Name of the insurance company.
|
|
2757
|
+
attr_reader :insurance_company_name
|
|
2758
|
+
# Type of insurance coverage.
|
|
2759
|
+
attr_reader :insurance_type
|
|
2760
|
+
|
|
2761
|
+
def self.inner_class_types
|
|
2762
|
+
@inner_class_types = {}
|
|
2763
|
+
end
|
|
2764
|
+
|
|
2765
|
+
def self.field_remappings
|
|
2766
|
+
@field_remappings = {}
|
|
2767
|
+
end
|
|
2768
|
+
end
|
|
2769
|
+
|
|
2770
|
+
class Total < ::Stripe::StripeObject
|
|
2771
|
+
class Discounts < ::Stripe::StripeObject
|
|
2772
|
+
# Corporate client discount code.
|
|
2773
|
+
attr_reader :corporate_client_code
|
|
2774
|
+
# Coupon code.
|
|
2775
|
+
attr_reader :coupon
|
|
2776
|
+
|
|
2777
|
+
def self.inner_class_types
|
|
2778
|
+
@inner_class_types = {}
|
|
2779
|
+
end
|
|
2780
|
+
|
|
2781
|
+
def self.field_remappings
|
|
2782
|
+
@field_remappings = {}
|
|
2783
|
+
end
|
|
2784
|
+
end
|
|
2785
|
+
|
|
2786
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2787
|
+
# Amount of the extra charge in cents.
|
|
2788
|
+
attr_reader :amount
|
|
2789
|
+
# Type of extra charge.
|
|
2790
|
+
attr_reader :type
|
|
2791
|
+
|
|
2792
|
+
def self.inner_class_types
|
|
2793
|
+
@inner_class_types = {}
|
|
2794
|
+
end
|
|
2795
|
+
|
|
2796
|
+
def self.field_remappings
|
|
2797
|
+
@field_remappings = {}
|
|
2798
|
+
end
|
|
2799
|
+
end
|
|
2800
|
+
|
|
2801
|
+
class Tax < ::Stripe::StripeObject
|
|
2802
|
+
class TaxItem < ::Stripe::StripeObject
|
|
2803
|
+
# Tax amount in cents.
|
|
2804
|
+
attr_reader :amount
|
|
2805
|
+
# Tax rate.
|
|
2806
|
+
attr_reader :rate
|
|
2807
|
+
# Type of tax applied.
|
|
2808
|
+
attr_reader :type
|
|
2809
|
+
|
|
2810
|
+
def self.inner_class_types
|
|
2811
|
+
@inner_class_types = {}
|
|
2812
|
+
end
|
|
2813
|
+
|
|
2814
|
+
def self.field_remappings
|
|
2815
|
+
@field_remappings = {}
|
|
2816
|
+
end
|
|
2817
|
+
end
|
|
2818
|
+
# Indicates whether the transaction is tax exempt.
|
|
2819
|
+
attr_reader :tax_exempt_indicator
|
|
2820
|
+
# Tax details.
|
|
2821
|
+
attr_reader :tax_items
|
|
2822
|
+
|
|
2823
|
+
def self.inner_class_types
|
|
2824
|
+
@inner_class_types = { tax_items: TaxItem }
|
|
2825
|
+
end
|
|
2826
|
+
|
|
2827
|
+
def self.field_remappings
|
|
2828
|
+
@field_remappings = {}
|
|
2829
|
+
end
|
|
2830
|
+
end
|
|
2831
|
+
# Total price of the lodging reservation in cents.
|
|
2832
|
+
attr_reader :amount
|
|
2833
|
+
# Cash advances in cents.
|
|
2834
|
+
attr_reader :cash_advances
|
|
2835
|
+
# Currency of the total amount.
|
|
2836
|
+
attr_reader :currency
|
|
2837
|
+
# Attribute for field discounts
|
|
2838
|
+
attr_reader :discounts
|
|
2839
|
+
# Additional charges for the lodging.
|
|
2840
|
+
attr_reader :extra_charges
|
|
2841
|
+
# Prepaid amount in cents.
|
|
2842
|
+
attr_reader :prepaid_amount
|
|
2843
|
+
# Attribute for field tax
|
|
2844
|
+
attr_reader :tax
|
|
2845
|
+
|
|
2846
|
+
def self.inner_class_types
|
|
2847
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2848
|
+
end
|
|
2849
|
+
|
|
2850
|
+
def self.field_remappings
|
|
2851
|
+
@field_remappings = {}
|
|
2852
|
+
end
|
|
2853
|
+
end
|
|
2854
|
+
# Attribute for field accommodation
|
|
2855
|
+
attr_reader :accommodation
|
|
2856
|
+
# Attribute for field affiliate
|
|
2857
|
+
attr_reader :affiliate
|
|
2858
|
+
# Booking confirmation number for the lodging.
|
|
2859
|
+
attr_reader :booking_number
|
|
2860
|
+
# Check-in date.
|
|
2861
|
+
attr_reader :checkin_at
|
|
2862
|
+
# Check-out date.
|
|
2863
|
+
attr_reader :checkout_at
|
|
2864
|
+
# Customer service phone number for the lodging company.
|
|
2865
|
+
attr_reader :customer_service_phone_number
|
|
2866
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2867
|
+
attr_reader :fire_safety_act_compliance_indicator
|
|
2868
|
+
# List of guests for the lodging.
|
|
2869
|
+
attr_reader :guests
|
|
2870
|
+
# Attribute for field host
|
|
2871
|
+
attr_reader :host
|
|
2872
|
+
# List of insurances for the lodging.
|
|
2873
|
+
attr_reader :insurances
|
|
2874
|
+
# Whether the renter is a no-show.
|
|
2875
|
+
attr_reader :no_show_indicator
|
|
2876
|
+
# Renter ID number for the lodging.
|
|
2877
|
+
attr_reader :renter_id_number
|
|
2878
|
+
# Renter name for the lodging.
|
|
2879
|
+
attr_reader :renter_name
|
|
2880
|
+
# Attribute for field total
|
|
2881
|
+
attr_reader :total
|
|
2882
|
+
|
|
2883
|
+
def self.inner_class_types
|
|
2884
|
+
@inner_class_types = {
|
|
2885
|
+
accommodation: Accommodation,
|
|
2886
|
+
affiliate: Affiliate,
|
|
2887
|
+
guests: Guest,
|
|
2888
|
+
host: Host,
|
|
2889
|
+
insurances: Insurance,
|
|
2890
|
+
total: Total,
|
|
2891
|
+
}
|
|
2892
|
+
end
|
|
2893
|
+
|
|
2894
|
+
def self.field_remappings
|
|
2895
|
+
@field_remappings = {}
|
|
2896
|
+
end
|
|
2897
|
+
end
|
|
2898
|
+
|
|
2899
|
+
class MoneyServices < ::Stripe::StripeObject
|
|
2900
|
+
class AccountFunding < ::Stripe::StripeObject
|
|
2901
|
+
class SenderDetails < ::Stripe::StripeObject
|
|
2902
|
+
class Address < ::Stripe::StripeObject
|
|
2903
|
+
# City, district, suburb, town, or village.
|
|
2904
|
+
attr_reader :city
|
|
2905
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2906
|
+
attr_reader :country
|
|
2907
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
2908
|
+
attr_reader :line1
|
|
2909
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2910
|
+
attr_reader :line2
|
|
2911
|
+
# ZIP or postal code.
|
|
2912
|
+
attr_reader :postal_code
|
|
2913
|
+
# State, county, province, or region.
|
|
2914
|
+
attr_reader :state
|
|
2915
|
+
|
|
2916
|
+
def self.inner_class_types
|
|
2917
|
+
@inner_class_types = {}
|
|
2918
|
+
end
|
|
2919
|
+
|
|
2920
|
+
def self.field_remappings
|
|
2921
|
+
@field_remappings = {}
|
|
2922
|
+
end
|
|
2923
|
+
end
|
|
2924
|
+
|
|
2925
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
2926
|
+
# Day of birth, between 1 and 31.
|
|
2927
|
+
attr_reader :day
|
|
2928
|
+
# Month of birth, between 1 and 12.
|
|
2929
|
+
attr_reader :month
|
|
2930
|
+
# Four-digit year of birth.
|
|
2931
|
+
attr_reader :year
|
|
2932
|
+
|
|
2933
|
+
def self.inner_class_types
|
|
2934
|
+
@inner_class_types = {}
|
|
2935
|
+
end
|
|
2936
|
+
|
|
2937
|
+
def self.field_remappings
|
|
2938
|
+
@field_remappings = {}
|
|
2939
|
+
end
|
|
2940
|
+
end
|
|
2941
|
+
# Attribute for field address
|
|
2942
|
+
attr_reader :address
|
|
2943
|
+
# Attribute for field date_of_birth
|
|
2944
|
+
attr_reader :date_of_birth
|
|
2945
|
+
# Email address.
|
|
2946
|
+
attr_reader :email
|
|
2947
|
+
# Given name (first name).
|
|
2948
|
+
attr_reader :given_name
|
|
2949
|
+
# Phone number.
|
|
2950
|
+
attr_reader :phone
|
|
2951
|
+
# Surname (last name).
|
|
2952
|
+
attr_reader :surname
|
|
2953
|
+
|
|
2954
|
+
def self.inner_class_types
|
|
2955
|
+
@inner_class_types = { address: Address, date_of_birth: DateOfBirth }
|
|
2956
|
+
end
|
|
2957
|
+
|
|
2958
|
+
def self.field_remappings
|
|
2959
|
+
@field_remappings = {}
|
|
2960
|
+
end
|
|
2961
|
+
end
|
|
2962
|
+
# Attribute for field sender_account
|
|
2963
|
+
attr_reader :sender_account
|
|
2964
|
+
# Attribute for field sender_details
|
|
2965
|
+
attr_reader :sender_details
|
|
2966
|
+
|
|
2967
|
+
def self.inner_class_types
|
|
2968
|
+
@inner_class_types = { sender_details: SenderDetails }
|
|
2969
|
+
end
|
|
2970
|
+
|
|
2971
|
+
def self.field_remappings
|
|
2972
|
+
@field_remappings = {}
|
|
2973
|
+
end
|
|
2974
|
+
end
|
|
2975
|
+
|
|
2976
|
+
class BeneficiaryDetails < ::Stripe::StripeObject
|
|
2977
|
+
class Address < ::Stripe::StripeObject
|
|
2978
|
+
# City, district, suburb, town, or village.
|
|
2979
|
+
attr_reader :city
|
|
2980
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2981
|
+
attr_reader :country
|
|
2982
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
2983
|
+
attr_reader :line1
|
|
2984
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2985
|
+
attr_reader :line2
|
|
2986
|
+
# ZIP or postal code.
|
|
2987
|
+
attr_reader :postal_code
|
|
2988
|
+
# State, county, province, or region.
|
|
2989
|
+
attr_reader :state
|
|
2990
|
+
|
|
2991
|
+
def self.inner_class_types
|
|
2992
|
+
@inner_class_types = {}
|
|
2993
|
+
end
|
|
2994
|
+
|
|
2995
|
+
def self.field_remappings
|
|
2996
|
+
@field_remappings = {}
|
|
2997
|
+
end
|
|
2998
|
+
end
|
|
2999
|
+
|
|
3000
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
3001
|
+
# Day of birth, between 1 and 31.
|
|
3002
|
+
attr_reader :day
|
|
3003
|
+
# Month of birth, between 1 and 12.
|
|
3004
|
+
attr_reader :month
|
|
3005
|
+
# Four-digit year of birth.
|
|
3006
|
+
attr_reader :year
|
|
3007
|
+
|
|
3008
|
+
def self.inner_class_types
|
|
3009
|
+
@inner_class_types = {}
|
|
3010
|
+
end
|
|
3011
|
+
|
|
3012
|
+
def self.field_remappings
|
|
3013
|
+
@field_remappings = {}
|
|
3014
|
+
end
|
|
3015
|
+
end
|
|
3016
|
+
# Attribute for field address
|
|
3017
|
+
attr_reader :address
|
|
3018
|
+
# Attribute for field date_of_birth
|
|
3019
|
+
attr_reader :date_of_birth
|
|
3020
|
+
# Email address.
|
|
3021
|
+
attr_reader :email
|
|
3022
|
+
# Given name (first name).
|
|
3023
|
+
attr_reader :given_name
|
|
3024
|
+
# Phone number.
|
|
3025
|
+
attr_reader :phone
|
|
3026
|
+
# Surname (last name).
|
|
3027
|
+
attr_reader :surname
|
|
3028
|
+
|
|
3029
|
+
def self.inner_class_types
|
|
3030
|
+
@inner_class_types = { address: Address, date_of_birth: DateOfBirth }
|
|
3031
|
+
end
|
|
3032
|
+
|
|
3033
|
+
def self.field_remappings
|
|
3034
|
+
@field_remappings = {}
|
|
3035
|
+
end
|
|
3036
|
+
end
|
|
3037
|
+
# Attribute for field account_funding
|
|
3038
|
+
attr_reader :account_funding
|
|
3039
|
+
# Attribute for field beneficiary_account
|
|
3040
|
+
attr_reader :beneficiary_account
|
|
3041
|
+
# Attribute for field beneficiary_details
|
|
3042
|
+
attr_reader :beneficiary_details
|
|
3043
|
+
# The type of money services transaction.
|
|
3044
|
+
attr_reader :transaction_type
|
|
3045
|
+
|
|
3046
|
+
def self.inner_class_types
|
|
3047
|
+
@inner_class_types = {
|
|
3048
|
+
account_funding: AccountFunding,
|
|
3049
|
+
beneficiary_details: BeneficiaryDetails,
|
|
3050
|
+
}
|
|
3051
|
+
end
|
|
3052
|
+
|
|
3053
|
+
def self.field_remappings
|
|
3054
|
+
@field_remappings = {}
|
|
3055
|
+
end
|
|
3056
|
+
end
|
|
3057
|
+
|
|
3058
|
+
class Subscription < ::Stripe::StripeObject
|
|
3059
|
+
class Affiliate < ::Stripe::StripeObject
|
|
3060
|
+
# The name of the affiliate that originated the purchase.
|
|
3061
|
+
attr_reader :name
|
|
3062
|
+
|
|
3063
|
+
def self.inner_class_types
|
|
3064
|
+
@inner_class_types = {}
|
|
3065
|
+
end
|
|
3066
|
+
|
|
3067
|
+
def self.field_remappings
|
|
3068
|
+
@field_remappings = {}
|
|
3069
|
+
end
|
|
3070
|
+
end
|
|
3071
|
+
|
|
3072
|
+
class BillingInterval < ::Stripe::StripeObject
|
|
3073
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3074
|
+
attr_reader :count
|
|
3075
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3076
|
+
attr_reader :interval
|
|
3077
|
+
|
|
3078
|
+
def self.inner_class_types
|
|
3079
|
+
@inner_class_types = {}
|
|
3080
|
+
end
|
|
3081
|
+
|
|
3082
|
+
def self.field_remappings
|
|
3083
|
+
@field_remappings = {}
|
|
3084
|
+
end
|
|
3085
|
+
end
|
|
3086
|
+
# Attribute for field affiliate
|
|
3087
|
+
attr_reader :affiliate
|
|
3088
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
3089
|
+
attr_reader :auto_renewal
|
|
3090
|
+
# Attribute for field billing_interval
|
|
3091
|
+
attr_reader :billing_interval
|
|
3092
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
3093
|
+
attr_reader :ends_at
|
|
3094
|
+
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
3095
|
+
attr_reader :name
|
|
3096
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
3097
|
+
attr_reader :starts_at
|
|
3098
|
+
|
|
3099
|
+
def self.inner_class_types
|
|
3100
|
+
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
3101
|
+
end
|
|
3102
|
+
|
|
3103
|
+
def self.field_remappings
|
|
3104
|
+
@field_remappings = {}
|
|
3105
|
+
end
|
|
3106
|
+
end
|
|
3107
|
+
# Attribute for field benefit
|
|
3108
|
+
attr_reader :benefit
|
|
3109
|
+
# Attribute for field car_rental
|
|
3110
|
+
attr_reader :car_rental
|
|
3111
|
+
# Attribute for field car_rental_data
|
|
3112
|
+
attr_reader :car_rental_data
|
|
3113
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
3114
|
+
#
|
|
3115
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
3116
|
+
attr_reader :customer_reference
|
|
3117
|
+
# Attribute for field event_details
|
|
3118
|
+
attr_reader :event_details
|
|
3119
|
+
# Fleet data for this PaymentIntent.
|
|
3120
|
+
attr_reader :fleet_data
|
|
3121
|
+
# Attribute for field flight_data
|
|
3122
|
+
attr_reader :flight_data
|
|
3123
|
+
# The Payment Location associated with this PaymentIntent.
|
|
3124
|
+
attr_reader :location
|
|
3125
|
+
# Attribute for field lodging_data
|
|
3126
|
+
attr_reader :lodging_data
|
|
3127
|
+
# Attribute for field money_services
|
|
3128
|
+
attr_reader :money_services
|
|
3129
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
3130
|
+
#
|
|
1293
3131
|
# 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.
|
|
1294
3132
|
attr_reader :order_reference
|
|
3133
|
+
# Attribute for field subscription
|
|
3134
|
+
attr_reader :subscription
|
|
1295
3135
|
|
|
1296
3136
|
def self.inner_class_types
|
|
1297
|
-
@inner_class_types = {
|
|
3137
|
+
@inner_class_types = {
|
|
3138
|
+
benefit: Benefit,
|
|
3139
|
+
car_rental: CarRental,
|
|
3140
|
+
car_rental_data: CarRentalDatum,
|
|
3141
|
+
event_details: EventDetails,
|
|
3142
|
+
fleet_data: FleetDatum,
|
|
3143
|
+
flight_data: FlightDatum,
|
|
3144
|
+
lodging_data: LodgingDatum,
|
|
3145
|
+
money_services: MoneyServices,
|
|
3146
|
+
subscription: Subscription,
|
|
3147
|
+
}
|
|
1298
3148
|
end
|
|
1299
3149
|
|
|
1300
3150
|
def self.field_remappings
|
|
@@ -1539,11 +3389,57 @@ module Stripe
|
|
|
1539
3389
|
end
|
|
1540
3390
|
|
|
1541
3391
|
class Billie < ::Stripe::StripeObject
|
|
3392
|
+
class CompanyDetails < ::Stripe::StripeObject
|
|
3393
|
+
class RegisteredAddress < ::Stripe::StripeObject
|
|
3394
|
+
# City, district, suburb, town, or village.
|
|
3395
|
+
attr_reader :city
|
|
3396
|
+
# Two-letter country code.
|
|
3397
|
+
attr_reader :country
|
|
3398
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
3399
|
+
attr_reader :line1
|
|
3400
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
3401
|
+
attr_reader :line2
|
|
3402
|
+
# ZIP or postal code.
|
|
3403
|
+
attr_reader :postal_code
|
|
3404
|
+
# State, county, province, or region.
|
|
3405
|
+
attr_reader :state
|
|
3406
|
+
|
|
3407
|
+
def self.inner_class_types
|
|
3408
|
+
@inner_class_types = {}
|
|
3409
|
+
end
|
|
3410
|
+
|
|
3411
|
+
def self.field_remappings
|
|
3412
|
+
@field_remappings = {}
|
|
3413
|
+
end
|
|
3414
|
+
end
|
|
3415
|
+
# Attribute for field registered_address
|
|
3416
|
+
attr_reader :registered_address
|
|
3417
|
+
# Company or entity name.
|
|
3418
|
+
attr_reader :registered_name
|
|
3419
|
+
# The official registration number for the given registration type.
|
|
3420
|
+
attr_reader :registration_number
|
|
3421
|
+
# Type of registration the company or entity holds in their registered country.
|
|
3422
|
+
attr_reader :registration_type
|
|
3423
|
+
# VAT id number
|
|
3424
|
+
attr_reader :vat
|
|
3425
|
+
|
|
3426
|
+
def self.inner_class_types
|
|
3427
|
+
@inner_class_types = { registered_address: RegisteredAddress }
|
|
3428
|
+
end
|
|
3429
|
+
|
|
3430
|
+
def self.field_remappings
|
|
3431
|
+
@field_remappings = {}
|
|
3432
|
+
end
|
|
3433
|
+
end
|
|
1542
3434
|
# Controls when the funds will be captured from the customer's account.
|
|
1543
3435
|
attr_reader :capture_method
|
|
3436
|
+
# Attribute for field company_details
|
|
3437
|
+
attr_reader :company_details
|
|
3438
|
+
# An identifier or reference that this payment corresponds to.
|
|
3439
|
+
attr_reader :reference
|
|
1544
3440
|
|
|
1545
3441
|
def self.inner_class_types
|
|
1546
|
-
@inner_class_types = {}
|
|
3442
|
+
@inner_class_types = { company_details: CompanyDetails }
|
|
1547
3443
|
end
|
|
1548
3444
|
|
|
1549
3445
|
def self.field_remappings
|
|
@@ -1602,6 +3498,25 @@ module Stripe
|
|
|
1602
3498
|
end
|
|
1603
3499
|
|
|
1604
3500
|
class Card < ::Stripe::StripeObject
|
|
3501
|
+
class CaptureDelay < ::Stripe::StripeObject
|
|
3502
|
+
# The number of days to delay the capture of the funds.
|
|
3503
|
+
#
|
|
3504
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3505
|
+
attr_reader :days
|
|
3506
|
+
# The number of hours to delay the capture of the funds.
|
|
3507
|
+
#
|
|
3508
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3509
|
+
attr_reader :hours
|
|
3510
|
+
|
|
3511
|
+
def self.inner_class_types
|
|
3512
|
+
@inner_class_types = {}
|
|
3513
|
+
end
|
|
3514
|
+
|
|
3515
|
+
def self.field_remappings
|
|
3516
|
+
@field_remappings = {}
|
|
3517
|
+
end
|
|
3518
|
+
end
|
|
3519
|
+
|
|
1605
3520
|
class Installments < ::Stripe::StripeObject
|
|
1606
3521
|
class AvailablePlan < ::Stripe::StripeObject
|
|
1607
3522
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
|
@@ -1682,6 +3597,49 @@ module Stripe
|
|
|
1682
3597
|
@field_remappings = {}
|
|
1683
3598
|
end
|
|
1684
3599
|
end
|
|
3600
|
+
|
|
3601
|
+
class StatementDetails < ::Stripe::StripeObject
|
|
3602
|
+
class Address < ::Stripe::StripeObject
|
|
3603
|
+
# City, district, suburb, town, or village.
|
|
3604
|
+
attr_reader :city
|
|
3605
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3606
|
+
attr_reader :country
|
|
3607
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
3608
|
+
attr_reader :line1
|
|
3609
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
3610
|
+
attr_reader :line2
|
|
3611
|
+
# ZIP or postal code.
|
|
3612
|
+
attr_reader :postal_code
|
|
3613
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3614
|
+
attr_reader :state
|
|
3615
|
+
|
|
3616
|
+
def self.inner_class_types
|
|
3617
|
+
@inner_class_types = {}
|
|
3618
|
+
end
|
|
3619
|
+
|
|
3620
|
+
def self.field_remappings
|
|
3621
|
+
@field_remappings = {}
|
|
3622
|
+
end
|
|
3623
|
+
end
|
|
3624
|
+
# Attribute for field address
|
|
3625
|
+
attr_reader :address
|
|
3626
|
+
# Phone number
|
|
3627
|
+
attr_reader :phone
|
|
3628
|
+
|
|
3629
|
+
def self.inner_class_types
|
|
3630
|
+
@inner_class_types = { address: Address }
|
|
3631
|
+
end
|
|
3632
|
+
|
|
3633
|
+
def self.field_remappings
|
|
3634
|
+
@field_remappings = {}
|
|
3635
|
+
end
|
|
3636
|
+
end
|
|
3637
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3638
|
+
#
|
|
3639
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3640
|
+
attr_reader :capture_by
|
|
3641
|
+
# Attribute for field capture_delay
|
|
3642
|
+
attr_reader :capture_delay
|
|
1685
3643
|
# Controls when the funds will be captured from the customer's account.
|
|
1686
3644
|
attr_reader :capture_method
|
|
1687
3645
|
# Installment details for this payment.
|
|
@@ -1692,6 +3650,8 @@ module Stripe
|
|
|
1692
3650
|
attr_reader :mandate_options
|
|
1693
3651
|
# 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.
|
|
1694
3652
|
attr_reader :network
|
|
3653
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3654
|
+
attr_reader :request_decremental_authorization
|
|
1695
3655
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
1696
3656
|
attr_reader :request_extended_authorization
|
|
1697
3657
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1700,6 +3660,10 @@ module Stripe
|
|
|
1700
3660
|
attr_reader :request_multicapture
|
|
1701
3661
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
1702
3662
|
attr_reader :request_overcapture
|
|
3663
|
+
# Request partial authorization on this PaymentIntent.
|
|
3664
|
+
attr_reader :request_partial_authorization
|
|
3665
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3666
|
+
attr_reader :request_reauthorization
|
|
1703
3667
|
# 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.
|
|
1704
3668
|
attr_reader :request_three_d_secure
|
|
1705
3669
|
# 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).
|
|
@@ -1716,9 +3680,16 @@ module Stripe
|
|
|
1716
3680
|
attr_reader :statement_descriptor_suffix_kana
|
|
1717
3681
|
# 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.
|
|
1718
3682
|
attr_reader :statement_descriptor_suffix_kanji
|
|
3683
|
+
# Attribute for field statement_details
|
|
3684
|
+
attr_reader :statement_details
|
|
1719
3685
|
|
|
1720
3686
|
def self.inner_class_types
|
|
1721
|
-
@inner_class_types = {
|
|
3687
|
+
@inner_class_types = {
|
|
3688
|
+
capture_delay: CaptureDelay,
|
|
3689
|
+
installments: Installments,
|
|
3690
|
+
mandate_options: MandateOptions,
|
|
3691
|
+
statement_details: StatementDetails,
|
|
3692
|
+
}
|
|
1722
3693
|
end
|
|
1723
3694
|
|
|
1724
3695
|
def self.field_remappings
|
|
@@ -1727,6 +3698,46 @@ module Stripe
|
|
|
1727
3698
|
end
|
|
1728
3699
|
|
|
1729
3700
|
class CardPresent < ::Stripe::StripeObject
|
|
3701
|
+
class AadeData < ::Stripe::StripeObject
|
|
3702
|
+
# The canonical string that was signed by the e-invoicing provider to produce `signed_mark`, formatted per Appendix A of A.1155/2023. Required when `mode` is `standard`.
|
|
3703
|
+
attr_reader :mark_data
|
|
3704
|
+
# The e-invoicing mode under which the mark was generated.
|
|
3705
|
+
attr_reader :mode
|
|
3706
|
+
# The AADE-assigned approval number of the e-invoicing provider that generated the mark. Required when `mode` is `standard`.
|
|
3707
|
+
attr_reader :provider_id
|
|
3708
|
+
# The cryptographic signature returned by the e-invoicing provider for this transaction, hex-encoded. Required when `mode` is `standard`.
|
|
3709
|
+
attr_reader :signed_mark
|
|
3710
|
+
# The reason for entering autonomous mode. Required when `mode` is `autonomous`.
|
|
3711
|
+
attr_reader :unbound_pos
|
|
3712
|
+
|
|
3713
|
+
def self.inner_class_types
|
|
3714
|
+
@inner_class_types = {}
|
|
3715
|
+
end
|
|
3716
|
+
|
|
3717
|
+
def self.field_remappings
|
|
3718
|
+
@field_remappings = {}
|
|
3719
|
+
end
|
|
3720
|
+
end
|
|
3721
|
+
|
|
3722
|
+
class CaptureDelay < ::Stripe::StripeObject
|
|
3723
|
+
# The number of days to delay the capture of the funds.
|
|
3724
|
+
#
|
|
3725
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3726
|
+
attr_reader :days
|
|
3727
|
+
# The number of hours to delay the capture of the funds.
|
|
3728
|
+
#
|
|
3729
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3730
|
+
attr_reader :hours
|
|
3731
|
+
|
|
3732
|
+
def self.inner_class_types
|
|
3733
|
+
@inner_class_types = {}
|
|
3734
|
+
end
|
|
3735
|
+
|
|
3736
|
+
def self.field_remappings
|
|
3737
|
+
@field_remappings = {}
|
|
3738
|
+
end
|
|
3739
|
+
end
|
|
3740
|
+
|
|
1730
3741
|
class Routing < ::Stripe::StripeObject
|
|
1731
3742
|
# Requested routing priority
|
|
1732
3743
|
attr_reader :requested_priority
|
|
@@ -1739,17 +3750,29 @@ module Stripe
|
|
|
1739
3750
|
@field_remappings = {}
|
|
1740
3751
|
end
|
|
1741
3752
|
end
|
|
3753
|
+
# Attribute for field aade_data
|
|
3754
|
+
attr_reader :aade_data
|
|
3755
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3756
|
+
#
|
|
3757
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3758
|
+
attr_reader :capture_by
|
|
3759
|
+
# Attribute for field capture_delay
|
|
3760
|
+
attr_reader :capture_delay
|
|
1742
3761
|
# Controls when the funds will be captured from the customer's account.
|
|
1743
3762
|
attr_reader :capture_method
|
|
1744
3763
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
1745
3764
|
attr_reader :request_extended_authorization
|
|
1746
3765
|
# Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
|
|
1747
3766
|
attr_reader :request_incremental_authorization_support
|
|
3767
|
+
# Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
|
|
3768
|
+
attr_reader :request_multicapture
|
|
3769
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3770
|
+
attr_reader :request_reauthorization
|
|
1748
3771
|
# Attribute for field routing
|
|
1749
3772
|
attr_reader :routing
|
|
1750
3773
|
|
|
1751
3774
|
def self.inner_class_types
|
|
1752
|
-
@inner_class_types = { routing: Routing }
|
|
3775
|
+
@inner_class_types = { aade_data: AadeData, capture_delay: CaptureDelay, routing: Routing }
|
|
1753
3776
|
end
|
|
1754
3777
|
|
|
1755
3778
|
def self.field_remappings
|
|
@@ -1779,6 +3802,54 @@ module Stripe
|
|
|
1779
3802
|
end
|
|
1780
3803
|
|
|
1781
3804
|
class Crypto < ::Stripe::StripeObject
|
|
3805
|
+
class AmountReconciliation < ::Stripe::StripeObject
|
|
3806
|
+
# Controls how crypto funding amounts are reconciled for the PaymentIntent.
|
|
3807
|
+
attr_reader :type
|
|
3808
|
+
|
|
3809
|
+
def self.inner_class_types
|
|
3810
|
+
@inner_class_types = {}
|
|
3811
|
+
end
|
|
3812
|
+
|
|
3813
|
+
def self.field_remappings
|
|
3814
|
+
@field_remappings = {}
|
|
3815
|
+
end
|
|
3816
|
+
end
|
|
3817
|
+
|
|
3818
|
+
class DepositOptions < ::Stripe::StripeObject
|
|
3819
|
+
# The blockchain networks to support for deposits. Learn more about [supported networks and tokens](https://docs.stripe.com/payments/deposit-mode-stablecoin-payments#token-and-network-support).
|
|
3820
|
+
attr_reader :networks
|
|
3821
|
+
# If true, provisions a permanent per-customer deposit address reused across PaymentIntents.
|
|
3822
|
+
attr_reader :static_address
|
|
3823
|
+
|
|
3824
|
+
def self.inner_class_types
|
|
3825
|
+
@inner_class_types = {}
|
|
3826
|
+
end
|
|
3827
|
+
|
|
3828
|
+
def self.field_remappings
|
|
3829
|
+
@field_remappings = {}
|
|
3830
|
+
end
|
|
3831
|
+
end
|
|
3832
|
+
|
|
3833
|
+
class TransactionVerificationOptions < ::Stripe::StripeObject
|
|
3834
|
+
# The network on which the transaction was submitted.
|
|
3835
|
+
attr_reader :network
|
|
3836
|
+
# The hash of the onchain transaction to verify.
|
|
3837
|
+
attr_reader :transaction_hash
|
|
3838
|
+
|
|
3839
|
+
def self.inner_class_types
|
|
3840
|
+
@inner_class_types = {}
|
|
3841
|
+
end
|
|
3842
|
+
|
|
3843
|
+
def self.field_remappings
|
|
3844
|
+
@field_remappings = {}
|
|
3845
|
+
end
|
|
3846
|
+
end
|
|
3847
|
+
# Attribute for field amount_reconciliation
|
|
3848
|
+
attr_reader :amount_reconciliation
|
|
3849
|
+
# Attribute for field deposit_options
|
|
3850
|
+
attr_reader :deposit_options
|
|
3851
|
+
# The mode of the crypto payment.
|
|
3852
|
+
attr_reader :mode
|
|
1782
3853
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1783
3854
|
#
|
|
1784
3855
|
# 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.
|
|
@@ -1787,9 +3858,15 @@ module Stripe
|
|
|
1787
3858
|
#
|
|
1788
3859
|
# 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).
|
|
1789
3860
|
attr_reader :setup_future_usage
|
|
3861
|
+
# Attribute for field transaction_verification_options
|
|
3862
|
+
attr_reader :transaction_verification_options
|
|
1790
3863
|
|
|
1791
3864
|
def self.inner_class_types
|
|
1792
|
-
@inner_class_types = {
|
|
3865
|
+
@inner_class_types = {
|
|
3866
|
+
amount_reconciliation: AmountReconciliation,
|
|
3867
|
+
deposit_options: DepositOptions,
|
|
3868
|
+
transaction_verification_options: TransactionVerificationOptions,
|
|
3869
|
+
}
|
|
1793
3870
|
end
|
|
1794
3871
|
|
|
1795
3872
|
def self.field_remappings
|
|
@@ -1888,6 +3965,23 @@ module Stripe
|
|
|
1888
3965
|
end
|
|
1889
3966
|
end
|
|
1890
3967
|
|
|
3968
|
+
class GiftCard < ::Stripe::StripeObject
|
|
3969
|
+
# Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card.
|
|
3970
|
+
attr_reader :ignore_application_fee
|
|
3971
|
+
# Set to `yes` to ignore transfer data on the PaymentIntent when redeeming this gift card.
|
|
3972
|
+
attr_reader :ignore_transfer_data
|
|
3973
|
+
# Request partial authorization on this PaymentIntent.
|
|
3974
|
+
attr_reader :request_partial_authorization
|
|
3975
|
+
|
|
3976
|
+
def self.inner_class_types
|
|
3977
|
+
@inner_class_types = {}
|
|
3978
|
+
end
|
|
3979
|
+
|
|
3980
|
+
def self.field_remappings
|
|
3981
|
+
@field_remappings = {}
|
|
3982
|
+
end
|
|
3983
|
+
end
|
|
3984
|
+
|
|
1891
3985
|
class Giropay < ::Stripe::StripeObject
|
|
1892
3986
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1893
3987
|
#
|
|
@@ -1907,6 +4001,25 @@ module Stripe
|
|
|
1907
4001
|
end
|
|
1908
4002
|
end
|
|
1909
4003
|
|
|
4004
|
+
class Gopay < ::Stripe::StripeObject
|
|
4005
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4006
|
+
#
|
|
4007
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
4008
|
+
#
|
|
4009
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
4010
|
+
#
|
|
4011
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
4012
|
+
attr_reader :setup_future_usage
|
|
4013
|
+
|
|
4014
|
+
def self.inner_class_types
|
|
4015
|
+
@inner_class_types = {}
|
|
4016
|
+
end
|
|
4017
|
+
|
|
4018
|
+
def self.field_remappings
|
|
4019
|
+
@field_remappings = {}
|
|
4020
|
+
end
|
|
4021
|
+
end
|
|
4022
|
+
|
|
1910
4023
|
class Grabpay < ::Stripe::StripeObject
|
|
1911
4024
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1912
4025
|
#
|
|
@@ -1926,6 +4039,29 @@ module Stripe
|
|
|
1926
4039
|
end
|
|
1927
4040
|
end
|
|
1928
4041
|
|
|
4042
|
+
class IdBankTransfer < ::Stripe::StripeObject
|
|
4043
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
4044
|
+
attr_reader :expires_after
|
|
4045
|
+
# 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.
|
|
4046
|
+
attr_reader :expires_at
|
|
4047
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4048
|
+
#
|
|
4049
|
+
# 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.
|
|
4050
|
+
#
|
|
4051
|
+
# 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.
|
|
4052
|
+
#
|
|
4053
|
+
# 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).
|
|
4054
|
+
attr_reader :setup_future_usage
|
|
4055
|
+
|
|
4056
|
+
def self.inner_class_types
|
|
4057
|
+
@inner_class_types = {}
|
|
4058
|
+
end
|
|
4059
|
+
|
|
4060
|
+
def self.field_remappings
|
|
4061
|
+
@field_remappings = {}
|
|
4062
|
+
end
|
|
4063
|
+
end
|
|
4064
|
+
|
|
1929
4065
|
class Ideal < ::Stripe::StripeObject
|
|
1930
4066
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1931
4067
|
#
|
|
@@ -2237,12 +4373,81 @@ module Stripe
|
|
|
2237
4373
|
@inner_class_types = {}
|
|
2238
4374
|
end
|
|
2239
4375
|
|
|
2240
|
-
def self.field_remappings
|
|
2241
|
-
@field_remappings = {}
|
|
4376
|
+
def self.field_remappings
|
|
4377
|
+
@field_remappings = {}
|
|
4378
|
+
end
|
|
4379
|
+
end
|
|
4380
|
+
|
|
4381
|
+
class Paynow < ::Stripe::StripeObject
|
|
4382
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4383
|
+
#
|
|
4384
|
+
# 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.
|
|
4385
|
+
#
|
|
4386
|
+
# 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.
|
|
4387
|
+
#
|
|
4388
|
+
# 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).
|
|
4389
|
+
attr_reader :setup_future_usage
|
|
4390
|
+
|
|
4391
|
+
def self.inner_class_types
|
|
4392
|
+
@inner_class_types = {}
|
|
4393
|
+
end
|
|
4394
|
+
|
|
4395
|
+
def self.field_remappings
|
|
4396
|
+
@field_remappings = {}
|
|
4397
|
+
end
|
|
4398
|
+
end
|
|
4399
|
+
|
|
4400
|
+
class Paypal < ::Stripe::StripeObject
|
|
4401
|
+
class LineItem < ::Stripe::StripeObject
|
|
4402
|
+
class Tax < ::Stripe::StripeObject
|
|
4403
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4404
|
+
attr_reader :amount
|
|
4405
|
+
# The tax behavior for the line item.
|
|
4406
|
+
attr_reader :behavior
|
|
4407
|
+
|
|
4408
|
+
def self.inner_class_types
|
|
4409
|
+
@inner_class_types = {}
|
|
4410
|
+
end
|
|
4411
|
+
|
|
4412
|
+
def self.field_remappings
|
|
4413
|
+
@field_remappings = {}
|
|
4414
|
+
end
|
|
4415
|
+
end
|
|
4416
|
+
# Type of the line item.
|
|
4417
|
+
attr_reader :category
|
|
4418
|
+
# Description of the line item.
|
|
4419
|
+
attr_reader :description
|
|
4420
|
+
# Descriptive name of the line item.
|
|
4421
|
+
attr_reader :name
|
|
4422
|
+
# Quantity of the line item. Cannot be a negative number.
|
|
4423
|
+
attr_reader :quantity
|
|
4424
|
+
# Client facing stock keeping unit, article number or similar.
|
|
4425
|
+
attr_reader :sku
|
|
4426
|
+
# 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).
|
|
4427
|
+
attr_reader :sold_by
|
|
4428
|
+
# Attribute for field tax
|
|
4429
|
+
attr_reader :tax
|
|
4430
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4431
|
+
attr_reader :unit_amount
|
|
4432
|
+
|
|
4433
|
+
def self.inner_class_types
|
|
4434
|
+
@inner_class_types = { tax: Tax }
|
|
4435
|
+
end
|
|
4436
|
+
|
|
4437
|
+
def self.field_remappings
|
|
4438
|
+
@field_remappings = {}
|
|
4439
|
+
end
|
|
2242
4440
|
end
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
4441
|
+
# Controls when the funds will be captured from the customer's account.
|
|
4442
|
+
attr_reader :capture_method
|
|
4443
|
+
# The line items purchased by the customer.
|
|
4444
|
+
attr_reader :line_items
|
|
4445
|
+
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
4446
|
+
attr_reader :preferred_locale
|
|
4447
|
+
# 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.
|
|
4448
|
+
attr_reader :reference
|
|
4449
|
+
# 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.
|
|
4450
|
+
attr_reader :reference_id
|
|
2246
4451
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2247
4452
|
#
|
|
2248
4453
|
# 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.
|
|
@@ -2251,9 +4456,11 @@ module Stripe
|
|
|
2251
4456
|
#
|
|
2252
4457
|
# 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).
|
|
2253
4458
|
attr_reader :setup_future_usage
|
|
4459
|
+
# 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.
|
|
4460
|
+
attr_reader :subsellers
|
|
2254
4461
|
|
|
2255
4462
|
def self.inner_class_types
|
|
2256
|
-
@inner_class_types = {}
|
|
4463
|
+
@inner_class_types = { line_items: LineItem }
|
|
2257
4464
|
end
|
|
2258
4465
|
|
|
2259
4466
|
def self.field_remappings
|
|
@@ -2261,13 +4468,7 @@ module Stripe
|
|
|
2261
4468
|
end
|
|
2262
4469
|
end
|
|
2263
4470
|
|
|
2264
|
-
class
|
|
2265
|
-
# Controls when the funds will be captured from the customer's account.
|
|
2266
|
-
attr_reader :capture_method
|
|
2267
|
-
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2268
|
-
attr_reader :preferred_locale
|
|
2269
|
-
# 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.
|
|
2270
|
-
attr_reader :reference
|
|
4471
|
+
class Paypay < ::Stripe::StripeObject
|
|
2271
4472
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2272
4473
|
#
|
|
2273
4474
|
# 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.
|
|
@@ -2401,6 +4602,35 @@ module Stripe
|
|
|
2401
4602
|
end
|
|
2402
4603
|
end
|
|
2403
4604
|
|
|
4605
|
+
class Qris < ::Stripe::StripeObject
|
|
4606
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4607
|
+
#
|
|
4608
|
+
# 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.
|
|
4609
|
+
#
|
|
4610
|
+
# 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.
|
|
4611
|
+
#
|
|
4612
|
+
# 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).
|
|
4613
|
+
attr_reader :setup_future_usage
|
|
4614
|
+
|
|
4615
|
+
def self.inner_class_types
|
|
4616
|
+
@inner_class_types = {}
|
|
4617
|
+
end
|
|
4618
|
+
|
|
4619
|
+
def self.field_remappings
|
|
4620
|
+
@field_remappings = {}
|
|
4621
|
+
end
|
|
4622
|
+
end
|
|
4623
|
+
|
|
4624
|
+
class Rechnung < ::Stripe::StripeObject
|
|
4625
|
+
def self.inner_class_types
|
|
4626
|
+
@inner_class_types = {}
|
|
4627
|
+
end
|
|
4628
|
+
|
|
4629
|
+
def self.field_remappings
|
|
4630
|
+
@field_remappings = {}
|
|
4631
|
+
end
|
|
4632
|
+
end
|
|
4633
|
+
|
|
2404
4634
|
class RevolutPay < ::Stripe::StripeObject
|
|
2405
4635
|
# Controls when the funds will be captured from the customer's account.
|
|
2406
4636
|
attr_reader :capture_method
|
|
@@ -2512,6 +4742,25 @@ module Stripe
|
|
|
2512
4742
|
end
|
|
2513
4743
|
end
|
|
2514
4744
|
|
|
4745
|
+
class Shopeepay < ::Stripe::StripeObject
|
|
4746
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4747
|
+
#
|
|
4748
|
+
# 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.
|
|
4749
|
+
#
|
|
4750
|
+
# 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.
|
|
4751
|
+
#
|
|
4752
|
+
# 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).
|
|
4753
|
+
attr_reader :setup_future_usage
|
|
4754
|
+
|
|
4755
|
+
def self.inner_class_types
|
|
4756
|
+
@inner_class_types = {}
|
|
4757
|
+
end
|
|
4758
|
+
|
|
4759
|
+
def self.field_remappings
|
|
4760
|
+
@field_remappings = {}
|
|
4761
|
+
end
|
|
4762
|
+
end
|
|
4763
|
+
|
|
2515
4764
|
class Sofort < ::Stripe::StripeObject
|
|
2516
4765
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2517
4766
|
attr_reader :preferred_language
|
|
@@ -2533,6 +4782,39 @@ module Stripe
|
|
|
2533
4782
|
end
|
|
2534
4783
|
end
|
|
2535
4784
|
|
|
4785
|
+
class StripeBalance < ::Stripe::StripeObject
|
|
4786
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
4787
|
+
# The ID of the Stripe Balance Debit Agreement used for this mandate.
|
|
4788
|
+
attr_reader :stripe_balance_debit_agreement
|
|
4789
|
+
|
|
4790
|
+
def self.inner_class_types
|
|
4791
|
+
@inner_class_types = {}
|
|
4792
|
+
end
|
|
4793
|
+
|
|
4794
|
+
def self.field_remappings
|
|
4795
|
+
@field_remappings = {}
|
|
4796
|
+
end
|
|
4797
|
+
end
|
|
4798
|
+
# Attribute for field mandate_options
|
|
4799
|
+
attr_reader :mandate_options
|
|
4800
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4801
|
+
#
|
|
4802
|
+
# 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.
|
|
4803
|
+
#
|
|
4804
|
+
# 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.
|
|
4805
|
+
#
|
|
4806
|
+
# 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).
|
|
4807
|
+
attr_reader :setup_future_usage
|
|
4808
|
+
|
|
4809
|
+
def self.inner_class_types
|
|
4810
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
|
4811
|
+
end
|
|
4812
|
+
|
|
4813
|
+
def self.field_remappings
|
|
4814
|
+
@field_remappings = {}
|
|
4815
|
+
end
|
|
4816
|
+
end
|
|
4817
|
+
|
|
2536
4818
|
class Sunbit < ::Stripe::StripeObject
|
|
2537
4819
|
# Controls when the funds will be captured from the customer's account.
|
|
2538
4820
|
attr_reader :capture_method
|
|
@@ -2618,6 +4900,21 @@ module Stripe
|
|
|
2618
4900
|
class Filters < ::Stripe::StripeObject
|
|
2619
4901
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2620
4902
|
attr_reader :account_subcategories
|
|
4903
|
+
# The institution to use to filter for possible accounts to link.
|
|
4904
|
+
attr_reader :institution
|
|
4905
|
+
|
|
4906
|
+
def self.inner_class_types
|
|
4907
|
+
@inner_class_types = {}
|
|
4908
|
+
end
|
|
4909
|
+
|
|
4910
|
+
def self.field_remappings
|
|
4911
|
+
@field_remappings = {}
|
|
4912
|
+
end
|
|
4913
|
+
end
|
|
4914
|
+
|
|
4915
|
+
class ManualEntry < ::Stripe::StripeObject
|
|
4916
|
+
# Settings for configuring manual entry of account details.
|
|
4917
|
+
attr_reader :mode
|
|
2621
4918
|
|
|
2622
4919
|
def self.inner_class_types
|
|
2623
4920
|
@inner_class_types = {}
|
|
@@ -2629,6 +4926,8 @@ module Stripe
|
|
|
2629
4926
|
end
|
|
2630
4927
|
# Attribute for field filters
|
|
2631
4928
|
attr_reader :filters
|
|
4929
|
+
# Attribute for field manual_entry
|
|
4930
|
+
attr_reader :manual_entry
|
|
2632
4931
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
2633
4932
|
attr_reader :permissions
|
|
2634
4933
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -2637,7 +4936,7 @@ module Stripe
|
|
|
2637
4936
|
attr_reader :return_url
|
|
2638
4937
|
|
|
2639
4938
|
def self.inner_class_types
|
|
2640
|
-
@inner_class_types = { filters: Filters }
|
|
4939
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
|
2641
4940
|
end
|
|
2642
4941
|
|
|
2643
4942
|
def self.field_remappings
|
|
@@ -2688,9 +4987,70 @@ module Stripe
|
|
|
2688
4987
|
end
|
|
2689
4988
|
end
|
|
2690
4989
|
|
|
4990
|
+
class Vipps < ::Stripe::StripeObject
|
|
4991
|
+
class PaymentDetails < ::Stripe::StripeObject
|
|
4992
|
+
class MoneyServices < ::Stripe::StripeObject
|
|
4993
|
+
class AccountFunding < ::Stripe::StripeObject
|
|
4994
|
+
# The category of digital asset being acquired through this account funding transaction.
|
|
4995
|
+
attr_reader :digital_asset_category
|
|
4996
|
+
|
|
4997
|
+
def self.inner_class_types
|
|
4998
|
+
@inner_class_types = {}
|
|
4999
|
+
end
|
|
5000
|
+
|
|
5001
|
+
def self.field_remappings
|
|
5002
|
+
@field_remappings = {}
|
|
5003
|
+
end
|
|
5004
|
+
end
|
|
5005
|
+
# Attribute for field account_funding
|
|
5006
|
+
attr_reader :account_funding
|
|
5007
|
+
|
|
5008
|
+
def self.inner_class_types
|
|
5009
|
+
@inner_class_types = { account_funding: AccountFunding }
|
|
5010
|
+
end
|
|
5011
|
+
|
|
5012
|
+
def self.field_remappings
|
|
5013
|
+
@field_remappings = {}
|
|
5014
|
+
end
|
|
5015
|
+
end
|
|
5016
|
+
# Attribute for field money_services
|
|
5017
|
+
attr_reader :money_services
|
|
5018
|
+
|
|
5019
|
+
def self.inner_class_types
|
|
5020
|
+
@inner_class_types = { money_services: MoneyServices }
|
|
5021
|
+
end
|
|
5022
|
+
|
|
5023
|
+
def self.field_remappings
|
|
5024
|
+
@field_remappings = {}
|
|
5025
|
+
end
|
|
5026
|
+
end
|
|
5027
|
+
# Controls when the funds will be captured from the customer's account.
|
|
5028
|
+
attr_reader :capture_method
|
|
5029
|
+
# Attribute for field payment_details
|
|
5030
|
+
attr_reader :payment_details
|
|
5031
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5032
|
+
#
|
|
5033
|
+
# 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.
|
|
5034
|
+
#
|
|
5035
|
+
# 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.
|
|
5036
|
+
#
|
|
5037
|
+
# 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).
|
|
5038
|
+
attr_reader :setup_future_usage
|
|
5039
|
+
|
|
5040
|
+
def self.inner_class_types
|
|
5041
|
+
@inner_class_types = { payment_details: PaymentDetails }
|
|
5042
|
+
end
|
|
5043
|
+
|
|
5044
|
+
def self.field_remappings
|
|
5045
|
+
@field_remappings = {}
|
|
5046
|
+
end
|
|
5047
|
+
end
|
|
5048
|
+
|
|
2691
5049
|
class WechatPay < ::Stripe::StripeObject
|
|
2692
5050
|
# The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.
|
|
2693
5051
|
attr_reader :app_id
|
|
5052
|
+
# The unique buyer ID for the app ID registered with WeChat Pay. Only required when client is mini_program.
|
|
5053
|
+
attr_reader :buyer_id
|
|
2694
5054
|
# The client type that the end customer will pay from
|
|
2695
5055
|
attr_reader :client
|
|
2696
5056
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2769,10 +5129,16 @@ module Stripe
|
|
|
2769
5129
|
attr_reader :eps
|
|
2770
5130
|
# Attribute for field fpx
|
|
2771
5131
|
attr_reader :fpx
|
|
5132
|
+
# Attribute for field gift_card
|
|
5133
|
+
attr_reader :gift_card
|
|
2772
5134
|
# Attribute for field giropay
|
|
2773
5135
|
attr_reader :giropay
|
|
5136
|
+
# Attribute for field gopay
|
|
5137
|
+
attr_reader :gopay
|
|
2774
5138
|
# Attribute for field grabpay
|
|
2775
5139
|
attr_reader :grabpay
|
|
5140
|
+
# Attribute for field id_bank_transfer
|
|
5141
|
+
attr_reader :id_bank_transfer
|
|
2776
5142
|
# Attribute for field ideal
|
|
2777
5143
|
attr_reader :ideal
|
|
2778
5144
|
# Attribute for field interac_present
|
|
@@ -2809,12 +5175,18 @@ module Stripe
|
|
|
2809
5175
|
attr_reader :paynow
|
|
2810
5176
|
# Attribute for field paypal
|
|
2811
5177
|
attr_reader :paypal
|
|
5178
|
+
# Attribute for field paypay
|
|
5179
|
+
attr_reader :paypay
|
|
2812
5180
|
# Attribute for field payto
|
|
2813
5181
|
attr_reader :payto
|
|
2814
5182
|
# Attribute for field pix
|
|
2815
5183
|
attr_reader :pix
|
|
2816
5184
|
# Attribute for field promptpay
|
|
2817
5185
|
attr_reader :promptpay
|
|
5186
|
+
# Attribute for field qris
|
|
5187
|
+
attr_reader :qris
|
|
5188
|
+
# Attribute for field rechnung
|
|
5189
|
+
attr_reader :rechnung
|
|
2818
5190
|
# Attribute for field revolut_pay
|
|
2819
5191
|
attr_reader :revolut_pay
|
|
2820
5192
|
# Attribute for field samsung_pay
|
|
@@ -2825,8 +5197,12 @@ module Stripe
|
|
|
2825
5197
|
attr_reader :scalapay
|
|
2826
5198
|
# Attribute for field sepa_debit
|
|
2827
5199
|
attr_reader :sepa_debit
|
|
5200
|
+
# Attribute for field shopeepay
|
|
5201
|
+
attr_reader :shopeepay
|
|
2828
5202
|
# Attribute for field sofort
|
|
2829
5203
|
attr_reader :sofort
|
|
5204
|
+
# Attribute for field stripe_balance
|
|
5205
|
+
attr_reader :stripe_balance
|
|
2830
5206
|
# Attribute for field sunbit
|
|
2831
5207
|
attr_reader :sunbit
|
|
2832
5208
|
# Attribute for field swish
|
|
@@ -2837,6 +5213,8 @@ module Stripe
|
|
|
2837
5213
|
attr_reader :upi
|
|
2838
5214
|
# Attribute for field us_bank_account
|
|
2839
5215
|
attr_reader :us_bank_account
|
|
5216
|
+
# Attribute for field vipps
|
|
5217
|
+
attr_reader :vipps
|
|
2840
5218
|
# Attribute for field wechat_pay
|
|
2841
5219
|
attr_reader :wechat_pay
|
|
2842
5220
|
# Attribute for field zip
|
|
@@ -2864,8 +5242,11 @@ module Stripe
|
|
|
2864
5242
|
customer_balance: CustomerBalance,
|
|
2865
5243
|
eps: Eps,
|
|
2866
5244
|
fpx: Fpx,
|
|
5245
|
+
gift_card: GiftCard,
|
|
2867
5246
|
giropay: Giropay,
|
|
5247
|
+
gopay: Gopay,
|
|
2868
5248
|
grabpay: Grabpay,
|
|
5249
|
+
id_bank_transfer: IdBankTransfer,
|
|
2869
5250
|
ideal: Ideal,
|
|
2870
5251
|
interac_present: InteracPresent,
|
|
2871
5252
|
kakao_pay: KakaoPay,
|
|
@@ -2884,20 +5265,26 @@ module Stripe
|
|
|
2884
5265
|
payco: Payco,
|
|
2885
5266
|
paynow: Paynow,
|
|
2886
5267
|
paypal: Paypal,
|
|
5268
|
+
paypay: Paypay,
|
|
2887
5269
|
payto: Payto,
|
|
2888
5270
|
pix: Pix,
|
|
2889
5271
|
promptpay: Promptpay,
|
|
5272
|
+
qris: Qris,
|
|
5273
|
+
rechnung: Rechnung,
|
|
2890
5274
|
revolut_pay: RevolutPay,
|
|
2891
5275
|
samsung_pay: SamsungPay,
|
|
2892
5276
|
satispay: Satispay,
|
|
2893
5277
|
scalapay: Scalapay,
|
|
2894
5278
|
sepa_debit: SepaDebit,
|
|
5279
|
+
shopeepay: Shopeepay,
|
|
2895
5280
|
sofort: Sofort,
|
|
5281
|
+
stripe_balance: StripeBalance,
|
|
2896
5282
|
sunbit: Sunbit,
|
|
2897
5283
|
swish: Swish,
|
|
2898
5284
|
twint: Twint,
|
|
2899
5285
|
upi: Upi,
|
|
2900
5286
|
us_bank_account: UsBankAccount,
|
|
5287
|
+
vipps: Vipps,
|
|
2901
5288
|
wechat_pay: WechatPay,
|
|
2902
5289
|
zip: Zip,
|
|
2903
5290
|
}
|
|
@@ -2908,6 +5295,19 @@ module Stripe
|
|
|
2908
5295
|
end
|
|
2909
5296
|
end
|
|
2910
5297
|
|
|
5298
|
+
class PaymentsOrchestration < ::Stripe::StripeObject
|
|
5299
|
+
# Whether this feature is enabled.
|
|
5300
|
+
attr_reader :enabled
|
|
5301
|
+
|
|
5302
|
+
def self.inner_class_types
|
|
5303
|
+
@inner_class_types = {}
|
|
5304
|
+
end
|
|
5305
|
+
|
|
5306
|
+
def self.field_remappings
|
|
5307
|
+
@field_remappings = {}
|
|
5308
|
+
end
|
|
5309
|
+
end
|
|
5310
|
+
|
|
2911
5311
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
2912
5312
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
|
2913
5313
|
attr_reader :presentment_amount
|
|
@@ -2964,6 +5364,19 @@ module Stripe
|
|
|
2964
5364
|
end
|
|
2965
5365
|
end
|
|
2966
5366
|
|
|
5367
|
+
class Redaction < ::Stripe::StripeObject
|
|
5368
|
+
# Indicates whether this object and its related objects have been redacted or not.
|
|
5369
|
+
attr_reader :status
|
|
5370
|
+
|
|
5371
|
+
def self.inner_class_types
|
|
5372
|
+
@inner_class_types = {}
|
|
5373
|
+
end
|
|
5374
|
+
|
|
5375
|
+
def self.field_remappings
|
|
5376
|
+
@field_remappings = {}
|
|
5377
|
+
end
|
|
5378
|
+
end
|
|
5379
|
+
|
|
2967
5380
|
class Shipping < ::Stripe::StripeObject
|
|
2968
5381
|
class Address < ::Stripe::StripeObject
|
|
2969
5382
|
# City, district, suburb, town, or village.
|
|
@@ -3043,6 +5456,12 @@ module Stripe
|
|
|
3043
5456
|
@field_remappings = {}
|
|
3044
5457
|
end
|
|
3045
5458
|
end
|
|
5459
|
+
# Attribute for field advanced_feature_details
|
|
5460
|
+
attr_reader :advanced_feature_details
|
|
5461
|
+
# Details about the agent that initiated the creation of this PaymentIntent.
|
|
5462
|
+
attr_reader :agent_details
|
|
5463
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
5464
|
+
attr_reader :allocated_funds
|
|
3046
5465
|
# The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
|
|
3047
5466
|
attr_reader :allowed_payment_method_types
|
|
3048
5467
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
@@ -3057,6 +5476,8 @@ module Stripe
|
|
|
3057
5476
|
attr_reader :application
|
|
3058
5477
|
# 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).
|
|
3059
5478
|
attr_reader :application_fee_amount
|
|
5479
|
+
# Attribute for field async_workflows
|
|
5480
|
+
attr_reader :async_workflows
|
|
3060
5481
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
3061
5482
|
attr_reader :automatic_payment_methods
|
|
3062
5483
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -3093,6 +5514,8 @@ module Stripe
|
|
|
3093
5514
|
attr_reader :description
|
|
3094
5515
|
# The list of payment method types to exclude from use with this payment.
|
|
3095
5516
|
attr_reader :excluded_payment_method_types
|
|
5517
|
+
# The FX Quote used for the PaymentIntent.
|
|
5518
|
+
attr_reader :fx_quote
|
|
3096
5519
|
# Attribute for field hooks
|
|
3097
5520
|
attr_reader :hooks
|
|
3098
5521
|
# Unique identifier for the object.
|
|
@@ -3101,6 +5524,8 @@ module Stripe
|
|
|
3101
5524
|
attr_reader :last_payment_error
|
|
3102
5525
|
# ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
|
|
3103
5526
|
attr_reader :latest_charge
|
|
5527
|
+
# ID of the latest [Payment Attempt Record object](https://docs.stripe.com/api/payment-attempt-record) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
|
|
5528
|
+
attr_reader :latest_payment_attempt_record
|
|
3104
5529
|
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
3105
5530
|
attr_reader :livemode
|
|
3106
5531
|
# Settings for Managed Payments.
|
|
@@ -3124,14 +5549,22 @@ module Stripe
|
|
|
3124
5549
|
attr_reader :payment_method_options
|
|
3125
5550
|
# The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
3126
5551
|
attr_reader :payment_method_types
|
|
5552
|
+
# ID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.
|
|
5553
|
+
attr_reader :payment_record
|
|
5554
|
+
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
5555
|
+
attr_reader :payments_orchestration
|
|
3127
5556
|
# Attribute for field presentment_details
|
|
3128
5557
|
attr_reader :presentment_details
|
|
3129
5558
|
# If present, this property tells you about the processing state of the payment.
|
|
3130
5559
|
attr_reader :processing
|
|
3131
5560
|
# Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
3132
5561
|
attr_reader :receipt_email
|
|
5562
|
+
# Redaction status of this PaymentIntent. If the PaymentIntent isn't redacted, this field is null.
|
|
5563
|
+
attr_reader :redaction
|
|
3133
5564
|
# ID of the review associated with this PaymentIntent, if any.
|
|
3134
5565
|
attr_reader :review
|
|
5566
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
5567
|
+
attr_reader :secret_key_confirmation
|
|
3135
5568
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3136
5569
|
#
|
|
3137
5570
|
# 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.
|
|
@@ -3325,6 +5758,56 @@ module Stripe
|
|
|
3325
5758
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3326
5759
|
end
|
|
3327
5760
|
|
|
5761
|
+
# Perform a decremental authorization on an eligible
|
|
5762
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
5763
|
+
# PaymentIntent's status must be requires_capture and
|
|
5764
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
5765
|
+
# must be available.
|
|
5766
|
+
#
|
|
5767
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
5768
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
5769
|
+
#
|
|
5770
|
+
# After decrement, the PaymentIntent object
|
|
5771
|
+
# returns with the updated
|
|
5772
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
5773
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
5774
|
+
#
|
|
5775
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
5776
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
5777
|
+
def decrement_authorization(params = {}, opts = {})
|
|
5778
|
+
request_stripe_object(
|
|
5779
|
+
method: :post,
|
|
5780
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
5781
|
+
params: params,
|
|
5782
|
+
opts: opts
|
|
5783
|
+
)
|
|
5784
|
+
end
|
|
5785
|
+
|
|
5786
|
+
# Perform a decremental authorization on an eligible
|
|
5787
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
5788
|
+
# PaymentIntent's status must be requires_capture and
|
|
5789
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
5790
|
+
# must be available.
|
|
5791
|
+
#
|
|
5792
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
5793
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
5794
|
+
#
|
|
5795
|
+
# After decrement, the PaymentIntent object
|
|
5796
|
+
# returns with the updated
|
|
5797
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
5798
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
5799
|
+
#
|
|
5800
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
5801
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
5802
|
+
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
5803
|
+
request_stripe_object(
|
|
5804
|
+
method: :post,
|
|
5805
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
5806
|
+
params: params,
|
|
5807
|
+
opts: opts
|
|
5808
|
+
)
|
|
5809
|
+
end
|
|
5810
|
+
|
|
3328
5811
|
# Perform an incremental authorization on an eligible
|
|
3329
5812
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3330
5813
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -3400,6 +5883,40 @@ module Stripe
|
|
|
3400
5883
|
request_stripe_object(method: :get, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3401
5884
|
end
|
|
3402
5885
|
|
|
5886
|
+
# Reauthorize a PaymentIntent to obtain a new valid authorization after the initial authorization has expired.
|
|
5887
|
+
#
|
|
5888
|
+
# When a PaymentIntent's authorization expires and the capture window elapses, the PaymentIntent transitions to
|
|
5889
|
+
# requires_reauthorization status with amount_capturable set to 0. This endpoint
|
|
5890
|
+
# brings the PaymentIntent back to requires_capture status, allowing you to capture payment.
|
|
5891
|
+
#
|
|
5892
|
+
# This is useful for retail and ecommerce scenarios with delayed shipments where
|
|
5893
|
+
# authorization validity periods (typically 7 days) expire before the merchant is ready to capture payment.
|
|
5894
|
+
def reauthorize(params = {}, opts = {})
|
|
5895
|
+
request_stripe_object(
|
|
5896
|
+
method: :post,
|
|
5897
|
+
path: format("/v1/payment_intents/%<intent>s/reauthorize", { intent: CGI.escape(self["id"]) }),
|
|
5898
|
+
params: params,
|
|
5899
|
+
opts: opts
|
|
5900
|
+
)
|
|
5901
|
+
end
|
|
5902
|
+
|
|
5903
|
+
# Reauthorize a PaymentIntent to obtain a new valid authorization after the initial authorization has expired.
|
|
5904
|
+
#
|
|
5905
|
+
# When a PaymentIntent's authorization expires and the capture window elapses, the PaymentIntent transitions to
|
|
5906
|
+
# requires_reauthorization status with amount_capturable set to 0. This endpoint
|
|
5907
|
+
# brings the PaymentIntent back to requires_capture status, allowing you to capture payment.
|
|
5908
|
+
#
|
|
5909
|
+
# This is useful for retail and ecommerce scenarios with delayed shipments where
|
|
5910
|
+
# authorization validity periods (typically 7 days) expire before the merchant is ready to capture payment.
|
|
5911
|
+
def self.reauthorize(intent, params = {}, opts = {})
|
|
5912
|
+
request_stripe_object(
|
|
5913
|
+
method: :post,
|
|
5914
|
+
path: format("/v1/payment_intents/%<intent>s/reauthorize", { intent: CGI.escape(intent) }),
|
|
5915
|
+
params: params,
|
|
5916
|
+
opts: opts
|
|
5917
|
+
)
|
|
5918
|
+
end
|
|
5919
|
+
|
|
3403
5920
|
def self.search(params = {}, opts = {})
|
|
3404
5921
|
request_stripe_object(
|
|
3405
5922
|
method: :get,
|
|
@@ -3413,6 +5930,26 @@ module Stripe
|
|
|
3413
5930
|
search(params, opts).auto_paging_each(&blk)
|
|
3414
5931
|
end
|
|
3415
5932
|
|
|
5933
|
+
# Trigger an external action on a PaymentIntent.
|
|
5934
|
+
def trigger_action(params = {}, opts = {})
|
|
5935
|
+
request_stripe_object(
|
|
5936
|
+
method: :post,
|
|
5937
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
5938
|
+
params: params,
|
|
5939
|
+
opts: opts
|
|
5940
|
+
)
|
|
5941
|
+
end
|
|
5942
|
+
|
|
5943
|
+
# Trigger an external action on a PaymentIntent.
|
|
5944
|
+
def self.trigger_action(intent, params = {}, opts = {})
|
|
5945
|
+
request_stripe_object(
|
|
5946
|
+
method: :post,
|
|
5947
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
5948
|
+
params: params,
|
|
5949
|
+
opts: opts
|
|
5950
|
+
)
|
|
5951
|
+
end
|
|
5952
|
+
|
|
3416
5953
|
# Updates properties on a PaymentIntent object without confirming.
|
|
3417
5954
|
#
|
|
3418
5955
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -3429,6 +5966,26 @@ module Stripe
|
|
|
3429
5966
|
)
|
|
3430
5967
|
end
|
|
3431
5968
|
|
|
5969
|
+
# Updates the refund address for a static crypto deposit PaymentIntent on the specified network.
|
|
5970
|
+
def update_crypto_refund_address(params = {}, opts = {})
|
|
5971
|
+
request_stripe_object(
|
|
5972
|
+
method: :post,
|
|
5973
|
+
path: format("/v1/payment_intents/%<intent>s/update_crypto_refund_address", { intent: CGI.escape(self["id"]) }),
|
|
5974
|
+
params: params,
|
|
5975
|
+
opts: opts
|
|
5976
|
+
)
|
|
5977
|
+
end
|
|
5978
|
+
|
|
5979
|
+
# Updates the refund address for a static crypto deposit PaymentIntent on the specified network.
|
|
5980
|
+
def self.update_crypto_refund_address(intent, params = {}, opts = {})
|
|
5981
|
+
request_stripe_object(
|
|
5982
|
+
method: :post,
|
|
5983
|
+
path: format("/v1/payment_intents/%<intent>s/update_crypto_refund_address", { intent: CGI.escape(intent) }),
|
|
5984
|
+
params: params,
|
|
5985
|
+
opts: opts
|
|
5986
|
+
)
|
|
5987
|
+
end
|
|
5988
|
+
|
|
3432
5989
|
# Verifies microdeposits on a PaymentIntent object.
|
|
3433
5990
|
def verify_microdeposits(params = {}, opts = {})
|
|
3434
5991
|
request_stripe_object(
|
|
@@ -3449,9 +6006,44 @@ module Stripe
|
|
|
3449
6006
|
)
|
|
3450
6007
|
end
|
|
3451
6008
|
|
|
6009
|
+
def test_helpers
|
|
6010
|
+
TestHelpers.new(self)
|
|
6011
|
+
end
|
|
6012
|
+
|
|
6013
|
+
class TestHelpers < APIResourceTestHelpers
|
|
6014
|
+
RESOURCE_CLASS = PaymentIntent
|
|
6015
|
+
def self.resource_class
|
|
6016
|
+
"PaymentIntent"
|
|
6017
|
+
end
|
|
6018
|
+
|
|
6019
|
+
# Simulate an incoming crypto deposit for a testmode PaymentIntent with payment_method_options[crypto][mode]=deposit. The transaction_hash parameter determines whether the simulated deposit succeeds or fails. Learn more about [testing your integration](https://docs.stripe.com/docs/payments/deposit-mode-stablecoin-payments#test-your-integration).
|
|
6020
|
+
def self.simulate_crypto_deposit(intent, params = {}, opts = {})
|
|
6021
|
+
request_stripe_object(
|
|
6022
|
+
method: :post,
|
|
6023
|
+
path: format("/v1/test_helpers/payment_intents/%<intent>s/simulate_crypto_deposit", { intent: CGI.escape(intent) }),
|
|
6024
|
+
params: params,
|
|
6025
|
+
opts: opts
|
|
6026
|
+
)
|
|
6027
|
+
end
|
|
6028
|
+
|
|
6029
|
+
# Simulate an incoming crypto deposit for a testmode PaymentIntent with payment_method_options[crypto][mode]=deposit. The transaction_hash parameter determines whether the simulated deposit succeeds or fails. Learn more about [testing your integration](https://docs.stripe.com/docs/payments/deposit-mode-stablecoin-payments#test-your-integration).
|
|
6030
|
+
def simulate_crypto_deposit(params = {}, opts = {})
|
|
6031
|
+
@resource.request_stripe_object(
|
|
6032
|
+
method: :post,
|
|
6033
|
+
path: format("/v1/test_helpers/payment_intents/%<intent>s/simulate_crypto_deposit", { intent: CGI.escape(@resource["id"]) }),
|
|
6034
|
+
params: params,
|
|
6035
|
+
opts: opts
|
|
6036
|
+
)
|
|
6037
|
+
end
|
|
6038
|
+
end
|
|
6039
|
+
|
|
3452
6040
|
def self.inner_class_types
|
|
3453
6041
|
@inner_class_types = {
|
|
6042
|
+
advanced_feature_details: AdvancedFeatureDetails,
|
|
6043
|
+
agent_details: AgentDetails,
|
|
6044
|
+
allocated_funds: AllocatedFunds,
|
|
3454
6045
|
amount_details: AmountDetails,
|
|
6046
|
+
async_workflows: AsyncWorkflows,
|
|
3455
6047
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3456
6048
|
hooks: Hooks,
|
|
3457
6049
|
last_payment_error: LastPaymentError,
|
|
@@ -3460,8 +6052,10 @@ module Stripe
|
|
|
3460
6052
|
payment_details: PaymentDetails,
|
|
3461
6053
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
3462
6054
|
payment_method_options: PaymentMethodOptions,
|
|
6055
|
+
payments_orchestration: PaymentsOrchestration,
|
|
3463
6056
|
presentment_details: PresentmentDetails,
|
|
3464
6057
|
processing: Processing,
|
|
6058
|
+
redaction: Redaction,
|
|
3465
6059
|
shipping: Shipping,
|
|
3466
6060
|
transfer_data: TransferData,
|
|
3467
6061
|
}
|