stripe 19.2.0 → 19.3.0.pre.alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +38 -3
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +90 -0
- data/lib/stripe/event_types.rb +1304 -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_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_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_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_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_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/object_types.rb +119 -0
- data/lib/stripe/params/account_create_params.rb +426 -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 +32 -0
- data/lib/stripe/params/account_person_update_params.rb +32 -0
- data/lib/stripe/params/account_session_create_params.rb +301 -1
- data/lib/stripe/params/account_signals_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_update_params.rb +388 -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 +1912 -0
- data/lib/stripe/params/charge_update_params.rb +1912 -0
- data/lib/stripe/params/checkout/session_approve_params.rb +52 -0
- data/lib/stripe/params/checkout/session_create_params.rb +255 -4
- data/lib/stripe/params/checkout/session_update_params.rb +176 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +91 -0
- data/lib/stripe/params/coupon_create_params.rb +47 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- 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_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/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 +1314 -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_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_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_close_params.rb +18 -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/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 +8 -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 +2114 -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 +2118 -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 +22 -0
- data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +54 -0
- data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +50 -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 +79 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1928 -2
- data/lib/stripe/params/payment_intent_confirm_params.rb +3650 -158
- data/lib/stripe/params/payment_intent_create_params.rb +3636 -120
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +315 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +56 -1
- 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_params.rb +3671 -148
- 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 +13 -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 +87 -0
- data/lib/stripe/params/payment_method_update_params.rb +16 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +4 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +36 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +32 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +60 -2
- data/lib/stripe/params/payment_record_report_payment_params.rb +60 -2
- 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 +81 -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 +69 -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/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 +177 -3
- data/lib/stripe/params/setup_intent_create_params.rb +177 -3
- data/lib/stripe/params/setup_intent_update_params.rb +178 -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 +4 -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/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 +91 -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_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 +8 -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 +64 -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/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +899 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +121 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +102 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +54 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_remove_discounts_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_modify_rates_params.rb +177 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +109 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +315 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +1683 -5
- 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 +250 -2
- data/lib/stripe/params/v2/core/account_update_params.rb +1663 -6
- 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 +58 -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/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 +12 -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 +51 -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 +20 -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 +130 -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 +85 -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_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/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 +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 +876 -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 +302 -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 +183 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +20 -1
- data/lib/stripe/resources/charge.rb +328 -2
- data/lib/stripe/resources/checkout/session.rb +529 -3
- data/lib/stripe/resources/confirmation_token.rb +200 -1
- data/lib/stripe/resources/coupon.rb +60 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +875 -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 +57 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +82 -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/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 +262 -0
- data/lib/stripe/resources/issuing/card.rb +4 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +289 -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/transaction.rb +124 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +12 -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 +927 -0
- data/lib/stripe/resources/payment_attempt_record.rb +382 -2
- data/lib/stripe/resources/payment_intent.rb +2267 -47
- 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 +228 -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 +242 -2
- data/lib/stripe/resources/person.rb +36 -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 +46 -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/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 +92 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +1822 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +293 -0
- data/lib/stripe/resources/source.rb +38 -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 +2 -0
- 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/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/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/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/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 +2668 -20
- 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 +567 -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 +142 -0
- data/lib/stripe/resources/v2/core/fee_entry.rb +135 -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 +142 -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 +129 -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 +284 -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/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +303 -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 +198 -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 +402 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +243 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +177 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +147 -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 +142 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +145 -0
- data/lib/stripe/resources.rb +1710 -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/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/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -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/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 +74 -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 +77 -0
- data/lib/stripe/services/payment_intent_service.rb +55 -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/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 +30 -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_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 +54 -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 +17 -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/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 +17 -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/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +9 -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_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/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 +36 -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/payment_service.rb +17 -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/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/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 +11 -1
- data/lib/stripe/services.rb +372 -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 +2514 -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 +222384 -111505
- metadata +1003 -3
|
@@ -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 IncrementalAuthorization < ::Stripe::StripeObject
|
|
45
|
+
# Indicates whether the feature is supported.
|
|
46
|
+
attr_reader :status
|
|
47
|
+
|
|
48
|
+
def self.inner_class_types
|
|
49
|
+
@inner_class_types = {}
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
def self.field_remappings
|
|
53
|
+
@field_remappings = {}
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
class Multicapture < ::Stripe::StripeObject
|
|
58
|
+
# Indicates whether the feature is supported.
|
|
59
|
+
attr_reader :status
|
|
60
|
+
|
|
61
|
+
def self.inner_class_types
|
|
62
|
+
@inner_class_types = {}
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
def self.field_remappings
|
|
66
|
+
@field_remappings = {}
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
class Overcapture < ::Stripe::StripeObject
|
|
71
|
+
# The maximum amount that can be captured.
|
|
72
|
+
attr_reader :maximum_amount_capturable
|
|
73
|
+
# Indicates whether overcapture 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 Reauthorization < ::Stripe::StripeObject
|
|
86
|
+
# Indicates whether the feature is supported.
|
|
87
|
+
attr_reader :status
|
|
88
|
+
|
|
89
|
+
def self.inner_class_types
|
|
90
|
+
@inner_class_types = {}
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
def self.field_remappings
|
|
94
|
+
@field_remappings = {}
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
# Timestamp at which the authorization will expire if not captured.
|
|
98
|
+
attr_reader :capture_before
|
|
99
|
+
# Attribute for field decremental_authorization
|
|
100
|
+
attr_reader :decremental_authorization
|
|
101
|
+
# Attribute for field incremental_authorization
|
|
102
|
+
attr_reader :incremental_authorization
|
|
103
|
+
# Attribute for field multicapture
|
|
104
|
+
attr_reader :multicapture
|
|
105
|
+
# Attribute for field overcapture
|
|
106
|
+
attr_reader :overcapture
|
|
107
|
+
# Attribute for field reauthorization
|
|
108
|
+
attr_reader :reauthorization
|
|
109
|
+
# Timestamp at which the reauthorization window closes.
|
|
110
|
+
attr_reader :reauthorize_before
|
|
111
|
+
|
|
112
|
+
def self.inner_class_types
|
|
113
|
+
@inner_class_types = {
|
|
114
|
+
decremental_authorization: DecrementalAuthorization,
|
|
115
|
+
incremental_authorization: IncrementalAuthorization,
|
|
116
|
+
multicapture: Multicapture,
|
|
117
|
+
overcapture: Overcapture,
|
|
118
|
+
reauthorization: Reauthorization,
|
|
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,121 @@ 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. Supported token currencies include: `usdc`.
|
|
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 token currencies supported on this network.
|
|
564
|
+
attr_reader :supported_tokens
|
|
565
|
+
|
|
566
|
+
def self.inner_class_types
|
|
567
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
568
|
+
end
|
|
569
|
+
|
|
570
|
+
def self.field_remappings
|
|
571
|
+
@field_remappings = {}
|
|
572
|
+
end
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
class Solana < ::Stripe::StripeObject
|
|
576
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
577
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
578
|
+
attr_reader :token_contract_address
|
|
579
|
+
# The supported token currency. Supported token currencies include: `usdc`.
|
|
580
|
+
attr_reader :token_currency
|
|
581
|
+
|
|
582
|
+
def self.inner_class_types
|
|
583
|
+
@inner_class_types = {}
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
def self.field_remappings
|
|
587
|
+
@field_remappings = {}
|
|
588
|
+
end
|
|
589
|
+
end
|
|
590
|
+
# Address of the deposit address.
|
|
591
|
+
attr_reader :address
|
|
592
|
+
# The token currencies supported on this network.
|
|
593
|
+
attr_reader :supported_tokens
|
|
594
|
+
|
|
595
|
+
def self.inner_class_types
|
|
596
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
def self.field_remappings
|
|
600
|
+
@field_remappings = {}
|
|
601
|
+
end
|
|
602
|
+
end
|
|
603
|
+
|
|
604
|
+
class Tempo < ::Stripe::StripeObject
|
|
605
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
606
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
607
|
+
attr_reader :token_contract_address
|
|
608
|
+
# The supported token currency. Supported token currencies include: `usdc`.
|
|
609
|
+
attr_reader :token_currency
|
|
610
|
+
|
|
611
|
+
def self.inner_class_types
|
|
612
|
+
@inner_class_types = {}
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
def self.field_remappings
|
|
616
|
+
@field_remappings = {}
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
# Address of the deposit address.
|
|
620
|
+
attr_reader :address
|
|
621
|
+
# The token currencies supported on this network.
|
|
622
|
+
attr_reader :supported_tokens
|
|
623
|
+
|
|
624
|
+
def self.inner_class_types
|
|
625
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
626
|
+
end
|
|
627
|
+
|
|
628
|
+
def self.field_remappings
|
|
629
|
+
@field_remappings = {}
|
|
630
|
+
end
|
|
631
|
+
end
|
|
632
|
+
# Attribute for field base
|
|
633
|
+
attr_reader :base
|
|
634
|
+
# Attribute for field solana
|
|
635
|
+
attr_reader :solana
|
|
636
|
+
# Attribute for field tempo
|
|
637
|
+
attr_reader :tempo
|
|
638
|
+
|
|
639
|
+
def self.inner_class_types
|
|
640
|
+
@inner_class_types = { base: Base, solana: Solana, tempo: Tempo }
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
def self.field_remappings
|
|
644
|
+
@field_remappings = {}
|
|
645
|
+
end
|
|
646
|
+
end
|
|
647
|
+
# Attribute for field deposit_addresses
|
|
648
|
+
attr_reader :deposit_addresses
|
|
649
|
+
|
|
650
|
+
def self.inner_class_types
|
|
651
|
+
@inner_class_types = { deposit_addresses: DepositAddresses }
|
|
652
|
+
end
|
|
653
|
+
|
|
654
|
+
def self.field_remappings
|
|
655
|
+
@field_remappings = {}
|
|
656
|
+
end
|
|
657
|
+
end
|
|
658
|
+
|
|
355
659
|
class DisplayBankTransferInstructions < ::Stripe::StripeObject
|
|
356
660
|
class FinancialAddress < ::Stripe::StripeObject
|
|
357
661
|
class Aba < ::Stripe::StripeObject
|
|
@@ -1218,6 +1522,8 @@ module Stripe
|
|
|
1218
1522
|
attr_reader :card_await_notification
|
|
1219
1523
|
# Attribute for field cashapp_handle_redirect_or_display_qr_code
|
|
1220
1524
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
|
1525
|
+
# Attribute for field crypto_display_details
|
|
1526
|
+
attr_reader :crypto_display_details
|
|
1221
1527
|
# Attribute for field display_bank_transfer_instructions
|
|
1222
1528
|
attr_reader :display_bank_transfer_instructions
|
|
1223
1529
|
# Attribute for field klarna_display_qr_code
|
|
@@ -1260,6 +1566,7 @@ module Stripe
|
|
|
1260
1566
|
boleto_display_details: BoletoDisplayDetails,
|
|
1261
1567
|
card_await_notification: CardAwaitNotification,
|
|
1262
1568
|
cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
|
|
1569
|
+
crypto_display_details: CryptoDisplayDetails,
|
|
1263
1570
|
display_bank_transfer_instructions: DisplayBankTransferInstructions,
|
|
1264
1571
|
klarna_display_qr_code: KlarnaDisplayQrCode,
|
|
1265
1572
|
konbini_display_details: KonbiniDisplayDetails,
|
|
@@ -1284,50 +1591,37 @@ module Stripe
|
|
|
1284
1591
|
end
|
|
1285
1592
|
|
|
1286
1593
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
1294
|
-
attr_reader :order_reference
|
|
1295
|
-
|
|
1296
|
-
def self.inner_class_types
|
|
1297
|
-
@inner_class_types = {}
|
|
1298
|
-
end
|
|
1594
|
+
class Benefit < ::Stripe::StripeObject
|
|
1595
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
|
1596
|
+
# Whether meal voucher benefit is enabled for this payment.
|
|
1597
|
+
attr_reader :enabled
|
|
1598
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1599
|
+
attr_reader :siret
|
|
1299
1600
|
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
end
|
|
1601
|
+
def self.inner_class_types
|
|
1602
|
+
@inner_class_types = {}
|
|
1603
|
+
end
|
|
1304
1604
|
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1605
|
+
def self.field_remappings
|
|
1606
|
+
@field_remappings = {}
|
|
1607
|
+
end
|
|
1608
|
+
end
|
|
1609
|
+
# Attribute for field fr_meal_voucher
|
|
1610
|
+
attr_reader :fr_meal_voucher
|
|
1310
1611
|
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1612
|
+
def self.inner_class_types
|
|
1613
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1614
|
+
end
|
|
1314
1615
|
|
|
1315
|
-
|
|
1316
|
-
|
|
1616
|
+
def self.field_remappings
|
|
1617
|
+
@field_remappings = {}
|
|
1618
|
+
end
|
|
1317
1619
|
end
|
|
1318
|
-
end
|
|
1319
1620
|
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
attr_reader :custom_mandate_url
|
|
1325
|
-
# Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
|
|
1326
|
-
attr_reader :interval_description
|
|
1327
|
-
# Payment schedule for the mandate.
|
|
1328
|
-
attr_reader :payment_schedule
|
|
1329
|
-
# Transaction type of the mandate.
|
|
1330
|
-
attr_reader :transaction_type
|
|
1621
|
+
class CarRental < ::Stripe::StripeObject
|
|
1622
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1623
|
+
# The name of the affiliate that originated the purchase.
|
|
1624
|
+
attr_reader :name
|
|
1331
1625
|
|
|
1332
1626
|
def self.inner_class_types
|
|
1333
1627
|
@inner_class_types = {}
|
|
@@ -1337,10 +1631,1463 @@ module Stripe
|
|
|
1337
1631
|
@field_remappings = {}
|
|
1338
1632
|
end
|
|
1339
1633
|
end
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1634
|
+
|
|
1635
|
+
class Delivery < ::Stripe::StripeObject
|
|
1636
|
+
class Recipient < ::Stripe::StripeObject
|
|
1637
|
+
# The email of the recipient the ticket is delivered to.
|
|
1638
|
+
attr_reader :email
|
|
1639
|
+
# The name of the recipient the ticket is delivered to.
|
|
1640
|
+
attr_reader :name
|
|
1641
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1642
|
+
attr_reader :phone
|
|
1643
|
+
|
|
1644
|
+
def self.inner_class_types
|
|
1645
|
+
@inner_class_types = {}
|
|
1646
|
+
end
|
|
1647
|
+
|
|
1648
|
+
def self.field_remappings
|
|
1649
|
+
@field_remappings = {}
|
|
1650
|
+
end
|
|
1651
|
+
end
|
|
1652
|
+
# The delivery method for the payment
|
|
1653
|
+
attr_reader :mode
|
|
1654
|
+
# Attribute for field recipient
|
|
1655
|
+
attr_reader :recipient
|
|
1656
|
+
|
|
1657
|
+
def self.inner_class_types
|
|
1658
|
+
@inner_class_types = { recipient: Recipient }
|
|
1659
|
+
end
|
|
1660
|
+
|
|
1661
|
+
def self.field_remappings
|
|
1662
|
+
@field_remappings = {}
|
|
1663
|
+
end
|
|
1664
|
+
end
|
|
1665
|
+
|
|
1666
|
+
class Distance < ::Stripe::StripeObject
|
|
1667
|
+
# Distance traveled.
|
|
1668
|
+
attr_reader :amount
|
|
1669
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1670
|
+
attr_reader :unit
|
|
1671
|
+
|
|
1672
|
+
def self.inner_class_types
|
|
1673
|
+
@inner_class_types = {}
|
|
1674
|
+
end
|
|
1675
|
+
|
|
1676
|
+
def self.field_remappings
|
|
1677
|
+
@field_remappings = {}
|
|
1678
|
+
end
|
|
1679
|
+
end
|
|
1680
|
+
|
|
1681
|
+
class Driver < ::Stripe::StripeObject
|
|
1682
|
+
# Driver's identification number.
|
|
1683
|
+
attr_reader :driver_identification_number
|
|
1684
|
+
# Driver's tax number.
|
|
1685
|
+
attr_reader :driver_tax_number
|
|
1686
|
+
# Full name of the driver on the reservation.
|
|
1687
|
+
attr_reader :name
|
|
1688
|
+
|
|
1689
|
+
def self.inner_class_types
|
|
1690
|
+
@inner_class_types = {}
|
|
1691
|
+
end
|
|
1692
|
+
|
|
1693
|
+
def self.field_remappings
|
|
1694
|
+
@field_remappings = {}
|
|
1695
|
+
end
|
|
1696
|
+
end
|
|
1697
|
+
|
|
1698
|
+
class PickupAddress < ::Stripe::StripeObject
|
|
1699
|
+
# City, district, suburb, town, or village.
|
|
1700
|
+
attr_reader :city
|
|
1701
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1702
|
+
attr_reader :country
|
|
1703
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1704
|
+
attr_reader :line1
|
|
1705
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1706
|
+
attr_reader :line2
|
|
1707
|
+
# ZIP or postal code.
|
|
1708
|
+
attr_reader :postal_code
|
|
1709
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1710
|
+
attr_reader :state
|
|
1711
|
+
|
|
1712
|
+
def self.inner_class_types
|
|
1713
|
+
@inner_class_types = {}
|
|
1714
|
+
end
|
|
1715
|
+
|
|
1716
|
+
def self.field_remappings
|
|
1717
|
+
@field_remappings = {}
|
|
1718
|
+
end
|
|
1719
|
+
end
|
|
1720
|
+
|
|
1721
|
+
class ReturnAddress < ::Stripe::StripeObject
|
|
1722
|
+
# City, district, suburb, town, or village.
|
|
1723
|
+
attr_reader :city
|
|
1724
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1725
|
+
attr_reader :country
|
|
1726
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1727
|
+
attr_reader :line1
|
|
1728
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1729
|
+
attr_reader :line2
|
|
1730
|
+
# ZIP or postal code.
|
|
1731
|
+
attr_reader :postal_code
|
|
1732
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1733
|
+
attr_reader :state
|
|
1734
|
+
|
|
1735
|
+
def self.inner_class_types
|
|
1736
|
+
@inner_class_types = {}
|
|
1737
|
+
end
|
|
1738
|
+
|
|
1739
|
+
def self.field_remappings
|
|
1740
|
+
@field_remappings = {}
|
|
1741
|
+
end
|
|
1742
|
+
end
|
|
1743
|
+
# Attribute for field affiliate
|
|
1744
|
+
attr_reader :affiliate
|
|
1745
|
+
# The booking number associated with the car rental.
|
|
1746
|
+
attr_reader :booking_number
|
|
1747
|
+
# Class code of the car.
|
|
1748
|
+
attr_reader :car_class_code
|
|
1749
|
+
# Make of the car.
|
|
1750
|
+
attr_reader :car_make
|
|
1751
|
+
# Model of the car.
|
|
1752
|
+
attr_reader :car_model
|
|
1753
|
+
# The name of the rental car company.
|
|
1754
|
+
attr_reader :company
|
|
1755
|
+
# The customer service phone number of the car rental company.
|
|
1756
|
+
attr_reader :customer_service_phone_number
|
|
1757
|
+
# Number of days the car is being rented.
|
|
1758
|
+
attr_reader :days_rented
|
|
1759
|
+
# Attribute for field delivery
|
|
1760
|
+
attr_reader :delivery
|
|
1761
|
+
# Attribute for field distance
|
|
1762
|
+
attr_reader :distance
|
|
1763
|
+
# The details of the drivers associated with the trip.
|
|
1764
|
+
attr_reader :drivers
|
|
1765
|
+
# List of additional charges being billed.
|
|
1766
|
+
attr_reader :extra_charges
|
|
1767
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
1768
|
+
attr_reader :no_show
|
|
1769
|
+
# Attribute for field pickup_address
|
|
1770
|
+
attr_reader :pickup_address
|
|
1771
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1772
|
+
attr_reader :pickup_at
|
|
1773
|
+
# Name of the pickup location.
|
|
1774
|
+
attr_reader :pickup_location_name
|
|
1775
|
+
# Rental rate.
|
|
1776
|
+
attr_reader :rate_amount
|
|
1777
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1778
|
+
attr_reader :rate_interval
|
|
1779
|
+
# The full name of the person or entity renting the car.
|
|
1780
|
+
attr_reader :renter_name
|
|
1781
|
+
# Attribute for field return_address
|
|
1782
|
+
attr_reader :return_address
|
|
1783
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
1784
|
+
attr_reader :return_at
|
|
1785
|
+
# Name of the return location.
|
|
1786
|
+
attr_reader :return_location_name
|
|
1787
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1788
|
+
attr_reader :tax_exempt
|
|
1789
|
+
# The vehicle identification number of the car.
|
|
1790
|
+
attr_reader :vehicle_identification_number
|
|
1791
|
+
|
|
1792
|
+
def self.inner_class_types
|
|
1793
|
+
@inner_class_types = {
|
|
1794
|
+
affiliate: Affiliate,
|
|
1795
|
+
delivery: Delivery,
|
|
1796
|
+
distance: Distance,
|
|
1797
|
+
drivers: Driver,
|
|
1798
|
+
pickup_address: PickupAddress,
|
|
1799
|
+
return_address: ReturnAddress,
|
|
1800
|
+
}
|
|
1801
|
+
end
|
|
1802
|
+
|
|
1803
|
+
def self.field_remappings
|
|
1804
|
+
@field_remappings = {}
|
|
1805
|
+
end
|
|
1806
|
+
end
|
|
1807
|
+
|
|
1808
|
+
class CarRentalDatum < ::Stripe::StripeObject
|
|
1809
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1810
|
+
# Affiliate code.
|
|
1811
|
+
attr_reader :code
|
|
1812
|
+
# Affiliate name.
|
|
1813
|
+
attr_reader :name
|
|
1814
|
+
|
|
1815
|
+
def self.inner_class_types
|
|
1816
|
+
@inner_class_types = {}
|
|
1817
|
+
end
|
|
1818
|
+
|
|
1819
|
+
def self.field_remappings
|
|
1820
|
+
@field_remappings = {}
|
|
1821
|
+
end
|
|
1822
|
+
end
|
|
1823
|
+
|
|
1824
|
+
class Distance < ::Stripe::StripeObject
|
|
1825
|
+
# Distance amount.
|
|
1826
|
+
attr_reader :amount
|
|
1827
|
+
# Unit for the distance.
|
|
1828
|
+
attr_reader :unit
|
|
1829
|
+
|
|
1830
|
+
def self.inner_class_types
|
|
1831
|
+
@inner_class_types = {}
|
|
1832
|
+
end
|
|
1833
|
+
|
|
1834
|
+
def self.field_remappings
|
|
1835
|
+
@field_remappings = {}
|
|
1836
|
+
end
|
|
1837
|
+
end
|
|
1838
|
+
|
|
1839
|
+
class Driver < ::Stripe::StripeObject
|
|
1840
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
1841
|
+
# Day of birth.
|
|
1842
|
+
attr_reader :day
|
|
1843
|
+
# Month of birth.
|
|
1844
|
+
attr_reader :month
|
|
1845
|
+
# Year of birth.
|
|
1846
|
+
attr_reader :year
|
|
1847
|
+
|
|
1848
|
+
def self.inner_class_types
|
|
1849
|
+
@inner_class_types = {}
|
|
1850
|
+
end
|
|
1851
|
+
|
|
1852
|
+
def self.field_remappings
|
|
1853
|
+
@field_remappings = {}
|
|
1854
|
+
end
|
|
1855
|
+
end
|
|
1856
|
+
# Attribute for field date_of_birth
|
|
1857
|
+
attr_reader :date_of_birth
|
|
1858
|
+
# Driver's identification number.
|
|
1859
|
+
attr_reader :driver_identification_number
|
|
1860
|
+
# Driver's tax number.
|
|
1861
|
+
attr_reader :driver_tax_number
|
|
1862
|
+
# Full name of the driver.
|
|
1863
|
+
attr_reader :name
|
|
1864
|
+
|
|
1865
|
+
def self.inner_class_types
|
|
1866
|
+
@inner_class_types = { date_of_birth: DateOfBirth }
|
|
1867
|
+
end
|
|
1868
|
+
|
|
1869
|
+
def self.field_remappings
|
|
1870
|
+
@field_remappings = {}
|
|
1871
|
+
end
|
|
1872
|
+
end
|
|
1873
|
+
|
|
1874
|
+
class DropOff < ::Stripe::StripeObject
|
|
1875
|
+
class Address < ::Stripe::StripeObject
|
|
1876
|
+
# City, district, suburb, town, or village.
|
|
1877
|
+
attr_reader :city
|
|
1878
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1879
|
+
attr_reader :country
|
|
1880
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1881
|
+
attr_reader :line1
|
|
1882
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1883
|
+
attr_reader :line2
|
|
1884
|
+
# ZIP or postal code.
|
|
1885
|
+
attr_reader :postal_code
|
|
1886
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1887
|
+
attr_reader :state
|
|
1888
|
+
|
|
1889
|
+
def self.inner_class_types
|
|
1890
|
+
@inner_class_types = {}
|
|
1891
|
+
end
|
|
1892
|
+
|
|
1893
|
+
def self.field_remappings
|
|
1894
|
+
@field_remappings = {}
|
|
1895
|
+
end
|
|
1896
|
+
end
|
|
1897
|
+
# Attribute for field address
|
|
1898
|
+
attr_reader :address
|
|
1899
|
+
# Name of the location.
|
|
1900
|
+
attr_reader :location_name
|
|
1901
|
+
# Time associated with the location.
|
|
1902
|
+
attr_reader :time
|
|
1903
|
+
|
|
1904
|
+
def self.inner_class_types
|
|
1905
|
+
@inner_class_types = { address: Address }
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1908
|
+
def self.field_remappings
|
|
1909
|
+
@field_remappings = {}
|
|
1910
|
+
end
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1913
|
+
class Insurance < ::Stripe::StripeObject
|
|
1914
|
+
# Amount of the insurance.
|
|
1915
|
+
attr_reader :amount
|
|
1916
|
+
# Currency for the insurance price.
|
|
1917
|
+
attr_reader :currency
|
|
1918
|
+
# Name of the insurance company.
|
|
1919
|
+
attr_reader :insurance_company_name
|
|
1920
|
+
# Type of insurance.
|
|
1921
|
+
attr_reader :insurance_type
|
|
1922
|
+
|
|
1923
|
+
def self.inner_class_types
|
|
1924
|
+
@inner_class_types = {}
|
|
1925
|
+
end
|
|
1926
|
+
|
|
1927
|
+
def self.field_remappings
|
|
1928
|
+
@field_remappings = {}
|
|
1929
|
+
end
|
|
1930
|
+
end
|
|
1931
|
+
|
|
1932
|
+
class Pickup < ::Stripe::StripeObject
|
|
1933
|
+
class Address < ::Stripe::StripeObject
|
|
1934
|
+
# City, district, suburb, town, or village.
|
|
1935
|
+
attr_reader :city
|
|
1936
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1937
|
+
attr_reader :country
|
|
1938
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1939
|
+
attr_reader :line1
|
|
1940
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1941
|
+
attr_reader :line2
|
|
1942
|
+
# ZIP or postal code.
|
|
1943
|
+
attr_reader :postal_code
|
|
1944
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1945
|
+
attr_reader :state
|
|
1946
|
+
|
|
1947
|
+
def self.inner_class_types
|
|
1948
|
+
@inner_class_types = {}
|
|
1949
|
+
end
|
|
1950
|
+
|
|
1951
|
+
def self.field_remappings
|
|
1952
|
+
@field_remappings = {}
|
|
1953
|
+
end
|
|
1954
|
+
end
|
|
1955
|
+
# Attribute for field address
|
|
1956
|
+
attr_reader :address
|
|
1957
|
+
# Name of the location.
|
|
1958
|
+
attr_reader :location_name
|
|
1959
|
+
# Time associated with the location.
|
|
1960
|
+
attr_reader :time
|
|
1961
|
+
|
|
1962
|
+
def self.inner_class_types
|
|
1963
|
+
@inner_class_types = { address: Address }
|
|
1964
|
+
end
|
|
1965
|
+
|
|
1966
|
+
def self.field_remappings
|
|
1967
|
+
@field_remappings = {}
|
|
1968
|
+
end
|
|
1969
|
+
end
|
|
1970
|
+
|
|
1971
|
+
class Total < ::Stripe::StripeObject
|
|
1972
|
+
class Discounts < ::Stripe::StripeObject
|
|
1973
|
+
# Corporate client discount code.
|
|
1974
|
+
attr_reader :corporate_client_code
|
|
1975
|
+
# Coupon code applied.
|
|
1976
|
+
attr_reader :coupon
|
|
1977
|
+
# Maximum free miles or kilometers included.
|
|
1978
|
+
attr_reader :maximum_free_miles_or_kilometers
|
|
1979
|
+
|
|
1980
|
+
def self.inner_class_types
|
|
1981
|
+
@inner_class_types = {}
|
|
1982
|
+
end
|
|
1983
|
+
|
|
1984
|
+
def self.field_remappings
|
|
1985
|
+
@field_remappings = {}
|
|
1986
|
+
end
|
|
1987
|
+
end
|
|
1988
|
+
|
|
1989
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
1990
|
+
# Amount of the extra charge.
|
|
1991
|
+
attr_reader :amount
|
|
1992
|
+
# Type of extra charge.
|
|
1993
|
+
attr_reader :type
|
|
1994
|
+
|
|
1995
|
+
def self.inner_class_types
|
|
1996
|
+
@inner_class_types = {}
|
|
1997
|
+
end
|
|
1998
|
+
|
|
1999
|
+
def self.field_remappings
|
|
2000
|
+
@field_remappings = {}
|
|
2001
|
+
end
|
|
2002
|
+
end
|
|
2003
|
+
|
|
2004
|
+
class Tax < ::Stripe::StripeObject
|
|
2005
|
+
class Tax < ::Stripe::StripeObject
|
|
2006
|
+
# Tax amount.
|
|
2007
|
+
attr_reader :amount
|
|
2008
|
+
# Tax rate.
|
|
2009
|
+
attr_reader :rate
|
|
2010
|
+
# Type of tax.
|
|
2011
|
+
attr_reader :type
|
|
2012
|
+
|
|
2013
|
+
def self.inner_class_types
|
|
2014
|
+
@inner_class_types = {}
|
|
2015
|
+
end
|
|
2016
|
+
|
|
2017
|
+
def self.field_remappings
|
|
2018
|
+
@field_remappings = {}
|
|
2019
|
+
end
|
|
2020
|
+
end
|
|
2021
|
+
# Indicates whether the rental is tax-exempt.
|
|
2022
|
+
attr_reader :tax_exempt_indicator
|
|
2023
|
+
# Tax details.
|
|
2024
|
+
attr_reader :taxes
|
|
2025
|
+
|
|
2026
|
+
def self.inner_class_types
|
|
2027
|
+
@inner_class_types = { taxes: Tax }
|
|
2028
|
+
end
|
|
2029
|
+
|
|
2030
|
+
def self.field_remappings
|
|
2031
|
+
@field_remappings = {}
|
|
2032
|
+
end
|
|
2033
|
+
end
|
|
2034
|
+
# Total amount.
|
|
2035
|
+
attr_reader :amount
|
|
2036
|
+
# Currency for the total amount.
|
|
2037
|
+
attr_reader :currency
|
|
2038
|
+
# Attribute for field discounts
|
|
2039
|
+
attr_reader :discounts
|
|
2040
|
+
# Additional charges for the rental.
|
|
2041
|
+
attr_reader :extra_charges
|
|
2042
|
+
# Rate per unit.
|
|
2043
|
+
attr_reader :rate_per_unit
|
|
2044
|
+
# Unit for the rate.
|
|
2045
|
+
attr_reader :rate_unit
|
|
2046
|
+
# Attribute for field tax
|
|
2047
|
+
attr_reader :tax
|
|
2048
|
+
|
|
2049
|
+
def self.inner_class_types
|
|
2050
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2051
|
+
end
|
|
2052
|
+
|
|
2053
|
+
def self.field_remappings
|
|
2054
|
+
@field_remappings = {}
|
|
2055
|
+
end
|
|
2056
|
+
end
|
|
2057
|
+
|
|
2058
|
+
class Vehicle < ::Stripe::StripeObject
|
|
2059
|
+
# Make of the vehicle.
|
|
2060
|
+
attr_reader :make
|
|
2061
|
+
# Model of the vehicle.
|
|
2062
|
+
attr_reader :model
|
|
2063
|
+
# Odometer reading.
|
|
2064
|
+
attr_reader :odometer
|
|
2065
|
+
# Type of the vehicle.
|
|
2066
|
+
attr_reader :type
|
|
2067
|
+
# Class of the vehicle.
|
|
2068
|
+
attr_reader :vehicle_class
|
|
2069
|
+
# Vehicle identification number.
|
|
2070
|
+
attr_reader :vehicle_identification_number
|
|
2071
|
+
|
|
2072
|
+
def self.inner_class_types
|
|
2073
|
+
@inner_class_types = {}
|
|
2074
|
+
end
|
|
2075
|
+
|
|
2076
|
+
def self.field_remappings
|
|
2077
|
+
@field_remappings = {}
|
|
2078
|
+
end
|
|
2079
|
+
end
|
|
2080
|
+
# Attribute for field affiliate
|
|
2081
|
+
attr_reader :affiliate
|
|
2082
|
+
# The booking number associated with the car rental.
|
|
2083
|
+
attr_reader :booking_number
|
|
2084
|
+
# The name of the car rental company.
|
|
2085
|
+
attr_reader :carrier_name
|
|
2086
|
+
# The customer service phone number of the car rental company.
|
|
2087
|
+
attr_reader :customer_service_phone_number
|
|
2088
|
+
# Number of days the car is being rented.
|
|
2089
|
+
attr_reader :days_rented
|
|
2090
|
+
# Attribute for field distance
|
|
2091
|
+
attr_reader :distance
|
|
2092
|
+
# The details of the drivers associated with the rental.
|
|
2093
|
+
attr_reader :drivers
|
|
2094
|
+
# Attribute for field drop_off
|
|
2095
|
+
attr_reader :drop_off
|
|
2096
|
+
# Insurance details for the car rental.
|
|
2097
|
+
attr_reader :insurances
|
|
2098
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
2099
|
+
attr_reader :no_show_indicator
|
|
2100
|
+
# Attribute for field pickup
|
|
2101
|
+
attr_reader :pickup
|
|
2102
|
+
# Name of the person renting the vehicle.
|
|
2103
|
+
attr_reader :renter_name
|
|
2104
|
+
# Attribute for field total
|
|
2105
|
+
attr_reader :total
|
|
2106
|
+
# Attribute for field vehicle
|
|
2107
|
+
attr_reader :vehicle
|
|
2108
|
+
|
|
2109
|
+
def self.inner_class_types
|
|
2110
|
+
@inner_class_types = {
|
|
2111
|
+
affiliate: Affiliate,
|
|
2112
|
+
distance: Distance,
|
|
2113
|
+
drivers: Driver,
|
|
2114
|
+
drop_off: DropOff,
|
|
2115
|
+
insurances: Insurance,
|
|
2116
|
+
pickup: Pickup,
|
|
2117
|
+
total: Total,
|
|
2118
|
+
vehicle: Vehicle,
|
|
2119
|
+
}
|
|
2120
|
+
end
|
|
2121
|
+
|
|
2122
|
+
def self.field_remappings
|
|
2123
|
+
@field_remappings = {}
|
|
2124
|
+
end
|
|
2125
|
+
end
|
|
2126
|
+
|
|
2127
|
+
class EventDetails < ::Stripe::StripeObject
|
|
2128
|
+
class Address < ::Stripe::StripeObject
|
|
2129
|
+
# City, district, suburb, town, or village.
|
|
2130
|
+
attr_reader :city
|
|
2131
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2132
|
+
attr_reader :country
|
|
2133
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2134
|
+
attr_reader :line1
|
|
2135
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2136
|
+
attr_reader :line2
|
|
2137
|
+
# ZIP or postal code.
|
|
2138
|
+
attr_reader :postal_code
|
|
2139
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2140
|
+
attr_reader :state
|
|
2141
|
+
|
|
2142
|
+
def self.inner_class_types
|
|
2143
|
+
@inner_class_types = {}
|
|
2144
|
+
end
|
|
2145
|
+
|
|
2146
|
+
def self.field_remappings
|
|
2147
|
+
@field_remappings = {}
|
|
2148
|
+
end
|
|
2149
|
+
end
|
|
2150
|
+
|
|
2151
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2152
|
+
# The name of the affiliate that originated the purchase.
|
|
2153
|
+
attr_reader :name
|
|
2154
|
+
|
|
2155
|
+
def self.inner_class_types
|
|
2156
|
+
@inner_class_types = {}
|
|
2157
|
+
end
|
|
2158
|
+
|
|
2159
|
+
def self.field_remappings
|
|
2160
|
+
@field_remappings = {}
|
|
2161
|
+
end
|
|
2162
|
+
end
|
|
2163
|
+
|
|
2164
|
+
class Delivery < ::Stripe::StripeObject
|
|
2165
|
+
class Recipient < ::Stripe::StripeObject
|
|
2166
|
+
# The email of the recipient the ticket is delivered to.
|
|
2167
|
+
attr_reader :email
|
|
2168
|
+
# The name of the recipient the ticket is delivered to.
|
|
2169
|
+
attr_reader :name
|
|
2170
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
2171
|
+
attr_reader :phone
|
|
2172
|
+
|
|
2173
|
+
def self.inner_class_types
|
|
2174
|
+
@inner_class_types = {}
|
|
2175
|
+
end
|
|
2176
|
+
|
|
2177
|
+
def self.field_remappings
|
|
2178
|
+
@field_remappings = {}
|
|
2179
|
+
end
|
|
2180
|
+
end
|
|
2181
|
+
# The delivery method for the payment
|
|
2182
|
+
attr_reader :mode
|
|
2183
|
+
# Attribute for field recipient
|
|
2184
|
+
attr_reader :recipient
|
|
2185
|
+
|
|
2186
|
+
def self.inner_class_types
|
|
2187
|
+
@inner_class_types = { recipient: Recipient }
|
|
2188
|
+
end
|
|
2189
|
+
|
|
2190
|
+
def self.field_remappings
|
|
2191
|
+
@field_remappings = {}
|
|
2192
|
+
end
|
|
2193
|
+
end
|
|
2194
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
2195
|
+
attr_reader :access_controlled_venue
|
|
2196
|
+
# Attribute for field address
|
|
2197
|
+
attr_reader :address
|
|
2198
|
+
# Attribute for field affiliate
|
|
2199
|
+
attr_reader :affiliate
|
|
2200
|
+
# The name of the company
|
|
2201
|
+
attr_reader :company
|
|
2202
|
+
# Attribute for field delivery
|
|
2203
|
+
attr_reader :delivery
|
|
2204
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
2205
|
+
attr_reader :ends_at
|
|
2206
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
2207
|
+
attr_reader :genre
|
|
2208
|
+
# The name of the event.
|
|
2209
|
+
attr_reader :name
|
|
2210
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
2211
|
+
attr_reader :starts_at
|
|
2212
|
+
|
|
2213
|
+
def self.inner_class_types
|
|
2214
|
+
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
2215
|
+
end
|
|
2216
|
+
|
|
2217
|
+
def self.field_remappings
|
|
2218
|
+
@field_remappings = {}
|
|
2219
|
+
end
|
|
2220
|
+
end
|
|
2221
|
+
|
|
2222
|
+
class FleetDatum < ::Stripe::StripeObject
|
|
2223
|
+
class PrimaryFuelFields < ::Stripe::StripeObject
|
|
2224
|
+
# The fuel brand.
|
|
2225
|
+
attr_reader :brand
|
|
2226
|
+
|
|
2227
|
+
def self.inner_class_types
|
|
2228
|
+
@inner_class_types = {}
|
|
2229
|
+
end
|
|
2230
|
+
|
|
2231
|
+
def self.field_remappings
|
|
2232
|
+
@field_remappings = {}
|
|
2233
|
+
end
|
|
2234
|
+
end
|
|
2235
|
+
|
|
2236
|
+
class Station < ::Stripe::StripeObject
|
|
2237
|
+
class ServiceLocation < ::Stripe::StripeObject
|
|
2238
|
+
# City, district, suburb, town, or village.
|
|
2239
|
+
attr_reader :city
|
|
2240
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2241
|
+
attr_reader :country
|
|
2242
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2243
|
+
attr_reader :line1
|
|
2244
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2245
|
+
attr_reader :line2
|
|
2246
|
+
# ZIP or postal code.
|
|
2247
|
+
attr_reader :postal_code
|
|
2248
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2249
|
+
attr_reader :state
|
|
2250
|
+
|
|
2251
|
+
def self.inner_class_types
|
|
2252
|
+
@inner_class_types = {}
|
|
2253
|
+
end
|
|
2254
|
+
|
|
2255
|
+
def self.field_remappings
|
|
2256
|
+
@field_remappings = {}
|
|
2257
|
+
end
|
|
2258
|
+
end
|
|
2259
|
+
# Additional contact information for the station.
|
|
2260
|
+
attr_reader :additional_contact_info
|
|
2261
|
+
# The customer service phone number of the station.
|
|
2262
|
+
attr_reader :customer_service_phone_number
|
|
2263
|
+
# The partner ID code of the station.
|
|
2264
|
+
attr_reader :partner_id_code
|
|
2265
|
+
# The phone number of the station.
|
|
2266
|
+
attr_reader :phone_number
|
|
2267
|
+
# Attribute for field service_location
|
|
2268
|
+
attr_reader :service_location
|
|
2269
|
+
# The URL of the station.
|
|
2270
|
+
attr_reader :url
|
|
2271
|
+
|
|
2272
|
+
def self.inner_class_types
|
|
2273
|
+
@inner_class_types = { service_location: ServiceLocation }
|
|
2274
|
+
end
|
|
2275
|
+
|
|
2276
|
+
def self.field_remappings
|
|
2277
|
+
@field_remappings = {}
|
|
2278
|
+
end
|
|
2279
|
+
end
|
|
2280
|
+
|
|
2281
|
+
class Vat < ::Stripe::StripeObject
|
|
2282
|
+
# Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
2283
|
+
attr_reader :iob_indicator
|
|
2284
|
+
|
|
2285
|
+
def self.inner_class_types
|
|
2286
|
+
@inner_class_types = {}
|
|
2287
|
+
end
|
|
2288
|
+
|
|
2289
|
+
def self.field_remappings
|
|
2290
|
+
@field_remappings = {}
|
|
2291
|
+
end
|
|
2292
|
+
end
|
|
2293
|
+
# Attribute for field primary_fuel_fields
|
|
2294
|
+
attr_reader :primary_fuel_fields
|
|
2295
|
+
# Attribute for field station
|
|
2296
|
+
attr_reader :station
|
|
2297
|
+
# Attribute for field vat
|
|
2298
|
+
attr_reader :vat
|
|
2299
|
+
|
|
2300
|
+
def self.inner_class_types
|
|
2301
|
+
@inner_class_types = { primary_fuel_fields: PrimaryFuelFields, station: Station, vat: Vat }
|
|
2302
|
+
end
|
|
2303
|
+
|
|
2304
|
+
def self.field_remappings
|
|
2305
|
+
@field_remappings = {}
|
|
2306
|
+
end
|
|
2307
|
+
end
|
|
2308
|
+
|
|
2309
|
+
class FlightDatum < ::Stripe::StripeObject
|
|
2310
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2311
|
+
# Affiliate code.
|
|
2312
|
+
attr_reader :code
|
|
2313
|
+
# Affiliate name.
|
|
2314
|
+
attr_reader :name
|
|
2315
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
2316
|
+
attr_reader :travel_authorization_code
|
|
2317
|
+
|
|
2318
|
+
def self.inner_class_types
|
|
2319
|
+
@inner_class_types = {}
|
|
2320
|
+
end
|
|
2321
|
+
|
|
2322
|
+
def self.field_remappings
|
|
2323
|
+
@field_remappings = {}
|
|
2324
|
+
end
|
|
2325
|
+
end
|
|
2326
|
+
|
|
2327
|
+
class Insurance < ::Stripe::StripeObject
|
|
2328
|
+
# Amount of the insurance.
|
|
2329
|
+
attr_reader :amount
|
|
2330
|
+
# Currency for the insurance price.
|
|
2331
|
+
attr_reader :currency
|
|
2332
|
+
# Name of the insurance company.
|
|
2333
|
+
attr_reader :insurance_company_name
|
|
2334
|
+
# Type of insurance.
|
|
2335
|
+
attr_reader :insurance_type
|
|
2336
|
+
|
|
2337
|
+
def self.inner_class_types
|
|
2338
|
+
@inner_class_types = {}
|
|
2339
|
+
end
|
|
2340
|
+
|
|
2341
|
+
def self.field_remappings
|
|
2342
|
+
@field_remappings = {}
|
|
2343
|
+
end
|
|
2344
|
+
end
|
|
2345
|
+
|
|
2346
|
+
class Passenger < ::Stripe::StripeObject
|
|
2347
|
+
# Full name of the passenger.
|
|
2348
|
+
attr_reader :name
|
|
2349
|
+
|
|
2350
|
+
def self.inner_class_types
|
|
2351
|
+
@inner_class_types = {}
|
|
2352
|
+
end
|
|
2353
|
+
|
|
2354
|
+
def self.field_remappings
|
|
2355
|
+
@field_remappings = {}
|
|
2356
|
+
end
|
|
2357
|
+
end
|
|
2358
|
+
|
|
2359
|
+
class Segment < ::Stripe::StripeObject
|
|
2360
|
+
class Arrival < ::Stripe::StripeObject
|
|
2361
|
+
# Arrival airport IATA code.
|
|
2362
|
+
attr_reader :airport
|
|
2363
|
+
# Arrival date and time.
|
|
2364
|
+
attr_reader :arrives_at
|
|
2365
|
+
# Arrival city.
|
|
2366
|
+
attr_reader :city
|
|
2367
|
+
# Arrival country.
|
|
2368
|
+
attr_reader :country
|
|
2369
|
+
|
|
2370
|
+
def self.inner_class_types
|
|
2371
|
+
@inner_class_types = {}
|
|
2372
|
+
end
|
|
2373
|
+
|
|
2374
|
+
def self.field_remappings
|
|
2375
|
+
@field_remappings = {}
|
|
2376
|
+
end
|
|
2377
|
+
end
|
|
2378
|
+
|
|
2379
|
+
class Departure < ::Stripe::StripeObject
|
|
2380
|
+
# Departure airport IATA code.
|
|
2381
|
+
attr_reader :airport
|
|
2382
|
+
# Departure city.
|
|
2383
|
+
attr_reader :city
|
|
2384
|
+
# Departure country.
|
|
2385
|
+
attr_reader :country
|
|
2386
|
+
# Departure date and time.
|
|
2387
|
+
attr_reader :departs_at
|
|
2388
|
+
|
|
2389
|
+
def self.inner_class_types
|
|
2390
|
+
@inner_class_types = {}
|
|
2391
|
+
end
|
|
2392
|
+
|
|
2393
|
+
def self.field_remappings
|
|
2394
|
+
@field_remappings = {}
|
|
2395
|
+
end
|
|
2396
|
+
end
|
|
2397
|
+
# Segment fare amount.
|
|
2398
|
+
attr_reader :amount
|
|
2399
|
+
# Attribute for field arrival
|
|
2400
|
+
attr_reader :arrival
|
|
2401
|
+
# Airline carrier code.
|
|
2402
|
+
attr_reader :carrier_code
|
|
2403
|
+
# Carrier name.
|
|
2404
|
+
attr_reader :carrier_name
|
|
2405
|
+
# Segment currency.
|
|
2406
|
+
attr_reader :currency
|
|
2407
|
+
# Attribute for field departure
|
|
2408
|
+
attr_reader :departure
|
|
2409
|
+
# Exchange ticket number.
|
|
2410
|
+
attr_reader :exchange_ticket_number
|
|
2411
|
+
# Fare basis code.
|
|
2412
|
+
attr_reader :fare_basis_code
|
|
2413
|
+
# Additional fees.
|
|
2414
|
+
attr_reader :fees
|
|
2415
|
+
# Flight number.
|
|
2416
|
+
attr_reader :flight_number
|
|
2417
|
+
# Stopover indicator.
|
|
2418
|
+
attr_reader :is_stop_over_indicator
|
|
2419
|
+
# Refundable ticket indicator.
|
|
2420
|
+
attr_reader :refundable
|
|
2421
|
+
# Class of service.
|
|
2422
|
+
attr_reader :service_class
|
|
2423
|
+
# Tax amount for segment.
|
|
2424
|
+
attr_reader :tax_amount
|
|
2425
|
+
# Ticket number.
|
|
2426
|
+
attr_reader :ticket_number
|
|
2427
|
+
|
|
2428
|
+
def self.inner_class_types
|
|
2429
|
+
@inner_class_types = { arrival: Arrival, departure: Departure }
|
|
2430
|
+
end
|
|
2431
|
+
|
|
2432
|
+
def self.field_remappings
|
|
2433
|
+
@field_remappings = {}
|
|
2434
|
+
end
|
|
2435
|
+
end
|
|
2436
|
+
|
|
2437
|
+
class Total < ::Stripe::StripeObject
|
|
2438
|
+
class Discounts < ::Stripe::StripeObject
|
|
2439
|
+
# Corporate client discount code.
|
|
2440
|
+
attr_reader :corporate_client_code
|
|
2441
|
+
|
|
2442
|
+
def self.inner_class_types
|
|
2443
|
+
@inner_class_types = {}
|
|
2444
|
+
end
|
|
2445
|
+
|
|
2446
|
+
def self.field_remappings
|
|
2447
|
+
@field_remappings = {}
|
|
2448
|
+
end
|
|
2449
|
+
end
|
|
2450
|
+
|
|
2451
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2452
|
+
# Amount of the extra charge.
|
|
2453
|
+
attr_reader :amount
|
|
2454
|
+
# Type of extra charge.
|
|
2455
|
+
attr_reader :type
|
|
2456
|
+
|
|
2457
|
+
def self.inner_class_types
|
|
2458
|
+
@inner_class_types = {}
|
|
2459
|
+
end
|
|
2460
|
+
|
|
2461
|
+
def self.field_remappings
|
|
2462
|
+
@field_remappings = {}
|
|
2463
|
+
end
|
|
2464
|
+
end
|
|
2465
|
+
|
|
2466
|
+
class Tax < ::Stripe::StripeObject
|
|
2467
|
+
class Tax < ::Stripe::StripeObject
|
|
2468
|
+
# Tax amount.
|
|
2469
|
+
attr_reader :amount
|
|
2470
|
+
# Tax rate.
|
|
2471
|
+
attr_reader :rate
|
|
2472
|
+
# Type of tax.
|
|
2473
|
+
attr_reader :type
|
|
2474
|
+
|
|
2475
|
+
def self.inner_class_types
|
|
2476
|
+
@inner_class_types = {}
|
|
2477
|
+
end
|
|
2478
|
+
|
|
2479
|
+
def self.field_remappings
|
|
2480
|
+
@field_remappings = {}
|
|
2481
|
+
end
|
|
2482
|
+
end
|
|
2483
|
+
# Tax details.
|
|
2484
|
+
attr_reader :taxes
|
|
2485
|
+
|
|
2486
|
+
def self.inner_class_types
|
|
2487
|
+
@inner_class_types = { taxes: Tax }
|
|
2488
|
+
end
|
|
2489
|
+
|
|
2490
|
+
def self.field_remappings
|
|
2491
|
+
@field_remappings = {}
|
|
2492
|
+
end
|
|
2493
|
+
end
|
|
2494
|
+
# Total amount.
|
|
2495
|
+
attr_reader :amount
|
|
2496
|
+
# Reason for credit.
|
|
2497
|
+
attr_reader :credit_reason
|
|
2498
|
+
# Currency for the total amount.
|
|
2499
|
+
attr_reader :currency
|
|
2500
|
+
# Attribute for field discounts
|
|
2501
|
+
attr_reader :discounts
|
|
2502
|
+
# Additional charges for the flight.
|
|
2503
|
+
attr_reader :extra_charges
|
|
2504
|
+
# Attribute for field tax
|
|
2505
|
+
attr_reader :tax
|
|
2506
|
+
|
|
2507
|
+
def self.inner_class_types
|
|
2508
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2509
|
+
end
|
|
2510
|
+
|
|
2511
|
+
def self.field_remappings
|
|
2512
|
+
@field_remappings = {}
|
|
2513
|
+
end
|
|
2514
|
+
end
|
|
2515
|
+
# Attribute for field affiliate
|
|
2516
|
+
attr_reader :affiliate
|
|
2517
|
+
# The booking number associated with the flight reservation.
|
|
2518
|
+
attr_reader :booking_number
|
|
2519
|
+
# The computerized reservation system used to make the reservation and purchase the ticket.
|
|
2520
|
+
attr_reader :computerized_reservation_system
|
|
2521
|
+
# Ticket restrictions.
|
|
2522
|
+
attr_reader :endorsements_and_restrictions
|
|
2523
|
+
# Insurance details for the flight.
|
|
2524
|
+
attr_reader :insurances
|
|
2525
|
+
# The list of passengers for this flight.
|
|
2526
|
+
attr_reader :passengers
|
|
2527
|
+
# The list of flight segments for this reservation.
|
|
2528
|
+
attr_reader :segments
|
|
2529
|
+
# Electronic ticket indicator.
|
|
2530
|
+
attr_reader :ticket_electronically_issued_indicator
|
|
2531
|
+
# Attribute for field total
|
|
2532
|
+
attr_reader :total
|
|
2533
|
+
# Type of flight transaction.
|
|
2534
|
+
attr_reader :transaction_type
|
|
2535
|
+
|
|
2536
|
+
def self.inner_class_types
|
|
2537
|
+
@inner_class_types = {
|
|
2538
|
+
affiliate: Affiliate,
|
|
2539
|
+
insurances: Insurance,
|
|
2540
|
+
passengers: Passenger,
|
|
2541
|
+
segments: Segment,
|
|
2542
|
+
total: Total,
|
|
2543
|
+
}
|
|
2544
|
+
end
|
|
2545
|
+
|
|
2546
|
+
def self.field_remappings
|
|
2547
|
+
@field_remappings = {}
|
|
2548
|
+
end
|
|
2549
|
+
end
|
|
2550
|
+
|
|
2551
|
+
class LodgingDatum < ::Stripe::StripeObject
|
|
2552
|
+
class Accommodation < ::Stripe::StripeObject
|
|
2553
|
+
# Type of accommodation.
|
|
2554
|
+
attr_reader :accommodation_type
|
|
2555
|
+
# Bed type.
|
|
2556
|
+
attr_reader :bed_type
|
|
2557
|
+
# Daily accommodation rate in cents.
|
|
2558
|
+
attr_reader :daily_rate_amount
|
|
2559
|
+
# Number of nights.
|
|
2560
|
+
attr_reader :nights
|
|
2561
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
2562
|
+
attr_reader :number_of_rooms
|
|
2563
|
+
# Rate type.
|
|
2564
|
+
attr_reader :rate_type
|
|
2565
|
+
# Whether smoking is allowed.
|
|
2566
|
+
attr_reader :smoking_indicator
|
|
2567
|
+
|
|
2568
|
+
def self.inner_class_types
|
|
2569
|
+
@inner_class_types = {}
|
|
2570
|
+
end
|
|
2571
|
+
|
|
2572
|
+
def self.field_remappings
|
|
2573
|
+
@field_remappings = {}
|
|
2574
|
+
end
|
|
2575
|
+
end
|
|
2576
|
+
|
|
2577
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2578
|
+
# Affiliate partner code.
|
|
2579
|
+
attr_reader :code
|
|
2580
|
+
# Affiliate partner name.
|
|
2581
|
+
attr_reader :name
|
|
2582
|
+
|
|
2583
|
+
def self.inner_class_types
|
|
2584
|
+
@inner_class_types = {}
|
|
2585
|
+
end
|
|
2586
|
+
|
|
2587
|
+
def self.field_remappings
|
|
2588
|
+
@field_remappings = {}
|
|
2589
|
+
end
|
|
2590
|
+
end
|
|
2591
|
+
|
|
2592
|
+
class Guest < ::Stripe::StripeObject
|
|
2593
|
+
# Guest's full name.
|
|
2594
|
+
attr_reader :name
|
|
2595
|
+
|
|
2596
|
+
def self.inner_class_types
|
|
2597
|
+
@inner_class_types = {}
|
|
2598
|
+
end
|
|
2599
|
+
|
|
2600
|
+
def self.field_remappings
|
|
2601
|
+
@field_remappings = {}
|
|
2602
|
+
end
|
|
2603
|
+
end
|
|
2604
|
+
|
|
2605
|
+
class Host < ::Stripe::StripeObject
|
|
2606
|
+
class Address < ::Stripe::StripeObject
|
|
2607
|
+
# City, district, suburb, town, or village.
|
|
2608
|
+
attr_reader :city
|
|
2609
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2610
|
+
attr_reader :country
|
|
2611
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2612
|
+
attr_reader :line1
|
|
2613
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2614
|
+
attr_reader :line2
|
|
2615
|
+
# ZIP or postal code.
|
|
2616
|
+
attr_reader :postal_code
|
|
2617
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2618
|
+
attr_reader :state
|
|
2619
|
+
|
|
2620
|
+
def self.inner_class_types
|
|
2621
|
+
@inner_class_types = {}
|
|
2622
|
+
end
|
|
2623
|
+
|
|
2624
|
+
def self.field_remappings
|
|
2625
|
+
@field_remappings = {}
|
|
2626
|
+
end
|
|
2627
|
+
end
|
|
2628
|
+
# Attribute for field address
|
|
2629
|
+
attr_reader :address
|
|
2630
|
+
# Host's country of domicile.
|
|
2631
|
+
attr_reader :country_of_domicile
|
|
2632
|
+
# Reference number for the host.
|
|
2633
|
+
attr_reader :host_reference
|
|
2634
|
+
# Type of host.
|
|
2635
|
+
attr_reader :host_type
|
|
2636
|
+
# Name of the lodging property or host.
|
|
2637
|
+
attr_reader :name
|
|
2638
|
+
# Total number of reservations for the host.
|
|
2639
|
+
attr_reader :number_of_reservations
|
|
2640
|
+
# Property phone number.
|
|
2641
|
+
attr_reader :property_phone_number
|
|
2642
|
+
# Host's registration date.
|
|
2643
|
+
attr_reader :registered_at
|
|
2644
|
+
|
|
2645
|
+
def self.inner_class_types
|
|
2646
|
+
@inner_class_types = { address: Address }
|
|
2647
|
+
end
|
|
2648
|
+
|
|
2649
|
+
def self.field_remappings
|
|
2650
|
+
@field_remappings = {}
|
|
2651
|
+
end
|
|
2652
|
+
end
|
|
2653
|
+
|
|
2654
|
+
class Insurance < ::Stripe::StripeObject
|
|
2655
|
+
# Price of the insurance coverage in cents.
|
|
2656
|
+
attr_reader :amount
|
|
2657
|
+
# Currency of the insurance amount.
|
|
2658
|
+
attr_reader :currency
|
|
2659
|
+
# Name of the insurance company.
|
|
2660
|
+
attr_reader :insurance_company_name
|
|
2661
|
+
# Type of insurance coverage.
|
|
2662
|
+
attr_reader :insurance_type
|
|
2663
|
+
|
|
2664
|
+
def self.inner_class_types
|
|
2665
|
+
@inner_class_types = {}
|
|
2666
|
+
end
|
|
2667
|
+
|
|
2668
|
+
def self.field_remappings
|
|
2669
|
+
@field_remappings = {}
|
|
2670
|
+
end
|
|
2671
|
+
end
|
|
2672
|
+
|
|
2673
|
+
class Total < ::Stripe::StripeObject
|
|
2674
|
+
class Discounts < ::Stripe::StripeObject
|
|
2675
|
+
# Corporate client discount code.
|
|
2676
|
+
attr_reader :corporate_client_code
|
|
2677
|
+
# Coupon code.
|
|
2678
|
+
attr_reader :coupon
|
|
2679
|
+
|
|
2680
|
+
def self.inner_class_types
|
|
2681
|
+
@inner_class_types = {}
|
|
2682
|
+
end
|
|
2683
|
+
|
|
2684
|
+
def self.field_remappings
|
|
2685
|
+
@field_remappings = {}
|
|
2686
|
+
end
|
|
2687
|
+
end
|
|
2688
|
+
|
|
2689
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2690
|
+
# Amount of the extra charge in cents.
|
|
2691
|
+
attr_reader :amount
|
|
2692
|
+
# Type of extra charge.
|
|
2693
|
+
attr_reader :type
|
|
2694
|
+
|
|
2695
|
+
def self.inner_class_types
|
|
2696
|
+
@inner_class_types = {}
|
|
2697
|
+
end
|
|
2698
|
+
|
|
2699
|
+
def self.field_remappings
|
|
2700
|
+
@field_remappings = {}
|
|
2701
|
+
end
|
|
2702
|
+
end
|
|
2703
|
+
|
|
2704
|
+
class Tax < ::Stripe::StripeObject
|
|
2705
|
+
class Tax < ::Stripe::StripeObject
|
|
2706
|
+
# Tax amount in cents.
|
|
2707
|
+
attr_reader :amount
|
|
2708
|
+
# Tax rate.
|
|
2709
|
+
attr_reader :rate
|
|
2710
|
+
# Type of tax applied.
|
|
2711
|
+
attr_reader :type
|
|
2712
|
+
|
|
2713
|
+
def self.inner_class_types
|
|
2714
|
+
@inner_class_types = {}
|
|
2715
|
+
end
|
|
2716
|
+
|
|
2717
|
+
def self.field_remappings
|
|
2718
|
+
@field_remappings = {}
|
|
2719
|
+
end
|
|
2720
|
+
end
|
|
2721
|
+
# Indicates whether the transaction is tax exempt.
|
|
2722
|
+
attr_reader :tax_exempt_indicator
|
|
2723
|
+
# Tax details.
|
|
2724
|
+
attr_reader :taxes
|
|
2725
|
+
|
|
2726
|
+
def self.inner_class_types
|
|
2727
|
+
@inner_class_types = { taxes: Tax }
|
|
2728
|
+
end
|
|
2729
|
+
|
|
2730
|
+
def self.field_remappings
|
|
2731
|
+
@field_remappings = {}
|
|
2732
|
+
end
|
|
2733
|
+
end
|
|
2734
|
+
# Total price of the lodging reservation in cents.
|
|
2735
|
+
attr_reader :amount
|
|
2736
|
+
# Cash advances in cents.
|
|
2737
|
+
attr_reader :cash_advances
|
|
2738
|
+
# Currency of the total amount.
|
|
2739
|
+
attr_reader :currency
|
|
2740
|
+
# Attribute for field discounts
|
|
2741
|
+
attr_reader :discounts
|
|
2742
|
+
# Additional charges for the lodging.
|
|
2743
|
+
attr_reader :extra_charges
|
|
2744
|
+
# Prepaid amount in cents.
|
|
2745
|
+
attr_reader :prepaid_amount
|
|
2746
|
+
# Attribute for field tax
|
|
2747
|
+
attr_reader :tax
|
|
2748
|
+
|
|
2749
|
+
def self.inner_class_types
|
|
2750
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2751
|
+
end
|
|
2752
|
+
|
|
2753
|
+
def self.field_remappings
|
|
2754
|
+
@field_remappings = {}
|
|
2755
|
+
end
|
|
2756
|
+
end
|
|
2757
|
+
# Attribute for field accommodation
|
|
2758
|
+
attr_reader :accommodation
|
|
2759
|
+
# Attribute for field affiliate
|
|
2760
|
+
attr_reader :affiliate
|
|
2761
|
+
# Booking confirmation number for the lodging.
|
|
2762
|
+
attr_reader :booking_number
|
|
2763
|
+
# Check-in date.
|
|
2764
|
+
attr_reader :checkin_at
|
|
2765
|
+
# Check-out date.
|
|
2766
|
+
attr_reader :checkout_at
|
|
2767
|
+
# Customer service phone number for the lodging company.
|
|
2768
|
+
attr_reader :customer_service_phone_number
|
|
2769
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2770
|
+
attr_reader :fire_safety_act_compliance_indicator
|
|
2771
|
+
# List of guests for the lodging.
|
|
2772
|
+
attr_reader :guests
|
|
2773
|
+
# Attribute for field host
|
|
2774
|
+
attr_reader :host
|
|
2775
|
+
# List of insurances for the lodging.
|
|
2776
|
+
attr_reader :insurances
|
|
2777
|
+
# Whether the renter is a no-show.
|
|
2778
|
+
attr_reader :no_show_indicator
|
|
2779
|
+
# Renter ID number for the lodging.
|
|
2780
|
+
attr_reader :renter_id_number
|
|
2781
|
+
# Renter name for the lodging.
|
|
2782
|
+
attr_reader :renter_name
|
|
2783
|
+
# Attribute for field total
|
|
2784
|
+
attr_reader :total
|
|
2785
|
+
|
|
2786
|
+
def self.inner_class_types
|
|
2787
|
+
@inner_class_types = {
|
|
2788
|
+
accommodation: Accommodation,
|
|
2789
|
+
affiliate: Affiliate,
|
|
2790
|
+
guests: Guest,
|
|
2791
|
+
host: Host,
|
|
2792
|
+
insurances: Insurance,
|
|
2793
|
+
total: Total,
|
|
2794
|
+
}
|
|
2795
|
+
end
|
|
2796
|
+
|
|
2797
|
+
def self.field_remappings
|
|
2798
|
+
@field_remappings = {}
|
|
2799
|
+
end
|
|
2800
|
+
end
|
|
2801
|
+
|
|
2802
|
+
class MoneyServices < ::Stripe::StripeObject
|
|
2803
|
+
class AccountFunding < ::Stripe::StripeObject
|
|
2804
|
+
class BeneficiaryDetails < ::Stripe::StripeObject
|
|
2805
|
+
class Address < ::Stripe::StripeObject
|
|
2806
|
+
# City, district, suburb, town, or village.
|
|
2807
|
+
attr_reader :city
|
|
2808
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2809
|
+
attr_reader :country
|
|
2810
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
2811
|
+
attr_reader :line1
|
|
2812
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2813
|
+
attr_reader :line2
|
|
2814
|
+
# ZIP or postal code.
|
|
2815
|
+
attr_reader :postal_code
|
|
2816
|
+
# State, county, province, or region.
|
|
2817
|
+
attr_reader :state
|
|
2818
|
+
|
|
2819
|
+
def self.inner_class_types
|
|
2820
|
+
@inner_class_types = {}
|
|
2821
|
+
end
|
|
2822
|
+
|
|
2823
|
+
def self.field_remappings
|
|
2824
|
+
@field_remappings = {}
|
|
2825
|
+
end
|
|
2826
|
+
end
|
|
2827
|
+
|
|
2828
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
2829
|
+
# Day of birth, between 1 and 31.
|
|
2830
|
+
attr_reader :day
|
|
2831
|
+
# Month of birth, between 1 and 12.
|
|
2832
|
+
attr_reader :month
|
|
2833
|
+
# Four-digit year of birth.
|
|
2834
|
+
attr_reader :year
|
|
2835
|
+
|
|
2836
|
+
def self.inner_class_types
|
|
2837
|
+
@inner_class_types = {}
|
|
2838
|
+
end
|
|
2839
|
+
|
|
2840
|
+
def self.field_remappings
|
|
2841
|
+
@field_remappings = {}
|
|
2842
|
+
end
|
|
2843
|
+
end
|
|
2844
|
+
# Attribute for field address
|
|
2845
|
+
attr_reader :address
|
|
2846
|
+
# Attribute for field date_of_birth
|
|
2847
|
+
attr_reader :date_of_birth
|
|
2848
|
+
# Email address.
|
|
2849
|
+
attr_reader :email
|
|
2850
|
+
# Full name.
|
|
2851
|
+
attr_reader :name
|
|
2852
|
+
# Phone number.
|
|
2853
|
+
attr_reader :phone
|
|
2854
|
+
|
|
2855
|
+
def self.inner_class_types
|
|
2856
|
+
@inner_class_types = { address: Address, date_of_birth: DateOfBirth }
|
|
2857
|
+
end
|
|
2858
|
+
|
|
2859
|
+
def self.field_remappings
|
|
2860
|
+
@field_remappings = {}
|
|
2861
|
+
end
|
|
2862
|
+
end
|
|
2863
|
+
|
|
2864
|
+
class SenderDetails < ::Stripe::StripeObject
|
|
2865
|
+
class Address < ::Stripe::StripeObject
|
|
2866
|
+
# City, district, suburb, town, or village.
|
|
2867
|
+
attr_reader :city
|
|
2868
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2869
|
+
attr_reader :country
|
|
2870
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
2871
|
+
attr_reader :line1
|
|
2872
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2873
|
+
attr_reader :line2
|
|
2874
|
+
# ZIP or postal code.
|
|
2875
|
+
attr_reader :postal_code
|
|
2876
|
+
# State, county, province, or region.
|
|
2877
|
+
attr_reader :state
|
|
2878
|
+
|
|
2879
|
+
def self.inner_class_types
|
|
2880
|
+
@inner_class_types = {}
|
|
2881
|
+
end
|
|
2882
|
+
|
|
2883
|
+
def self.field_remappings
|
|
2884
|
+
@field_remappings = {}
|
|
2885
|
+
end
|
|
2886
|
+
end
|
|
2887
|
+
|
|
2888
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
2889
|
+
# Day of birth, between 1 and 31.
|
|
2890
|
+
attr_reader :day
|
|
2891
|
+
# Month of birth, between 1 and 12.
|
|
2892
|
+
attr_reader :month
|
|
2893
|
+
# Four-digit year of birth.
|
|
2894
|
+
attr_reader :year
|
|
2895
|
+
|
|
2896
|
+
def self.inner_class_types
|
|
2897
|
+
@inner_class_types = {}
|
|
2898
|
+
end
|
|
2899
|
+
|
|
2900
|
+
def self.field_remappings
|
|
2901
|
+
@field_remappings = {}
|
|
2902
|
+
end
|
|
2903
|
+
end
|
|
2904
|
+
# Attribute for field address
|
|
2905
|
+
attr_reader :address
|
|
2906
|
+
# Attribute for field date_of_birth
|
|
2907
|
+
attr_reader :date_of_birth
|
|
2908
|
+
# Email address.
|
|
2909
|
+
attr_reader :email
|
|
2910
|
+
# Full name.
|
|
2911
|
+
attr_reader :name
|
|
2912
|
+
# Phone number.
|
|
2913
|
+
attr_reader :phone
|
|
2914
|
+
|
|
2915
|
+
def self.inner_class_types
|
|
2916
|
+
@inner_class_types = { address: Address, date_of_birth: DateOfBirth }
|
|
2917
|
+
end
|
|
2918
|
+
|
|
2919
|
+
def self.field_remappings
|
|
2920
|
+
@field_remappings = {}
|
|
2921
|
+
end
|
|
2922
|
+
end
|
|
2923
|
+
# ID of the Account representing the beneficiary in this account funding transaction.
|
|
2924
|
+
attr_reader :beneficiary_account
|
|
2925
|
+
# Attribute for field beneficiary_details
|
|
2926
|
+
attr_reader :beneficiary_details
|
|
2927
|
+
# ID of the Account representing the sender in this account funding transaction.
|
|
2928
|
+
attr_reader :sender_account
|
|
2929
|
+
# Attribute for field sender_details
|
|
2930
|
+
attr_reader :sender_details
|
|
2931
|
+
|
|
2932
|
+
def self.inner_class_types
|
|
2933
|
+
@inner_class_types = {
|
|
2934
|
+
beneficiary_details: BeneficiaryDetails,
|
|
2935
|
+
sender_details: SenderDetails,
|
|
2936
|
+
}
|
|
2937
|
+
end
|
|
2938
|
+
|
|
2939
|
+
def self.field_remappings
|
|
2940
|
+
@field_remappings = {}
|
|
2941
|
+
end
|
|
2942
|
+
end
|
|
2943
|
+
# Attribute for field account_funding
|
|
2944
|
+
attr_reader :account_funding
|
|
2945
|
+
# The type of money services transaction.
|
|
2946
|
+
attr_reader :transaction_type
|
|
2947
|
+
|
|
2948
|
+
def self.inner_class_types
|
|
2949
|
+
@inner_class_types = { account_funding: AccountFunding }
|
|
2950
|
+
end
|
|
2951
|
+
|
|
2952
|
+
def self.field_remappings
|
|
2953
|
+
@field_remappings = {}
|
|
2954
|
+
end
|
|
2955
|
+
end
|
|
2956
|
+
|
|
2957
|
+
class Subscription < ::Stripe::StripeObject
|
|
2958
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2959
|
+
# The name of the affiliate that originated the purchase.
|
|
2960
|
+
attr_reader :name
|
|
2961
|
+
|
|
2962
|
+
def self.inner_class_types
|
|
2963
|
+
@inner_class_types = {}
|
|
2964
|
+
end
|
|
2965
|
+
|
|
2966
|
+
def self.field_remappings
|
|
2967
|
+
@field_remappings = {}
|
|
2968
|
+
end
|
|
2969
|
+
end
|
|
2970
|
+
|
|
2971
|
+
class BillingInterval < ::Stripe::StripeObject
|
|
2972
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2973
|
+
attr_reader :count
|
|
2974
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2975
|
+
attr_reader :interval
|
|
2976
|
+
|
|
2977
|
+
def self.inner_class_types
|
|
2978
|
+
@inner_class_types = {}
|
|
2979
|
+
end
|
|
2980
|
+
|
|
2981
|
+
def self.field_remappings
|
|
2982
|
+
@field_remappings = {}
|
|
2983
|
+
end
|
|
2984
|
+
end
|
|
2985
|
+
# Attribute for field affiliate
|
|
2986
|
+
attr_reader :affiliate
|
|
2987
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
2988
|
+
attr_reader :auto_renewal
|
|
2989
|
+
# Attribute for field billing_interval
|
|
2990
|
+
attr_reader :billing_interval
|
|
2991
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2992
|
+
attr_reader :ends_at
|
|
2993
|
+
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
2994
|
+
attr_reader :name
|
|
2995
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2996
|
+
attr_reader :starts_at
|
|
2997
|
+
|
|
2998
|
+
def self.inner_class_types
|
|
2999
|
+
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
3000
|
+
end
|
|
3001
|
+
|
|
3002
|
+
def self.field_remappings
|
|
3003
|
+
@field_remappings = {}
|
|
3004
|
+
end
|
|
3005
|
+
end
|
|
3006
|
+
# Attribute for field benefit
|
|
3007
|
+
attr_reader :benefit
|
|
3008
|
+
# Attribute for field car_rental
|
|
3009
|
+
attr_reader :car_rental
|
|
3010
|
+
# Attribute for field car_rental_data
|
|
3011
|
+
attr_reader :car_rental_data
|
|
3012
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
3013
|
+
#
|
|
3014
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
3015
|
+
attr_reader :customer_reference
|
|
3016
|
+
# Attribute for field event_details
|
|
3017
|
+
attr_reader :event_details
|
|
3018
|
+
# Fleet data for this PaymentIntent.
|
|
3019
|
+
attr_reader :fleet_data
|
|
3020
|
+
# Attribute for field flight_data
|
|
3021
|
+
attr_reader :flight_data
|
|
3022
|
+
# Attribute for field lodging_data
|
|
3023
|
+
attr_reader :lodging_data
|
|
3024
|
+
# Attribute for field money_services
|
|
3025
|
+
attr_reader :money_services
|
|
3026
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
3027
|
+
#
|
|
3028
|
+
# 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.
|
|
3029
|
+
attr_reader :order_reference
|
|
3030
|
+
# Attribute for field subscription
|
|
3031
|
+
attr_reader :subscription
|
|
3032
|
+
|
|
3033
|
+
def self.inner_class_types
|
|
3034
|
+
@inner_class_types = {
|
|
3035
|
+
benefit: Benefit,
|
|
3036
|
+
car_rental: CarRental,
|
|
3037
|
+
car_rental_data: CarRentalDatum,
|
|
3038
|
+
event_details: EventDetails,
|
|
3039
|
+
fleet_data: FleetDatum,
|
|
3040
|
+
flight_data: FlightDatum,
|
|
3041
|
+
lodging_data: LodgingDatum,
|
|
3042
|
+
money_services: MoneyServices,
|
|
3043
|
+
subscription: Subscription,
|
|
3044
|
+
}
|
|
3045
|
+
end
|
|
3046
|
+
|
|
3047
|
+
def self.field_remappings
|
|
3048
|
+
@field_remappings = {}
|
|
3049
|
+
end
|
|
3050
|
+
end
|
|
3051
|
+
|
|
3052
|
+
class PaymentMethodConfigurationDetails < ::Stripe::StripeObject
|
|
3053
|
+
# ID of the payment method configuration used.
|
|
3054
|
+
attr_reader :id
|
|
3055
|
+
# ID of the parent payment method configuration used.
|
|
3056
|
+
attr_reader :parent
|
|
3057
|
+
|
|
3058
|
+
def self.inner_class_types
|
|
3059
|
+
@inner_class_types = {}
|
|
3060
|
+
end
|
|
3061
|
+
|
|
3062
|
+
def self.field_remappings
|
|
3063
|
+
@field_remappings = {}
|
|
3064
|
+
end
|
|
3065
|
+
end
|
|
3066
|
+
|
|
3067
|
+
class PaymentMethodOptions < ::Stripe::StripeObject
|
|
3068
|
+
class AcssDebit < ::Stripe::StripeObject
|
|
3069
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
3070
|
+
# A URL for custom mandate text
|
|
3071
|
+
attr_reader :custom_mandate_url
|
|
3072
|
+
# Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
|
|
3073
|
+
attr_reader :interval_description
|
|
3074
|
+
# Payment schedule for the mandate.
|
|
3075
|
+
attr_reader :payment_schedule
|
|
3076
|
+
# Transaction type of the mandate.
|
|
3077
|
+
attr_reader :transaction_type
|
|
3078
|
+
|
|
3079
|
+
def self.inner_class_types
|
|
3080
|
+
@inner_class_types = {}
|
|
3081
|
+
end
|
|
3082
|
+
|
|
3083
|
+
def self.field_remappings
|
|
3084
|
+
@field_remappings = {}
|
|
3085
|
+
end
|
|
3086
|
+
end
|
|
3087
|
+
# Attribute for field mandate_options
|
|
3088
|
+
attr_reader :mandate_options
|
|
3089
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3090
|
+
#
|
|
1344
3091
|
# 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.
|
|
1345
3092
|
#
|
|
1346
3093
|
# 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.
|
|
@@ -1675,7 +3422,44 @@ module Stripe
|
|
|
1675
3422
|
attr_reader :supported_types
|
|
1676
3423
|
|
|
1677
3424
|
def self.inner_class_types
|
|
1678
|
-
@inner_class_types = {}
|
|
3425
|
+
@inner_class_types = {}
|
|
3426
|
+
end
|
|
3427
|
+
|
|
3428
|
+
def self.field_remappings
|
|
3429
|
+
@field_remappings = {}
|
|
3430
|
+
end
|
|
3431
|
+
end
|
|
3432
|
+
|
|
3433
|
+
class StatementDetails < ::Stripe::StripeObject
|
|
3434
|
+
class Address < ::Stripe::StripeObject
|
|
3435
|
+
# City, district, suburb, town, or village.
|
|
3436
|
+
attr_reader :city
|
|
3437
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3438
|
+
attr_reader :country
|
|
3439
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
3440
|
+
attr_reader :line1
|
|
3441
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
3442
|
+
attr_reader :line2
|
|
3443
|
+
# ZIP or postal code.
|
|
3444
|
+
attr_reader :postal_code
|
|
3445
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3446
|
+
attr_reader :state
|
|
3447
|
+
|
|
3448
|
+
def self.inner_class_types
|
|
3449
|
+
@inner_class_types = {}
|
|
3450
|
+
end
|
|
3451
|
+
|
|
3452
|
+
def self.field_remappings
|
|
3453
|
+
@field_remappings = {}
|
|
3454
|
+
end
|
|
3455
|
+
end
|
|
3456
|
+
# Attribute for field address
|
|
3457
|
+
attr_reader :address
|
|
3458
|
+
# Phone number
|
|
3459
|
+
attr_reader :phone
|
|
3460
|
+
|
|
3461
|
+
def self.inner_class_types
|
|
3462
|
+
@inner_class_types = { address: Address }
|
|
1679
3463
|
end
|
|
1680
3464
|
|
|
1681
3465
|
def self.field_remappings
|
|
@@ -1692,6 +3476,8 @@ module Stripe
|
|
|
1692
3476
|
attr_reader :mandate_options
|
|
1693
3477
|
# 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
3478
|
attr_reader :network
|
|
3479
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3480
|
+
attr_reader :request_decremental_authorization
|
|
1695
3481
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
1696
3482
|
attr_reader :request_extended_authorization
|
|
1697
3483
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1700,6 +3486,10 @@ module Stripe
|
|
|
1700
3486
|
attr_reader :request_multicapture
|
|
1701
3487
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
1702
3488
|
attr_reader :request_overcapture
|
|
3489
|
+
# Request partial authorization on this PaymentIntent.
|
|
3490
|
+
attr_reader :request_partial_authorization
|
|
3491
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3492
|
+
attr_reader :request_reauthorization
|
|
1703
3493
|
# 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
3494
|
attr_reader :request_three_d_secure
|
|
1705
3495
|
# 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 +3506,15 @@ module Stripe
|
|
|
1716
3506
|
attr_reader :statement_descriptor_suffix_kana
|
|
1717
3507
|
# 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
3508
|
attr_reader :statement_descriptor_suffix_kanji
|
|
3509
|
+
# Attribute for field statement_details
|
|
3510
|
+
attr_reader :statement_details
|
|
1719
3511
|
|
|
1720
3512
|
def self.inner_class_types
|
|
1721
|
-
@inner_class_types = {
|
|
3513
|
+
@inner_class_types = {
|
|
3514
|
+
installments: Installments,
|
|
3515
|
+
mandate_options: MandateOptions,
|
|
3516
|
+
statement_details: StatementDetails,
|
|
3517
|
+
}
|
|
1722
3518
|
end
|
|
1723
3519
|
|
|
1724
3520
|
def self.field_remappings
|
|
@@ -1745,6 +3541,8 @@ module Stripe
|
|
|
1745
3541
|
attr_reader :request_extended_authorization
|
|
1746
3542
|
# 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
3543
|
attr_reader :request_incremental_authorization_support
|
|
3544
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3545
|
+
attr_reader :request_reauthorization
|
|
1748
3546
|
# Attribute for field routing
|
|
1749
3547
|
attr_reader :routing
|
|
1750
3548
|
|
|
@@ -1779,6 +3577,22 @@ module Stripe
|
|
|
1779
3577
|
end
|
|
1780
3578
|
|
|
1781
3579
|
class Crypto < ::Stripe::StripeObject
|
|
3580
|
+
class DepositOptions < ::Stripe::StripeObject
|
|
3581
|
+
# 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).
|
|
3582
|
+
attr_reader :networks
|
|
3583
|
+
|
|
3584
|
+
def self.inner_class_types
|
|
3585
|
+
@inner_class_types = {}
|
|
3586
|
+
end
|
|
3587
|
+
|
|
3588
|
+
def self.field_remappings
|
|
3589
|
+
@field_remappings = {}
|
|
3590
|
+
end
|
|
3591
|
+
end
|
|
3592
|
+
# Attribute for field deposit_options
|
|
3593
|
+
attr_reader :deposit_options
|
|
3594
|
+
# The mode of the crypto payment.
|
|
3595
|
+
attr_reader :mode
|
|
1782
3596
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1783
3597
|
#
|
|
1784
3598
|
# 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.
|
|
@@ -1789,7 +3603,7 @@ module Stripe
|
|
|
1789
3603
|
attr_reader :setup_future_usage
|
|
1790
3604
|
|
|
1791
3605
|
def self.inner_class_types
|
|
1792
|
-
@inner_class_types = {}
|
|
3606
|
+
@inner_class_types = { deposit_options: DepositOptions }
|
|
1793
3607
|
end
|
|
1794
3608
|
|
|
1795
3609
|
def self.field_remappings
|
|
@@ -1888,6 +3702,23 @@ module Stripe
|
|
|
1888
3702
|
end
|
|
1889
3703
|
end
|
|
1890
3704
|
|
|
3705
|
+
class GiftCard < ::Stripe::StripeObject
|
|
3706
|
+
# Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card.
|
|
3707
|
+
attr_reader :ignore_application_fee
|
|
3708
|
+
# Set to `yes` to ignore transfer data on the PaymentIntent when redeeming this gift card.
|
|
3709
|
+
attr_reader :ignore_transfer_data
|
|
3710
|
+
# Request partial authorization on this PaymentIntent.
|
|
3711
|
+
attr_reader :request_partial_authorization
|
|
3712
|
+
|
|
3713
|
+
def self.inner_class_types
|
|
3714
|
+
@inner_class_types = {}
|
|
3715
|
+
end
|
|
3716
|
+
|
|
3717
|
+
def self.field_remappings
|
|
3718
|
+
@field_remappings = {}
|
|
3719
|
+
end
|
|
3720
|
+
end
|
|
3721
|
+
|
|
1891
3722
|
class Giropay < ::Stripe::StripeObject
|
|
1892
3723
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1893
3724
|
#
|
|
@@ -1907,6 +3738,25 @@ module Stripe
|
|
|
1907
3738
|
end
|
|
1908
3739
|
end
|
|
1909
3740
|
|
|
3741
|
+
class Gopay < ::Stripe::StripeObject
|
|
3742
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3743
|
+
#
|
|
3744
|
+
# 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.
|
|
3745
|
+
#
|
|
3746
|
+
# 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.
|
|
3747
|
+
#
|
|
3748
|
+
# 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).
|
|
3749
|
+
attr_reader :setup_future_usage
|
|
3750
|
+
|
|
3751
|
+
def self.inner_class_types
|
|
3752
|
+
@inner_class_types = {}
|
|
3753
|
+
end
|
|
3754
|
+
|
|
3755
|
+
def self.field_remappings
|
|
3756
|
+
@field_remappings = {}
|
|
3757
|
+
end
|
|
3758
|
+
end
|
|
3759
|
+
|
|
1910
3760
|
class Grabpay < ::Stripe::StripeObject
|
|
1911
3761
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1912
3762
|
#
|
|
@@ -1926,6 +3776,29 @@ module Stripe
|
|
|
1926
3776
|
end
|
|
1927
3777
|
end
|
|
1928
3778
|
|
|
3779
|
+
class IdBankTransfer < ::Stripe::StripeObject
|
|
3780
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
3781
|
+
attr_reader :expires_after
|
|
3782
|
+
# 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.
|
|
3783
|
+
attr_reader :expires_at
|
|
3784
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3785
|
+
#
|
|
3786
|
+
# 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.
|
|
3787
|
+
#
|
|
3788
|
+
# 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.
|
|
3789
|
+
#
|
|
3790
|
+
# 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).
|
|
3791
|
+
attr_reader :setup_future_usage
|
|
3792
|
+
|
|
3793
|
+
def self.inner_class_types
|
|
3794
|
+
@inner_class_types = {}
|
|
3795
|
+
end
|
|
3796
|
+
|
|
3797
|
+
def self.field_remappings
|
|
3798
|
+
@field_remappings = {}
|
|
3799
|
+
end
|
|
3800
|
+
end
|
|
3801
|
+
|
|
1929
3802
|
class Ideal < ::Stripe::StripeObject
|
|
1930
3803
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1931
3804
|
#
|
|
@@ -2254,12 +4127,56 @@ module Stripe
|
|
|
2254
4127
|
end
|
|
2255
4128
|
|
|
2256
4129
|
class Paypal < ::Stripe::StripeObject
|
|
4130
|
+
class LineItem < ::Stripe::StripeObject
|
|
4131
|
+
class Tax < ::Stripe::StripeObject
|
|
4132
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4133
|
+
attr_reader :amount
|
|
4134
|
+
# The tax behavior for the line item.
|
|
4135
|
+
attr_reader :behavior
|
|
4136
|
+
|
|
4137
|
+
def self.inner_class_types
|
|
4138
|
+
@inner_class_types = {}
|
|
4139
|
+
end
|
|
4140
|
+
|
|
4141
|
+
def self.field_remappings
|
|
4142
|
+
@field_remappings = {}
|
|
4143
|
+
end
|
|
4144
|
+
end
|
|
4145
|
+
# Type of the line item.
|
|
4146
|
+
attr_reader :category
|
|
4147
|
+
# Description of the line item.
|
|
4148
|
+
attr_reader :description
|
|
4149
|
+
# Descriptive name of the line item.
|
|
4150
|
+
attr_reader :name
|
|
4151
|
+
# Quantity of the line item. Cannot be a negative number.
|
|
4152
|
+
attr_reader :quantity
|
|
4153
|
+
# Client facing stock keeping unit, article number or similar.
|
|
4154
|
+
attr_reader :sku
|
|
4155
|
+
# 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).
|
|
4156
|
+
attr_reader :sold_by
|
|
4157
|
+
# Attribute for field tax
|
|
4158
|
+
attr_reader :tax
|
|
4159
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4160
|
+
attr_reader :unit_amount
|
|
4161
|
+
|
|
4162
|
+
def self.inner_class_types
|
|
4163
|
+
@inner_class_types = { tax: Tax }
|
|
4164
|
+
end
|
|
4165
|
+
|
|
4166
|
+
def self.field_remappings
|
|
4167
|
+
@field_remappings = {}
|
|
4168
|
+
end
|
|
4169
|
+
end
|
|
2257
4170
|
# Controls when the funds will be captured from the customer's account.
|
|
2258
4171
|
attr_reader :capture_method
|
|
4172
|
+
# The line items purchased by the customer.
|
|
4173
|
+
attr_reader :line_items
|
|
2259
4174
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2260
4175
|
attr_reader :preferred_locale
|
|
2261
4176
|
# 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
4177
|
attr_reader :reference
|
|
4178
|
+
# 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.
|
|
4179
|
+
attr_reader :reference_id
|
|
2263
4180
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2264
4181
|
#
|
|
2265
4182
|
# 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 +4185,19 @@ module Stripe
|
|
|
2268
4185
|
#
|
|
2269
4186
|
# 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
4187
|
attr_reader :setup_future_usage
|
|
4188
|
+
# 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.
|
|
4189
|
+
attr_reader :subsellers
|
|
4190
|
+
|
|
4191
|
+
def self.inner_class_types
|
|
4192
|
+
@inner_class_types = { line_items: LineItem }
|
|
4193
|
+
end
|
|
4194
|
+
|
|
4195
|
+
def self.field_remappings
|
|
4196
|
+
@field_remappings = {}
|
|
4197
|
+
end
|
|
4198
|
+
end
|
|
2271
4199
|
|
|
4200
|
+
class Paypay < ::Stripe::StripeObject
|
|
2272
4201
|
def self.inner_class_types
|
|
2273
4202
|
@inner_class_types = {}
|
|
2274
4203
|
end
|
|
@@ -2393,6 +4322,35 @@ module Stripe
|
|
|
2393
4322
|
end
|
|
2394
4323
|
end
|
|
2395
4324
|
|
|
4325
|
+
class Qris < ::Stripe::StripeObject
|
|
4326
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4327
|
+
#
|
|
4328
|
+
# 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.
|
|
4329
|
+
#
|
|
4330
|
+
# 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.
|
|
4331
|
+
#
|
|
4332
|
+
# 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).
|
|
4333
|
+
attr_reader :setup_future_usage
|
|
4334
|
+
|
|
4335
|
+
def self.inner_class_types
|
|
4336
|
+
@inner_class_types = {}
|
|
4337
|
+
end
|
|
4338
|
+
|
|
4339
|
+
def self.field_remappings
|
|
4340
|
+
@field_remappings = {}
|
|
4341
|
+
end
|
|
4342
|
+
end
|
|
4343
|
+
|
|
4344
|
+
class Rechnung < ::Stripe::StripeObject
|
|
4345
|
+
def self.inner_class_types
|
|
4346
|
+
@inner_class_types = {}
|
|
4347
|
+
end
|
|
4348
|
+
|
|
4349
|
+
def self.field_remappings
|
|
4350
|
+
@field_remappings = {}
|
|
4351
|
+
end
|
|
4352
|
+
end
|
|
4353
|
+
|
|
2396
4354
|
class RevolutPay < ::Stripe::StripeObject
|
|
2397
4355
|
# Controls when the funds will be captured from the customer's account.
|
|
2398
4356
|
attr_reader :capture_method
|
|
@@ -2488,6 +4446,25 @@ module Stripe
|
|
|
2488
4446
|
end
|
|
2489
4447
|
end
|
|
2490
4448
|
|
|
4449
|
+
class Shopeepay < ::Stripe::StripeObject
|
|
4450
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4451
|
+
#
|
|
4452
|
+
# 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.
|
|
4453
|
+
#
|
|
4454
|
+
# 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.
|
|
4455
|
+
#
|
|
4456
|
+
# 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).
|
|
4457
|
+
attr_reader :setup_future_usage
|
|
4458
|
+
|
|
4459
|
+
def self.inner_class_types
|
|
4460
|
+
@inner_class_types = {}
|
|
4461
|
+
end
|
|
4462
|
+
|
|
4463
|
+
def self.field_remappings
|
|
4464
|
+
@field_remappings = {}
|
|
4465
|
+
end
|
|
4466
|
+
end
|
|
4467
|
+
|
|
2491
4468
|
class Sofort < ::Stripe::StripeObject
|
|
2492
4469
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2493
4470
|
attr_reader :preferred_language
|
|
@@ -2509,6 +4486,39 @@ module Stripe
|
|
|
2509
4486
|
end
|
|
2510
4487
|
end
|
|
2511
4488
|
|
|
4489
|
+
class StripeBalance < ::Stripe::StripeObject
|
|
4490
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
4491
|
+
# The ID of the Stripe Balance Debit Agreement used for this mandate.
|
|
4492
|
+
attr_reader :stripe_balance_debit_agreement
|
|
4493
|
+
|
|
4494
|
+
def self.inner_class_types
|
|
4495
|
+
@inner_class_types = {}
|
|
4496
|
+
end
|
|
4497
|
+
|
|
4498
|
+
def self.field_remappings
|
|
4499
|
+
@field_remappings = {}
|
|
4500
|
+
end
|
|
4501
|
+
end
|
|
4502
|
+
# Attribute for field mandate_options
|
|
4503
|
+
attr_reader :mandate_options
|
|
4504
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4505
|
+
#
|
|
4506
|
+
# 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.
|
|
4507
|
+
#
|
|
4508
|
+
# 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.
|
|
4509
|
+
#
|
|
4510
|
+
# 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).
|
|
4511
|
+
attr_reader :setup_future_usage
|
|
4512
|
+
|
|
4513
|
+
def self.inner_class_types
|
|
4514
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
|
4515
|
+
end
|
|
4516
|
+
|
|
4517
|
+
def self.field_remappings
|
|
4518
|
+
@field_remappings = {}
|
|
4519
|
+
end
|
|
4520
|
+
end
|
|
4521
|
+
|
|
2512
4522
|
class Swish < ::Stripe::StripeObject
|
|
2513
4523
|
# A reference for this payment to be displayed in the Swish app.
|
|
2514
4524
|
attr_reader :reference
|
|
@@ -2573,6 +4583,21 @@ module Stripe
|
|
|
2573
4583
|
class Filters < ::Stripe::StripeObject
|
|
2574
4584
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2575
4585
|
attr_reader :account_subcategories
|
|
4586
|
+
# The institution to use to filter for possible accounts to link.
|
|
4587
|
+
attr_reader :institution
|
|
4588
|
+
|
|
4589
|
+
def self.inner_class_types
|
|
4590
|
+
@inner_class_types = {}
|
|
4591
|
+
end
|
|
4592
|
+
|
|
4593
|
+
def self.field_remappings
|
|
4594
|
+
@field_remappings = {}
|
|
4595
|
+
end
|
|
4596
|
+
end
|
|
4597
|
+
|
|
4598
|
+
class ManualEntry < ::Stripe::StripeObject
|
|
4599
|
+
# Settings for configuring manual entry of account details.
|
|
4600
|
+
attr_reader :mode
|
|
2576
4601
|
|
|
2577
4602
|
def self.inner_class_types
|
|
2578
4603
|
@inner_class_types = {}
|
|
@@ -2584,6 +4609,8 @@ module Stripe
|
|
|
2584
4609
|
end
|
|
2585
4610
|
# Attribute for field filters
|
|
2586
4611
|
attr_reader :filters
|
|
4612
|
+
# Attribute for field manual_entry
|
|
4613
|
+
attr_reader :manual_entry
|
|
2587
4614
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
2588
4615
|
attr_reader :permissions
|
|
2589
4616
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -2592,7 +4619,7 @@ module Stripe
|
|
|
2592
4619
|
attr_reader :return_url
|
|
2593
4620
|
|
|
2594
4621
|
def self.inner_class_types
|
|
2595
|
-
@inner_class_types = { filters: Filters }
|
|
4622
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
|
2596
4623
|
end
|
|
2597
4624
|
|
|
2598
4625
|
def self.field_remappings
|
|
@@ -2724,10 +4751,16 @@ module Stripe
|
|
|
2724
4751
|
attr_reader :eps
|
|
2725
4752
|
# Attribute for field fpx
|
|
2726
4753
|
attr_reader :fpx
|
|
4754
|
+
# Attribute for field gift_card
|
|
4755
|
+
attr_reader :gift_card
|
|
2727
4756
|
# Attribute for field giropay
|
|
2728
4757
|
attr_reader :giropay
|
|
4758
|
+
# Attribute for field gopay
|
|
4759
|
+
attr_reader :gopay
|
|
2729
4760
|
# Attribute for field grabpay
|
|
2730
4761
|
attr_reader :grabpay
|
|
4762
|
+
# Attribute for field id_bank_transfer
|
|
4763
|
+
attr_reader :id_bank_transfer
|
|
2731
4764
|
# Attribute for field ideal
|
|
2732
4765
|
attr_reader :ideal
|
|
2733
4766
|
# Attribute for field interac_present
|
|
@@ -2764,12 +4797,18 @@ module Stripe
|
|
|
2764
4797
|
attr_reader :paynow
|
|
2765
4798
|
# Attribute for field paypal
|
|
2766
4799
|
attr_reader :paypal
|
|
4800
|
+
# Attribute for field paypay
|
|
4801
|
+
attr_reader :paypay
|
|
2767
4802
|
# Attribute for field payto
|
|
2768
4803
|
attr_reader :payto
|
|
2769
4804
|
# Attribute for field pix
|
|
2770
4805
|
attr_reader :pix
|
|
2771
4806
|
# Attribute for field promptpay
|
|
2772
4807
|
attr_reader :promptpay
|
|
4808
|
+
# Attribute for field qris
|
|
4809
|
+
attr_reader :qris
|
|
4810
|
+
# Attribute for field rechnung
|
|
4811
|
+
attr_reader :rechnung
|
|
2773
4812
|
# Attribute for field revolut_pay
|
|
2774
4813
|
attr_reader :revolut_pay
|
|
2775
4814
|
# Attribute for field samsung_pay
|
|
@@ -2780,8 +4819,12 @@ module Stripe
|
|
|
2780
4819
|
attr_reader :scalapay
|
|
2781
4820
|
# Attribute for field sepa_debit
|
|
2782
4821
|
attr_reader :sepa_debit
|
|
4822
|
+
# Attribute for field shopeepay
|
|
4823
|
+
attr_reader :shopeepay
|
|
2783
4824
|
# Attribute for field sofort
|
|
2784
4825
|
attr_reader :sofort
|
|
4826
|
+
# Attribute for field stripe_balance
|
|
4827
|
+
attr_reader :stripe_balance
|
|
2785
4828
|
# Attribute for field swish
|
|
2786
4829
|
attr_reader :swish
|
|
2787
4830
|
# Attribute for field twint
|
|
@@ -2817,8 +4860,11 @@ module Stripe
|
|
|
2817
4860
|
customer_balance: CustomerBalance,
|
|
2818
4861
|
eps: Eps,
|
|
2819
4862
|
fpx: Fpx,
|
|
4863
|
+
gift_card: GiftCard,
|
|
2820
4864
|
giropay: Giropay,
|
|
4865
|
+
gopay: Gopay,
|
|
2821
4866
|
grabpay: Grabpay,
|
|
4867
|
+
id_bank_transfer: IdBankTransfer,
|
|
2822
4868
|
ideal: Ideal,
|
|
2823
4869
|
interac_present: InteracPresent,
|
|
2824
4870
|
kakao_pay: KakaoPay,
|
|
@@ -2837,15 +4883,20 @@ module Stripe
|
|
|
2837
4883
|
payco: Payco,
|
|
2838
4884
|
paynow: Paynow,
|
|
2839
4885
|
paypal: Paypal,
|
|
4886
|
+
paypay: Paypay,
|
|
2840
4887
|
payto: Payto,
|
|
2841
4888
|
pix: Pix,
|
|
2842
4889
|
promptpay: Promptpay,
|
|
4890
|
+
qris: Qris,
|
|
4891
|
+
rechnung: Rechnung,
|
|
2843
4892
|
revolut_pay: RevolutPay,
|
|
2844
4893
|
samsung_pay: SamsungPay,
|
|
2845
4894
|
satispay: Satispay,
|
|
2846
4895
|
scalapay: Scalapay,
|
|
2847
4896
|
sepa_debit: SepaDebit,
|
|
4897
|
+
shopeepay: Shopeepay,
|
|
2848
4898
|
sofort: Sofort,
|
|
4899
|
+
stripe_balance: StripeBalance,
|
|
2849
4900
|
swish: Swish,
|
|
2850
4901
|
twint: Twint,
|
|
2851
4902
|
upi: Upi,
|
|
@@ -2860,6 +4911,19 @@ module Stripe
|
|
|
2860
4911
|
end
|
|
2861
4912
|
end
|
|
2862
4913
|
|
|
4914
|
+
class PaymentsOrchestration < ::Stripe::StripeObject
|
|
4915
|
+
# Whether this feature is enabled.
|
|
4916
|
+
attr_reader :enabled
|
|
4917
|
+
|
|
4918
|
+
def self.inner_class_types
|
|
4919
|
+
@inner_class_types = {}
|
|
4920
|
+
end
|
|
4921
|
+
|
|
4922
|
+
def self.field_remappings
|
|
4923
|
+
@field_remappings = {}
|
|
4924
|
+
end
|
|
4925
|
+
end
|
|
4926
|
+
|
|
2863
4927
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
2864
4928
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
|
2865
4929
|
attr_reader :presentment_amount
|
|
@@ -2995,6 +5059,14 @@ module Stripe
|
|
|
2995
5059
|
@field_remappings = {}
|
|
2996
5060
|
end
|
|
2997
5061
|
end
|
|
5062
|
+
# Attribute for field advanced_feature_details
|
|
5063
|
+
attr_reader :advanced_feature_details
|
|
5064
|
+
# Details about the agent that initiated the creation of this PaymentIntent.
|
|
5065
|
+
attr_reader :agent_details
|
|
5066
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
5067
|
+
attr_reader :allocated_funds
|
|
5068
|
+
# 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`.
|
|
5069
|
+
attr_reader :allowed_payment_method_types
|
|
2998
5070
|
# 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).
|
|
2999
5071
|
attr_reader :amount
|
|
3000
5072
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -3007,6 +5079,8 @@ module Stripe
|
|
|
3007
5079
|
attr_reader :application
|
|
3008
5080
|
# 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).
|
|
3009
5081
|
attr_reader :application_fee_amount
|
|
5082
|
+
# Attribute for field async_workflows
|
|
5083
|
+
attr_reader :async_workflows
|
|
3010
5084
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
3011
5085
|
attr_reader :automatic_payment_methods
|
|
3012
5086
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -3043,6 +5117,8 @@ module Stripe
|
|
|
3043
5117
|
attr_reader :description
|
|
3044
5118
|
# The list of payment method types to exclude from use with this payment.
|
|
3045
5119
|
attr_reader :excluded_payment_method_types
|
|
5120
|
+
# The FX Quote used for the PaymentIntent.
|
|
5121
|
+
attr_reader :fx_quote
|
|
3046
5122
|
# Attribute for field hooks
|
|
3047
5123
|
attr_reader :hooks
|
|
3048
5124
|
# Unique identifier for the object.
|
|
@@ -3074,6 +5150,8 @@ module Stripe
|
|
|
3074
5150
|
attr_reader :payment_method_options
|
|
3075
5151
|
# 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).
|
|
3076
5152
|
attr_reader :payment_method_types
|
|
5153
|
+
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
5154
|
+
attr_reader :payments_orchestration
|
|
3077
5155
|
# Attribute for field presentment_details
|
|
3078
5156
|
attr_reader :presentment_details
|
|
3079
5157
|
# If present, this property tells you about the processing state of the payment.
|
|
@@ -3082,6 +5160,8 @@ module Stripe
|
|
|
3082
5160
|
attr_reader :receipt_email
|
|
3083
5161
|
# ID of the review associated with this PaymentIntent, if any.
|
|
3084
5162
|
attr_reader :review
|
|
5163
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
5164
|
+
attr_reader :secret_key_confirmation
|
|
3085
5165
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3086
5166
|
#
|
|
3087
5167
|
# 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.
|
|
@@ -3275,6 +5355,56 @@ module Stripe
|
|
|
3275
5355
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3276
5356
|
end
|
|
3277
5357
|
|
|
5358
|
+
# Perform a decremental authorization on an eligible
|
|
5359
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
5360
|
+
# PaymentIntent's status must be requires_capture and
|
|
5361
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
5362
|
+
# must be available.
|
|
5363
|
+
#
|
|
5364
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
5365
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
5366
|
+
#
|
|
5367
|
+
# After decrement, the PaymentIntent object
|
|
5368
|
+
# returns with the updated
|
|
5369
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
5370
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
5371
|
+
#
|
|
5372
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
5373
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
5374
|
+
def decrement_authorization(params = {}, opts = {})
|
|
5375
|
+
request_stripe_object(
|
|
5376
|
+
method: :post,
|
|
5377
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
5378
|
+
params: params,
|
|
5379
|
+
opts: opts
|
|
5380
|
+
)
|
|
5381
|
+
end
|
|
5382
|
+
|
|
5383
|
+
# Perform a decremental authorization on an eligible
|
|
5384
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
5385
|
+
# PaymentIntent's status must be requires_capture and
|
|
5386
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
5387
|
+
# must be available.
|
|
5388
|
+
#
|
|
5389
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
5390
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
5391
|
+
#
|
|
5392
|
+
# After decrement, the PaymentIntent object
|
|
5393
|
+
# returns with the updated
|
|
5394
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
5395
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
5396
|
+
#
|
|
5397
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
5398
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
5399
|
+
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
5400
|
+
request_stripe_object(
|
|
5401
|
+
method: :post,
|
|
5402
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
5403
|
+
params: params,
|
|
5404
|
+
opts: opts
|
|
5405
|
+
)
|
|
5406
|
+
end
|
|
5407
|
+
|
|
3278
5408
|
# Perform an incremental authorization on an eligible
|
|
3279
5409
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3280
5410
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -3350,6 +5480,40 @@ module Stripe
|
|
|
3350
5480
|
request_stripe_object(method: :get, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3351
5481
|
end
|
|
3352
5482
|
|
|
5483
|
+
# Reauthorize a PaymentIntent to obtain a new valid authorization after the initial authorization has expired.
|
|
5484
|
+
#
|
|
5485
|
+
# When a PaymentIntent's authorization expires and the capture window elapses, the PaymentIntent transitions to
|
|
5486
|
+
# requires_reauthorization status with amount_capturable set to 0. This endpoint
|
|
5487
|
+
# brings the PaymentIntent back to requires_capture status, allowing you to capture payment.
|
|
5488
|
+
#
|
|
5489
|
+
# This is useful for retail and ecommerce scenarios with delayed shipments where
|
|
5490
|
+
# authorization validity periods (typically 7 days) expire before the merchant is ready to capture payment.
|
|
5491
|
+
def reauthorize(params = {}, opts = {})
|
|
5492
|
+
request_stripe_object(
|
|
5493
|
+
method: :post,
|
|
5494
|
+
path: format("/v1/payment_intents/%<intent>s/reauthorize", { intent: CGI.escape(self["id"]) }),
|
|
5495
|
+
params: params,
|
|
5496
|
+
opts: opts
|
|
5497
|
+
)
|
|
5498
|
+
end
|
|
5499
|
+
|
|
5500
|
+
# Reauthorize a PaymentIntent to obtain a new valid authorization after the initial authorization has expired.
|
|
5501
|
+
#
|
|
5502
|
+
# When a PaymentIntent's authorization expires and the capture window elapses, the PaymentIntent transitions to
|
|
5503
|
+
# requires_reauthorization status with amount_capturable set to 0. This endpoint
|
|
5504
|
+
# brings the PaymentIntent back to requires_capture status, allowing you to capture payment.
|
|
5505
|
+
#
|
|
5506
|
+
# This is useful for retail and ecommerce scenarios with delayed shipments where
|
|
5507
|
+
# authorization validity periods (typically 7 days) expire before the merchant is ready to capture payment.
|
|
5508
|
+
def self.reauthorize(intent, params = {}, opts = {})
|
|
5509
|
+
request_stripe_object(
|
|
5510
|
+
method: :post,
|
|
5511
|
+
path: format("/v1/payment_intents/%<intent>s/reauthorize", { intent: CGI.escape(intent) }),
|
|
5512
|
+
params: params,
|
|
5513
|
+
opts: opts
|
|
5514
|
+
)
|
|
5515
|
+
end
|
|
5516
|
+
|
|
3353
5517
|
def self.search(params = {}, opts = {})
|
|
3354
5518
|
request_stripe_object(
|
|
3355
5519
|
method: :get,
|
|
@@ -3363,6 +5527,26 @@ module Stripe
|
|
|
3363
5527
|
search(params, opts).auto_paging_each(&blk)
|
|
3364
5528
|
end
|
|
3365
5529
|
|
|
5530
|
+
# Trigger an external action on a PaymentIntent.
|
|
5531
|
+
def trigger_action(params = {}, opts = {})
|
|
5532
|
+
request_stripe_object(
|
|
5533
|
+
method: :post,
|
|
5534
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
5535
|
+
params: params,
|
|
5536
|
+
opts: opts
|
|
5537
|
+
)
|
|
5538
|
+
end
|
|
5539
|
+
|
|
5540
|
+
# Trigger an external action on a PaymentIntent.
|
|
5541
|
+
def self.trigger_action(intent, params = {}, opts = {})
|
|
5542
|
+
request_stripe_object(
|
|
5543
|
+
method: :post,
|
|
5544
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
5545
|
+
params: params,
|
|
5546
|
+
opts: opts
|
|
5547
|
+
)
|
|
5548
|
+
end
|
|
5549
|
+
|
|
3366
5550
|
# Updates properties on a PaymentIntent object without confirming.
|
|
3367
5551
|
#
|
|
3368
5552
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -3399,9 +5583,44 @@ module Stripe
|
|
|
3399
5583
|
)
|
|
3400
5584
|
end
|
|
3401
5585
|
|
|
5586
|
+
def test_helpers
|
|
5587
|
+
TestHelpers.new(self)
|
|
5588
|
+
end
|
|
5589
|
+
|
|
5590
|
+
class TestHelpers < APIResourceTestHelpers
|
|
5591
|
+
RESOURCE_CLASS = PaymentIntent
|
|
5592
|
+
def self.resource_class
|
|
5593
|
+
"PaymentIntent"
|
|
5594
|
+
end
|
|
5595
|
+
|
|
5596
|
+
# 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).
|
|
5597
|
+
def self.simulate_crypto_deposit(intent, params = {}, opts = {})
|
|
5598
|
+
request_stripe_object(
|
|
5599
|
+
method: :post,
|
|
5600
|
+
path: format("/v1/test_helpers/payment_intents/%<intent>s/simulate_crypto_deposit", { intent: CGI.escape(intent) }),
|
|
5601
|
+
params: params,
|
|
5602
|
+
opts: opts
|
|
5603
|
+
)
|
|
5604
|
+
end
|
|
5605
|
+
|
|
5606
|
+
# 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).
|
|
5607
|
+
def simulate_crypto_deposit(params = {}, opts = {})
|
|
5608
|
+
@resource.request_stripe_object(
|
|
5609
|
+
method: :post,
|
|
5610
|
+
path: format("/v1/test_helpers/payment_intents/%<intent>s/simulate_crypto_deposit", { intent: CGI.escape(@resource["id"]) }),
|
|
5611
|
+
params: params,
|
|
5612
|
+
opts: opts
|
|
5613
|
+
)
|
|
5614
|
+
end
|
|
5615
|
+
end
|
|
5616
|
+
|
|
3402
5617
|
def self.inner_class_types
|
|
3403
5618
|
@inner_class_types = {
|
|
5619
|
+
advanced_feature_details: AdvancedFeatureDetails,
|
|
5620
|
+
agent_details: AgentDetails,
|
|
5621
|
+
allocated_funds: AllocatedFunds,
|
|
3404
5622
|
amount_details: AmountDetails,
|
|
5623
|
+
async_workflows: AsyncWorkflows,
|
|
3405
5624
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3406
5625
|
hooks: Hooks,
|
|
3407
5626
|
last_payment_error: LastPaymentError,
|
|
@@ -3410,6 +5629,7 @@ module Stripe
|
|
|
3410
5629
|
payment_details: PaymentDetails,
|
|
3411
5630
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
3412
5631
|
payment_method_options: PaymentMethodOptions,
|
|
5632
|
+
payments_orchestration: PaymentsOrchestration,
|
|
3413
5633
|
presentment_details: PresentmentDetails,
|
|
3414
5634
|
processing: Processing,
|
|
3415
5635
|
shipping: Shipping,
|