stripe 19.3.0 → 19.4.0.pre.alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +38 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +90 -0
- data/lib/stripe/event_types.rb +1328 -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_billing_alert_triggered_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_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_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_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_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_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 +96 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +98 -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_failed_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_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_signal_fraudulent_merchant_ready_event.rb +88 -0
- data/lib/stripe/events/v2_signals_account_signal_merchant_delinquency_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +138 -0
- data/lib/stripe/params/account_create_params.rb +461 -2
- 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 +343 -1
- data/lib/stripe/params/account_signals_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_update_params.rb +423 -1
- 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/analytics/meter_usage_retrieve_params.rb +69 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +48 -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/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/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- 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 +568 -5
- data/lib/stripe/params/checkout/session_update_params.rb +176 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +96 -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/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_session_create_params.rb +32 -1
- data/lib/stripe/params/delegated_checkout/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +168 -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 +64 -2
- data/lib/stripe/params/fr_meal_vouchers_onboarding_create_params.rb +25 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +22 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +13 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +16 -0
- 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 +4 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +11 -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 +98 -3
- 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 +33 -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 +98 -3
- data/lib/stripe/params/issuing/authorization_capture_params.rb +13 -0
- data/lib/stripe/params/issuing/authorization_create_params.rb +8 -0
- data/lib/stripe/params/issuing/card_list_params.rb +34 -1
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- 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 +21 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +8 -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 +41 -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 +92 -0
- data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +88 -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 +1773 -3
- data/lib/stripe/params/payment_intent_confirm_params.rb +3641 -128
- data/lib/stripe/params/payment_intent_create_params.rb +3660 -131
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +328 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +70 -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 +3668 -124
- data/lib/stripe/params/payment_link_create_params.rb +34 -0
- 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 +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +92 -0
- data/lib/stripe/params/payment_method_update_params.rb +16 -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 +74 -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/privacy/redaction_job_list_params.rb +27 -0
- 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_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 +30 -1
- data/lib/stripe/params/refund_create_params.rb +4 -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 +182 -3
- data/lib/stripe/params/setup_intent_create_params.rb +182 -3
- data/lib/stripe/params/setup_intent_update_params.rb +183 -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 +70 -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_create_params.rb +325 -7
- 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 +335 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +335 -5
- data/lib/stripe/params/subscription_update_params.rb +308 -6
- 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 +117 -0
- 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_collected_data_retrieve_params.rb +15 -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 +96 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +13 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +8 -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 +21 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +8 -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/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 +653 -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 +1233 -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/meter_event_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- 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 +4024 -56
- 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_token_create_params.rb +254 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +4006 -59
- 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 +22 -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 +183 -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 +70 -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_create_params.rb +138 -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 +17 -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/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 +362 -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/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/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 +999 -0
- data/lib/stripe/resources/account.rb +271 -1
- 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/billing/alert.rb +274 -1
- data/lib/stripe/resources/billing/alert_recovered.rb +44 -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 +172 -3
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +145 -2
- data/lib/stripe/resources/billing/credit_grant.rb +77 -2
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/capability.rb +36 -1
- 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 +402 -2
- data/lib/stripe/resources/checkout/session.rb +667 -3
- data/lib/stripe/resources/confirmation_token.rb +227 -1
- 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/onramp_session.rb +218 -0
- data/lib/stripe/resources/crypto/onramp_transaction_limits.rb +33 -0
- data/lib/stripe/resources/customer.rb +16 -0
- data/lib/stripe/resources/customer_session.rb +36 -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 +45 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +99 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +125 -1
- data/lib/stripe/resources/fr_meal_vouchers_onboarding.rb +153 -0
- 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 +195 -1
- data/lib/stripe/resources/invoice_item.rb +126 -2
- data/lib/stripe/resources/invoice_line_item.rb +195 -1
- data/lib/stripe/resources/issuing/authorization.rb +448 -0
- data/lib/stripe/resources/issuing/card.rb +22 -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 +144 -0
- 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 +495 -3
- data/lib/stripe/resources/payment_intent.rb +2480 -27
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +19 -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 +271 -1
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_record.rb +350 -3
- data/lib/stripe/resources/person.rb +62 -0
- 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 +106 -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 +1261 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +911 -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 +23 -1
- 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 +35 -0
- data/lib/stripe/resources/setup_intent.rb +126 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +1842 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +293 -0
- data/lib/stripe/resources/source.rb +54 -0
- data/lib/stripe/resources/subscription.rb +250 -0
- data/lib/stripe/resources/subscription_item.rb +41 -1
- data/lib/stripe/resources/subscription_schedule.rb +373 -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 +72 -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 +8 -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 +820 -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 +354 -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/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- 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 +19495 -1352
- 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 +1 -0
- 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 +572 -0
- data/lib/stripe/resources/v2/core/health/alert_history_entry.rb +542 -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 +187 -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 +328 -0
- data/lib/stripe/resources/v2/money_management/financial_account_statement.rb +101 -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 +374 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +146 -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 +245 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +169 -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 +404 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +262 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +187 -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 +288 -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/signals/account_signal.rb +144 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +145 -0
- data/lib/stripe/resources.rb +1783 -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_service.rb +2 -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 -1
- 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/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 +15 -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 +59 -0
- data/lib/stripe/services/customer_session_service.rb +14 -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/fr_meal_vouchers_onboarding_service.rb +57 -0
- 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/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_record_service.rb +14 -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 +19 -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_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 +71 -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_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 +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +38 -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/signals/account_signal_service.rb +32 -0
- data/lib/stripe/services/v2/signals_service.rb +15 -0
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +73 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -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 +12 -1
- data/lib/stripe/services.rb +437 -0
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_event_notification_handler.rb +2550 -0
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +54 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +253224 -109645
- metadata +1097 -4
|
@@ -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
|
|
@@ -352,6 +541,199 @@ module Stripe
|
|
|
352
541
|
end
|
|
353
542
|
end
|
|
354
543
|
|
|
544
|
+
class CryptoDisplayDetails < ::Stripe::StripeObject
|
|
545
|
+
class DepositAddresses < ::Stripe::StripeObject
|
|
546
|
+
class Base < ::Stripe::StripeObject
|
|
547
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
548
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
549
|
+
attr_reader :token_contract_address
|
|
550
|
+
# The supported token currency.
|
|
551
|
+
attr_reader :token_currency
|
|
552
|
+
|
|
553
|
+
def self.inner_class_types
|
|
554
|
+
@inner_class_types = {}
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
def self.field_remappings
|
|
558
|
+
@field_remappings = {}
|
|
559
|
+
end
|
|
560
|
+
end
|
|
561
|
+
# Address of the deposit address.
|
|
562
|
+
attr_reader :address
|
|
563
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
564
|
+
attr_reader :refund_address
|
|
565
|
+
# The token currencies supported on this network.
|
|
566
|
+
attr_reader :supported_tokens
|
|
567
|
+
|
|
568
|
+
def self.inner_class_types
|
|
569
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
def self.field_remappings
|
|
573
|
+
@field_remappings = {}
|
|
574
|
+
end
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
class Ethereum < ::Stripe::StripeObject
|
|
578
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
579
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
580
|
+
attr_reader :token_contract_address
|
|
581
|
+
# The supported token currency.
|
|
582
|
+
attr_reader :token_currency
|
|
583
|
+
|
|
584
|
+
def self.inner_class_types
|
|
585
|
+
@inner_class_types = {}
|
|
586
|
+
end
|
|
587
|
+
|
|
588
|
+
def self.field_remappings
|
|
589
|
+
@field_remappings = {}
|
|
590
|
+
end
|
|
591
|
+
end
|
|
592
|
+
# Address of the deposit address.
|
|
593
|
+
attr_reader :address
|
|
594
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
595
|
+
attr_reader :refund_address
|
|
596
|
+
# The token currencies supported on this network.
|
|
597
|
+
attr_reader :supported_tokens
|
|
598
|
+
|
|
599
|
+
def self.inner_class_types
|
|
600
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
def self.field_remappings
|
|
604
|
+
@field_remappings = {}
|
|
605
|
+
end
|
|
606
|
+
end
|
|
607
|
+
|
|
608
|
+
class Polygon < ::Stripe::StripeObject
|
|
609
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
610
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
611
|
+
attr_reader :token_contract_address
|
|
612
|
+
# The supported token currency.
|
|
613
|
+
attr_reader :token_currency
|
|
614
|
+
|
|
615
|
+
def self.inner_class_types
|
|
616
|
+
@inner_class_types = {}
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
def self.field_remappings
|
|
620
|
+
@field_remappings = {}
|
|
621
|
+
end
|
|
622
|
+
end
|
|
623
|
+
# Address of the deposit address.
|
|
624
|
+
attr_reader :address
|
|
625
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
626
|
+
attr_reader :refund_address
|
|
627
|
+
# The token currencies supported on this network.
|
|
628
|
+
attr_reader :supported_tokens
|
|
629
|
+
|
|
630
|
+
def self.inner_class_types
|
|
631
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
def self.field_remappings
|
|
635
|
+
@field_remappings = {}
|
|
636
|
+
end
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
class Solana < ::Stripe::StripeObject
|
|
640
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
641
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
642
|
+
attr_reader :token_contract_address
|
|
643
|
+
# The supported token currency.
|
|
644
|
+
attr_reader :token_currency
|
|
645
|
+
|
|
646
|
+
def self.inner_class_types
|
|
647
|
+
@inner_class_types = {}
|
|
648
|
+
end
|
|
649
|
+
|
|
650
|
+
def self.field_remappings
|
|
651
|
+
@field_remappings = {}
|
|
652
|
+
end
|
|
653
|
+
end
|
|
654
|
+
# Address of the deposit address.
|
|
655
|
+
attr_reader :address
|
|
656
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
657
|
+
attr_reader :refund_address
|
|
658
|
+
# The token currencies supported on this network.
|
|
659
|
+
attr_reader :supported_tokens
|
|
660
|
+
|
|
661
|
+
def self.inner_class_types
|
|
662
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
def self.field_remappings
|
|
666
|
+
@field_remappings = {}
|
|
667
|
+
end
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
class Tempo < ::Stripe::StripeObject
|
|
671
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
672
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
673
|
+
attr_reader :token_contract_address
|
|
674
|
+
# The supported token currency.
|
|
675
|
+
attr_reader :token_currency
|
|
676
|
+
|
|
677
|
+
def self.inner_class_types
|
|
678
|
+
@inner_class_types = {}
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
def self.field_remappings
|
|
682
|
+
@field_remappings = {}
|
|
683
|
+
end
|
|
684
|
+
end
|
|
685
|
+
# Address of the deposit address.
|
|
686
|
+
attr_reader :address
|
|
687
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
688
|
+
attr_reader :refund_address
|
|
689
|
+
# The token currencies supported on this network.
|
|
690
|
+
attr_reader :supported_tokens
|
|
691
|
+
|
|
692
|
+
def self.inner_class_types
|
|
693
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
def self.field_remappings
|
|
697
|
+
@field_remappings = {}
|
|
698
|
+
end
|
|
699
|
+
end
|
|
700
|
+
# Attribute for field base
|
|
701
|
+
attr_reader :base
|
|
702
|
+
# Attribute for field ethereum
|
|
703
|
+
attr_reader :ethereum
|
|
704
|
+
# Attribute for field polygon
|
|
705
|
+
attr_reader :polygon
|
|
706
|
+
# Attribute for field solana
|
|
707
|
+
attr_reader :solana
|
|
708
|
+
# Attribute for field tempo
|
|
709
|
+
attr_reader :tempo
|
|
710
|
+
|
|
711
|
+
def self.inner_class_types
|
|
712
|
+
@inner_class_types = {
|
|
713
|
+
base: Base,
|
|
714
|
+
ethereum: Ethereum,
|
|
715
|
+
polygon: Polygon,
|
|
716
|
+
solana: Solana,
|
|
717
|
+
tempo: Tempo,
|
|
718
|
+
}
|
|
719
|
+
end
|
|
720
|
+
|
|
721
|
+
def self.field_remappings
|
|
722
|
+
@field_remappings = {}
|
|
723
|
+
end
|
|
724
|
+
end
|
|
725
|
+
# Attribute for field deposit_addresses
|
|
726
|
+
attr_reader :deposit_addresses
|
|
727
|
+
|
|
728
|
+
def self.inner_class_types
|
|
729
|
+
@inner_class_types = { deposit_addresses: DepositAddresses }
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
def self.field_remappings
|
|
733
|
+
@field_remappings = {}
|
|
734
|
+
end
|
|
735
|
+
end
|
|
736
|
+
|
|
355
737
|
class DisplayBankTransferInstructions < ::Stripe::StripeObject
|
|
356
738
|
class FinancialAddress < ::Stripe::StripeObject
|
|
357
739
|
class Aba < ::Stripe::StripeObject
|
|
@@ -1171,6 +1553,19 @@ module Stripe
|
|
|
1171
1553
|
end
|
|
1172
1554
|
end
|
|
1173
1555
|
|
|
1556
|
+
class WechatPayHandleAppRedirect < ::Stripe::StripeObject
|
|
1557
|
+
# Session ID of the WeChat Pay signing session
|
|
1558
|
+
attr_reader :session_id
|
|
1559
|
+
|
|
1560
|
+
def self.inner_class_types
|
|
1561
|
+
@inner_class_types = {}
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1564
|
+
def self.field_remappings
|
|
1565
|
+
@field_remappings = {}
|
|
1566
|
+
end
|
|
1567
|
+
end
|
|
1568
|
+
|
|
1174
1569
|
class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject
|
|
1175
1570
|
# app_id is the APP ID registered on WeChat open platform
|
|
1176
1571
|
attr_reader :app_id
|
|
@@ -1218,6 +1613,8 @@ module Stripe
|
|
|
1218
1613
|
attr_reader :card_await_notification
|
|
1219
1614
|
# Attribute for field cashapp_handle_redirect_or_display_qr_code
|
|
1220
1615
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
|
1616
|
+
# Attribute for field crypto_display_details
|
|
1617
|
+
attr_reader :crypto_display_details
|
|
1221
1618
|
# Attribute for field display_bank_transfer_instructions
|
|
1222
1619
|
attr_reader :display_bank_transfer_instructions
|
|
1223
1620
|
# Attribute for field klarna_display_qr_code
|
|
@@ -1248,6 +1645,8 @@ module Stripe
|
|
|
1248
1645
|
attr_reader :verify_with_microdeposits
|
|
1249
1646
|
# Attribute for field wechat_pay_display_qr_code
|
|
1250
1647
|
attr_reader :wechat_pay_display_qr_code
|
|
1648
|
+
# Attribute for field wechat_pay_handle_app_redirect
|
|
1649
|
+
attr_reader :wechat_pay_handle_app_redirect
|
|
1251
1650
|
# Attribute for field wechat_pay_redirect_to_android_app
|
|
1252
1651
|
attr_reader :wechat_pay_redirect_to_android_app
|
|
1253
1652
|
# Attribute for field wechat_pay_redirect_to_ios_app
|
|
@@ -1260,6 +1659,7 @@ module Stripe
|
|
|
1260
1659
|
boleto_display_details: BoletoDisplayDetails,
|
|
1261
1660
|
card_await_notification: CardAwaitNotification,
|
|
1262
1661
|
cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
|
|
1662
|
+
crypto_display_details: CryptoDisplayDetails,
|
|
1263
1663
|
display_bank_transfer_instructions: DisplayBankTransferInstructions,
|
|
1264
1664
|
klarna_display_qr_code: KlarnaDisplayQrCode,
|
|
1265
1665
|
konbini_display_details: KonbiniDisplayDetails,
|
|
@@ -1273,6 +1673,7 @@ module Stripe
|
|
|
1273
1673
|
upi_handle_redirect_or_display_qr_code: UpiHandleRedirectOrDisplayQrCode,
|
|
1274
1674
|
verify_with_microdeposits: VerifyWithMicrodeposits,
|
|
1275
1675
|
wechat_pay_display_qr_code: WechatPayDisplayQrCode,
|
|
1676
|
+
wechat_pay_handle_app_redirect: WechatPayHandleAppRedirect,
|
|
1276
1677
|
wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
|
|
1277
1678
|
wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
|
|
1278
1679
|
}
|
|
@@ -1284,17 +1685,1463 @@ module Stripe
|
|
|
1284
1685
|
end
|
|
1285
1686
|
|
|
1286
1687
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1688
|
+
class Benefit < ::Stripe::StripeObject
|
|
1689
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
|
1690
|
+
# Whether meal voucher benefit is enabled for this payment.
|
|
1691
|
+
attr_reader :enabled
|
|
1692
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1693
|
+
attr_reader :siret
|
|
1694
|
+
|
|
1695
|
+
def self.inner_class_types
|
|
1696
|
+
@inner_class_types = {}
|
|
1697
|
+
end
|
|
1698
|
+
|
|
1699
|
+
def self.field_remappings
|
|
1700
|
+
@field_remappings = {}
|
|
1701
|
+
end
|
|
1702
|
+
end
|
|
1703
|
+
# Attribute for field fr_meal_voucher
|
|
1704
|
+
attr_reader :fr_meal_voucher
|
|
1705
|
+
|
|
1706
|
+
def self.inner_class_types
|
|
1707
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1710
|
+
def self.field_remappings
|
|
1711
|
+
@field_remappings = {}
|
|
1712
|
+
end
|
|
1713
|
+
end
|
|
1714
|
+
|
|
1715
|
+
class CarRental < ::Stripe::StripeObject
|
|
1716
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1717
|
+
# The name of the affiliate that originated the purchase.
|
|
1718
|
+
attr_reader :name
|
|
1719
|
+
|
|
1720
|
+
def self.inner_class_types
|
|
1721
|
+
@inner_class_types = {}
|
|
1722
|
+
end
|
|
1723
|
+
|
|
1724
|
+
def self.field_remappings
|
|
1725
|
+
@field_remappings = {}
|
|
1726
|
+
end
|
|
1727
|
+
end
|
|
1728
|
+
|
|
1729
|
+
class Delivery < ::Stripe::StripeObject
|
|
1730
|
+
class Recipient < ::Stripe::StripeObject
|
|
1731
|
+
# The email of the recipient the ticket is delivered to.
|
|
1732
|
+
attr_reader :email
|
|
1733
|
+
# The name of the recipient the ticket is delivered to.
|
|
1734
|
+
attr_reader :name
|
|
1735
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1736
|
+
attr_reader :phone
|
|
1737
|
+
|
|
1738
|
+
def self.inner_class_types
|
|
1739
|
+
@inner_class_types = {}
|
|
1740
|
+
end
|
|
1741
|
+
|
|
1742
|
+
def self.field_remappings
|
|
1743
|
+
@field_remappings = {}
|
|
1744
|
+
end
|
|
1745
|
+
end
|
|
1746
|
+
# The delivery method for the payment
|
|
1747
|
+
attr_reader :mode
|
|
1748
|
+
# Attribute for field recipient
|
|
1749
|
+
attr_reader :recipient
|
|
1750
|
+
|
|
1751
|
+
def self.inner_class_types
|
|
1752
|
+
@inner_class_types = { recipient: Recipient }
|
|
1753
|
+
end
|
|
1754
|
+
|
|
1755
|
+
def self.field_remappings
|
|
1756
|
+
@field_remappings = {}
|
|
1757
|
+
end
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1760
|
+
class Distance < ::Stripe::StripeObject
|
|
1761
|
+
# Distance traveled.
|
|
1762
|
+
attr_reader :amount
|
|
1763
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1764
|
+
attr_reader :unit
|
|
1765
|
+
|
|
1766
|
+
def self.inner_class_types
|
|
1767
|
+
@inner_class_types = {}
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
def self.field_remappings
|
|
1771
|
+
@field_remappings = {}
|
|
1772
|
+
end
|
|
1773
|
+
end
|
|
1774
|
+
|
|
1775
|
+
class Driver < ::Stripe::StripeObject
|
|
1776
|
+
# Driver's identification number.
|
|
1777
|
+
attr_reader :driver_identification_number
|
|
1778
|
+
# Driver's tax number.
|
|
1779
|
+
attr_reader :driver_tax_number
|
|
1780
|
+
# Full name of the driver on the reservation.
|
|
1781
|
+
attr_reader :name
|
|
1782
|
+
|
|
1783
|
+
def self.inner_class_types
|
|
1784
|
+
@inner_class_types = {}
|
|
1785
|
+
end
|
|
1786
|
+
|
|
1787
|
+
def self.field_remappings
|
|
1788
|
+
@field_remappings = {}
|
|
1789
|
+
end
|
|
1790
|
+
end
|
|
1791
|
+
|
|
1792
|
+
class PickupAddress < ::Stripe::StripeObject
|
|
1793
|
+
# City, district, suburb, town, or village.
|
|
1794
|
+
attr_reader :city
|
|
1795
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1796
|
+
attr_reader :country
|
|
1797
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1798
|
+
attr_reader :line1
|
|
1799
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1800
|
+
attr_reader :line2
|
|
1801
|
+
# ZIP or postal code.
|
|
1802
|
+
attr_reader :postal_code
|
|
1803
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1804
|
+
attr_reader :state
|
|
1805
|
+
|
|
1806
|
+
def self.inner_class_types
|
|
1807
|
+
@inner_class_types = {}
|
|
1808
|
+
end
|
|
1809
|
+
|
|
1810
|
+
def self.field_remappings
|
|
1811
|
+
@field_remappings = {}
|
|
1812
|
+
end
|
|
1813
|
+
end
|
|
1814
|
+
|
|
1815
|
+
class ReturnAddress < ::Stripe::StripeObject
|
|
1816
|
+
# City, district, suburb, town, or village.
|
|
1817
|
+
attr_reader :city
|
|
1818
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1819
|
+
attr_reader :country
|
|
1820
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1821
|
+
attr_reader :line1
|
|
1822
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1823
|
+
attr_reader :line2
|
|
1824
|
+
# ZIP or postal code.
|
|
1825
|
+
attr_reader :postal_code
|
|
1826
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1827
|
+
attr_reader :state
|
|
1828
|
+
|
|
1829
|
+
def self.inner_class_types
|
|
1830
|
+
@inner_class_types = {}
|
|
1831
|
+
end
|
|
1832
|
+
|
|
1833
|
+
def self.field_remappings
|
|
1834
|
+
@field_remappings = {}
|
|
1835
|
+
end
|
|
1836
|
+
end
|
|
1837
|
+
# Attribute for field affiliate
|
|
1838
|
+
attr_reader :affiliate
|
|
1839
|
+
# The booking number associated with the car rental.
|
|
1840
|
+
attr_reader :booking_number
|
|
1841
|
+
# Class code of the car.
|
|
1842
|
+
attr_reader :car_class_code
|
|
1843
|
+
# Make of the car.
|
|
1844
|
+
attr_reader :car_make
|
|
1845
|
+
# Model of the car.
|
|
1846
|
+
attr_reader :car_model
|
|
1847
|
+
# The name of the rental car company.
|
|
1848
|
+
attr_reader :company
|
|
1849
|
+
# The customer service phone number of the car rental company.
|
|
1850
|
+
attr_reader :customer_service_phone_number
|
|
1851
|
+
# Number of days the car is being rented.
|
|
1852
|
+
attr_reader :days_rented
|
|
1853
|
+
# Attribute for field delivery
|
|
1854
|
+
attr_reader :delivery
|
|
1855
|
+
# Attribute for field distance
|
|
1856
|
+
attr_reader :distance
|
|
1857
|
+
# The details of the drivers associated with the trip.
|
|
1858
|
+
attr_reader :drivers
|
|
1859
|
+
# List of additional charges being billed.
|
|
1860
|
+
attr_reader :extra_charges
|
|
1861
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
1862
|
+
attr_reader :no_show
|
|
1863
|
+
# Attribute for field pickup_address
|
|
1864
|
+
attr_reader :pickup_address
|
|
1865
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1866
|
+
attr_reader :pickup_at
|
|
1867
|
+
# Name of the pickup location.
|
|
1868
|
+
attr_reader :pickup_location_name
|
|
1869
|
+
# Rental rate.
|
|
1870
|
+
attr_reader :rate_amount
|
|
1871
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1872
|
+
attr_reader :rate_interval
|
|
1873
|
+
# The full name of the person or entity renting the car.
|
|
1874
|
+
attr_reader :renter_name
|
|
1875
|
+
# Attribute for field return_address
|
|
1876
|
+
attr_reader :return_address
|
|
1877
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
1878
|
+
attr_reader :return_at
|
|
1879
|
+
# Name of the return location.
|
|
1880
|
+
attr_reader :return_location_name
|
|
1881
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1882
|
+
attr_reader :tax_exempt
|
|
1883
|
+
# The vehicle identification number of the car.
|
|
1884
|
+
attr_reader :vehicle_identification_number
|
|
1885
|
+
|
|
1886
|
+
def self.inner_class_types
|
|
1887
|
+
@inner_class_types = {
|
|
1888
|
+
affiliate: Affiliate,
|
|
1889
|
+
delivery: Delivery,
|
|
1890
|
+
distance: Distance,
|
|
1891
|
+
drivers: Driver,
|
|
1892
|
+
pickup_address: PickupAddress,
|
|
1893
|
+
return_address: ReturnAddress,
|
|
1894
|
+
}
|
|
1895
|
+
end
|
|
1896
|
+
|
|
1897
|
+
def self.field_remappings
|
|
1898
|
+
@field_remappings = {}
|
|
1899
|
+
end
|
|
1900
|
+
end
|
|
1901
|
+
|
|
1902
|
+
class CarRentalDatum < ::Stripe::StripeObject
|
|
1903
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1904
|
+
# Affiliate code.
|
|
1905
|
+
attr_reader :code
|
|
1906
|
+
# Affiliate name.
|
|
1907
|
+
attr_reader :name
|
|
1908
|
+
|
|
1909
|
+
def self.inner_class_types
|
|
1910
|
+
@inner_class_types = {}
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1913
|
+
def self.field_remappings
|
|
1914
|
+
@field_remappings = {}
|
|
1915
|
+
end
|
|
1916
|
+
end
|
|
1917
|
+
|
|
1918
|
+
class Distance < ::Stripe::StripeObject
|
|
1919
|
+
# Distance amount.
|
|
1920
|
+
attr_reader :amount
|
|
1921
|
+
# Unit for the distance.
|
|
1922
|
+
attr_reader :unit
|
|
1923
|
+
|
|
1924
|
+
def self.inner_class_types
|
|
1925
|
+
@inner_class_types = {}
|
|
1926
|
+
end
|
|
1927
|
+
|
|
1928
|
+
def self.field_remappings
|
|
1929
|
+
@field_remappings = {}
|
|
1930
|
+
end
|
|
1931
|
+
end
|
|
1932
|
+
|
|
1933
|
+
class Driver < ::Stripe::StripeObject
|
|
1934
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
1935
|
+
# Day of birth.
|
|
1936
|
+
attr_reader :day
|
|
1937
|
+
# Month of birth.
|
|
1938
|
+
attr_reader :month
|
|
1939
|
+
# Year of birth.
|
|
1940
|
+
attr_reader :year
|
|
1941
|
+
|
|
1942
|
+
def self.inner_class_types
|
|
1943
|
+
@inner_class_types = {}
|
|
1944
|
+
end
|
|
1945
|
+
|
|
1946
|
+
def self.field_remappings
|
|
1947
|
+
@field_remappings = {}
|
|
1948
|
+
end
|
|
1949
|
+
end
|
|
1950
|
+
# Attribute for field date_of_birth
|
|
1951
|
+
attr_reader :date_of_birth
|
|
1952
|
+
# Driver's identification number.
|
|
1953
|
+
attr_reader :driver_identification_number
|
|
1954
|
+
# Driver's tax number.
|
|
1955
|
+
attr_reader :driver_tax_number
|
|
1956
|
+
# Full name of the driver.
|
|
1957
|
+
attr_reader :name
|
|
1958
|
+
|
|
1959
|
+
def self.inner_class_types
|
|
1960
|
+
@inner_class_types = { date_of_birth: DateOfBirth }
|
|
1961
|
+
end
|
|
1962
|
+
|
|
1963
|
+
def self.field_remappings
|
|
1964
|
+
@field_remappings = {}
|
|
1965
|
+
end
|
|
1966
|
+
end
|
|
1967
|
+
|
|
1968
|
+
class DropOff < ::Stripe::StripeObject
|
|
1969
|
+
class Address < ::Stripe::StripeObject
|
|
1970
|
+
# City, district, suburb, town, or village.
|
|
1971
|
+
attr_reader :city
|
|
1972
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1973
|
+
attr_reader :country
|
|
1974
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1975
|
+
attr_reader :line1
|
|
1976
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1977
|
+
attr_reader :line2
|
|
1978
|
+
# ZIP or postal code.
|
|
1979
|
+
attr_reader :postal_code
|
|
1980
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1981
|
+
attr_reader :state
|
|
1982
|
+
|
|
1983
|
+
def self.inner_class_types
|
|
1984
|
+
@inner_class_types = {}
|
|
1985
|
+
end
|
|
1986
|
+
|
|
1987
|
+
def self.field_remappings
|
|
1988
|
+
@field_remappings = {}
|
|
1989
|
+
end
|
|
1990
|
+
end
|
|
1991
|
+
# Attribute for field address
|
|
1992
|
+
attr_reader :address
|
|
1993
|
+
# Name of the location.
|
|
1994
|
+
attr_reader :location_name
|
|
1995
|
+
# Time associated with the location.
|
|
1996
|
+
attr_reader :time
|
|
1997
|
+
|
|
1998
|
+
def self.inner_class_types
|
|
1999
|
+
@inner_class_types = { address: Address }
|
|
2000
|
+
end
|
|
2001
|
+
|
|
2002
|
+
def self.field_remappings
|
|
2003
|
+
@field_remappings = {}
|
|
2004
|
+
end
|
|
2005
|
+
end
|
|
2006
|
+
|
|
2007
|
+
class Insurance < ::Stripe::StripeObject
|
|
2008
|
+
# Amount of the insurance.
|
|
2009
|
+
attr_reader :amount
|
|
2010
|
+
# Currency for the insurance price.
|
|
2011
|
+
attr_reader :currency
|
|
2012
|
+
# Name of the insurance company.
|
|
2013
|
+
attr_reader :insurance_company_name
|
|
2014
|
+
# Type of insurance.
|
|
2015
|
+
attr_reader :insurance_type
|
|
2016
|
+
|
|
2017
|
+
def self.inner_class_types
|
|
2018
|
+
@inner_class_types = {}
|
|
2019
|
+
end
|
|
2020
|
+
|
|
2021
|
+
def self.field_remappings
|
|
2022
|
+
@field_remappings = {}
|
|
2023
|
+
end
|
|
2024
|
+
end
|
|
2025
|
+
|
|
2026
|
+
class Pickup < ::Stripe::StripeObject
|
|
2027
|
+
class Address < ::Stripe::StripeObject
|
|
2028
|
+
# City, district, suburb, town, or village.
|
|
2029
|
+
attr_reader :city
|
|
2030
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2031
|
+
attr_reader :country
|
|
2032
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2033
|
+
attr_reader :line1
|
|
2034
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2035
|
+
attr_reader :line2
|
|
2036
|
+
# ZIP or postal code.
|
|
2037
|
+
attr_reader :postal_code
|
|
2038
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2039
|
+
attr_reader :state
|
|
2040
|
+
|
|
2041
|
+
def self.inner_class_types
|
|
2042
|
+
@inner_class_types = {}
|
|
2043
|
+
end
|
|
2044
|
+
|
|
2045
|
+
def self.field_remappings
|
|
2046
|
+
@field_remappings = {}
|
|
2047
|
+
end
|
|
2048
|
+
end
|
|
2049
|
+
# Attribute for field address
|
|
2050
|
+
attr_reader :address
|
|
2051
|
+
# Name of the location.
|
|
2052
|
+
attr_reader :location_name
|
|
2053
|
+
# Time associated with the location.
|
|
2054
|
+
attr_reader :time
|
|
2055
|
+
|
|
2056
|
+
def self.inner_class_types
|
|
2057
|
+
@inner_class_types = { address: Address }
|
|
2058
|
+
end
|
|
2059
|
+
|
|
2060
|
+
def self.field_remappings
|
|
2061
|
+
@field_remappings = {}
|
|
2062
|
+
end
|
|
2063
|
+
end
|
|
2064
|
+
|
|
2065
|
+
class Total < ::Stripe::StripeObject
|
|
2066
|
+
class Discounts < ::Stripe::StripeObject
|
|
2067
|
+
# Corporate client discount code.
|
|
2068
|
+
attr_reader :corporate_client_code
|
|
2069
|
+
# Coupon code applied.
|
|
2070
|
+
attr_reader :coupon
|
|
2071
|
+
# Maximum free miles or kilometers included.
|
|
2072
|
+
attr_reader :maximum_free_miles_or_kilometers
|
|
2073
|
+
|
|
2074
|
+
def self.inner_class_types
|
|
2075
|
+
@inner_class_types = {}
|
|
2076
|
+
end
|
|
2077
|
+
|
|
2078
|
+
def self.field_remappings
|
|
2079
|
+
@field_remappings = {}
|
|
2080
|
+
end
|
|
2081
|
+
end
|
|
2082
|
+
|
|
2083
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2084
|
+
# Amount of the extra charge.
|
|
2085
|
+
attr_reader :amount
|
|
2086
|
+
# Type of extra charge.
|
|
2087
|
+
attr_reader :type
|
|
2088
|
+
|
|
2089
|
+
def self.inner_class_types
|
|
2090
|
+
@inner_class_types = {}
|
|
2091
|
+
end
|
|
2092
|
+
|
|
2093
|
+
def self.field_remappings
|
|
2094
|
+
@field_remappings = {}
|
|
2095
|
+
end
|
|
2096
|
+
end
|
|
2097
|
+
|
|
2098
|
+
class Tax < ::Stripe::StripeObject
|
|
2099
|
+
class Tax < ::Stripe::StripeObject
|
|
2100
|
+
# Tax amount.
|
|
2101
|
+
attr_reader :amount
|
|
2102
|
+
# Tax rate.
|
|
2103
|
+
attr_reader :rate
|
|
2104
|
+
# Type of tax.
|
|
2105
|
+
attr_reader :type
|
|
2106
|
+
|
|
2107
|
+
def self.inner_class_types
|
|
2108
|
+
@inner_class_types = {}
|
|
2109
|
+
end
|
|
2110
|
+
|
|
2111
|
+
def self.field_remappings
|
|
2112
|
+
@field_remappings = {}
|
|
2113
|
+
end
|
|
2114
|
+
end
|
|
2115
|
+
# Indicates whether the rental is tax-exempt.
|
|
2116
|
+
attr_reader :tax_exempt_indicator
|
|
2117
|
+
# Tax details.
|
|
2118
|
+
attr_reader :taxes
|
|
2119
|
+
|
|
2120
|
+
def self.inner_class_types
|
|
2121
|
+
@inner_class_types = { taxes: Tax }
|
|
2122
|
+
end
|
|
2123
|
+
|
|
2124
|
+
def self.field_remappings
|
|
2125
|
+
@field_remappings = {}
|
|
2126
|
+
end
|
|
2127
|
+
end
|
|
2128
|
+
# Total amount.
|
|
2129
|
+
attr_reader :amount
|
|
2130
|
+
# Currency for the total amount.
|
|
2131
|
+
attr_reader :currency
|
|
2132
|
+
# Attribute for field discounts
|
|
2133
|
+
attr_reader :discounts
|
|
2134
|
+
# Additional charges for the rental.
|
|
2135
|
+
attr_reader :extra_charges
|
|
2136
|
+
# Rate per unit.
|
|
2137
|
+
attr_reader :rate_per_unit
|
|
2138
|
+
# Unit for the rate.
|
|
2139
|
+
attr_reader :rate_unit
|
|
2140
|
+
# Attribute for field tax
|
|
2141
|
+
attr_reader :tax
|
|
2142
|
+
|
|
2143
|
+
def self.inner_class_types
|
|
2144
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2145
|
+
end
|
|
2146
|
+
|
|
2147
|
+
def self.field_remappings
|
|
2148
|
+
@field_remappings = {}
|
|
2149
|
+
end
|
|
2150
|
+
end
|
|
2151
|
+
|
|
2152
|
+
class Vehicle < ::Stripe::StripeObject
|
|
2153
|
+
# Make of the vehicle.
|
|
2154
|
+
attr_reader :make
|
|
2155
|
+
# Model of the vehicle.
|
|
2156
|
+
attr_reader :model
|
|
2157
|
+
# Odometer reading.
|
|
2158
|
+
attr_reader :odometer
|
|
2159
|
+
# Type of the vehicle.
|
|
2160
|
+
attr_reader :type
|
|
2161
|
+
# Class of the vehicle.
|
|
2162
|
+
attr_reader :vehicle_class
|
|
2163
|
+
# Vehicle identification number.
|
|
2164
|
+
attr_reader :vehicle_identification_number
|
|
2165
|
+
|
|
2166
|
+
def self.inner_class_types
|
|
2167
|
+
@inner_class_types = {}
|
|
2168
|
+
end
|
|
2169
|
+
|
|
2170
|
+
def self.field_remappings
|
|
2171
|
+
@field_remappings = {}
|
|
2172
|
+
end
|
|
2173
|
+
end
|
|
2174
|
+
# Attribute for field affiliate
|
|
2175
|
+
attr_reader :affiliate
|
|
2176
|
+
# The booking number associated with the car rental.
|
|
2177
|
+
attr_reader :booking_number
|
|
2178
|
+
# The name of the car rental company.
|
|
2179
|
+
attr_reader :carrier_name
|
|
2180
|
+
# The customer service phone number of the car rental company.
|
|
2181
|
+
attr_reader :customer_service_phone_number
|
|
2182
|
+
# Number of days the car is being rented.
|
|
2183
|
+
attr_reader :days_rented
|
|
2184
|
+
# Attribute for field distance
|
|
2185
|
+
attr_reader :distance
|
|
2186
|
+
# The details of the drivers associated with the rental.
|
|
2187
|
+
attr_reader :drivers
|
|
2188
|
+
# Attribute for field drop_off
|
|
2189
|
+
attr_reader :drop_off
|
|
2190
|
+
# Insurance details for the car rental.
|
|
2191
|
+
attr_reader :insurances
|
|
2192
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
2193
|
+
attr_reader :no_show_indicator
|
|
2194
|
+
# Attribute for field pickup
|
|
2195
|
+
attr_reader :pickup
|
|
2196
|
+
# Name of the person renting the vehicle.
|
|
2197
|
+
attr_reader :renter_name
|
|
2198
|
+
# Attribute for field total
|
|
2199
|
+
attr_reader :total
|
|
2200
|
+
# Attribute for field vehicle
|
|
2201
|
+
attr_reader :vehicle
|
|
2202
|
+
|
|
2203
|
+
def self.inner_class_types
|
|
2204
|
+
@inner_class_types = {
|
|
2205
|
+
affiliate: Affiliate,
|
|
2206
|
+
distance: Distance,
|
|
2207
|
+
drivers: Driver,
|
|
2208
|
+
drop_off: DropOff,
|
|
2209
|
+
insurances: Insurance,
|
|
2210
|
+
pickup: Pickup,
|
|
2211
|
+
total: Total,
|
|
2212
|
+
vehicle: Vehicle,
|
|
2213
|
+
}
|
|
2214
|
+
end
|
|
2215
|
+
|
|
2216
|
+
def self.field_remappings
|
|
2217
|
+
@field_remappings = {}
|
|
2218
|
+
end
|
|
2219
|
+
end
|
|
2220
|
+
|
|
2221
|
+
class EventDetails < ::Stripe::StripeObject
|
|
2222
|
+
class Address < ::Stripe::StripeObject
|
|
2223
|
+
# City, district, suburb, town, or village.
|
|
2224
|
+
attr_reader :city
|
|
2225
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2226
|
+
attr_reader :country
|
|
2227
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2228
|
+
attr_reader :line1
|
|
2229
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2230
|
+
attr_reader :line2
|
|
2231
|
+
# ZIP or postal code.
|
|
2232
|
+
attr_reader :postal_code
|
|
2233
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2234
|
+
attr_reader :state
|
|
2235
|
+
|
|
2236
|
+
def self.inner_class_types
|
|
2237
|
+
@inner_class_types = {}
|
|
2238
|
+
end
|
|
2239
|
+
|
|
2240
|
+
def self.field_remappings
|
|
2241
|
+
@field_remappings = {}
|
|
2242
|
+
end
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2245
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2246
|
+
# The name of the affiliate that originated the purchase.
|
|
2247
|
+
attr_reader :name
|
|
2248
|
+
|
|
2249
|
+
def self.inner_class_types
|
|
2250
|
+
@inner_class_types = {}
|
|
2251
|
+
end
|
|
2252
|
+
|
|
2253
|
+
def self.field_remappings
|
|
2254
|
+
@field_remappings = {}
|
|
2255
|
+
end
|
|
2256
|
+
end
|
|
2257
|
+
|
|
2258
|
+
class Delivery < ::Stripe::StripeObject
|
|
2259
|
+
class Recipient < ::Stripe::StripeObject
|
|
2260
|
+
# The email of the recipient the ticket is delivered to.
|
|
2261
|
+
attr_reader :email
|
|
2262
|
+
# The name of the recipient the ticket is delivered to.
|
|
2263
|
+
attr_reader :name
|
|
2264
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
2265
|
+
attr_reader :phone
|
|
2266
|
+
|
|
2267
|
+
def self.inner_class_types
|
|
2268
|
+
@inner_class_types = {}
|
|
2269
|
+
end
|
|
2270
|
+
|
|
2271
|
+
def self.field_remappings
|
|
2272
|
+
@field_remappings = {}
|
|
2273
|
+
end
|
|
2274
|
+
end
|
|
2275
|
+
# The delivery method for the payment
|
|
2276
|
+
attr_reader :mode
|
|
2277
|
+
# Attribute for field recipient
|
|
2278
|
+
attr_reader :recipient
|
|
2279
|
+
|
|
2280
|
+
def self.inner_class_types
|
|
2281
|
+
@inner_class_types = { recipient: Recipient }
|
|
2282
|
+
end
|
|
2283
|
+
|
|
2284
|
+
def self.field_remappings
|
|
2285
|
+
@field_remappings = {}
|
|
2286
|
+
end
|
|
2287
|
+
end
|
|
2288
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
2289
|
+
attr_reader :access_controlled_venue
|
|
2290
|
+
# Attribute for field address
|
|
2291
|
+
attr_reader :address
|
|
2292
|
+
# Attribute for field affiliate
|
|
2293
|
+
attr_reader :affiliate
|
|
2294
|
+
# The name of the company
|
|
2295
|
+
attr_reader :company
|
|
2296
|
+
# Attribute for field delivery
|
|
2297
|
+
attr_reader :delivery
|
|
2298
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
2299
|
+
attr_reader :ends_at
|
|
2300
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
2301
|
+
attr_reader :genre
|
|
2302
|
+
# The name of the event.
|
|
2303
|
+
attr_reader :name
|
|
2304
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
2305
|
+
attr_reader :starts_at
|
|
2306
|
+
|
|
2307
|
+
def self.inner_class_types
|
|
2308
|
+
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
2309
|
+
end
|
|
2310
|
+
|
|
2311
|
+
def self.field_remappings
|
|
2312
|
+
@field_remappings = {}
|
|
2313
|
+
end
|
|
2314
|
+
end
|
|
2315
|
+
|
|
2316
|
+
class FleetDatum < ::Stripe::StripeObject
|
|
2317
|
+
class PrimaryFuelFields < ::Stripe::StripeObject
|
|
2318
|
+
# The fuel brand.
|
|
2319
|
+
attr_reader :brand
|
|
2320
|
+
|
|
2321
|
+
def self.inner_class_types
|
|
2322
|
+
@inner_class_types = {}
|
|
2323
|
+
end
|
|
2324
|
+
|
|
2325
|
+
def self.field_remappings
|
|
2326
|
+
@field_remappings = {}
|
|
2327
|
+
end
|
|
2328
|
+
end
|
|
2329
|
+
|
|
2330
|
+
class Station < ::Stripe::StripeObject
|
|
2331
|
+
class ServiceLocation < ::Stripe::StripeObject
|
|
2332
|
+
# City, district, suburb, town, or village.
|
|
2333
|
+
attr_reader :city
|
|
2334
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2335
|
+
attr_reader :country
|
|
2336
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2337
|
+
attr_reader :line1
|
|
2338
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2339
|
+
attr_reader :line2
|
|
2340
|
+
# ZIP or postal code.
|
|
2341
|
+
attr_reader :postal_code
|
|
2342
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2343
|
+
attr_reader :state
|
|
2344
|
+
|
|
2345
|
+
def self.inner_class_types
|
|
2346
|
+
@inner_class_types = {}
|
|
2347
|
+
end
|
|
2348
|
+
|
|
2349
|
+
def self.field_remappings
|
|
2350
|
+
@field_remappings = {}
|
|
2351
|
+
end
|
|
2352
|
+
end
|
|
2353
|
+
# Additional contact information for the station.
|
|
2354
|
+
attr_reader :additional_contact_info
|
|
2355
|
+
# The customer service phone number of the station.
|
|
2356
|
+
attr_reader :customer_service_phone_number
|
|
2357
|
+
# The partner ID code of the station.
|
|
2358
|
+
attr_reader :partner_id_code
|
|
2359
|
+
# The phone number of the station.
|
|
2360
|
+
attr_reader :phone_number
|
|
2361
|
+
# Attribute for field service_location
|
|
2362
|
+
attr_reader :service_location
|
|
2363
|
+
# The URL of the station.
|
|
2364
|
+
attr_reader :url
|
|
2365
|
+
|
|
2366
|
+
def self.inner_class_types
|
|
2367
|
+
@inner_class_types = { service_location: ServiceLocation }
|
|
2368
|
+
end
|
|
2369
|
+
|
|
2370
|
+
def self.field_remappings
|
|
2371
|
+
@field_remappings = {}
|
|
2372
|
+
end
|
|
2373
|
+
end
|
|
2374
|
+
|
|
2375
|
+
class Vat < ::Stripe::StripeObject
|
|
2376
|
+
# Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
2377
|
+
attr_reader :iob_indicator
|
|
2378
|
+
|
|
2379
|
+
def self.inner_class_types
|
|
2380
|
+
@inner_class_types = {}
|
|
2381
|
+
end
|
|
2382
|
+
|
|
2383
|
+
def self.field_remappings
|
|
2384
|
+
@field_remappings = {}
|
|
2385
|
+
end
|
|
2386
|
+
end
|
|
2387
|
+
# Attribute for field primary_fuel_fields
|
|
2388
|
+
attr_reader :primary_fuel_fields
|
|
2389
|
+
# Attribute for field station
|
|
2390
|
+
attr_reader :station
|
|
2391
|
+
# Attribute for field vat
|
|
2392
|
+
attr_reader :vat
|
|
2393
|
+
|
|
2394
|
+
def self.inner_class_types
|
|
2395
|
+
@inner_class_types = { primary_fuel_fields: PrimaryFuelFields, station: Station, vat: Vat }
|
|
2396
|
+
end
|
|
2397
|
+
|
|
2398
|
+
def self.field_remappings
|
|
2399
|
+
@field_remappings = {}
|
|
2400
|
+
end
|
|
2401
|
+
end
|
|
2402
|
+
|
|
2403
|
+
class FlightDatum < ::Stripe::StripeObject
|
|
2404
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2405
|
+
# Affiliate code.
|
|
2406
|
+
attr_reader :code
|
|
2407
|
+
# Affiliate name.
|
|
2408
|
+
attr_reader :name
|
|
2409
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
2410
|
+
attr_reader :travel_authorization_code
|
|
2411
|
+
|
|
2412
|
+
def self.inner_class_types
|
|
2413
|
+
@inner_class_types = {}
|
|
2414
|
+
end
|
|
2415
|
+
|
|
2416
|
+
def self.field_remappings
|
|
2417
|
+
@field_remappings = {}
|
|
2418
|
+
end
|
|
2419
|
+
end
|
|
2420
|
+
|
|
2421
|
+
class Insurance < ::Stripe::StripeObject
|
|
2422
|
+
# Amount of the insurance.
|
|
2423
|
+
attr_reader :amount
|
|
2424
|
+
# Currency for the insurance price.
|
|
2425
|
+
attr_reader :currency
|
|
2426
|
+
# Name of the insurance company.
|
|
2427
|
+
attr_reader :insurance_company_name
|
|
2428
|
+
# Type of insurance.
|
|
2429
|
+
attr_reader :insurance_type
|
|
2430
|
+
|
|
2431
|
+
def self.inner_class_types
|
|
2432
|
+
@inner_class_types = {}
|
|
2433
|
+
end
|
|
2434
|
+
|
|
2435
|
+
def self.field_remappings
|
|
2436
|
+
@field_remappings = {}
|
|
2437
|
+
end
|
|
2438
|
+
end
|
|
2439
|
+
|
|
2440
|
+
class Passenger < ::Stripe::StripeObject
|
|
2441
|
+
# Full name of the passenger.
|
|
2442
|
+
attr_reader :name
|
|
2443
|
+
|
|
2444
|
+
def self.inner_class_types
|
|
2445
|
+
@inner_class_types = {}
|
|
2446
|
+
end
|
|
2447
|
+
|
|
2448
|
+
def self.field_remappings
|
|
2449
|
+
@field_remappings = {}
|
|
2450
|
+
end
|
|
2451
|
+
end
|
|
2452
|
+
|
|
2453
|
+
class Segment < ::Stripe::StripeObject
|
|
2454
|
+
class Arrival < ::Stripe::StripeObject
|
|
2455
|
+
# Arrival airport IATA code.
|
|
2456
|
+
attr_reader :airport
|
|
2457
|
+
# Arrival date and time.
|
|
2458
|
+
attr_reader :arrives_at
|
|
2459
|
+
# Arrival city.
|
|
2460
|
+
attr_reader :city
|
|
2461
|
+
# Arrival country.
|
|
2462
|
+
attr_reader :country
|
|
2463
|
+
|
|
2464
|
+
def self.inner_class_types
|
|
2465
|
+
@inner_class_types = {}
|
|
2466
|
+
end
|
|
2467
|
+
|
|
2468
|
+
def self.field_remappings
|
|
2469
|
+
@field_remappings = {}
|
|
2470
|
+
end
|
|
2471
|
+
end
|
|
2472
|
+
|
|
2473
|
+
class Departure < ::Stripe::StripeObject
|
|
2474
|
+
# Departure airport IATA code.
|
|
2475
|
+
attr_reader :airport
|
|
2476
|
+
# Departure city.
|
|
2477
|
+
attr_reader :city
|
|
2478
|
+
# Departure country.
|
|
2479
|
+
attr_reader :country
|
|
2480
|
+
# Departure date and time.
|
|
2481
|
+
attr_reader :departs_at
|
|
2482
|
+
|
|
2483
|
+
def self.inner_class_types
|
|
2484
|
+
@inner_class_types = {}
|
|
2485
|
+
end
|
|
2486
|
+
|
|
2487
|
+
def self.field_remappings
|
|
2488
|
+
@field_remappings = {}
|
|
2489
|
+
end
|
|
2490
|
+
end
|
|
2491
|
+
# Segment fare amount.
|
|
2492
|
+
attr_reader :amount
|
|
2493
|
+
# Attribute for field arrival
|
|
2494
|
+
attr_reader :arrival
|
|
2495
|
+
# Airline carrier code.
|
|
2496
|
+
attr_reader :carrier_code
|
|
2497
|
+
# Carrier name.
|
|
2498
|
+
attr_reader :carrier_name
|
|
2499
|
+
# Segment currency.
|
|
2500
|
+
attr_reader :currency
|
|
2501
|
+
# Attribute for field departure
|
|
2502
|
+
attr_reader :departure
|
|
2503
|
+
# Exchange ticket number.
|
|
2504
|
+
attr_reader :exchange_ticket_number
|
|
2505
|
+
# Fare basis code.
|
|
2506
|
+
attr_reader :fare_basis_code
|
|
2507
|
+
# Additional fees.
|
|
2508
|
+
attr_reader :fees
|
|
2509
|
+
# Flight number.
|
|
2510
|
+
attr_reader :flight_number
|
|
2511
|
+
# Stopover indicator.
|
|
2512
|
+
attr_reader :is_stop_over_indicator
|
|
2513
|
+
# Refundable ticket indicator.
|
|
2514
|
+
attr_reader :refundable
|
|
2515
|
+
# Class of service.
|
|
2516
|
+
attr_reader :service_class
|
|
2517
|
+
# Tax amount for segment.
|
|
2518
|
+
attr_reader :tax_amount
|
|
2519
|
+
# Ticket number.
|
|
2520
|
+
attr_reader :ticket_number
|
|
2521
|
+
|
|
2522
|
+
def self.inner_class_types
|
|
2523
|
+
@inner_class_types = { arrival: Arrival, departure: Departure }
|
|
2524
|
+
end
|
|
2525
|
+
|
|
2526
|
+
def self.field_remappings
|
|
2527
|
+
@field_remappings = {}
|
|
2528
|
+
end
|
|
2529
|
+
end
|
|
2530
|
+
|
|
2531
|
+
class Total < ::Stripe::StripeObject
|
|
2532
|
+
class Discounts < ::Stripe::StripeObject
|
|
2533
|
+
# Corporate client discount code.
|
|
2534
|
+
attr_reader :corporate_client_code
|
|
2535
|
+
|
|
2536
|
+
def self.inner_class_types
|
|
2537
|
+
@inner_class_types = {}
|
|
2538
|
+
end
|
|
2539
|
+
|
|
2540
|
+
def self.field_remappings
|
|
2541
|
+
@field_remappings = {}
|
|
2542
|
+
end
|
|
2543
|
+
end
|
|
2544
|
+
|
|
2545
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2546
|
+
# Amount of the extra charge.
|
|
2547
|
+
attr_reader :amount
|
|
2548
|
+
# Type of extra charge.
|
|
2549
|
+
attr_reader :type
|
|
2550
|
+
|
|
2551
|
+
def self.inner_class_types
|
|
2552
|
+
@inner_class_types = {}
|
|
2553
|
+
end
|
|
2554
|
+
|
|
2555
|
+
def self.field_remappings
|
|
2556
|
+
@field_remappings = {}
|
|
2557
|
+
end
|
|
2558
|
+
end
|
|
2559
|
+
|
|
2560
|
+
class Tax < ::Stripe::StripeObject
|
|
2561
|
+
class Tax < ::Stripe::StripeObject
|
|
2562
|
+
# Tax amount.
|
|
2563
|
+
attr_reader :amount
|
|
2564
|
+
# Tax rate.
|
|
2565
|
+
attr_reader :rate
|
|
2566
|
+
# Type of tax.
|
|
2567
|
+
attr_reader :type
|
|
2568
|
+
|
|
2569
|
+
def self.inner_class_types
|
|
2570
|
+
@inner_class_types = {}
|
|
2571
|
+
end
|
|
2572
|
+
|
|
2573
|
+
def self.field_remappings
|
|
2574
|
+
@field_remappings = {}
|
|
2575
|
+
end
|
|
2576
|
+
end
|
|
2577
|
+
# Tax details.
|
|
2578
|
+
attr_reader :taxes
|
|
2579
|
+
|
|
2580
|
+
def self.inner_class_types
|
|
2581
|
+
@inner_class_types = { taxes: Tax }
|
|
2582
|
+
end
|
|
2583
|
+
|
|
2584
|
+
def self.field_remappings
|
|
2585
|
+
@field_remappings = {}
|
|
2586
|
+
end
|
|
2587
|
+
end
|
|
2588
|
+
# Total amount.
|
|
2589
|
+
attr_reader :amount
|
|
2590
|
+
# Reason for credit.
|
|
2591
|
+
attr_reader :credit_reason
|
|
2592
|
+
# Currency for the total amount.
|
|
2593
|
+
attr_reader :currency
|
|
2594
|
+
# Attribute for field discounts
|
|
2595
|
+
attr_reader :discounts
|
|
2596
|
+
# Additional charges for the flight.
|
|
2597
|
+
attr_reader :extra_charges
|
|
2598
|
+
# Attribute for field tax
|
|
2599
|
+
attr_reader :tax
|
|
2600
|
+
|
|
2601
|
+
def self.inner_class_types
|
|
2602
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2603
|
+
end
|
|
2604
|
+
|
|
2605
|
+
def self.field_remappings
|
|
2606
|
+
@field_remappings = {}
|
|
2607
|
+
end
|
|
2608
|
+
end
|
|
2609
|
+
# Attribute for field affiliate
|
|
2610
|
+
attr_reader :affiliate
|
|
2611
|
+
# The booking number associated with the flight reservation.
|
|
2612
|
+
attr_reader :booking_number
|
|
2613
|
+
# The computerized reservation system used to make the reservation and purchase the ticket.
|
|
2614
|
+
attr_reader :computerized_reservation_system
|
|
2615
|
+
# Ticket restrictions.
|
|
2616
|
+
attr_reader :endorsements_and_restrictions
|
|
2617
|
+
# Insurance details for the flight.
|
|
2618
|
+
attr_reader :insurances
|
|
2619
|
+
# The list of passengers for this flight.
|
|
2620
|
+
attr_reader :passengers
|
|
2621
|
+
# The list of flight segments for this reservation.
|
|
2622
|
+
attr_reader :segments
|
|
2623
|
+
# Electronic ticket indicator.
|
|
2624
|
+
attr_reader :ticket_electronically_issued_indicator
|
|
2625
|
+
# Attribute for field total
|
|
2626
|
+
attr_reader :total
|
|
2627
|
+
# Type of flight transaction.
|
|
2628
|
+
attr_reader :transaction_type
|
|
2629
|
+
|
|
2630
|
+
def self.inner_class_types
|
|
2631
|
+
@inner_class_types = {
|
|
2632
|
+
affiliate: Affiliate,
|
|
2633
|
+
insurances: Insurance,
|
|
2634
|
+
passengers: Passenger,
|
|
2635
|
+
segments: Segment,
|
|
2636
|
+
total: Total,
|
|
2637
|
+
}
|
|
2638
|
+
end
|
|
2639
|
+
|
|
2640
|
+
def self.field_remappings
|
|
2641
|
+
@field_remappings = {}
|
|
2642
|
+
end
|
|
2643
|
+
end
|
|
2644
|
+
|
|
2645
|
+
class LodgingDatum < ::Stripe::StripeObject
|
|
2646
|
+
class Accommodation < ::Stripe::StripeObject
|
|
2647
|
+
# Type of accommodation.
|
|
2648
|
+
attr_reader :accommodation_type
|
|
2649
|
+
# Bed type.
|
|
2650
|
+
attr_reader :bed_type
|
|
2651
|
+
# Daily accommodation rate in cents.
|
|
2652
|
+
attr_reader :daily_rate_amount
|
|
2653
|
+
# Number of nights.
|
|
2654
|
+
attr_reader :nights
|
|
2655
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
2656
|
+
attr_reader :number_of_rooms
|
|
2657
|
+
# Rate type.
|
|
2658
|
+
attr_reader :rate_type
|
|
2659
|
+
# Whether smoking is allowed.
|
|
2660
|
+
attr_reader :smoking_indicator
|
|
2661
|
+
|
|
2662
|
+
def self.inner_class_types
|
|
2663
|
+
@inner_class_types = {}
|
|
2664
|
+
end
|
|
2665
|
+
|
|
2666
|
+
def self.field_remappings
|
|
2667
|
+
@field_remappings = {}
|
|
2668
|
+
end
|
|
2669
|
+
end
|
|
2670
|
+
|
|
2671
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2672
|
+
# Affiliate partner code.
|
|
2673
|
+
attr_reader :code
|
|
2674
|
+
# Affiliate partner name.
|
|
2675
|
+
attr_reader :name
|
|
2676
|
+
|
|
2677
|
+
def self.inner_class_types
|
|
2678
|
+
@inner_class_types = {}
|
|
2679
|
+
end
|
|
2680
|
+
|
|
2681
|
+
def self.field_remappings
|
|
2682
|
+
@field_remappings = {}
|
|
2683
|
+
end
|
|
2684
|
+
end
|
|
2685
|
+
|
|
2686
|
+
class Guest < ::Stripe::StripeObject
|
|
2687
|
+
# Guest's full name.
|
|
2688
|
+
attr_reader :name
|
|
2689
|
+
|
|
2690
|
+
def self.inner_class_types
|
|
2691
|
+
@inner_class_types = {}
|
|
2692
|
+
end
|
|
2693
|
+
|
|
2694
|
+
def self.field_remappings
|
|
2695
|
+
@field_remappings = {}
|
|
2696
|
+
end
|
|
2697
|
+
end
|
|
2698
|
+
|
|
2699
|
+
class Host < ::Stripe::StripeObject
|
|
2700
|
+
class Address < ::Stripe::StripeObject
|
|
2701
|
+
# City, district, suburb, town, or village.
|
|
2702
|
+
attr_reader :city
|
|
2703
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2704
|
+
attr_reader :country
|
|
2705
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2706
|
+
attr_reader :line1
|
|
2707
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2708
|
+
attr_reader :line2
|
|
2709
|
+
# ZIP or postal code.
|
|
2710
|
+
attr_reader :postal_code
|
|
2711
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2712
|
+
attr_reader :state
|
|
2713
|
+
|
|
2714
|
+
def self.inner_class_types
|
|
2715
|
+
@inner_class_types = {}
|
|
2716
|
+
end
|
|
2717
|
+
|
|
2718
|
+
def self.field_remappings
|
|
2719
|
+
@field_remappings = {}
|
|
2720
|
+
end
|
|
2721
|
+
end
|
|
2722
|
+
# Attribute for field address
|
|
2723
|
+
attr_reader :address
|
|
2724
|
+
# Host's country of domicile.
|
|
2725
|
+
attr_reader :country_of_domicile
|
|
2726
|
+
# Reference number for the host.
|
|
2727
|
+
attr_reader :host_reference
|
|
2728
|
+
# Type of host.
|
|
2729
|
+
attr_reader :host_type
|
|
2730
|
+
# Name of the lodging property or host.
|
|
2731
|
+
attr_reader :name
|
|
2732
|
+
# Total number of reservations for the host.
|
|
2733
|
+
attr_reader :number_of_reservations
|
|
2734
|
+
# Property phone number.
|
|
2735
|
+
attr_reader :property_phone_number
|
|
2736
|
+
# Host's registration date.
|
|
2737
|
+
attr_reader :registered_at
|
|
2738
|
+
|
|
2739
|
+
def self.inner_class_types
|
|
2740
|
+
@inner_class_types = { address: Address }
|
|
2741
|
+
end
|
|
2742
|
+
|
|
2743
|
+
def self.field_remappings
|
|
2744
|
+
@field_remappings = {}
|
|
2745
|
+
end
|
|
2746
|
+
end
|
|
2747
|
+
|
|
2748
|
+
class Insurance < ::Stripe::StripeObject
|
|
2749
|
+
# Price of the insurance coverage in cents.
|
|
2750
|
+
attr_reader :amount
|
|
2751
|
+
# Currency of the insurance amount.
|
|
2752
|
+
attr_reader :currency
|
|
2753
|
+
# Name of the insurance company.
|
|
2754
|
+
attr_reader :insurance_company_name
|
|
2755
|
+
# Type of insurance coverage.
|
|
2756
|
+
attr_reader :insurance_type
|
|
2757
|
+
|
|
2758
|
+
def self.inner_class_types
|
|
2759
|
+
@inner_class_types = {}
|
|
2760
|
+
end
|
|
2761
|
+
|
|
2762
|
+
def self.field_remappings
|
|
2763
|
+
@field_remappings = {}
|
|
2764
|
+
end
|
|
2765
|
+
end
|
|
2766
|
+
|
|
2767
|
+
class Total < ::Stripe::StripeObject
|
|
2768
|
+
class Discounts < ::Stripe::StripeObject
|
|
2769
|
+
# Corporate client discount code.
|
|
2770
|
+
attr_reader :corporate_client_code
|
|
2771
|
+
# Coupon code.
|
|
2772
|
+
attr_reader :coupon
|
|
2773
|
+
|
|
2774
|
+
def self.inner_class_types
|
|
2775
|
+
@inner_class_types = {}
|
|
2776
|
+
end
|
|
2777
|
+
|
|
2778
|
+
def self.field_remappings
|
|
2779
|
+
@field_remappings = {}
|
|
2780
|
+
end
|
|
2781
|
+
end
|
|
2782
|
+
|
|
2783
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2784
|
+
# Amount of the extra charge in cents.
|
|
2785
|
+
attr_reader :amount
|
|
2786
|
+
# Type of extra charge.
|
|
2787
|
+
attr_reader :type
|
|
2788
|
+
|
|
2789
|
+
def self.inner_class_types
|
|
2790
|
+
@inner_class_types = {}
|
|
2791
|
+
end
|
|
2792
|
+
|
|
2793
|
+
def self.field_remappings
|
|
2794
|
+
@field_remappings = {}
|
|
2795
|
+
end
|
|
2796
|
+
end
|
|
2797
|
+
|
|
2798
|
+
class Tax < ::Stripe::StripeObject
|
|
2799
|
+
class Tax < ::Stripe::StripeObject
|
|
2800
|
+
# Tax amount in cents.
|
|
2801
|
+
attr_reader :amount
|
|
2802
|
+
# Tax rate.
|
|
2803
|
+
attr_reader :rate
|
|
2804
|
+
# Type of tax applied.
|
|
2805
|
+
attr_reader :type
|
|
2806
|
+
|
|
2807
|
+
def self.inner_class_types
|
|
2808
|
+
@inner_class_types = {}
|
|
2809
|
+
end
|
|
2810
|
+
|
|
2811
|
+
def self.field_remappings
|
|
2812
|
+
@field_remappings = {}
|
|
2813
|
+
end
|
|
2814
|
+
end
|
|
2815
|
+
# Indicates whether the transaction is tax exempt.
|
|
2816
|
+
attr_reader :tax_exempt_indicator
|
|
2817
|
+
# Tax details.
|
|
2818
|
+
attr_reader :taxes
|
|
2819
|
+
|
|
2820
|
+
def self.inner_class_types
|
|
2821
|
+
@inner_class_types = { taxes: Tax }
|
|
2822
|
+
end
|
|
2823
|
+
|
|
2824
|
+
def self.field_remappings
|
|
2825
|
+
@field_remappings = {}
|
|
2826
|
+
end
|
|
2827
|
+
end
|
|
2828
|
+
# Total price of the lodging reservation in cents.
|
|
2829
|
+
attr_reader :amount
|
|
2830
|
+
# Cash advances in cents.
|
|
2831
|
+
attr_reader :cash_advances
|
|
2832
|
+
# Currency of the total amount.
|
|
2833
|
+
attr_reader :currency
|
|
2834
|
+
# Attribute for field discounts
|
|
2835
|
+
attr_reader :discounts
|
|
2836
|
+
# Additional charges for the lodging.
|
|
2837
|
+
attr_reader :extra_charges
|
|
2838
|
+
# Prepaid amount in cents.
|
|
2839
|
+
attr_reader :prepaid_amount
|
|
2840
|
+
# Attribute for field tax
|
|
2841
|
+
attr_reader :tax
|
|
2842
|
+
|
|
2843
|
+
def self.inner_class_types
|
|
2844
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2845
|
+
end
|
|
2846
|
+
|
|
2847
|
+
def self.field_remappings
|
|
2848
|
+
@field_remappings = {}
|
|
2849
|
+
end
|
|
2850
|
+
end
|
|
2851
|
+
# Attribute for field accommodation
|
|
2852
|
+
attr_reader :accommodation
|
|
2853
|
+
# Attribute for field affiliate
|
|
2854
|
+
attr_reader :affiliate
|
|
2855
|
+
# Booking confirmation number for the lodging.
|
|
2856
|
+
attr_reader :booking_number
|
|
2857
|
+
# Check-in date.
|
|
2858
|
+
attr_reader :checkin_at
|
|
2859
|
+
# Check-out date.
|
|
2860
|
+
attr_reader :checkout_at
|
|
2861
|
+
# Customer service phone number for the lodging company.
|
|
2862
|
+
attr_reader :customer_service_phone_number
|
|
2863
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2864
|
+
attr_reader :fire_safety_act_compliance_indicator
|
|
2865
|
+
# List of guests for the lodging.
|
|
2866
|
+
attr_reader :guests
|
|
2867
|
+
# Attribute for field host
|
|
2868
|
+
attr_reader :host
|
|
2869
|
+
# List of insurances for the lodging.
|
|
2870
|
+
attr_reader :insurances
|
|
2871
|
+
# Whether the renter is a no-show.
|
|
2872
|
+
attr_reader :no_show_indicator
|
|
2873
|
+
# Renter ID number for the lodging.
|
|
2874
|
+
attr_reader :renter_id_number
|
|
2875
|
+
# Renter name for the lodging.
|
|
2876
|
+
attr_reader :renter_name
|
|
2877
|
+
# Attribute for field total
|
|
2878
|
+
attr_reader :total
|
|
2879
|
+
|
|
2880
|
+
def self.inner_class_types
|
|
2881
|
+
@inner_class_types = {
|
|
2882
|
+
accommodation: Accommodation,
|
|
2883
|
+
affiliate: Affiliate,
|
|
2884
|
+
guests: Guest,
|
|
2885
|
+
host: Host,
|
|
2886
|
+
insurances: Insurance,
|
|
2887
|
+
total: Total,
|
|
2888
|
+
}
|
|
2889
|
+
end
|
|
2890
|
+
|
|
2891
|
+
def self.field_remappings
|
|
2892
|
+
@field_remappings = {}
|
|
2893
|
+
end
|
|
2894
|
+
end
|
|
2895
|
+
|
|
2896
|
+
class MoneyServices < ::Stripe::StripeObject
|
|
2897
|
+
class AccountFunding < ::Stripe::StripeObject
|
|
2898
|
+
class SenderDetails < ::Stripe::StripeObject
|
|
2899
|
+
class Address < ::Stripe::StripeObject
|
|
2900
|
+
# City, district, suburb, town, or village.
|
|
2901
|
+
attr_reader :city
|
|
2902
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2903
|
+
attr_reader :country
|
|
2904
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
2905
|
+
attr_reader :line1
|
|
2906
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2907
|
+
attr_reader :line2
|
|
2908
|
+
# ZIP or postal code.
|
|
2909
|
+
attr_reader :postal_code
|
|
2910
|
+
# State, county, province, or region.
|
|
2911
|
+
attr_reader :state
|
|
2912
|
+
|
|
2913
|
+
def self.inner_class_types
|
|
2914
|
+
@inner_class_types = {}
|
|
2915
|
+
end
|
|
2916
|
+
|
|
2917
|
+
def self.field_remappings
|
|
2918
|
+
@field_remappings = {}
|
|
2919
|
+
end
|
|
2920
|
+
end
|
|
2921
|
+
|
|
2922
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
2923
|
+
# Day of birth, between 1 and 31.
|
|
2924
|
+
attr_reader :day
|
|
2925
|
+
# Month of birth, between 1 and 12.
|
|
2926
|
+
attr_reader :month
|
|
2927
|
+
# Four-digit year of birth.
|
|
2928
|
+
attr_reader :year
|
|
2929
|
+
|
|
2930
|
+
def self.inner_class_types
|
|
2931
|
+
@inner_class_types = {}
|
|
2932
|
+
end
|
|
2933
|
+
|
|
2934
|
+
def self.field_remappings
|
|
2935
|
+
@field_remappings = {}
|
|
2936
|
+
end
|
|
2937
|
+
end
|
|
2938
|
+
# Attribute for field address
|
|
2939
|
+
attr_reader :address
|
|
2940
|
+
# Attribute for field date_of_birth
|
|
2941
|
+
attr_reader :date_of_birth
|
|
2942
|
+
# Email address.
|
|
2943
|
+
attr_reader :email
|
|
2944
|
+
# Given name (first name).
|
|
2945
|
+
attr_reader :given_name
|
|
2946
|
+
# Phone number.
|
|
2947
|
+
attr_reader :phone
|
|
2948
|
+
# Surname (last name).
|
|
2949
|
+
attr_reader :surname
|
|
2950
|
+
|
|
2951
|
+
def self.inner_class_types
|
|
2952
|
+
@inner_class_types = { address: Address, date_of_birth: DateOfBirth }
|
|
2953
|
+
end
|
|
2954
|
+
|
|
2955
|
+
def self.field_remappings
|
|
2956
|
+
@field_remappings = {}
|
|
2957
|
+
end
|
|
2958
|
+
end
|
|
2959
|
+
# Attribute for field sender_account
|
|
2960
|
+
attr_reader :sender_account
|
|
2961
|
+
# Attribute for field sender_details
|
|
2962
|
+
attr_reader :sender_details
|
|
2963
|
+
|
|
2964
|
+
def self.inner_class_types
|
|
2965
|
+
@inner_class_types = { sender_details: SenderDetails }
|
|
2966
|
+
end
|
|
2967
|
+
|
|
2968
|
+
def self.field_remappings
|
|
2969
|
+
@field_remappings = {}
|
|
2970
|
+
end
|
|
2971
|
+
end
|
|
2972
|
+
|
|
2973
|
+
class BeneficiaryDetails < ::Stripe::StripeObject
|
|
2974
|
+
class Address < ::Stripe::StripeObject
|
|
2975
|
+
# City, district, suburb, town, or village.
|
|
2976
|
+
attr_reader :city
|
|
2977
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2978
|
+
attr_reader :country
|
|
2979
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
2980
|
+
attr_reader :line1
|
|
2981
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2982
|
+
attr_reader :line2
|
|
2983
|
+
# ZIP or postal code.
|
|
2984
|
+
attr_reader :postal_code
|
|
2985
|
+
# State, county, province, or region.
|
|
2986
|
+
attr_reader :state
|
|
2987
|
+
|
|
2988
|
+
def self.inner_class_types
|
|
2989
|
+
@inner_class_types = {}
|
|
2990
|
+
end
|
|
2991
|
+
|
|
2992
|
+
def self.field_remappings
|
|
2993
|
+
@field_remappings = {}
|
|
2994
|
+
end
|
|
2995
|
+
end
|
|
2996
|
+
|
|
2997
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
2998
|
+
# Day of birth, between 1 and 31.
|
|
2999
|
+
attr_reader :day
|
|
3000
|
+
# Month of birth, between 1 and 12.
|
|
3001
|
+
attr_reader :month
|
|
3002
|
+
# Four-digit year of birth.
|
|
3003
|
+
attr_reader :year
|
|
3004
|
+
|
|
3005
|
+
def self.inner_class_types
|
|
3006
|
+
@inner_class_types = {}
|
|
3007
|
+
end
|
|
3008
|
+
|
|
3009
|
+
def self.field_remappings
|
|
3010
|
+
@field_remappings = {}
|
|
3011
|
+
end
|
|
3012
|
+
end
|
|
3013
|
+
# Attribute for field address
|
|
3014
|
+
attr_reader :address
|
|
3015
|
+
# Attribute for field date_of_birth
|
|
3016
|
+
attr_reader :date_of_birth
|
|
3017
|
+
# Email address.
|
|
3018
|
+
attr_reader :email
|
|
3019
|
+
# Given name (first name).
|
|
3020
|
+
attr_reader :given_name
|
|
3021
|
+
# Phone number.
|
|
3022
|
+
attr_reader :phone
|
|
3023
|
+
# Surname (last name).
|
|
3024
|
+
attr_reader :surname
|
|
3025
|
+
|
|
3026
|
+
def self.inner_class_types
|
|
3027
|
+
@inner_class_types = { address: Address, date_of_birth: DateOfBirth }
|
|
3028
|
+
end
|
|
3029
|
+
|
|
3030
|
+
def self.field_remappings
|
|
3031
|
+
@field_remappings = {}
|
|
3032
|
+
end
|
|
3033
|
+
end
|
|
3034
|
+
# Attribute for field account_funding
|
|
3035
|
+
attr_reader :account_funding
|
|
3036
|
+
# Attribute for field beneficiary_account
|
|
3037
|
+
attr_reader :beneficiary_account
|
|
3038
|
+
# Attribute for field beneficiary_details
|
|
3039
|
+
attr_reader :beneficiary_details
|
|
3040
|
+
# The type of money services transaction.
|
|
3041
|
+
attr_reader :transaction_type
|
|
3042
|
+
|
|
3043
|
+
def self.inner_class_types
|
|
3044
|
+
@inner_class_types = {
|
|
3045
|
+
account_funding: AccountFunding,
|
|
3046
|
+
beneficiary_details: BeneficiaryDetails,
|
|
3047
|
+
}
|
|
3048
|
+
end
|
|
3049
|
+
|
|
3050
|
+
def self.field_remappings
|
|
3051
|
+
@field_remappings = {}
|
|
3052
|
+
end
|
|
3053
|
+
end
|
|
3054
|
+
|
|
3055
|
+
class Subscription < ::Stripe::StripeObject
|
|
3056
|
+
class Affiliate < ::Stripe::StripeObject
|
|
3057
|
+
# The name of the affiliate that originated the purchase.
|
|
3058
|
+
attr_reader :name
|
|
3059
|
+
|
|
3060
|
+
def self.inner_class_types
|
|
3061
|
+
@inner_class_types = {}
|
|
3062
|
+
end
|
|
3063
|
+
|
|
3064
|
+
def self.field_remappings
|
|
3065
|
+
@field_remappings = {}
|
|
3066
|
+
end
|
|
3067
|
+
end
|
|
3068
|
+
|
|
3069
|
+
class BillingInterval < ::Stripe::StripeObject
|
|
3070
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3071
|
+
attr_reader :count
|
|
3072
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3073
|
+
attr_reader :interval
|
|
3074
|
+
|
|
3075
|
+
def self.inner_class_types
|
|
3076
|
+
@inner_class_types = {}
|
|
3077
|
+
end
|
|
3078
|
+
|
|
3079
|
+
def self.field_remappings
|
|
3080
|
+
@field_remappings = {}
|
|
3081
|
+
end
|
|
3082
|
+
end
|
|
3083
|
+
# Attribute for field affiliate
|
|
3084
|
+
attr_reader :affiliate
|
|
3085
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
3086
|
+
attr_reader :auto_renewal
|
|
3087
|
+
# Attribute for field billing_interval
|
|
3088
|
+
attr_reader :billing_interval
|
|
3089
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
3090
|
+
attr_reader :ends_at
|
|
3091
|
+
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
3092
|
+
attr_reader :name
|
|
3093
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
3094
|
+
attr_reader :starts_at
|
|
3095
|
+
|
|
3096
|
+
def self.inner_class_types
|
|
3097
|
+
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
3098
|
+
end
|
|
3099
|
+
|
|
3100
|
+
def self.field_remappings
|
|
3101
|
+
@field_remappings = {}
|
|
3102
|
+
end
|
|
3103
|
+
end
|
|
3104
|
+
# Attribute for field benefit
|
|
3105
|
+
attr_reader :benefit
|
|
3106
|
+
# Attribute for field car_rental
|
|
3107
|
+
attr_reader :car_rental
|
|
3108
|
+
# Attribute for field car_rental_data
|
|
3109
|
+
attr_reader :car_rental_data
|
|
3110
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
3111
|
+
#
|
|
3112
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
3113
|
+
attr_reader :customer_reference
|
|
3114
|
+
# Attribute for field event_details
|
|
3115
|
+
attr_reader :event_details
|
|
3116
|
+
# Fleet data for this PaymentIntent.
|
|
3117
|
+
attr_reader :fleet_data
|
|
3118
|
+
# Attribute for field flight_data
|
|
3119
|
+
attr_reader :flight_data
|
|
3120
|
+
# The Payment Location associated with this PaymentIntent.
|
|
3121
|
+
attr_reader :location
|
|
3122
|
+
# Attribute for field lodging_data
|
|
3123
|
+
attr_reader :lodging_data
|
|
3124
|
+
# Attribute for field money_services
|
|
3125
|
+
attr_reader :money_services
|
|
3126
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
3127
|
+
#
|
|
1293
3128
|
# 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
3129
|
attr_reader :order_reference
|
|
3130
|
+
# Attribute for field subscription
|
|
3131
|
+
attr_reader :subscription
|
|
1295
3132
|
|
|
1296
3133
|
def self.inner_class_types
|
|
1297
|
-
@inner_class_types = {
|
|
3134
|
+
@inner_class_types = {
|
|
3135
|
+
benefit: Benefit,
|
|
3136
|
+
car_rental: CarRental,
|
|
3137
|
+
car_rental_data: CarRentalDatum,
|
|
3138
|
+
event_details: EventDetails,
|
|
3139
|
+
fleet_data: FleetDatum,
|
|
3140
|
+
flight_data: FlightDatum,
|
|
3141
|
+
lodging_data: LodgingDatum,
|
|
3142
|
+
money_services: MoneyServices,
|
|
3143
|
+
subscription: Subscription,
|
|
3144
|
+
}
|
|
1298
3145
|
end
|
|
1299
3146
|
|
|
1300
3147
|
def self.field_remappings
|
|
@@ -1602,6 +3449,25 @@ module Stripe
|
|
|
1602
3449
|
end
|
|
1603
3450
|
|
|
1604
3451
|
class Card < ::Stripe::StripeObject
|
|
3452
|
+
class CaptureDelay < ::Stripe::StripeObject
|
|
3453
|
+
# The number of days to delay the capture of the funds.
|
|
3454
|
+
#
|
|
3455
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3456
|
+
attr_reader :days
|
|
3457
|
+
# The number of hours to delay the capture of the funds.
|
|
3458
|
+
#
|
|
3459
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3460
|
+
attr_reader :hours
|
|
3461
|
+
|
|
3462
|
+
def self.inner_class_types
|
|
3463
|
+
@inner_class_types = {}
|
|
3464
|
+
end
|
|
3465
|
+
|
|
3466
|
+
def self.field_remappings
|
|
3467
|
+
@field_remappings = {}
|
|
3468
|
+
end
|
|
3469
|
+
end
|
|
3470
|
+
|
|
1605
3471
|
class Installments < ::Stripe::StripeObject
|
|
1606
3472
|
class AvailablePlan < ::Stripe::StripeObject
|
|
1607
3473
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
|
@@ -1682,6 +3548,49 @@ module Stripe
|
|
|
1682
3548
|
@field_remappings = {}
|
|
1683
3549
|
end
|
|
1684
3550
|
end
|
|
3551
|
+
|
|
3552
|
+
class StatementDetails < ::Stripe::StripeObject
|
|
3553
|
+
class Address < ::Stripe::StripeObject
|
|
3554
|
+
# City, district, suburb, town, or village.
|
|
3555
|
+
attr_reader :city
|
|
3556
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3557
|
+
attr_reader :country
|
|
3558
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
3559
|
+
attr_reader :line1
|
|
3560
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
3561
|
+
attr_reader :line2
|
|
3562
|
+
# ZIP or postal code.
|
|
3563
|
+
attr_reader :postal_code
|
|
3564
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3565
|
+
attr_reader :state
|
|
3566
|
+
|
|
3567
|
+
def self.inner_class_types
|
|
3568
|
+
@inner_class_types = {}
|
|
3569
|
+
end
|
|
3570
|
+
|
|
3571
|
+
def self.field_remappings
|
|
3572
|
+
@field_remappings = {}
|
|
3573
|
+
end
|
|
3574
|
+
end
|
|
3575
|
+
# Attribute for field address
|
|
3576
|
+
attr_reader :address
|
|
3577
|
+
# Phone number
|
|
3578
|
+
attr_reader :phone
|
|
3579
|
+
|
|
3580
|
+
def self.inner_class_types
|
|
3581
|
+
@inner_class_types = { address: Address }
|
|
3582
|
+
end
|
|
3583
|
+
|
|
3584
|
+
def self.field_remappings
|
|
3585
|
+
@field_remappings = {}
|
|
3586
|
+
end
|
|
3587
|
+
end
|
|
3588
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3589
|
+
#
|
|
3590
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3591
|
+
attr_reader :capture_by
|
|
3592
|
+
# Attribute for field capture_delay
|
|
3593
|
+
attr_reader :capture_delay
|
|
1685
3594
|
# Controls when the funds will be captured from the customer's account.
|
|
1686
3595
|
attr_reader :capture_method
|
|
1687
3596
|
# Installment details for this payment.
|
|
@@ -1692,6 +3601,8 @@ module Stripe
|
|
|
1692
3601
|
attr_reader :mandate_options
|
|
1693
3602
|
# 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
3603
|
attr_reader :network
|
|
3604
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3605
|
+
attr_reader :request_decremental_authorization
|
|
1695
3606
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
1696
3607
|
attr_reader :request_extended_authorization
|
|
1697
3608
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1700,6 +3611,10 @@ module Stripe
|
|
|
1700
3611
|
attr_reader :request_multicapture
|
|
1701
3612
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
1702
3613
|
attr_reader :request_overcapture
|
|
3614
|
+
# Request partial authorization on this PaymentIntent.
|
|
3615
|
+
attr_reader :request_partial_authorization
|
|
3616
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3617
|
+
attr_reader :request_reauthorization
|
|
1703
3618
|
# 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
3619
|
attr_reader :request_three_d_secure
|
|
1705
3620
|
# 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 +3631,16 @@ module Stripe
|
|
|
1716
3631
|
attr_reader :statement_descriptor_suffix_kana
|
|
1717
3632
|
# 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
3633
|
attr_reader :statement_descriptor_suffix_kanji
|
|
3634
|
+
# Attribute for field statement_details
|
|
3635
|
+
attr_reader :statement_details
|
|
1719
3636
|
|
|
1720
3637
|
def self.inner_class_types
|
|
1721
|
-
@inner_class_types = {
|
|
3638
|
+
@inner_class_types = {
|
|
3639
|
+
capture_delay: CaptureDelay,
|
|
3640
|
+
installments: Installments,
|
|
3641
|
+
mandate_options: MandateOptions,
|
|
3642
|
+
statement_details: StatementDetails,
|
|
3643
|
+
}
|
|
1722
3644
|
end
|
|
1723
3645
|
|
|
1724
3646
|
def self.field_remappings
|
|
@@ -1727,6 +3649,25 @@ module Stripe
|
|
|
1727
3649
|
end
|
|
1728
3650
|
|
|
1729
3651
|
class CardPresent < ::Stripe::StripeObject
|
|
3652
|
+
class CaptureDelay < ::Stripe::StripeObject
|
|
3653
|
+
# The number of days to delay the capture of the funds.
|
|
3654
|
+
#
|
|
3655
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3656
|
+
attr_reader :days
|
|
3657
|
+
# The number of hours to delay the capture of the funds.
|
|
3658
|
+
#
|
|
3659
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3660
|
+
attr_reader :hours
|
|
3661
|
+
|
|
3662
|
+
def self.inner_class_types
|
|
3663
|
+
@inner_class_types = {}
|
|
3664
|
+
end
|
|
3665
|
+
|
|
3666
|
+
def self.field_remappings
|
|
3667
|
+
@field_remappings = {}
|
|
3668
|
+
end
|
|
3669
|
+
end
|
|
3670
|
+
|
|
1730
3671
|
class Routing < ::Stripe::StripeObject
|
|
1731
3672
|
# Requested routing priority
|
|
1732
3673
|
attr_reader :requested_priority
|
|
@@ -1739,17 +3680,27 @@ module Stripe
|
|
|
1739
3680
|
@field_remappings = {}
|
|
1740
3681
|
end
|
|
1741
3682
|
end
|
|
3683
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3684
|
+
#
|
|
3685
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3686
|
+
attr_reader :capture_by
|
|
3687
|
+
# Attribute for field capture_delay
|
|
3688
|
+
attr_reader :capture_delay
|
|
1742
3689
|
# Controls when the funds will be captured from the customer's account.
|
|
1743
3690
|
attr_reader :capture_method
|
|
1744
3691
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
1745
3692
|
attr_reader :request_extended_authorization
|
|
1746
3693
|
# 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
3694
|
attr_reader :request_incremental_authorization_support
|
|
3695
|
+
# Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
|
|
3696
|
+
attr_reader :request_multicapture
|
|
3697
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3698
|
+
attr_reader :request_reauthorization
|
|
1748
3699
|
# Attribute for field routing
|
|
1749
3700
|
attr_reader :routing
|
|
1750
3701
|
|
|
1751
3702
|
def self.inner_class_types
|
|
1752
|
-
@inner_class_types = { routing: Routing }
|
|
3703
|
+
@inner_class_types = { capture_delay: CaptureDelay, routing: Routing }
|
|
1753
3704
|
end
|
|
1754
3705
|
|
|
1755
3706
|
def self.field_remappings
|
|
@@ -1779,6 +3730,54 @@ module Stripe
|
|
|
1779
3730
|
end
|
|
1780
3731
|
|
|
1781
3732
|
class Crypto < ::Stripe::StripeObject
|
|
3733
|
+
class AmountReconciliation < ::Stripe::StripeObject
|
|
3734
|
+
# Controls how crypto funding amounts are reconciled for the PaymentIntent.
|
|
3735
|
+
attr_reader :type
|
|
3736
|
+
|
|
3737
|
+
def self.inner_class_types
|
|
3738
|
+
@inner_class_types = {}
|
|
3739
|
+
end
|
|
3740
|
+
|
|
3741
|
+
def self.field_remappings
|
|
3742
|
+
@field_remappings = {}
|
|
3743
|
+
end
|
|
3744
|
+
end
|
|
3745
|
+
|
|
3746
|
+
class DepositOptions < ::Stripe::StripeObject
|
|
3747
|
+
# 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).
|
|
3748
|
+
attr_reader :networks
|
|
3749
|
+
# If true, provisions a permanent per-customer deposit address reused across PaymentIntents.
|
|
3750
|
+
attr_reader :static_address
|
|
3751
|
+
|
|
3752
|
+
def self.inner_class_types
|
|
3753
|
+
@inner_class_types = {}
|
|
3754
|
+
end
|
|
3755
|
+
|
|
3756
|
+
def self.field_remappings
|
|
3757
|
+
@field_remappings = {}
|
|
3758
|
+
end
|
|
3759
|
+
end
|
|
3760
|
+
|
|
3761
|
+
class TransactionVerificationOptions < ::Stripe::StripeObject
|
|
3762
|
+
# The network on which the transaction was submitted.
|
|
3763
|
+
attr_reader :network
|
|
3764
|
+
# The hash of the onchain transaction to verify.
|
|
3765
|
+
attr_reader :transaction_hash
|
|
3766
|
+
|
|
3767
|
+
def self.inner_class_types
|
|
3768
|
+
@inner_class_types = {}
|
|
3769
|
+
end
|
|
3770
|
+
|
|
3771
|
+
def self.field_remappings
|
|
3772
|
+
@field_remappings = {}
|
|
3773
|
+
end
|
|
3774
|
+
end
|
|
3775
|
+
# Attribute for field amount_reconciliation
|
|
3776
|
+
attr_reader :amount_reconciliation
|
|
3777
|
+
# Attribute for field deposit_options
|
|
3778
|
+
attr_reader :deposit_options
|
|
3779
|
+
# The mode of the crypto payment.
|
|
3780
|
+
attr_reader :mode
|
|
1782
3781
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1783
3782
|
#
|
|
1784
3783
|
# 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 +3786,15 @@ module Stripe
|
|
|
1787
3786
|
#
|
|
1788
3787
|
# 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
3788
|
attr_reader :setup_future_usage
|
|
3789
|
+
# Attribute for field transaction_verification_options
|
|
3790
|
+
attr_reader :transaction_verification_options
|
|
1790
3791
|
|
|
1791
3792
|
def self.inner_class_types
|
|
1792
|
-
@inner_class_types = {
|
|
3793
|
+
@inner_class_types = {
|
|
3794
|
+
amount_reconciliation: AmountReconciliation,
|
|
3795
|
+
deposit_options: DepositOptions,
|
|
3796
|
+
transaction_verification_options: TransactionVerificationOptions,
|
|
3797
|
+
}
|
|
1793
3798
|
end
|
|
1794
3799
|
|
|
1795
3800
|
def self.field_remappings
|
|
@@ -1820,18 +3825,56 @@ module Stripe
|
|
|
1820
3825
|
# The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
|
1821
3826
|
attr_reader :type
|
|
1822
3827
|
|
|
1823
|
-
def self.inner_class_types
|
|
1824
|
-
@inner_class_types = { eu_bank_transfer: EuBankTransfer }
|
|
1825
|
-
end
|
|
3828
|
+
def self.inner_class_types
|
|
3829
|
+
@inner_class_types = { eu_bank_transfer: EuBankTransfer }
|
|
3830
|
+
end
|
|
3831
|
+
|
|
3832
|
+
def self.field_remappings
|
|
3833
|
+
@field_remappings = {}
|
|
3834
|
+
end
|
|
3835
|
+
end
|
|
3836
|
+
# Attribute for field bank_transfer
|
|
3837
|
+
attr_reader :bank_transfer
|
|
3838
|
+
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
|
3839
|
+
attr_reader :funding_type
|
|
3840
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3841
|
+
#
|
|
3842
|
+
# 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.
|
|
3843
|
+
#
|
|
3844
|
+
# 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.
|
|
3845
|
+
#
|
|
3846
|
+
# 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).
|
|
3847
|
+
attr_reader :setup_future_usage
|
|
3848
|
+
|
|
3849
|
+
def self.inner_class_types
|
|
3850
|
+
@inner_class_types = { bank_transfer: BankTransfer }
|
|
3851
|
+
end
|
|
3852
|
+
|
|
3853
|
+
def self.field_remappings
|
|
3854
|
+
@field_remappings = {}
|
|
3855
|
+
end
|
|
3856
|
+
end
|
|
3857
|
+
|
|
3858
|
+
class Eps < ::Stripe::StripeObject
|
|
3859
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3860
|
+
#
|
|
3861
|
+
# 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.
|
|
3862
|
+
#
|
|
3863
|
+
# 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.
|
|
3864
|
+
#
|
|
3865
|
+
# 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).
|
|
3866
|
+
attr_reader :setup_future_usage
|
|
3867
|
+
|
|
3868
|
+
def self.inner_class_types
|
|
3869
|
+
@inner_class_types = {}
|
|
3870
|
+
end
|
|
1826
3871
|
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
end
|
|
3872
|
+
def self.field_remappings
|
|
3873
|
+
@field_remappings = {}
|
|
1830
3874
|
end
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
attr_reader :funding_type
|
|
3875
|
+
end
|
|
3876
|
+
|
|
3877
|
+
class Fpx < ::Stripe::StripeObject
|
|
1835
3878
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1836
3879
|
#
|
|
1837
3880
|
# 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.
|
|
@@ -1842,7 +3885,7 @@ module Stripe
|
|
|
1842
3885
|
attr_reader :setup_future_usage
|
|
1843
3886
|
|
|
1844
3887
|
def self.inner_class_types
|
|
1845
|
-
@inner_class_types = {
|
|
3888
|
+
@inner_class_types = {}
|
|
1846
3889
|
end
|
|
1847
3890
|
|
|
1848
3891
|
def self.field_remappings
|
|
@@ -1850,7 +3893,24 @@ module Stripe
|
|
|
1850
3893
|
end
|
|
1851
3894
|
end
|
|
1852
3895
|
|
|
1853
|
-
class
|
|
3896
|
+
class GiftCard < ::Stripe::StripeObject
|
|
3897
|
+
# Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card.
|
|
3898
|
+
attr_reader :ignore_application_fee
|
|
3899
|
+
# Set to `yes` to ignore transfer data on the PaymentIntent when redeeming this gift card.
|
|
3900
|
+
attr_reader :ignore_transfer_data
|
|
3901
|
+
# Request partial authorization on this PaymentIntent.
|
|
3902
|
+
attr_reader :request_partial_authorization
|
|
3903
|
+
|
|
3904
|
+
def self.inner_class_types
|
|
3905
|
+
@inner_class_types = {}
|
|
3906
|
+
end
|
|
3907
|
+
|
|
3908
|
+
def self.field_remappings
|
|
3909
|
+
@field_remappings = {}
|
|
3910
|
+
end
|
|
3911
|
+
end
|
|
3912
|
+
|
|
3913
|
+
class Giropay < ::Stripe::StripeObject
|
|
1854
3914
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1855
3915
|
#
|
|
1856
3916
|
# 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.
|
|
@@ -1869,7 +3929,7 @@ module Stripe
|
|
|
1869
3929
|
end
|
|
1870
3930
|
end
|
|
1871
3931
|
|
|
1872
|
-
class
|
|
3932
|
+
class Gopay < ::Stripe::StripeObject
|
|
1873
3933
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1874
3934
|
#
|
|
1875
3935
|
# 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.
|
|
@@ -1888,7 +3948,7 @@ module Stripe
|
|
|
1888
3948
|
end
|
|
1889
3949
|
end
|
|
1890
3950
|
|
|
1891
|
-
class
|
|
3951
|
+
class Grabpay < ::Stripe::StripeObject
|
|
1892
3952
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1893
3953
|
#
|
|
1894
3954
|
# 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.
|
|
@@ -1907,7 +3967,11 @@ module Stripe
|
|
|
1907
3967
|
end
|
|
1908
3968
|
end
|
|
1909
3969
|
|
|
1910
|
-
class
|
|
3970
|
+
class IdBankTransfer < ::Stripe::StripeObject
|
|
3971
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
3972
|
+
attr_reader :expires_after
|
|
3973
|
+
# 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.
|
|
3974
|
+
attr_reader :expires_at
|
|
1911
3975
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1912
3976
|
#
|
|
1913
3977
|
# 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.
|
|
@@ -2254,12 +4318,56 @@ module Stripe
|
|
|
2254
4318
|
end
|
|
2255
4319
|
|
|
2256
4320
|
class Paypal < ::Stripe::StripeObject
|
|
4321
|
+
class LineItem < ::Stripe::StripeObject
|
|
4322
|
+
class Tax < ::Stripe::StripeObject
|
|
4323
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4324
|
+
attr_reader :amount
|
|
4325
|
+
# The tax behavior for the line item.
|
|
4326
|
+
attr_reader :behavior
|
|
4327
|
+
|
|
4328
|
+
def self.inner_class_types
|
|
4329
|
+
@inner_class_types = {}
|
|
4330
|
+
end
|
|
4331
|
+
|
|
4332
|
+
def self.field_remappings
|
|
4333
|
+
@field_remappings = {}
|
|
4334
|
+
end
|
|
4335
|
+
end
|
|
4336
|
+
# Type of the line item.
|
|
4337
|
+
attr_reader :category
|
|
4338
|
+
# Description of the line item.
|
|
4339
|
+
attr_reader :description
|
|
4340
|
+
# Descriptive name of the line item.
|
|
4341
|
+
attr_reader :name
|
|
4342
|
+
# Quantity of the line item. Cannot be a negative number.
|
|
4343
|
+
attr_reader :quantity
|
|
4344
|
+
# Client facing stock keeping unit, article number or similar.
|
|
4345
|
+
attr_reader :sku
|
|
4346
|
+
# 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).
|
|
4347
|
+
attr_reader :sold_by
|
|
4348
|
+
# Attribute for field tax
|
|
4349
|
+
attr_reader :tax
|
|
4350
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4351
|
+
attr_reader :unit_amount
|
|
4352
|
+
|
|
4353
|
+
def self.inner_class_types
|
|
4354
|
+
@inner_class_types = { tax: Tax }
|
|
4355
|
+
end
|
|
4356
|
+
|
|
4357
|
+
def self.field_remappings
|
|
4358
|
+
@field_remappings = {}
|
|
4359
|
+
end
|
|
4360
|
+
end
|
|
2257
4361
|
# Controls when the funds will be captured from the customer's account.
|
|
2258
4362
|
attr_reader :capture_method
|
|
4363
|
+
# The line items purchased by the customer.
|
|
4364
|
+
attr_reader :line_items
|
|
2259
4365
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2260
4366
|
attr_reader :preferred_locale
|
|
2261
4367
|
# 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.
|
|
2262
4368
|
attr_reader :reference
|
|
4369
|
+
# 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.
|
|
4370
|
+
attr_reader :reference_id
|
|
2263
4371
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2264
4372
|
#
|
|
2265
4373
|
# 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.
|
|
@@ -2268,7 +4376,19 @@ module Stripe
|
|
|
2268
4376
|
#
|
|
2269
4377
|
# 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).
|
|
2270
4378
|
attr_reader :setup_future_usage
|
|
4379
|
+
# 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.
|
|
4380
|
+
attr_reader :subsellers
|
|
4381
|
+
|
|
4382
|
+
def self.inner_class_types
|
|
4383
|
+
@inner_class_types = { line_items: LineItem }
|
|
4384
|
+
end
|
|
4385
|
+
|
|
4386
|
+
def self.field_remappings
|
|
4387
|
+
@field_remappings = {}
|
|
4388
|
+
end
|
|
4389
|
+
end
|
|
2271
4390
|
|
|
4391
|
+
class Paypay < ::Stripe::StripeObject
|
|
2272
4392
|
def self.inner_class_types
|
|
2273
4393
|
@inner_class_types = {}
|
|
2274
4394
|
end
|
|
@@ -2393,6 +4513,35 @@ module Stripe
|
|
|
2393
4513
|
end
|
|
2394
4514
|
end
|
|
2395
4515
|
|
|
4516
|
+
class Qris < ::Stripe::StripeObject
|
|
4517
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4518
|
+
#
|
|
4519
|
+
# 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.
|
|
4520
|
+
#
|
|
4521
|
+
# 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.
|
|
4522
|
+
#
|
|
4523
|
+
# 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).
|
|
4524
|
+
attr_reader :setup_future_usage
|
|
4525
|
+
|
|
4526
|
+
def self.inner_class_types
|
|
4527
|
+
@inner_class_types = {}
|
|
4528
|
+
end
|
|
4529
|
+
|
|
4530
|
+
def self.field_remappings
|
|
4531
|
+
@field_remappings = {}
|
|
4532
|
+
end
|
|
4533
|
+
end
|
|
4534
|
+
|
|
4535
|
+
class Rechnung < ::Stripe::StripeObject
|
|
4536
|
+
def self.inner_class_types
|
|
4537
|
+
@inner_class_types = {}
|
|
4538
|
+
end
|
|
4539
|
+
|
|
4540
|
+
def self.field_remappings
|
|
4541
|
+
@field_remappings = {}
|
|
4542
|
+
end
|
|
4543
|
+
end
|
|
4544
|
+
|
|
2396
4545
|
class RevolutPay < ::Stripe::StripeObject
|
|
2397
4546
|
# Controls when the funds will be captured from the customer's account.
|
|
2398
4547
|
attr_reader :capture_method
|
|
@@ -2496,6 +4645,25 @@ module Stripe
|
|
|
2496
4645
|
end
|
|
2497
4646
|
end
|
|
2498
4647
|
|
|
4648
|
+
class Shopeepay < ::Stripe::StripeObject
|
|
4649
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4650
|
+
#
|
|
4651
|
+
# 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.
|
|
4652
|
+
#
|
|
4653
|
+
# 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.
|
|
4654
|
+
#
|
|
4655
|
+
# 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).
|
|
4656
|
+
attr_reader :setup_future_usage
|
|
4657
|
+
|
|
4658
|
+
def self.inner_class_types
|
|
4659
|
+
@inner_class_types = {}
|
|
4660
|
+
end
|
|
4661
|
+
|
|
4662
|
+
def self.field_remappings
|
|
4663
|
+
@field_remappings = {}
|
|
4664
|
+
end
|
|
4665
|
+
end
|
|
4666
|
+
|
|
2499
4667
|
class Sofort < ::Stripe::StripeObject
|
|
2500
4668
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2501
4669
|
attr_reader :preferred_language
|
|
@@ -2517,6 +4685,39 @@ module Stripe
|
|
|
2517
4685
|
end
|
|
2518
4686
|
end
|
|
2519
4687
|
|
|
4688
|
+
class StripeBalance < ::Stripe::StripeObject
|
|
4689
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
4690
|
+
# The ID of the Stripe Balance Debit Agreement used for this mandate.
|
|
4691
|
+
attr_reader :stripe_balance_debit_agreement
|
|
4692
|
+
|
|
4693
|
+
def self.inner_class_types
|
|
4694
|
+
@inner_class_types = {}
|
|
4695
|
+
end
|
|
4696
|
+
|
|
4697
|
+
def self.field_remappings
|
|
4698
|
+
@field_remappings = {}
|
|
4699
|
+
end
|
|
4700
|
+
end
|
|
4701
|
+
# Attribute for field mandate_options
|
|
4702
|
+
attr_reader :mandate_options
|
|
4703
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4704
|
+
#
|
|
4705
|
+
# 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.
|
|
4706
|
+
#
|
|
4707
|
+
# 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.
|
|
4708
|
+
#
|
|
4709
|
+
# 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).
|
|
4710
|
+
attr_reader :setup_future_usage
|
|
4711
|
+
|
|
4712
|
+
def self.inner_class_types
|
|
4713
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
|
4714
|
+
end
|
|
4715
|
+
|
|
4716
|
+
def self.field_remappings
|
|
4717
|
+
@field_remappings = {}
|
|
4718
|
+
end
|
|
4719
|
+
end
|
|
4720
|
+
|
|
2520
4721
|
class Sunbit < ::Stripe::StripeObject
|
|
2521
4722
|
# Controls when the funds will be captured from the customer's account.
|
|
2522
4723
|
attr_reader :capture_method
|
|
@@ -2602,6 +4803,21 @@ module Stripe
|
|
|
2602
4803
|
class Filters < ::Stripe::StripeObject
|
|
2603
4804
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2604
4805
|
attr_reader :account_subcategories
|
|
4806
|
+
# The institution to use to filter for possible accounts to link.
|
|
4807
|
+
attr_reader :institution
|
|
4808
|
+
|
|
4809
|
+
def self.inner_class_types
|
|
4810
|
+
@inner_class_types = {}
|
|
4811
|
+
end
|
|
4812
|
+
|
|
4813
|
+
def self.field_remappings
|
|
4814
|
+
@field_remappings = {}
|
|
4815
|
+
end
|
|
4816
|
+
end
|
|
4817
|
+
|
|
4818
|
+
class ManualEntry < ::Stripe::StripeObject
|
|
4819
|
+
# Settings for configuring manual entry of account details.
|
|
4820
|
+
attr_reader :mode
|
|
2605
4821
|
|
|
2606
4822
|
def self.inner_class_types
|
|
2607
4823
|
@inner_class_types = {}
|
|
@@ -2613,6 +4829,8 @@ module Stripe
|
|
|
2613
4829
|
end
|
|
2614
4830
|
# Attribute for field filters
|
|
2615
4831
|
attr_reader :filters
|
|
4832
|
+
# Attribute for field manual_entry
|
|
4833
|
+
attr_reader :manual_entry
|
|
2616
4834
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
2617
4835
|
attr_reader :permissions
|
|
2618
4836
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -2621,7 +4839,7 @@ module Stripe
|
|
|
2621
4839
|
attr_reader :return_url
|
|
2622
4840
|
|
|
2623
4841
|
def self.inner_class_types
|
|
2624
|
-
@inner_class_types = { filters: Filters }
|
|
4842
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
|
2625
4843
|
end
|
|
2626
4844
|
|
|
2627
4845
|
def self.field_remappings
|
|
@@ -2675,6 +4893,8 @@ module Stripe
|
|
|
2675
4893
|
class WechatPay < ::Stripe::StripeObject
|
|
2676
4894
|
# The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.
|
|
2677
4895
|
attr_reader :app_id
|
|
4896
|
+
# The unique buyer ID for the app ID registered with WeChat Pay. Only required when client is mini_program.
|
|
4897
|
+
attr_reader :buyer_id
|
|
2678
4898
|
# The client type that the end customer will pay from
|
|
2679
4899
|
attr_reader :client
|
|
2680
4900
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2753,10 +4973,16 @@ module Stripe
|
|
|
2753
4973
|
attr_reader :eps
|
|
2754
4974
|
# Attribute for field fpx
|
|
2755
4975
|
attr_reader :fpx
|
|
4976
|
+
# Attribute for field gift_card
|
|
4977
|
+
attr_reader :gift_card
|
|
2756
4978
|
# Attribute for field giropay
|
|
2757
4979
|
attr_reader :giropay
|
|
4980
|
+
# Attribute for field gopay
|
|
4981
|
+
attr_reader :gopay
|
|
2758
4982
|
# Attribute for field grabpay
|
|
2759
4983
|
attr_reader :grabpay
|
|
4984
|
+
# Attribute for field id_bank_transfer
|
|
4985
|
+
attr_reader :id_bank_transfer
|
|
2760
4986
|
# Attribute for field ideal
|
|
2761
4987
|
attr_reader :ideal
|
|
2762
4988
|
# Attribute for field interac_present
|
|
@@ -2793,12 +5019,18 @@ module Stripe
|
|
|
2793
5019
|
attr_reader :paynow
|
|
2794
5020
|
# Attribute for field paypal
|
|
2795
5021
|
attr_reader :paypal
|
|
5022
|
+
# Attribute for field paypay
|
|
5023
|
+
attr_reader :paypay
|
|
2796
5024
|
# Attribute for field payto
|
|
2797
5025
|
attr_reader :payto
|
|
2798
5026
|
# Attribute for field pix
|
|
2799
5027
|
attr_reader :pix
|
|
2800
5028
|
# Attribute for field promptpay
|
|
2801
5029
|
attr_reader :promptpay
|
|
5030
|
+
# Attribute for field qris
|
|
5031
|
+
attr_reader :qris
|
|
5032
|
+
# Attribute for field rechnung
|
|
5033
|
+
attr_reader :rechnung
|
|
2802
5034
|
# Attribute for field revolut_pay
|
|
2803
5035
|
attr_reader :revolut_pay
|
|
2804
5036
|
# Attribute for field samsung_pay
|
|
@@ -2809,8 +5041,12 @@ module Stripe
|
|
|
2809
5041
|
attr_reader :scalapay
|
|
2810
5042
|
# Attribute for field sepa_debit
|
|
2811
5043
|
attr_reader :sepa_debit
|
|
5044
|
+
# Attribute for field shopeepay
|
|
5045
|
+
attr_reader :shopeepay
|
|
2812
5046
|
# Attribute for field sofort
|
|
2813
5047
|
attr_reader :sofort
|
|
5048
|
+
# Attribute for field stripe_balance
|
|
5049
|
+
attr_reader :stripe_balance
|
|
2814
5050
|
# Attribute for field sunbit
|
|
2815
5051
|
attr_reader :sunbit
|
|
2816
5052
|
# Attribute for field swish
|
|
@@ -2848,8 +5084,11 @@ module Stripe
|
|
|
2848
5084
|
customer_balance: CustomerBalance,
|
|
2849
5085
|
eps: Eps,
|
|
2850
5086
|
fpx: Fpx,
|
|
5087
|
+
gift_card: GiftCard,
|
|
2851
5088
|
giropay: Giropay,
|
|
5089
|
+
gopay: Gopay,
|
|
2852
5090
|
grabpay: Grabpay,
|
|
5091
|
+
id_bank_transfer: IdBankTransfer,
|
|
2853
5092
|
ideal: Ideal,
|
|
2854
5093
|
interac_present: InteracPresent,
|
|
2855
5094
|
kakao_pay: KakaoPay,
|
|
@@ -2868,15 +5107,20 @@ module Stripe
|
|
|
2868
5107
|
payco: Payco,
|
|
2869
5108
|
paynow: Paynow,
|
|
2870
5109
|
paypal: Paypal,
|
|
5110
|
+
paypay: Paypay,
|
|
2871
5111
|
payto: Payto,
|
|
2872
5112
|
pix: Pix,
|
|
2873
5113
|
promptpay: Promptpay,
|
|
5114
|
+
qris: Qris,
|
|
5115
|
+
rechnung: Rechnung,
|
|
2874
5116
|
revolut_pay: RevolutPay,
|
|
2875
5117
|
samsung_pay: SamsungPay,
|
|
2876
5118
|
satispay: Satispay,
|
|
2877
5119
|
scalapay: Scalapay,
|
|
2878
5120
|
sepa_debit: SepaDebit,
|
|
5121
|
+
shopeepay: Shopeepay,
|
|
2879
5122
|
sofort: Sofort,
|
|
5123
|
+
stripe_balance: StripeBalance,
|
|
2880
5124
|
sunbit: Sunbit,
|
|
2881
5125
|
swish: Swish,
|
|
2882
5126
|
twint: Twint,
|
|
@@ -2892,6 +5136,19 @@ module Stripe
|
|
|
2892
5136
|
end
|
|
2893
5137
|
end
|
|
2894
5138
|
|
|
5139
|
+
class PaymentsOrchestration < ::Stripe::StripeObject
|
|
5140
|
+
# Whether this feature is enabled.
|
|
5141
|
+
attr_reader :enabled
|
|
5142
|
+
|
|
5143
|
+
def self.inner_class_types
|
|
5144
|
+
@inner_class_types = {}
|
|
5145
|
+
end
|
|
5146
|
+
|
|
5147
|
+
def self.field_remappings
|
|
5148
|
+
@field_remappings = {}
|
|
5149
|
+
end
|
|
5150
|
+
end
|
|
5151
|
+
|
|
2895
5152
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
2896
5153
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
|
2897
5154
|
attr_reader :presentment_amount
|
|
@@ -2948,6 +5205,19 @@ module Stripe
|
|
|
2948
5205
|
end
|
|
2949
5206
|
end
|
|
2950
5207
|
|
|
5208
|
+
class Redaction < ::Stripe::StripeObject
|
|
5209
|
+
# Indicates whether this object and its related objects have been redacted or not.
|
|
5210
|
+
attr_reader :status
|
|
5211
|
+
|
|
5212
|
+
def self.inner_class_types
|
|
5213
|
+
@inner_class_types = {}
|
|
5214
|
+
end
|
|
5215
|
+
|
|
5216
|
+
def self.field_remappings
|
|
5217
|
+
@field_remappings = {}
|
|
5218
|
+
end
|
|
5219
|
+
end
|
|
5220
|
+
|
|
2951
5221
|
class Shipping < ::Stripe::StripeObject
|
|
2952
5222
|
class Address < ::Stripe::StripeObject
|
|
2953
5223
|
# City, district, suburb, town, or village.
|
|
@@ -3027,6 +5297,14 @@ module Stripe
|
|
|
3027
5297
|
@field_remappings = {}
|
|
3028
5298
|
end
|
|
3029
5299
|
end
|
|
5300
|
+
# Attribute for field advanced_feature_details
|
|
5301
|
+
attr_reader :advanced_feature_details
|
|
5302
|
+
# Details about the agent that initiated the creation of this PaymentIntent.
|
|
5303
|
+
attr_reader :agent_details
|
|
5304
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
5305
|
+
attr_reader :allocated_funds
|
|
5306
|
+
# 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`.
|
|
5307
|
+
attr_reader :allowed_payment_method_types
|
|
3030
5308
|
# 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).
|
|
3031
5309
|
attr_reader :amount
|
|
3032
5310
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -3039,6 +5317,8 @@ module Stripe
|
|
|
3039
5317
|
attr_reader :application
|
|
3040
5318
|
# 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).
|
|
3041
5319
|
attr_reader :application_fee_amount
|
|
5320
|
+
# Attribute for field async_workflows
|
|
5321
|
+
attr_reader :async_workflows
|
|
3042
5322
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
3043
5323
|
attr_reader :automatic_payment_methods
|
|
3044
5324
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -3075,6 +5355,8 @@ module Stripe
|
|
|
3075
5355
|
attr_reader :description
|
|
3076
5356
|
# The list of payment method types to exclude from use with this payment.
|
|
3077
5357
|
attr_reader :excluded_payment_method_types
|
|
5358
|
+
# The FX Quote used for the PaymentIntent.
|
|
5359
|
+
attr_reader :fx_quote
|
|
3078
5360
|
# Attribute for field hooks
|
|
3079
5361
|
attr_reader :hooks
|
|
3080
5362
|
# Unique identifier for the object.
|
|
@@ -3083,6 +5365,8 @@ module Stripe
|
|
|
3083
5365
|
attr_reader :last_payment_error
|
|
3084
5366
|
# 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.
|
|
3085
5367
|
attr_reader :latest_charge
|
|
5368
|
+
# 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.
|
|
5369
|
+
attr_reader :latest_payment_attempt_record
|
|
3086
5370
|
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
3087
5371
|
attr_reader :livemode
|
|
3088
5372
|
# Settings for Managed Payments.
|
|
@@ -3106,14 +5390,22 @@ module Stripe
|
|
|
3106
5390
|
attr_reader :payment_method_options
|
|
3107
5391
|
# 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).
|
|
3108
5392
|
attr_reader :payment_method_types
|
|
5393
|
+
# ID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.
|
|
5394
|
+
attr_reader :payment_record
|
|
5395
|
+
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
5396
|
+
attr_reader :payments_orchestration
|
|
3109
5397
|
# Attribute for field presentment_details
|
|
3110
5398
|
attr_reader :presentment_details
|
|
3111
5399
|
# If present, this property tells you about the processing state of the payment.
|
|
3112
5400
|
attr_reader :processing
|
|
3113
5401
|
# 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).
|
|
3114
5402
|
attr_reader :receipt_email
|
|
5403
|
+
# Redaction status of this PaymentIntent. If the PaymentIntent isn't redacted, this field is null.
|
|
5404
|
+
attr_reader :redaction
|
|
3115
5405
|
# ID of the review associated with this PaymentIntent, if any.
|
|
3116
5406
|
attr_reader :review
|
|
5407
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
5408
|
+
attr_reader :secret_key_confirmation
|
|
3117
5409
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3118
5410
|
#
|
|
3119
5411
|
# 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.
|
|
@@ -3307,6 +5599,56 @@ module Stripe
|
|
|
3307
5599
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3308
5600
|
end
|
|
3309
5601
|
|
|
5602
|
+
# Perform a decremental authorization on an eligible
|
|
5603
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
5604
|
+
# PaymentIntent's status must be requires_capture and
|
|
5605
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
5606
|
+
# must be available.
|
|
5607
|
+
#
|
|
5608
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
5609
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
5610
|
+
#
|
|
5611
|
+
# After decrement, the PaymentIntent object
|
|
5612
|
+
# returns with the updated
|
|
5613
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
5614
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
5615
|
+
#
|
|
5616
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
5617
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
5618
|
+
def decrement_authorization(params = {}, opts = {})
|
|
5619
|
+
request_stripe_object(
|
|
5620
|
+
method: :post,
|
|
5621
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
5622
|
+
params: params,
|
|
5623
|
+
opts: opts
|
|
5624
|
+
)
|
|
5625
|
+
end
|
|
5626
|
+
|
|
5627
|
+
# Perform a decremental authorization on an eligible
|
|
5628
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
5629
|
+
# PaymentIntent's status must be requires_capture and
|
|
5630
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
5631
|
+
# must be available.
|
|
5632
|
+
#
|
|
5633
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
5634
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
5635
|
+
#
|
|
5636
|
+
# After decrement, the PaymentIntent object
|
|
5637
|
+
# returns with the updated
|
|
5638
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
5639
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
5640
|
+
#
|
|
5641
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
5642
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
5643
|
+
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
5644
|
+
request_stripe_object(
|
|
5645
|
+
method: :post,
|
|
5646
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
5647
|
+
params: params,
|
|
5648
|
+
opts: opts
|
|
5649
|
+
)
|
|
5650
|
+
end
|
|
5651
|
+
|
|
3310
5652
|
# Perform an incremental authorization on an eligible
|
|
3311
5653
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3312
5654
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -3382,6 +5724,40 @@ module Stripe
|
|
|
3382
5724
|
request_stripe_object(method: :get, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3383
5725
|
end
|
|
3384
5726
|
|
|
5727
|
+
# Reauthorize a PaymentIntent to obtain a new valid authorization after the initial authorization has expired.
|
|
5728
|
+
#
|
|
5729
|
+
# When a PaymentIntent's authorization expires and the capture window elapses, the PaymentIntent transitions to
|
|
5730
|
+
# requires_reauthorization status with amount_capturable set to 0. This endpoint
|
|
5731
|
+
# brings the PaymentIntent back to requires_capture status, allowing you to capture payment.
|
|
5732
|
+
#
|
|
5733
|
+
# This is useful for retail and ecommerce scenarios with delayed shipments where
|
|
5734
|
+
# authorization validity periods (typically 7 days) expire before the merchant is ready to capture payment.
|
|
5735
|
+
def reauthorize(params = {}, opts = {})
|
|
5736
|
+
request_stripe_object(
|
|
5737
|
+
method: :post,
|
|
5738
|
+
path: format("/v1/payment_intents/%<intent>s/reauthorize", { intent: CGI.escape(self["id"]) }),
|
|
5739
|
+
params: params,
|
|
5740
|
+
opts: opts
|
|
5741
|
+
)
|
|
5742
|
+
end
|
|
5743
|
+
|
|
5744
|
+
# Reauthorize a PaymentIntent to obtain a new valid authorization after the initial authorization has expired.
|
|
5745
|
+
#
|
|
5746
|
+
# When a PaymentIntent's authorization expires and the capture window elapses, the PaymentIntent transitions to
|
|
5747
|
+
# requires_reauthorization status with amount_capturable set to 0. This endpoint
|
|
5748
|
+
# brings the PaymentIntent back to requires_capture status, allowing you to capture payment.
|
|
5749
|
+
#
|
|
5750
|
+
# This is useful for retail and ecommerce scenarios with delayed shipments where
|
|
5751
|
+
# authorization validity periods (typically 7 days) expire before the merchant is ready to capture payment.
|
|
5752
|
+
def self.reauthorize(intent, params = {}, opts = {})
|
|
5753
|
+
request_stripe_object(
|
|
5754
|
+
method: :post,
|
|
5755
|
+
path: format("/v1/payment_intents/%<intent>s/reauthorize", { intent: CGI.escape(intent) }),
|
|
5756
|
+
params: params,
|
|
5757
|
+
opts: opts
|
|
5758
|
+
)
|
|
5759
|
+
end
|
|
5760
|
+
|
|
3385
5761
|
def self.search(params = {}, opts = {})
|
|
3386
5762
|
request_stripe_object(
|
|
3387
5763
|
method: :get,
|
|
@@ -3395,6 +5771,26 @@ module Stripe
|
|
|
3395
5771
|
search(params, opts).auto_paging_each(&blk)
|
|
3396
5772
|
end
|
|
3397
5773
|
|
|
5774
|
+
# Trigger an external action on a PaymentIntent.
|
|
5775
|
+
def trigger_action(params = {}, opts = {})
|
|
5776
|
+
request_stripe_object(
|
|
5777
|
+
method: :post,
|
|
5778
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
5779
|
+
params: params,
|
|
5780
|
+
opts: opts
|
|
5781
|
+
)
|
|
5782
|
+
end
|
|
5783
|
+
|
|
5784
|
+
# Trigger an external action on a PaymentIntent.
|
|
5785
|
+
def self.trigger_action(intent, params = {}, opts = {})
|
|
5786
|
+
request_stripe_object(
|
|
5787
|
+
method: :post,
|
|
5788
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
5789
|
+
params: params,
|
|
5790
|
+
opts: opts
|
|
5791
|
+
)
|
|
5792
|
+
end
|
|
5793
|
+
|
|
3398
5794
|
# Updates properties on a PaymentIntent object without confirming.
|
|
3399
5795
|
#
|
|
3400
5796
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -3411,6 +5807,26 @@ module Stripe
|
|
|
3411
5807
|
)
|
|
3412
5808
|
end
|
|
3413
5809
|
|
|
5810
|
+
# Updates the refund address for a static crypto deposit PaymentIntent on the specified network.
|
|
5811
|
+
def update_crypto_refund_address(params = {}, opts = {})
|
|
5812
|
+
request_stripe_object(
|
|
5813
|
+
method: :post,
|
|
5814
|
+
path: format("/v1/payment_intents/%<intent>s/update_crypto_refund_address", { intent: CGI.escape(self["id"]) }),
|
|
5815
|
+
params: params,
|
|
5816
|
+
opts: opts
|
|
5817
|
+
)
|
|
5818
|
+
end
|
|
5819
|
+
|
|
5820
|
+
# Updates the refund address for a static crypto deposit PaymentIntent on the specified network.
|
|
5821
|
+
def self.update_crypto_refund_address(intent, params = {}, opts = {})
|
|
5822
|
+
request_stripe_object(
|
|
5823
|
+
method: :post,
|
|
5824
|
+
path: format("/v1/payment_intents/%<intent>s/update_crypto_refund_address", { intent: CGI.escape(intent) }),
|
|
5825
|
+
params: params,
|
|
5826
|
+
opts: opts
|
|
5827
|
+
)
|
|
5828
|
+
end
|
|
5829
|
+
|
|
3414
5830
|
# Verifies microdeposits on a PaymentIntent object.
|
|
3415
5831
|
def verify_microdeposits(params = {}, opts = {})
|
|
3416
5832
|
request_stripe_object(
|
|
@@ -3431,9 +5847,44 @@ module Stripe
|
|
|
3431
5847
|
)
|
|
3432
5848
|
end
|
|
3433
5849
|
|
|
5850
|
+
def test_helpers
|
|
5851
|
+
TestHelpers.new(self)
|
|
5852
|
+
end
|
|
5853
|
+
|
|
5854
|
+
class TestHelpers < APIResourceTestHelpers
|
|
5855
|
+
RESOURCE_CLASS = PaymentIntent
|
|
5856
|
+
def self.resource_class
|
|
5857
|
+
"PaymentIntent"
|
|
5858
|
+
end
|
|
5859
|
+
|
|
5860
|
+
# 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).
|
|
5861
|
+
def self.simulate_crypto_deposit(intent, params = {}, opts = {})
|
|
5862
|
+
request_stripe_object(
|
|
5863
|
+
method: :post,
|
|
5864
|
+
path: format("/v1/test_helpers/payment_intents/%<intent>s/simulate_crypto_deposit", { intent: CGI.escape(intent) }),
|
|
5865
|
+
params: params,
|
|
5866
|
+
opts: opts
|
|
5867
|
+
)
|
|
5868
|
+
end
|
|
5869
|
+
|
|
5870
|
+
# 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).
|
|
5871
|
+
def simulate_crypto_deposit(params = {}, opts = {})
|
|
5872
|
+
@resource.request_stripe_object(
|
|
5873
|
+
method: :post,
|
|
5874
|
+
path: format("/v1/test_helpers/payment_intents/%<intent>s/simulate_crypto_deposit", { intent: CGI.escape(@resource["id"]) }),
|
|
5875
|
+
params: params,
|
|
5876
|
+
opts: opts
|
|
5877
|
+
)
|
|
5878
|
+
end
|
|
5879
|
+
end
|
|
5880
|
+
|
|
3434
5881
|
def self.inner_class_types
|
|
3435
5882
|
@inner_class_types = {
|
|
5883
|
+
advanced_feature_details: AdvancedFeatureDetails,
|
|
5884
|
+
agent_details: AgentDetails,
|
|
5885
|
+
allocated_funds: AllocatedFunds,
|
|
3436
5886
|
amount_details: AmountDetails,
|
|
5887
|
+
async_workflows: AsyncWorkflows,
|
|
3437
5888
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3438
5889
|
hooks: Hooks,
|
|
3439
5890
|
last_payment_error: LastPaymentError,
|
|
@@ -3442,8 +5893,10 @@ module Stripe
|
|
|
3442
5893
|
payment_details: PaymentDetails,
|
|
3443
5894
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
3444
5895
|
payment_method_options: PaymentMethodOptions,
|
|
5896
|
+
payments_orchestration: PaymentsOrchestration,
|
|
3445
5897
|
presentment_details: PresentmentDetails,
|
|
3446
5898
|
processing: Processing,
|
|
5899
|
+
redaction: Redaction,
|
|
3447
5900
|
shipping: Shipping,
|
|
3448
5901
|
transfer_data: TransferData,
|
|
3449
5902
|
}
|