stripe 19.3.1 → 19.4.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 +65 -2
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/error_object.rb +19 -43
- data/lib/stripe/errors.rb +90 -0
- data/lib/stripe/event_types.rb +1328 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v1_account_application_authorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_application_deauthorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_created_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_deleted_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_updated_event.rb +20 -0
- data/lib/stripe/events/v1_account_signals_including_delinquency_created_event.rb +68 -0
- data/lib/stripe/events/v1_account_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_balance_available_event.rb +44 -0
- data/lib/stripe/events/v1_billing_alert_triggered_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_session_created_event.rb +20 -0
- data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
- data/lib/stripe/events/v1_cash_balance_funds_available_event.rb +44 -0
- data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
- data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
- data/lib/stripe/events/v1_customer_cash_balance_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v1_entitlements_active_entitlement_summary_updated_event.rb +20 -0
- data/lib/stripe/events/v1_file_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payout_created_event.rb +44 -0
- data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
- data/lib/stripe/events/v1_person_created_event.rb +44 -0
- data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_person_updated_event.rb +44 -0
- data/lib/stripe/events/v1_plan_created_event.rb +44 -0
- data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v1_price_created_event.rb +44 -0
- data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_price_updated_event.rb +44 -0
- data/lib/stripe/events/v1_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_product_updated_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
- data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
- data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_quote_created_event.rb +44 -0
- data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
- data/lib/stripe/events/v1_refund_created_event.rb +44 -0
- data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
- data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_review_closed_event.rb +44 -0
- data/lib/stripe/events/v1_review_opened_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
- data/lib/stripe/events/v1_source_failed_event.rb +44 -0
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_settings_updated_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
- data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_topup_created_event.rb +44 -0
- data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_custom_pricing_unit_overage_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_signals_fraudulent_website_ready_event.rb +48 -0
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +117 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +96 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +98 -0
- data/lib/stripe/events/v2_core_health_elements_error_firing_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_elements_error_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_firing_event.rb +75 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_resolved_event.rb +77 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +111 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +70 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +72 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_extension_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +40 -0
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_approved_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_canceled_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_denied_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_removed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_requested_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_updated_event.rb +38 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_debit_dispute_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_debit_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_debit_dispute_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_restated_event.rb +71 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_under_review_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +63 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_paused_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_resumed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +88 -0
- data/lib/stripe/events/v2_signals_account_signal_merchant_delinquency_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +133 -0
- data/lib/stripe/params/account_create_params.rb +462 -3
- data/lib/stripe/params/account_link_create_params.rb +4 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_person_create_params.rb +60 -0
- data/lib/stripe/params/account_person_update_params.rb +60 -0
- data/lib/stripe/params/account_session_create_params.rb +343 -1
- data/lib/stripe/params/account_signals_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_update_params.rb +424 -2
- data/lib/stripe/params/balance_settings_update_params.rb +9 -1
- data/lib/stripe/params/balance_transaction_list_params.rb +1 -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 +14 -2
- data/lib/stripe/params/billing/credit_grant_create_params.rb +49 -3
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +20 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1743 -0
- data/lib/stripe/params/charge_update_params.rb +1743 -0
- data/lib/stripe/params/checkout/session_approve_params.rb +52 -0
- data/lib/stripe/params/checkout/session_create_params.rb +562 -51
- data/lib/stripe/params/checkout/session_update_params.rb +176 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +97 -1
- data/lib/stripe/params/coupon_create_params.rb +47 -1
- data/lib/stripe/params/credit_note_create_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- data/lib/stripe/params/delegated_checkout/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +168 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +230 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_list_orders_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_order_list_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +216 -0
- data/lib/stripe/params/dispute_update_params.rb +15 -18
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +64 -2
- data/lib/stripe/params/fr_meal_vouchers_onboarding_create_params.rb +25 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +22 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +13 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +16 -0
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/gift_card_activate_params.rb +30 -0
- data/lib/stripe/params/gift_card_cashout_params.rb +16 -0
- data/lib/stripe/params/gift_card_check_balance_params.rb +16 -0
- data/lib/stripe/params/gift_card_create_params.rb +28 -0
- data/lib/stripe/params/gift_card_operation_retrieve_params.rb +13 -0
- data/lib/stripe/params/gift_card_reload_params.rb +22 -0
- data/lib/stripe/params/gift_card_retrieve_params.rb +13 -0
- data/lib/stripe/params/gift_card_void_operation_params.rb +19 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +11 -1
- data/lib/stripe/params/invoice_add_lines_params.rb +49 -2
- 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 +1315 -10
- 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 +49 -2
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +49 -2
- data/lib/stripe/params/invoice_update_params.rb +98 -3
- data/lib/stripe/params/issuing/authorization_capture_params.rb +13 -0
- data/lib/stripe/params/issuing/authorization_create_params.rb +8 -0
- data/lib/stripe/params/issuing/card_list_params.rb +34 -1
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_offer_acceptance_params.rb +15 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_close_params.rb +18 -0
- data/lib/stripe/params/issuing/dispute_provisional_credit_params.rb +21 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_update_params.rb +22 -1
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_create_params.rb +21 -0
- data/lib/stripe/params/issuing/program_list_params.rb +24 -0
- data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_update_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +8 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/orchestration/payment_attempt_retrieve_params.rb +15 -0
- data/lib/stripe/params/order_create_params.rb +2117 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2121 -0
- data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +19 -0
- data/lib/stripe/params/payment_attempt_record_report_authorized_params.rb +41 -0
- data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +31 -0
- data/lib/stripe/params/payment_attempt_record_report_early_fraud_warning_params.rb +22 -0
- data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +54 -0
- data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +88 -0
- data/lib/stripe/params/payment_attempt_record_report_informational_params.rb +93 -0
- data/lib/stripe/params/payment_attempt_record_report_refund_params.rb +99 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1773 -3
- data/lib/stripe/params/payment_intent_confirm_params.rb +3616 -151
- data/lib/stripe/params/payment_intent_create_params.rb +3635 -154
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +328 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +70 -2
- data/lib/stripe/params/payment_intent_reauthorize_params.rb +19 -0
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_simulate_crypto_deposit_params.rb +31 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_crypto_refund_address_params.rb +19 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3643 -147
- data/lib/stripe/params/payment_link_create_params.rb +35 -1
- data/lib/stripe/params/payment_location_capability_list_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_retrieve_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_update_params.rb +19 -0
- data/lib/stripe/params/payment_location_create_params.rb +54 -0
- data/lib/stripe/params/payment_location_delete_params.rb +6 -0
- data/lib/stripe/params/payment_location_list_params.rb +22 -0
- data/lib/stripe/params/payment_location_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_location_update_params.rb +63 -0
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +93 -1
- data/lib/stripe/params/payment_method_update_params.rb +16 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +13 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +36 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +70 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +87 -3
- data/lib/stripe/params/payment_record_report_payment_params.rb +87 -3
- data/lib/stripe/params/payment_record_report_refund_params.rb +20 -0
- data/lib/stripe/params/payment_record_search_params.rb +22 -0
- data/lib/stripe/params/plan_create_params.rb +15 -0
- data/lib/stripe/params/price_create_params.rb +19 -0
- data/lib/stripe/params/price_update_params.rb +23 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_create_params.rb +47 -0
- data/lib/stripe/params/product_update_params.rb +47 -0
- data/lib/stripe/params/quote_create_params.rb +1217 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +1225 -4
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +115 -0
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +72 -0
- data/lib/stripe/params/radar/customer_evaluation_create_params.rb +86 -0
- data/lib/stripe/params/radar/customer_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/customer_evaluation_update_params.rb +21 -0
- data/lib/stripe/params/radar/issuing_authorization_evaluation_create_params.rb +197 -0
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +30 -1
- data/lib/stripe/params/refund_create_params.rb +4 -0
- data/lib/stripe/params/refund_list_params.rb +8 -0
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +183 -4
- data/lib/stripe/params/setup_intent_create_params.rb +183 -4
- data/lib/stripe/params/setup_intent_update_params.rb +184 -5
- 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 +326 -35
- 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 +310 -35
- data/lib/stripe/params/tax/calculation_create_params.rb +46 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +117 -0
- data/lib/stripe/params/tax_fund_list_params.rb +42 -0
- data/lib/stripe/params/tax_fund_retrieve_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +97 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +13 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +8 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_close_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_provisional_credit_params.rb +23 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +21 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +8 -0
- data/lib/stripe/params/test_helpers/payment_intent_simulate_crypto_deposit_params.rb +33 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +52 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/token_create_params.rb +134 -0
- data/lib/stripe/params/topup_create_params.rb +0 -24
- data/lib/stripe/params/transfer_create_params.rb +8 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/contract_activate_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_cancel_params.rb +39 -0
- data/lib/stripe/params/v2/billing/contract_create_params.rb +653 -0
- data/lib/stripe/params/v2/billing/contract_delete_params.rb +10 -0
- data/lib/stripe/params/v2/billing/contract_list_params.rb +23 -0
- data/lib/stripe/params/v2/billing/contract_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_update_params.rb +1233 -0
- data/lib/stripe/params/v2/billing/contracts/pricing_lines/quantity_change_list_contract_pricing_line_quantity_changes_params.rb +21 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +899 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +121 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +102 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +54 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_remove_discounts_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_modify_rates_params.rb +177 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +109 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +315 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +4024 -56
- data/lib/stripe/params/v2/core/account_evaluation_create_params.rb +73 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +81 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +254 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +4006 -59
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_execute_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +17 -0
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_submit_params.rb +17 -0
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +53 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +59 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +28 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/connection_session_create_params.rb +23 -0
- data/lib/stripe/params/v2/core/connection_session_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
- data/lib/stripe/params/v2/core/fee_batch_list_params.rb +43 -0
- data/lib/stripe/params/v2/core/fee_batch_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/fee_entry_list_params.rb +51 -0
- data/lib/stripe/params/v2/core/fee_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/health/alert_list_params.rb +53 -0
- data/lib/stripe/params/v2/core/health/alert_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/health/alerts/history_list_params.rb +21 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/data/analytics/metric_query_create_params.rb +68 -0
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +19 -0
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_create_params.rb +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 +183 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +70 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +110 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +88 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +104 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_create_params.rb +138 -0
- data/lib/stripe/params/v2/money_management/payout_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/payout_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_update_params.rb +138 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_debit_params.rb +25 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +178 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +362 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_pause_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_resume_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +35 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_list_params.rb +47 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +20 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +28 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_list_params.rb +22 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +35 -0
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +124 -0
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +124 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +978 -0
- data/lib/stripe/resources/account.rb +271 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +414 -0
- data/lib/stripe/resources/account_signals.rb +104 -0
- data/lib/stripe/resources/application_fee.rb +24 -1
- data/lib/stripe/resources/balance.rb +166 -0
- data/lib/stripe/resources/balance_settings.rb +4 -0
- data/lib/stripe/resources/balance_transaction.rb +3 -3
- 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 +378 -8
- data/lib/stripe/resources/checkout/session.rb +563 -53
- data/lib/stripe/resources/confirmation_token.rb +227 -10
- data/lib/stripe/resources/coupon.rb +60 -1
- data/lib/stripe/resources/credit_note.rb +0 -2
- 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/order.rb +142 -0
- data/lib/stripe/resources/delegated_checkout/order_event.rb +118 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +895 -0
- data/lib/stripe/resources/discount.rb +20 -1
- data/lib/stripe/resources/dispute.rb +24 -32
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +33 -8
- 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/gift_card.rb +146 -0
- data/lib/stripe/resources/gift_card_operation.rb +293 -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 +428 -0
- data/lib/stripe/resources/issuing/card.rb +4 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +285 -0
- data/lib/stripe/resources/issuing/dispute.rb +333 -1
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/program.rb +69 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +8 -0
- data/lib/stripe/resources/issuing/transaction.rb +126 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +30 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/orchestration/payment_attempt.rb +31 -0
- data/lib/stripe/resources/order.rb +929 -0
- data/lib/stripe/resources/payment_attempt_record.rb +491 -5
- data/lib/stripe/resources/payment_intent.rb +2418 -29
- 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 +255 -10
- 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 +346 -5
- data/lib/stripe/resources/person.rb +62 -0
- data/lib/stripe/resources/price.rb +22 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +78 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +106 -0
- data/lib/stripe/resources/profile.rb +80 -0
- data/lib/stripe/resources/quote.rb +806 -2
- data/lib/stripe/resources/quote_line.rb +731 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1261 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +911 -0
- data/lib/stripe/resources/radar/account_evaluation.rb +180 -0
- data/lib/stripe/resources/radar/customer_evaluation.rb +155 -0
- data/lib/stripe/resources/radar/issuing_authorization_evaluation.rb +245 -0
- data/lib/stripe/resources/radar/payment_evaluation.rb +23 -1
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +8 -18
- 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 -16
- data/lib/stripe/resources/setup_intent.rb +110 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +1833 -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 +252 -23
- data/lib/stripe/resources/subscription_item.rb +41 -1
- data/lib/stripe/resources/subscription_schedule.rb +373 -3
- data/lib/stripe/resources/tax/calculation_line_item.rb +43 -1
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/location.rb +72 -0
- data/lib/stripe/resources/tax/registration.rb +144 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/tax_fund.rb +179 -0
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +773 -0
- data/lib/stripe/resources/v2/billing/cadence_spend_modifier.rb +103 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/contract.rb +820 -0
- data/lib/stripe/resources/v2/billing/contract_pricing_line_quantity_change.rb +59 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +354 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +711 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +140 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +101 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/one_time_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +97 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +719 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +41 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +71 -0
- data/lib/stripe/resources/v2/billing/rate_card_custom_pricing_unit_overage_rate.rb +48 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +131 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +97 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +37 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +306 -0
- data/lib/stripe/resources/v2/core/account.rb +19495 -1352
- data/lib/stripe/resources/v2/core/account_evaluation.rb +106 -0
- data/lib/stripe/resources/v2/core/account_link.rb +72 -0
- data/lib/stripe/resources/v2/core/approval_request.rb +337 -0
- data/lib/stripe/resources/v2/core/batch_job.rb +565 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +146 -0
- data/lib/stripe/resources/v2/core/connection_session.rb +58 -0
- data/lib/stripe/resources/v2/core/event.rb +66 -1
- data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
- data/lib/stripe/resources/v2/core/fee_batch.rb +225 -0
- data/lib/stripe/resources/v2/core/fee_entry.rb +173 -0
- data/lib/stripe/resources/v2/core/health/alert.rb +572 -0
- data/lib/stripe/resources/v2/core/health/alert_history_entry.rb +542 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
- data/lib/stripe/resources/v2/data/analytics/metric_query_result.rb +106 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +159 -0
- data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
- data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +29 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +31 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +187 -0
- data/lib/stripe/resources/v2/iam/api_key.rb +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/financial_address_debit_simulation.rb +31 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +374 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +146 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +239 -0
- data/lib/stripe/resources/v2/money_management/payout_intent.rb +245 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +169 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +404 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +262 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +179 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +149 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +288 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +77 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +65 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +159 -0
- data/lib/stripe/resources/v2/signals/account_signal.rb +144 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +145 -0
- data/lib/stripe/resources.rb +1770 -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_transaction_service.rb +2 -2
- 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 -2
- data/lib/stripe/services/customer_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +15 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +15 -0
- data/lib/stripe/services/customer_payment_source_service.rb +60 -0
- data/lib/stripe/services/customer_service.rb +59 -0
- data/lib/stripe/services/customer_session_service.rb +14 -0
- data/lib/stripe/services/customer_tax_id_service.rb +30 -0
- data/lib/stripe/services/delegated_checkout/order_service.rb +19 -0
- data/lib/stripe/services/delegated_checkout/requested_session_order_service.rb +19 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +70 -0
- data/lib/stripe/services/delegated_checkout_service.rb +14 -0
- data/lib/stripe/services/dispute_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fr_meal_vouchers_onboarding_service.rb +57 -0
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/gift_card_operation_service.rb +17 -0
- data/lib/stripe/services/gift_card_service.rb +77 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/invoice_item_service.rb +44 -0
- data/lib/stripe/services/invoice_line_item_service.rb +15 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +30 -0
- data/lib/stripe/services/invoice_service.rb +189 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +85 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing/program_service.rb +52 -0
- data/lib/stripe/services/issuing_service.rb +6 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/orchestration/payment_attempt_service.rb +19 -0
- data/lib/stripe/services/orchestration_service.rb +13 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +88 -0
- data/lib/stripe/services/payment_intent_service.rb +66 -0
- data/lib/stripe/services/payment_location_capability_service.rb +39 -0
- data/lib/stripe/services/payment_location_service.rb +61 -0
- data/lib/stripe/services/payment_method_service.rb +26 -0
- data/lib/stripe/services/payment_record_service.rb +14 -0
- data/lib/stripe/services/price_service.rb +29 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/product_feature_service.rb +30 -0
- data/lib/stripe/services/product_service.rb +44 -0
- data/lib/stripe/services/promotion_code_service.rb +29 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar/customer_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar/issuing_authorization_evaluation_service.rb +19 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +14 -0
- data/lib/stripe/services/radar_service.rb +5 -1
- data/lib/stripe/services/refund_service.rb +29 -0
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_item_service.rb +44 -0
- data/lib/stripe/services/subscription_schedule_service.rb +70 -0
- data/lib/stripe/services/subscription_service.rb +112 -1
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax/registration_service.rb +29 -0
- data/lib/stripe/services/tax/settings_service.rb +14 -0
- data/lib/stripe/services/tax/transaction_service.rb +14 -0
- data/lib/stripe/services/tax_fund_service.rb +22 -0
- data/lib/stripe/services/tax_id_service.rb +14 -0
- data/lib/stripe/services/tax_rate_service.rb +29 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers/issuing/dispute_service.rb +65 -0
- data/lib/stripe/services/test_helpers/issuing_service.rb +2 -1
- data/lib/stripe/services/test_helpers/payment_intent_service.rb +19 -0
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +4 -1
- data/lib/stripe/services/v1_services.rb +20 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +73 -0
- data/lib/stripe/services/v2/billing/cadences/spend_modifier_rule_service.rb +34 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/contract_service.rb +102 -0
- data/lib/stripe/services/v2/billing/contracts/pricing_lines/quantity_change_service.rb +30 -0
- data/lib/stripe/services/v2/billing/contracts/pricing_lines_service.rb +20 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +98 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +69 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/one_time_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +79 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/custom_pricing_unit_overage_rate_service.rb +56 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +61 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +47 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_evaluation_service.rb +21 -0
- data/lib/stripe/services/v2/core/approval_request_service.rb +70 -0
- data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +47 -0
- data/lib/stripe/services/v2/core/connection_session_service.rb +32 -0
- data/lib/stripe/services/v2/core/fee_batch_service.rb +32 -0
- data/lib/stripe/services/v2/core/fee_entry_service.rb +32 -0
- data/lib/stripe/services/v2/core/health/alert_service.rb +41 -0
- data/lib/stripe/services/v2/core/health/alerts/history_service.rb +25 -0
- data/lib/stripe/services/v2/core/health_service.rb +17 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +106 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +10 -1
- data/lib/stripe/services/v2/data/analytics/metric_query_service.rb +23 -0
- data/lib/stripe/services/v2/data/analytics_service.rb +17 -0
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data_service.rb +16 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
- data/lib/stripe/services/v2/iam_service.rb +16 -0
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +78 -0
- data/lib/stripe/services/v2/money_management/financial_accounts/statement_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_intent_service.rb +71 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +66 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/test_helpers_service.rb +18 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +38 -0
- data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +87 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +83 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +56 -0
- data/lib/stripe/services/v2/payments_service.rb +17 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/signals/account_signal_service.rb +32 -0
- data/lib/stripe/services/v2/signals_service.rb +15 -0
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +73 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +16 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +12 -1
- data/lib/stripe/services.rb +422 -0
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_event_notification_handler.rb +2550 -0
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +54 -2
- data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +252139 -110910
- metadata +1077 -5
- data/lib/stripe/telemetry_id.rb +0 -65
|
@@ -27,6 +27,131 @@ module Stripe
|
|
|
27
27
|
|
|
28
28
|
nested_resource_class_methods :amount_details_line_item, operations: %i[list]
|
|
29
29
|
|
|
30
|
+
class AdvancedFeatureDetails < ::Stripe::StripeObject
|
|
31
|
+
class DecrementalAuthorization < ::Stripe::StripeObject
|
|
32
|
+
# Indicates whether the feature is supported.
|
|
33
|
+
attr_reader :status
|
|
34
|
+
|
|
35
|
+
def self.inner_class_types
|
|
36
|
+
@inner_class_types = {}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def self.field_remappings
|
|
40
|
+
@field_remappings = {}
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
class ForcedCapture < ::Stripe::StripeObject
|
|
45
|
+
# Timestamp at which the forced capture window expires.
|
|
46
|
+
attr_reader :expires_at
|
|
47
|
+
# Indicates whether forced capture is supported.
|
|
48
|
+
attr_reader :status
|
|
49
|
+
|
|
50
|
+
def self.inner_class_types
|
|
51
|
+
@inner_class_types = {}
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def self.field_remappings
|
|
55
|
+
@field_remappings = {}
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
class IncrementalAuthorization < ::Stripe::StripeObject
|
|
60
|
+
# Indicates whether the feature is supported.
|
|
61
|
+
attr_reader :status
|
|
62
|
+
|
|
63
|
+
def self.inner_class_types
|
|
64
|
+
@inner_class_types = {}
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
def self.field_remappings
|
|
68
|
+
@field_remappings = {}
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
class Multicapture < ::Stripe::StripeObject
|
|
73
|
+
# Indicates whether the feature is supported.
|
|
74
|
+
attr_reader :status
|
|
75
|
+
|
|
76
|
+
def self.inner_class_types
|
|
77
|
+
@inner_class_types = {}
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
def self.field_remappings
|
|
81
|
+
@field_remappings = {}
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class Overcapture < ::Stripe::StripeObject
|
|
86
|
+
# The maximum amount that can be captured.
|
|
87
|
+
attr_reader :maximum_amount_capturable
|
|
88
|
+
# Indicates whether overcapture is supported.
|
|
89
|
+
attr_reader :status
|
|
90
|
+
|
|
91
|
+
def self.inner_class_types
|
|
92
|
+
@inner_class_types = {}
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
def self.field_remappings
|
|
96
|
+
@field_remappings = {}
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
# Timestamp at which the authorization will expire if not captured.
|
|
100
|
+
attr_reader :capture_before
|
|
101
|
+
# Attribute for field decremental_authorization
|
|
102
|
+
attr_reader :decremental_authorization
|
|
103
|
+
# Attribute for field forced_capture
|
|
104
|
+
attr_reader :forced_capture
|
|
105
|
+
# Attribute for field incremental_authorization
|
|
106
|
+
attr_reader :incremental_authorization
|
|
107
|
+
# Attribute for field multicapture
|
|
108
|
+
attr_reader :multicapture
|
|
109
|
+
# Attribute for field overcapture
|
|
110
|
+
attr_reader :overcapture
|
|
111
|
+
|
|
112
|
+
def self.inner_class_types
|
|
113
|
+
@inner_class_types = {
|
|
114
|
+
decremental_authorization: DecrementalAuthorization,
|
|
115
|
+
forced_capture: ForcedCapture,
|
|
116
|
+
incremental_authorization: IncrementalAuthorization,
|
|
117
|
+
multicapture: Multicapture,
|
|
118
|
+
overcapture: Overcapture,
|
|
119
|
+
}
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
def self.field_remappings
|
|
123
|
+
@field_remappings = {}
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
class AgentDetails < ::Stripe::StripeObject
|
|
128
|
+
# The name of the agent that initiated the payment.
|
|
129
|
+
attr_reader :name
|
|
130
|
+
# The Stripe profile associated with the agent that initiated the payment.
|
|
131
|
+
attr_reader :network_business_profile
|
|
132
|
+
|
|
133
|
+
def self.inner_class_types
|
|
134
|
+
@inner_class_types = {}
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
def self.field_remappings
|
|
138
|
+
@field_remappings = {}
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
class AllocatedFunds < ::Stripe::StripeObject
|
|
143
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
144
|
+
attr_reader :enabled
|
|
145
|
+
|
|
146
|
+
def self.inner_class_types
|
|
147
|
+
@inner_class_types = {}
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
def self.field_remappings
|
|
151
|
+
@field_remappings = {}
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
30
155
|
class AmountDetails < ::Stripe::StripeObject
|
|
31
156
|
class Error < ::Stripe::StripeObject
|
|
32
157
|
# The code of the error that occurred when validating the current amount details.
|
|
@@ -60,6 +185,25 @@ module Stripe
|
|
|
60
185
|
end
|
|
61
186
|
end
|
|
62
187
|
|
|
188
|
+
class Surcharge < ::Stripe::StripeObject
|
|
189
|
+
# Portion of the amount that corresponds to a surcharge.
|
|
190
|
+
attr_reader :amount
|
|
191
|
+
# Indicate whether to enforce validations on the surcharge amount.
|
|
192
|
+
attr_reader :enforce_validation
|
|
193
|
+
# The maximum amount allowed for the surcharge.
|
|
194
|
+
attr_reader :maximum_amount
|
|
195
|
+
# The status of the surcharge.
|
|
196
|
+
attr_reader :status
|
|
197
|
+
|
|
198
|
+
def self.inner_class_types
|
|
199
|
+
@inner_class_types = {}
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
def self.field_remappings
|
|
203
|
+
@field_remappings = {}
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
|
|
63
207
|
class Tax < ::Stripe::StripeObject
|
|
64
208
|
# The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
65
209
|
#
|
|
@@ -97,13 +241,58 @@ module Stripe
|
|
|
97
241
|
attr_reader :line_items
|
|
98
242
|
# Attribute for field shipping
|
|
99
243
|
attr_reader :shipping
|
|
244
|
+
# Attribute for field surcharge
|
|
245
|
+
attr_reader :surcharge
|
|
100
246
|
# Attribute for field tax
|
|
101
247
|
attr_reader :tax
|
|
102
248
|
# Attribute for field tip
|
|
103
249
|
attr_reader :tip
|
|
104
250
|
|
|
105
251
|
def self.inner_class_types
|
|
106
|
-
@inner_class_types = {
|
|
252
|
+
@inner_class_types = {
|
|
253
|
+
error: Error,
|
|
254
|
+
shipping: Shipping,
|
|
255
|
+
surcharge: Surcharge,
|
|
256
|
+
tax: Tax,
|
|
257
|
+
tip: Tip,
|
|
258
|
+
}
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
def self.field_remappings
|
|
262
|
+
@field_remappings = {}
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
class AsyncWorkflows < ::Stripe::StripeObject
|
|
267
|
+
class Inputs < ::Stripe::StripeObject
|
|
268
|
+
class Tax < ::Stripe::StripeObject
|
|
269
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
270
|
+
attr_reader :calculation
|
|
271
|
+
|
|
272
|
+
def self.inner_class_types
|
|
273
|
+
@inner_class_types = {}
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
def self.field_remappings
|
|
277
|
+
@field_remappings = {}
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
# Attribute for field tax
|
|
281
|
+
attr_reader :tax
|
|
282
|
+
|
|
283
|
+
def self.inner_class_types
|
|
284
|
+
@inner_class_types = { tax: Tax }
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
def self.field_remappings
|
|
288
|
+
@field_remappings = {}
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
# Attribute for field inputs
|
|
292
|
+
attr_reader :inputs
|
|
293
|
+
|
|
294
|
+
def self.inner_class_types
|
|
295
|
+
@inner_class_types = { inputs: Inputs }
|
|
107
296
|
end
|
|
108
297
|
|
|
109
298
|
def self.field_remappings
|
|
@@ -352,6 +541,199 @@ module Stripe
|
|
|
352
541
|
end
|
|
353
542
|
end
|
|
354
543
|
|
|
544
|
+
class CryptoDisplayDetails < ::Stripe::StripeObject
|
|
545
|
+
class DepositAddresses < ::Stripe::StripeObject
|
|
546
|
+
class Base < ::Stripe::StripeObject
|
|
547
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
548
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
549
|
+
attr_reader :token_contract_address
|
|
550
|
+
# The supported token currency.
|
|
551
|
+
attr_reader :token_currency
|
|
552
|
+
|
|
553
|
+
def self.inner_class_types
|
|
554
|
+
@inner_class_types = {}
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
def self.field_remappings
|
|
558
|
+
@field_remappings = {}
|
|
559
|
+
end
|
|
560
|
+
end
|
|
561
|
+
# Address of the deposit address.
|
|
562
|
+
attr_reader :address
|
|
563
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
564
|
+
attr_reader :refund_address
|
|
565
|
+
# The token currencies supported on this network.
|
|
566
|
+
attr_reader :supported_tokens
|
|
567
|
+
|
|
568
|
+
def self.inner_class_types
|
|
569
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
def self.field_remappings
|
|
573
|
+
@field_remappings = {}
|
|
574
|
+
end
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
class Ethereum < ::Stripe::StripeObject
|
|
578
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
579
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
580
|
+
attr_reader :token_contract_address
|
|
581
|
+
# The supported token currency.
|
|
582
|
+
attr_reader :token_currency
|
|
583
|
+
|
|
584
|
+
def self.inner_class_types
|
|
585
|
+
@inner_class_types = {}
|
|
586
|
+
end
|
|
587
|
+
|
|
588
|
+
def self.field_remappings
|
|
589
|
+
@field_remappings = {}
|
|
590
|
+
end
|
|
591
|
+
end
|
|
592
|
+
# Address of the deposit address.
|
|
593
|
+
attr_reader :address
|
|
594
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
595
|
+
attr_reader :refund_address
|
|
596
|
+
# The token currencies supported on this network.
|
|
597
|
+
attr_reader :supported_tokens
|
|
598
|
+
|
|
599
|
+
def self.inner_class_types
|
|
600
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
def self.field_remappings
|
|
604
|
+
@field_remappings = {}
|
|
605
|
+
end
|
|
606
|
+
end
|
|
607
|
+
|
|
608
|
+
class Polygon < ::Stripe::StripeObject
|
|
609
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
610
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
611
|
+
attr_reader :token_contract_address
|
|
612
|
+
# The supported token currency.
|
|
613
|
+
attr_reader :token_currency
|
|
614
|
+
|
|
615
|
+
def self.inner_class_types
|
|
616
|
+
@inner_class_types = {}
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
def self.field_remappings
|
|
620
|
+
@field_remappings = {}
|
|
621
|
+
end
|
|
622
|
+
end
|
|
623
|
+
# Address of the deposit address.
|
|
624
|
+
attr_reader :address
|
|
625
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
626
|
+
attr_reader :refund_address
|
|
627
|
+
# The token currencies supported on this network.
|
|
628
|
+
attr_reader :supported_tokens
|
|
629
|
+
|
|
630
|
+
def self.inner_class_types
|
|
631
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
def self.field_remappings
|
|
635
|
+
@field_remappings = {}
|
|
636
|
+
end
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
class Solana < ::Stripe::StripeObject
|
|
640
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
641
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
642
|
+
attr_reader :token_contract_address
|
|
643
|
+
# The supported token currency.
|
|
644
|
+
attr_reader :token_currency
|
|
645
|
+
|
|
646
|
+
def self.inner_class_types
|
|
647
|
+
@inner_class_types = {}
|
|
648
|
+
end
|
|
649
|
+
|
|
650
|
+
def self.field_remappings
|
|
651
|
+
@field_remappings = {}
|
|
652
|
+
end
|
|
653
|
+
end
|
|
654
|
+
# Address of the deposit address.
|
|
655
|
+
attr_reader :address
|
|
656
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
657
|
+
attr_reader :refund_address
|
|
658
|
+
# The token currencies supported on this network.
|
|
659
|
+
attr_reader :supported_tokens
|
|
660
|
+
|
|
661
|
+
def self.inner_class_types
|
|
662
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
def self.field_remappings
|
|
666
|
+
@field_remappings = {}
|
|
667
|
+
end
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
class Tempo < ::Stripe::StripeObject
|
|
671
|
+
class SupportedToken < ::Stripe::StripeObject
|
|
672
|
+
# The on-chain contract address for the supported token currency on this specific network.
|
|
673
|
+
attr_reader :token_contract_address
|
|
674
|
+
# The supported token currency.
|
|
675
|
+
attr_reader :token_currency
|
|
676
|
+
|
|
677
|
+
def self.inner_class_types
|
|
678
|
+
@inner_class_types = {}
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
def self.field_remappings
|
|
682
|
+
@field_remappings = {}
|
|
683
|
+
end
|
|
684
|
+
end
|
|
685
|
+
# Address of the deposit address.
|
|
686
|
+
attr_reader :address
|
|
687
|
+
# The wallet address that should receive refunds for deposits on this network.
|
|
688
|
+
attr_reader :refund_address
|
|
689
|
+
# The token currencies supported on this network.
|
|
690
|
+
attr_reader :supported_tokens
|
|
691
|
+
|
|
692
|
+
def self.inner_class_types
|
|
693
|
+
@inner_class_types = { supported_tokens: SupportedToken }
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
def self.field_remappings
|
|
697
|
+
@field_remappings = {}
|
|
698
|
+
end
|
|
699
|
+
end
|
|
700
|
+
# Attribute for field base
|
|
701
|
+
attr_reader :base
|
|
702
|
+
# Attribute for field ethereum
|
|
703
|
+
attr_reader :ethereum
|
|
704
|
+
# Attribute for field polygon
|
|
705
|
+
attr_reader :polygon
|
|
706
|
+
# Attribute for field solana
|
|
707
|
+
attr_reader :solana
|
|
708
|
+
# Attribute for field tempo
|
|
709
|
+
attr_reader :tempo
|
|
710
|
+
|
|
711
|
+
def self.inner_class_types
|
|
712
|
+
@inner_class_types = {
|
|
713
|
+
base: Base,
|
|
714
|
+
ethereum: Ethereum,
|
|
715
|
+
polygon: Polygon,
|
|
716
|
+
solana: Solana,
|
|
717
|
+
tempo: Tempo,
|
|
718
|
+
}
|
|
719
|
+
end
|
|
720
|
+
|
|
721
|
+
def self.field_remappings
|
|
722
|
+
@field_remappings = {}
|
|
723
|
+
end
|
|
724
|
+
end
|
|
725
|
+
# Attribute for field deposit_addresses
|
|
726
|
+
attr_reader :deposit_addresses
|
|
727
|
+
|
|
728
|
+
def self.inner_class_types
|
|
729
|
+
@inner_class_types = { deposit_addresses: DepositAddresses }
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
def self.field_remappings
|
|
733
|
+
@field_remappings = {}
|
|
734
|
+
end
|
|
735
|
+
end
|
|
736
|
+
|
|
355
737
|
class DisplayBankTransferInstructions < ::Stripe::StripeObject
|
|
356
738
|
class FinancialAddress < ::Stripe::StripeObject
|
|
357
739
|
class Aba < ::Stripe::StripeObject
|
|
@@ -1171,6 +1553,19 @@ module Stripe
|
|
|
1171
1553
|
end
|
|
1172
1554
|
end
|
|
1173
1555
|
|
|
1556
|
+
class WechatPayHandleAppRedirect < ::Stripe::StripeObject
|
|
1557
|
+
# Session ID of the WeChat Pay signing session
|
|
1558
|
+
attr_reader :session_id
|
|
1559
|
+
|
|
1560
|
+
def self.inner_class_types
|
|
1561
|
+
@inner_class_types = {}
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1564
|
+
def self.field_remappings
|
|
1565
|
+
@field_remappings = {}
|
|
1566
|
+
end
|
|
1567
|
+
end
|
|
1568
|
+
|
|
1174
1569
|
class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject
|
|
1175
1570
|
# app_id is the APP ID registered on WeChat open platform
|
|
1176
1571
|
attr_reader :app_id
|
|
@@ -1218,6 +1613,8 @@ module Stripe
|
|
|
1218
1613
|
attr_reader :card_await_notification
|
|
1219
1614
|
# Attribute for field cashapp_handle_redirect_or_display_qr_code
|
|
1220
1615
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
|
1616
|
+
# Attribute for field crypto_display_details
|
|
1617
|
+
attr_reader :crypto_display_details
|
|
1221
1618
|
# Attribute for field display_bank_transfer_instructions
|
|
1222
1619
|
attr_reader :display_bank_transfer_instructions
|
|
1223
1620
|
# Attribute for field klarna_display_qr_code
|
|
@@ -1248,6 +1645,8 @@ module Stripe
|
|
|
1248
1645
|
attr_reader :verify_with_microdeposits
|
|
1249
1646
|
# Attribute for field wechat_pay_display_qr_code
|
|
1250
1647
|
attr_reader :wechat_pay_display_qr_code
|
|
1648
|
+
# Attribute for field wechat_pay_handle_app_redirect
|
|
1649
|
+
attr_reader :wechat_pay_handle_app_redirect
|
|
1251
1650
|
# Attribute for field wechat_pay_redirect_to_android_app
|
|
1252
1651
|
attr_reader :wechat_pay_redirect_to_android_app
|
|
1253
1652
|
# Attribute for field wechat_pay_redirect_to_ios_app
|
|
@@ -1260,6 +1659,7 @@ module Stripe
|
|
|
1260
1659
|
boleto_display_details: BoletoDisplayDetails,
|
|
1261
1660
|
card_await_notification: CardAwaitNotification,
|
|
1262
1661
|
cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
|
|
1662
|
+
crypto_display_details: CryptoDisplayDetails,
|
|
1263
1663
|
display_bank_transfer_instructions: DisplayBankTransferInstructions,
|
|
1264
1664
|
klarna_display_qr_code: KlarnaDisplayQrCode,
|
|
1265
1665
|
konbini_display_details: KonbiniDisplayDetails,
|
|
@@ -1273,6 +1673,7 @@ module Stripe
|
|
|
1273
1673
|
upi_handle_redirect_or_display_qr_code: UpiHandleRedirectOrDisplayQrCode,
|
|
1274
1674
|
verify_with_microdeposits: VerifyWithMicrodeposits,
|
|
1275
1675
|
wechat_pay_display_qr_code: WechatPayDisplayQrCode,
|
|
1676
|
+
wechat_pay_handle_app_redirect: WechatPayHandleAppRedirect,
|
|
1276
1677
|
wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
|
|
1277
1678
|
wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
|
|
1278
1679
|
}
|
|
@@ -1284,17 +1685,1463 @@ module Stripe
|
|
|
1284
1685
|
end
|
|
1285
1686
|
|
|
1286
1687
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1688
|
+
class Benefit < ::Stripe::StripeObject
|
|
1689
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
|
1690
|
+
# Whether meal voucher benefit is enabled for this payment.
|
|
1691
|
+
attr_reader :enabled
|
|
1692
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1693
|
+
attr_reader :siret
|
|
1694
|
+
|
|
1695
|
+
def self.inner_class_types
|
|
1696
|
+
@inner_class_types = {}
|
|
1697
|
+
end
|
|
1698
|
+
|
|
1699
|
+
def self.field_remappings
|
|
1700
|
+
@field_remappings = {}
|
|
1701
|
+
end
|
|
1702
|
+
end
|
|
1703
|
+
# Attribute for field fr_meal_voucher
|
|
1704
|
+
attr_reader :fr_meal_voucher
|
|
1705
|
+
|
|
1706
|
+
def self.inner_class_types
|
|
1707
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1710
|
+
def self.field_remappings
|
|
1711
|
+
@field_remappings = {}
|
|
1712
|
+
end
|
|
1713
|
+
end
|
|
1714
|
+
|
|
1715
|
+
class CarRental < ::Stripe::StripeObject
|
|
1716
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1717
|
+
# The name of the affiliate that originated the purchase.
|
|
1718
|
+
attr_reader :name
|
|
1719
|
+
|
|
1720
|
+
def self.inner_class_types
|
|
1721
|
+
@inner_class_types = {}
|
|
1722
|
+
end
|
|
1723
|
+
|
|
1724
|
+
def self.field_remappings
|
|
1725
|
+
@field_remappings = {}
|
|
1726
|
+
end
|
|
1727
|
+
end
|
|
1728
|
+
|
|
1729
|
+
class Delivery < ::Stripe::StripeObject
|
|
1730
|
+
class Recipient < ::Stripe::StripeObject
|
|
1731
|
+
# The email of the recipient the ticket is delivered to.
|
|
1732
|
+
attr_reader :email
|
|
1733
|
+
# The name of the recipient the ticket is delivered to.
|
|
1734
|
+
attr_reader :name
|
|
1735
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1736
|
+
attr_reader :phone
|
|
1737
|
+
|
|
1738
|
+
def self.inner_class_types
|
|
1739
|
+
@inner_class_types = {}
|
|
1740
|
+
end
|
|
1741
|
+
|
|
1742
|
+
def self.field_remappings
|
|
1743
|
+
@field_remappings = {}
|
|
1744
|
+
end
|
|
1745
|
+
end
|
|
1746
|
+
# The delivery method for the payment
|
|
1747
|
+
attr_reader :mode
|
|
1748
|
+
# Attribute for field recipient
|
|
1749
|
+
attr_reader :recipient
|
|
1750
|
+
|
|
1751
|
+
def self.inner_class_types
|
|
1752
|
+
@inner_class_types = { recipient: Recipient }
|
|
1753
|
+
end
|
|
1754
|
+
|
|
1755
|
+
def self.field_remappings
|
|
1756
|
+
@field_remappings = {}
|
|
1757
|
+
end
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1760
|
+
class Distance < ::Stripe::StripeObject
|
|
1761
|
+
# Distance traveled.
|
|
1762
|
+
attr_reader :amount
|
|
1763
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1764
|
+
attr_reader :unit
|
|
1765
|
+
|
|
1766
|
+
def self.inner_class_types
|
|
1767
|
+
@inner_class_types = {}
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
def self.field_remappings
|
|
1771
|
+
@field_remappings = {}
|
|
1772
|
+
end
|
|
1773
|
+
end
|
|
1774
|
+
|
|
1775
|
+
class Driver < ::Stripe::StripeObject
|
|
1776
|
+
# Driver's identification number.
|
|
1777
|
+
attr_reader :driver_identification_number
|
|
1778
|
+
# Driver's tax number.
|
|
1779
|
+
attr_reader :driver_tax_number
|
|
1780
|
+
# Full name of the driver on the reservation.
|
|
1781
|
+
attr_reader :name
|
|
1782
|
+
|
|
1783
|
+
def self.inner_class_types
|
|
1784
|
+
@inner_class_types = {}
|
|
1785
|
+
end
|
|
1786
|
+
|
|
1787
|
+
def self.field_remappings
|
|
1788
|
+
@field_remappings = {}
|
|
1789
|
+
end
|
|
1790
|
+
end
|
|
1791
|
+
|
|
1792
|
+
class PickupAddress < ::Stripe::StripeObject
|
|
1793
|
+
# City, district, suburb, town, or village.
|
|
1794
|
+
attr_reader :city
|
|
1795
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1796
|
+
attr_reader :country
|
|
1797
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1798
|
+
attr_reader :line1
|
|
1799
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1800
|
+
attr_reader :line2
|
|
1801
|
+
# ZIP or postal code.
|
|
1802
|
+
attr_reader :postal_code
|
|
1803
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1804
|
+
attr_reader :state
|
|
1805
|
+
|
|
1806
|
+
def self.inner_class_types
|
|
1807
|
+
@inner_class_types = {}
|
|
1808
|
+
end
|
|
1809
|
+
|
|
1810
|
+
def self.field_remappings
|
|
1811
|
+
@field_remappings = {}
|
|
1812
|
+
end
|
|
1813
|
+
end
|
|
1814
|
+
|
|
1815
|
+
class ReturnAddress < ::Stripe::StripeObject
|
|
1816
|
+
# City, district, suburb, town, or village.
|
|
1817
|
+
attr_reader :city
|
|
1818
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1819
|
+
attr_reader :country
|
|
1820
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1821
|
+
attr_reader :line1
|
|
1822
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1823
|
+
attr_reader :line2
|
|
1824
|
+
# ZIP or postal code.
|
|
1825
|
+
attr_reader :postal_code
|
|
1826
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1827
|
+
attr_reader :state
|
|
1828
|
+
|
|
1829
|
+
def self.inner_class_types
|
|
1830
|
+
@inner_class_types = {}
|
|
1831
|
+
end
|
|
1832
|
+
|
|
1833
|
+
def self.field_remappings
|
|
1834
|
+
@field_remappings = {}
|
|
1835
|
+
end
|
|
1836
|
+
end
|
|
1837
|
+
# Attribute for field affiliate
|
|
1838
|
+
attr_reader :affiliate
|
|
1839
|
+
# The booking number associated with the car rental.
|
|
1840
|
+
attr_reader :booking_number
|
|
1841
|
+
# Class code of the car.
|
|
1842
|
+
attr_reader :car_class_code
|
|
1843
|
+
# Make of the car.
|
|
1844
|
+
attr_reader :car_make
|
|
1845
|
+
# Model of the car.
|
|
1846
|
+
attr_reader :car_model
|
|
1847
|
+
# The name of the rental car company.
|
|
1848
|
+
attr_reader :company
|
|
1849
|
+
# The customer service phone number of the car rental company.
|
|
1850
|
+
attr_reader :customer_service_phone_number
|
|
1851
|
+
# Number of days the car is being rented.
|
|
1852
|
+
attr_reader :days_rented
|
|
1853
|
+
# Attribute for field delivery
|
|
1854
|
+
attr_reader :delivery
|
|
1855
|
+
# Attribute for field distance
|
|
1856
|
+
attr_reader :distance
|
|
1857
|
+
# The details of the drivers associated with the trip.
|
|
1858
|
+
attr_reader :drivers
|
|
1859
|
+
# List of additional charges being billed.
|
|
1860
|
+
attr_reader :extra_charges
|
|
1861
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
1862
|
+
attr_reader :no_show
|
|
1863
|
+
# Attribute for field pickup_address
|
|
1864
|
+
attr_reader :pickup_address
|
|
1865
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1866
|
+
attr_reader :pickup_at
|
|
1867
|
+
# Name of the pickup location.
|
|
1868
|
+
attr_reader :pickup_location_name
|
|
1869
|
+
# Rental rate.
|
|
1870
|
+
attr_reader :rate_amount
|
|
1871
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1872
|
+
attr_reader :rate_interval
|
|
1873
|
+
# The full name of the person or entity renting the car.
|
|
1874
|
+
attr_reader :renter_name
|
|
1875
|
+
# Attribute for field return_address
|
|
1876
|
+
attr_reader :return_address
|
|
1877
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
1878
|
+
attr_reader :return_at
|
|
1879
|
+
# Name of the return location.
|
|
1880
|
+
attr_reader :return_location_name
|
|
1881
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1882
|
+
attr_reader :tax_exempt
|
|
1883
|
+
# The vehicle identification number of the car.
|
|
1884
|
+
attr_reader :vehicle_identification_number
|
|
1885
|
+
|
|
1886
|
+
def self.inner_class_types
|
|
1887
|
+
@inner_class_types = {
|
|
1888
|
+
affiliate: Affiliate,
|
|
1889
|
+
delivery: Delivery,
|
|
1890
|
+
distance: Distance,
|
|
1891
|
+
drivers: Driver,
|
|
1892
|
+
pickup_address: PickupAddress,
|
|
1893
|
+
return_address: ReturnAddress,
|
|
1894
|
+
}
|
|
1895
|
+
end
|
|
1896
|
+
|
|
1897
|
+
def self.field_remappings
|
|
1898
|
+
@field_remappings = {}
|
|
1899
|
+
end
|
|
1900
|
+
end
|
|
1901
|
+
|
|
1902
|
+
class CarRentalDatum < ::Stripe::StripeObject
|
|
1903
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1904
|
+
# Affiliate code.
|
|
1905
|
+
attr_reader :code
|
|
1906
|
+
# Affiliate name.
|
|
1907
|
+
attr_reader :name
|
|
1908
|
+
|
|
1909
|
+
def self.inner_class_types
|
|
1910
|
+
@inner_class_types = {}
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1913
|
+
def self.field_remappings
|
|
1914
|
+
@field_remappings = {}
|
|
1915
|
+
end
|
|
1916
|
+
end
|
|
1917
|
+
|
|
1918
|
+
class Distance < ::Stripe::StripeObject
|
|
1919
|
+
# Distance amount.
|
|
1920
|
+
attr_reader :amount
|
|
1921
|
+
# Unit for the distance.
|
|
1922
|
+
attr_reader :unit
|
|
1923
|
+
|
|
1924
|
+
def self.inner_class_types
|
|
1925
|
+
@inner_class_types = {}
|
|
1926
|
+
end
|
|
1927
|
+
|
|
1928
|
+
def self.field_remappings
|
|
1929
|
+
@field_remappings = {}
|
|
1930
|
+
end
|
|
1931
|
+
end
|
|
1932
|
+
|
|
1933
|
+
class Driver < ::Stripe::StripeObject
|
|
1934
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
1935
|
+
# Day of birth.
|
|
1936
|
+
attr_reader :day
|
|
1937
|
+
# Month of birth.
|
|
1938
|
+
attr_reader :month
|
|
1939
|
+
# Year of birth.
|
|
1940
|
+
attr_reader :year
|
|
1941
|
+
|
|
1942
|
+
def self.inner_class_types
|
|
1943
|
+
@inner_class_types = {}
|
|
1944
|
+
end
|
|
1945
|
+
|
|
1946
|
+
def self.field_remappings
|
|
1947
|
+
@field_remappings = {}
|
|
1948
|
+
end
|
|
1949
|
+
end
|
|
1950
|
+
# Attribute for field date_of_birth
|
|
1951
|
+
attr_reader :date_of_birth
|
|
1952
|
+
# Driver's identification number.
|
|
1953
|
+
attr_reader :driver_identification_number
|
|
1954
|
+
# Driver's tax number.
|
|
1955
|
+
attr_reader :driver_tax_number
|
|
1956
|
+
# Full name of the driver.
|
|
1957
|
+
attr_reader :name
|
|
1958
|
+
|
|
1959
|
+
def self.inner_class_types
|
|
1960
|
+
@inner_class_types = { date_of_birth: DateOfBirth }
|
|
1961
|
+
end
|
|
1962
|
+
|
|
1963
|
+
def self.field_remappings
|
|
1964
|
+
@field_remappings = {}
|
|
1965
|
+
end
|
|
1966
|
+
end
|
|
1967
|
+
|
|
1968
|
+
class DropOff < ::Stripe::StripeObject
|
|
1969
|
+
class Address < ::Stripe::StripeObject
|
|
1970
|
+
# City, district, suburb, town, or village.
|
|
1971
|
+
attr_reader :city
|
|
1972
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1973
|
+
attr_reader :country
|
|
1974
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1975
|
+
attr_reader :line1
|
|
1976
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1977
|
+
attr_reader :line2
|
|
1978
|
+
# ZIP or postal code.
|
|
1979
|
+
attr_reader :postal_code
|
|
1980
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1981
|
+
attr_reader :state
|
|
1982
|
+
|
|
1983
|
+
def self.inner_class_types
|
|
1984
|
+
@inner_class_types = {}
|
|
1985
|
+
end
|
|
1986
|
+
|
|
1987
|
+
def self.field_remappings
|
|
1988
|
+
@field_remappings = {}
|
|
1989
|
+
end
|
|
1990
|
+
end
|
|
1991
|
+
# Attribute for field address
|
|
1992
|
+
attr_reader :address
|
|
1993
|
+
# Name of the location.
|
|
1994
|
+
attr_reader :location_name
|
|
1995
|
+
# Time associated with the location.
|
|
1996
|
+
attr_reader :time
|
|
1997
|
+
|
|
1998
|
+
def self.inner_class_types
|
|
1999
|
+
@inner_class_types = { address: Address }
|
|
2000
|
+
end
|
|
2001
|
+
|
|
2002
|
+
def self.field_remappings
|
|
2003
|
+
@field_remappings = {}
|
|
2004
|
+
end
|
|
2005
|
+
end
|
|
2006
|
+
|
|
2007
|
+
class Insurance < ::Stripe::StripeObject
|
|
2008
|
+
# Amount of the insurance.
|
|
2009
|
+
attr_reader :amount
|
|
2010
|
+
# Currency for the insurance price.
|
|
2011
|
+
attr_reader :currency
|
|
2012
|
+
# Name of the insurance company.
|
|
2013
|
+
attr_reader :insurance_company_name
|
|
2014
|
+
# Type of insurance.
|
|
2015
|
+
attr_reader :insurance_type
|
|
2016
|
+
|
|
2017
|
+
def self.inner_class_types
|
|
2018
|
+
@inner_class_types = {}
|
|
2019
|
+
end
|
|
2020
|
+
|
|
2021
|
+
def self.field_remappings
|
|
2022
|
+
@field_remappings = {}
|
|
2023
|
+
end
|
|
2024
|
+
end
|
|
2025
|
+
|
|
2026
|
+
class Pickup < ::Stripe::StripeObject
|
|
2027
|
+
class Address < ::Stripe::StripeObject
|
|
2028
|
+
# City, district, suburb, town, or village.
|
|
2029
|
+
attr_reader :city
|
|
2030
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2031
|
+
attr_reader :country
|
|
2032
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2033
|
+
attr_reader :line1
|
|
2034
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2035
|
+
attr_reader :line2
|
|
2036
|
+
# ZIP or postal code.
|
|
2037
|
+
attr_reader :postal_code
|
|
2038
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2039
|
+
attr_reader :state
|
|
2040
|
+
|
|
2041
|
+
def self.inner_class_types
|
|
2042
|
+
@inner_class_types = {}
|
|
2043
|
+
end
|
|
2044
|
+
|
|
2045
|
+
def self.field_remappings
|
|
2046
|
+
@field_remappings = {}
|
|
2047
|
+
end
|
|
2048
|
+
end
|
|
2049
|
+
# Attribute for field address
|
|
2050
|
+
attr_reader :address
|
|
2051
|
+
# Name of the location.
|
|
2052
|
+
attr_reader :location_name
|
|
2053
|
+
# Time associated with the location.
|
|
2054
|
+
attr_reader :time
|
|
2055
|
+
|
|
2056
|
+
def self.inner_class_types
|
|
2057
|
+
@inner_class_types = { address: Address }
|
|
2058
|
+
end
|
|
2059
|
+
|
|
2060
|
+
def self.field_remappings
|
|
2061
|
+
@field_remappings = {}
|
|
2062
|
+
end
|
|
2063
|
+
end
|
|
2064
|
+
|
|
2065
|
+
class Total < ::Stripe::StripeObject
|
|
2066
|
+
class Discounts < ::Stripe::StripeObject
|
|
2067
|
+
# Corporate client discount code.
|
|
2068
|
+
attr_reader :corporate_client_code
|
|
2069
|
+
# Coupon code applied.
|
|
2070
|
+
attr_reader :coupon
|
|
2071
|
+
# Maximum free miles or kilometers included.
|
|
2072
|
+
attr_reader :maximum_free_miles_or_kilometers
|
|
2073
|
+
|
|
2074
|
+
def self.inner_class_types
|
|
2075
|
+
@inner_class_types = {}
|
|
2076
|
+
end
|
|
2077
|
+
|
|
2078
|
+
def self.field_remappings
|
|
2079
|
+
@field_remappings = {}
|
|
2080
|
+
end
|
|
2081
|
+
end
|
|
2082
|
+
|
|
2083
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2084
|
+
# Amount of the extra charge.
|
|
2085
|
+
attr_reader :amount
|
|
2086
|
+
# Type of extra charge.
|
|
2087
|
+
attr_reader :type
|
|
2088
|
+
|
|
2089
|
+
def self.inner_class_types
|
|
2090
|
+
@inner_class_types = {}
|
|
2091
|
+
end
|
|
2092
|
+
|
|
2093
|
+
def self.field_remappings
|
|
2094
|
+
@field_remappings = {}
|
|
2095
|
+
end
|
|
2096
|
+
end
|
|
2097
|
+
|
|
2098
|
+
class Tax < ::Stripe::StripeObject
|
|
2099
|
+
class Tax < ::Stripe::StripeObject
|
|
2100
|
+
# Tax amount.
|
|
2101
|
+
attr_reader :amount
|
|
2102
|
+
# Tax rate.
|
|
2103
|
+
attr_reader :rate
|
|
2104
|
+
# Type of tax.
|
|
2105
|
+
attr_reader :type
|
|
2106
|
+
|
|
2107
|
+
def self.inner_class_types
|
|
2108
|
+
@inner_class_types = {}
|
|
2109
|
+
end
|
|
2110
|
+
|
|
2111
|
+
def self.field_remappings
|
|
2112
|
+
@field_remappings = {}
|
|
2113
|
+
end
|
|
2114
|
+
end
|
|
2115
|
+
# Indicates whether the rental is tax-exempt.
|
|
2116
|
+
attr_reader :tax_exempt_indicator
|
|
2117
|
+
# Tax details.
|
|
2118
|
+
attr_reader :taxes
|
|
2119
|
+
|
|
2120
|
+
def self.inner_class_types
|
|
2121
|
+
@inner_class_types = { taxes: Tax }
|
|
2122
|
+
end
|
|
2123
|
+
|
|
2124
|
+
def self.field_remappings
|
|
2125
|
+
@field_remappings = {}
|
|
2126
|
+
end
|
|
2127
|
+
end
|
|
2128
|
+
# Total amount.
|
|
2129
|
+
attr_reader :amount
|
|
2130
|
+
# Currency for the total amount.
|
|
2131
|
+
attr_reader :currency
|
|
2132
|
+
# Attribute for field discounts
|
|
2133
|
+
attr_reader :discounts
|
|
2134
|
+
# Additional charges for the rental.
|
|
2135
|
+
attr_reader :extra_charges
|
|
2136
|
+
# Rate per unit.
|
|
2137
|
+
attr_reader :rate_per_unit
|
|
2138
|
+
# Unit for the rate.
|
|
2139
|
+
attr_reader :rate_unit
|
|
2140
|
+
# Attribute for field tax
|
|
2141
|
+
attr_reader :tax
|
|
2142
|
+
|
|
2143
|
+
def self.inner_class_types
|
|
2144
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2145
|
+
end
|
|
2146
|
+
|
|
2147
|
+
def self.field_remappings
|
|
2148
|
+
@field_remappings = {}
|
|
2149
|
+
end
|
|
2150
|
+
end
|
|
2151
|
+
|
|
2152
|
+
class Vehicle < ::Stripe::StripeObject
|
|
2153
|
+
# Make of the vehicle.
|
|
2154
|
+
attr_reader :make
|
|
2155
|
+
# Model of the vehicle.
|
|
2156
|
+
attr_reader :model
|
|
2157
|
+
# Odometer reading.
|
|
2158
|
+
attr_reader :odometer
|
|
2159
|
+
# Type of the vehicle.
|
|
2160
|
+
attr_reader :type
|
|
2161
|
+
# Class of the vehicle.
|
|
2162
|
+
attr_reader :vehicle_class
|
|
2163
|
+
# Vehicle identification number.
|
|
2164
|
+
attr_reader :vehicle_identification_number
|
|
2165
|
+
|
|
2166
|
+
def self.inner_class_types
|
|
2167
|
+
@inner_class_types = {}
|
|
2168
|
+
end
|
|
2169
|
+
|
|
2170
|
+
def self.field_remappings
|
|
2171
|
+
@field_remappings = {}
|
|
2172
|
+
end
|
|
2173
|
+
end
|
|
2174
|
+
# Attribute for field affiliate
|
|
2175
|
+
attr_reader :affiliate
|
|
2176
|
+
# The booking number associated with the car rental.
|
|
2177
|
+
attr_reader :booking_number
|
|
2178
|
+
# The name of the car rental company.
|
|
2179
|
+
attr_reader :carrier_name
|
|
2180
|
+
# The customer service phone number of the car rental company.
|
|
2181
|
+
attr_reader :customer_service_phone_number
|
|
2182
|
+
# Number of days the car is being rented.
|
|
2183
|
+
attr_reader :days_rented
|
|
2184
|
+
# Attribute for field distance
|
|
2185
|
+
attr_reader :distance
|
|
2186
|
+
# The details of the drivers associated with the rental.
|
|
2187
|
+
attr_reader :drivers
|
|
2188
|
+
# Attribute for field drop_off
|
|
2189
|
+
attr_reader :drop_off
|
|
2190
|
+
# Insurance details for the car rental.
|
|
2191
|
+
attr_reader :insurances
|
|
2192
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
2193
|
+
attr_reader :no_show_indicator
|
|
2194
|
+
# Attribute for field pickup
|
|
2195
|
+
attr_reader :pickup
|
|
2196
|
+
# Name of the person renting the vehicle.
|
|
2197
|
+
attr_reader :renter_name
|
|
2198
|
+
# Attribute for field total
|
|
2199
|
+
attr_reader :total
|
|
2200
|
+
# Attribute for field vehicle
|
|
2201
|
+
attr_reader :vehicle
|
|
2202
|
+
|
|
2203
|
+
def self.inner_class_types
|
|
2204
|
+
@inner_class_types = {
|
|
2205
|
+
affiliate: Affiliate,
|
|
2206
|
+
distance: Distance,
|
|
2207
|
+
drivers: Driver,
|
|
2208
|
+
drop_off: DropOff,
|
|
2209
|
+
insurances: Insurance,
|
|
2210
|
+
pickup: Pickup,
|
|
2211
|
+
total: Total,
|
|
2212
|
+
vehicle: Vehicle,
|
|
2213
|
+
}
|
|
2214
|
+
end
|
|
2215
|
+
|
|
2216
|
+
def self.field_remappings
|
|
2217
|
+
@field_remappings = {}
|
|
2218
|
+
end
|
|
2219
|
+
end
|
|
2220
|
+
|
|
2221
|
+
class EventDetails < ::Stripe::StripeObject
|
|
2222
|
+
class Address < ::Stripe::StripeObject
|
|
2223
|
+
# City, district, suburb, town, or village.
|
|
2224
|
+
attr_reader :city
|
|
2225
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2226
|
+
attr_reader :country
|
|
2227
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2228
|
+
attr_reader :line1
|
|
2229
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2230
|
+
attr_reader :line2
|
|
2231
|
+
# ZIP or postal code.
|
|
2232
|
+
attr_reader :postal_code
|
|
2233
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2234
|
+
attr_reader :state
|
|
2235
|
+
|
|
2236
|
+
def self.inner_class_types
|
|
2237
|
+
@inner_class_types = {}
|
|
2238
|
+
end
|
|
2239
|
+
|
|
2240
|
+
def self.field_remappings
|
|
2241
|
+
@field_remappings = {}
|
|
2242
|
+
end
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2245
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2246
|
+
# The name of the affiliate that originated the purchase.
|
|
2247
|
+
attr_reader :name
|
|
2248
|
+
|
|
2249
|
+
def self.inner_class_types
|
|
2250
|
+
@inner_class_types = {}
|
|
2251
|
+
end
|
|
2252
|
+
|
|
2253
|
+
def self.field_remappings
|
|
2254
|
+
@field_remappings = {}
|
|
2255
|
+
end
|
|
2256
|
+
end
|
|
2257
|
+
|
|
2258
|
+
class Delivery < ::Stripe::StripeObject
|
|
2259
|
+
class Recipient < ::Stripe::StripeObject
|
|
2260
|
+
# The email of the recipient the ticket is delivered to.
|
|
2261
|
+
attr_reader :email
|
|
2262
|
+
# The name of the recipient the ticket is delivered to.
|
|
2263
|
+
attr_reader :name
|
|
2264
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
2265
|
+
attr_reader :phone
|
|
2266
|
+
|
|
2267
|
+
def self.inner_class_types
|
|
2268
|
+
@inner_class_types = {}
|
|
2269
|
+
end
|
|
2270
|
+
|
|
2271
|
+
def self.field_remappings
|
|
2272
|
+
@field_remappings = {}
|
|
2273
|
+
end
|
|
2274
|
+
end
|
|
2275
|
+
# The delivery method for the payment
|
|
2276
|
+
attr_reader :mode
|
|
2277
|
+
# Attribute for field recipient
|
|
2278
|
+
attr_reader :recipient
|
|
2279
|
+
|
|
2280
|
+
def self.inner_class_types
|
|
2281
|
+
@inner_class_types = { recipient: Recipient }
|
|
2282
|
+
end
|
|
2283
|
+
|
|
2284
|
+
def self.field_remappings
|
|
2285
|
+
@field_remappings = {}
|
|
2286
|
+
end
|
|
2287
|
+
end
|
|
2288
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
2289
|
+
attr_reader :access_controlled_venue
|
|
2290
|
+
# Attribute for field address
|
|
2291
|
+
attr_reader :address
|
|
2292
|
+
# Attribute for field affiliate
|
|
2293
|
+
attr_reader :affiliate
|
|
2294
|
+
# The name of the company
|
|
2295
|
+
attr_reader :company
|
|
2296
|
+
# Attribute for field delivery
|
|
2297
|
+
attr_reader :delivery
|
|
2298
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
2299
|
+
attr_reader :ends_at
|
|
2300
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
2301
|
+
attr_reader :genre
|
|
2302
|
+
# The name of the event.
|
|
2303
|
+
attr_reader :name
|
|
2304
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
2305
|
+
attr_reader :starts_at
|
|
2306
|
+
|
|
2307
|
+
def self.inner_class_types
|
|
2308
|
+
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
2309
|
+
end
|
|
2310
|
+
|
|
2311
|
+
def self.field_remappings
|
|
2312
|
+
@field_remappings = {}
|
|
2313
|
+
end
|
|
2314
|
+
end
|
|
2315
|
+
|
|
2316
|
+
class FleetDatum < ::Stripe::StripeObject
|
|
2317
|
+
class PrimaryFuelFields < ::Stripe::StripeObject
|
|
2318
|
+
# The fuel brand.
|
|
2319
|
+
attr_reader :brand
|
|
2320
|
+
|
|
2321
|
+
def self.inner_class_types
|
|
2322
|
+
@inner_class_types = {}
|
|
2323
|
+
end
|
|
2324
|
+
|
|
2325
|
+
def self.field_remappings
|
|
2326
|
+
@field_remappings = {}
|
|
2327
|
+
end
|
|
2328
|
+
end
|
|
2329
|
+
|
|
2330
|
+
class Station < ::Stripe::StripeObject
|
|
2331
|
+
class ServiceLocation < ::Stripe::StripeObject
|
|
2332
|
+
# City, district, suburb, town, or village.
|
|
2333
|
+
attr_reader :city
|
|
2334
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2335
|
+
attr_reader :country
|
|
2336
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2337
|
+
attr_reader :line1
|
|
2338
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2339
|
+
attr_reader :line2
|
|
2340
|
+
# ZIP or postal code.
|
|
2341
|
+
attr_reader :postal_code
|
|
2342
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2343
|
+
attr_reader :state
|
|
2344
|
+
|
|
2345
|
+
def self.inner_class_types
|
|
2346
|
+
@inner_class_types = {}
|
|
2347
|
+
end
|
|
2348
|
+
|
|
2349
|
+
def self.field_remappings
|
|
2350
|
+
@field_remappings = {}
|
|
2351
|
+
end
|
|
2352
|
+
end
|
|
2353
|
+
# Additional contact information for the station.
|
|
2354
|
+
attr_reader :additional_contact_info
|
|
2355
|
+
# The customer service phone number of the station.
|
|
2356
|
+
attr_reader :customer_service_phone_number
|
|
2357
|
+
# The partner ID code of the station.
|
|
2358
|
+
attr_reader :partner_id_code
|
|
2359
|
+
# The phone number of the station.
|
|
2360
|
+
attr_reader :phone_number
|
|
2361
|
+
# Attribute for field service_location
|
|
2362
|
+
attr_reader :service_location
|
|
2363
|
+
# The URL of the station.
|
|
2364
|
+
attr_reader :url
|
|
2365
|
+
|
|
2366
|
+
def self.inner_class_types
|
|
2367
|
+
@inner_class_types = { service_location: ServiceLocation }
|
|
2368
|
+
end
|
|
2369
|
+
|
|
2370
|
+
def self.field_remappings
|
|
2371
|
+
@field_remappings = {}
|
|
2372
|
+
end
|
|
2373
|
+
end
|
|
2374
|
+
|
|
2375
|
+
class Vat < ::Stripe::StripeObject
|
|
2376
|
+
# Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
2377
|
+
attr_reader :iob_indicator
|
|
2378
|
+
|
|
2379
|
+
def self.inner_class_types
|
|
2380
|
+
@inner_class_types = {}
|
|
2381
|
+
end
|
|
2382
|
+
|
|
2383
|
+
def self.field_remappings
|
|
2384
|
+
@field_remappings = {}
|
|
2385
|
+
end
|
|
2386
|
+
end
|
|
2387
|
+
# Attribute for field primary_fuel_fields
|
|
2388
|
+
attr_reader :primary_fuel_fields
|
|
2389
|
+
# Attribute for field station
|
|
2390
|
+
attr_reader :station
|
|
2391
|
+
# Attribute for field vat
|
|
2392
|
+
attr_reader :vat
|
|
2393
|
+
|
|
2394
|
+
def self.inner_class_types
|
|
2395
|
+
@inner_class_types = { primary_fuel_fields: PrimaryFuelFields, station: Station, vat: Vat }
|
|
2396
|
+
end
|
|
2397
|
+
|
|
2398
|
+
def self.field_remappings
|
|
2399
|
+
@field_remappings = {}
|
|
2400
|
+
end
|
|
2401
|
+
end
|
|
2402
|
+
|
|
2403
|
+
class FlightDatum < ::Stripe::StripeObject
|
|
2404
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2405
|
+
# Affiliate code.
|
|
2406
|
+
attr_reader :code
|
|
2407
|
+
# Affiliate name.
|
|
2408
|
+
attr_reader :name
|
|
2409
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
2410
|
+
attr_reader :travel_authorization_code
|
|
2411
|
+
|
|
2412
|
+
def self.inner_class_types
|
|
2413
|
+
@inner_class_types = {}
|
|
2414
|
+
end
|
|
2415
|
+
|
|
2416
|
+
def self.field_remappings
|
|
2417
|
+
@field_remappings = {}
|
|
2418
|
+
end
|
|
2419
|
+
end
|
|
2420
|
+
|
|
2421
|
+
class Insurance < ::Stripe::StripeObject
|
|
2422
|
+
# Amount of the insurance.
|
|
2423
|
+
attr_reader :amount
|
|
2424
|
+
# Currency for the insurance price.
|
|
2425
|
+
attr_reader :currency
|
|
2426
|
+
# Name of the insurance company.
|
|
2427
|
+
attr_reader :insurance_company_name
|
|
2428
|
+
# Type of insurance.
|
|
2429
|
+
attr_reader :insurance_type
|
|
2430
|
+
|
|
2431
|
+
def self.inner_class_types
|
|
2432
|
+
@inner_class_types = {}
|
|
2433
|
+
end
|
|
2434
|
+
|
|
2435
|
+
def self.field_remappings
|
|
2436
|
+
@field_remappings = {}
|
|
2437
|
+
end
|
|
2438
|
+
end
|
|
2439
|
+
|
|
2440
|
+
class Passenger < ::Stripe::StripeObject
|
|
2441
|
+
# Full name of the passenger.
|
|
2442
|
+
attr_reader :name
|
|
2443
|
+
|
|
2444
|
+
def self.inner_class_types
|
|
2445
|
+
@inner_class_types = {}
|
|
2446
|
+
end
|
|
2447
|
+
|
|
2448
|
+
def self.field_remappings
|
|
2449
|
+
@field_remappings = {}
|
|
2450
|
+
end
|
|
2451
|
+
end
|
|
2452
|
+
|
|
2453
|
+
class Segment < ::Stripe::StripeObject
|
|
2454
|
+
class Arrival < ::Stripe::StripeObject
|
|
2455
|
+
# Arrival airport IATA code.
|
|
2456
|
+
attr_reader :airport
|
|
2457
|
+
# Arrival date and time.
|
|
2458
|
+
attr_reader :arrives_at
|
|
2459
|
+
# Arrival city.
|
|
2460
|
+
attr_reader :city
|
|
2461
|
+
# Arrival country.
|
|
2462
|
+
attr_reader :country
|
|
2463
|
+
|
|
2464
|
+
def self.inner_class_types
|
|
2465
|
+
@inner_class_types = {}
|
|
2466
|
+
end
|
|
2467
|
+
|
|
2468
|
+
def self.field_remappings
|
|
2469
|
+
@field_remappings = {}
|
|
2470
|
+
end
|
|
2471
|
+
end
|
|
2472
|
+
|
|
2473
|
+
class Departure < ::Stripe::StripeObject
|
|
2474
|
+
# Departure airport IATA code.
|
|
2475
|
+
attr_reader :airport
|
|
2476
|
+
# Departure city.
|
|
2477
|
+
attr_reader :city
|
|
2478
|
+
# Departure country.
|
|
2479
|
+
attr_reader :country
|
|
2480
|
+
# Departure date and time.
|
|
2481
|
+
attr_reader :departs_at
|
|
2482
|
+
|
|
2483
|
+
def self.inner_class_types
|
|
2484
|
+
@inner_class_types = {}
|
|
2485
|
+
end
|
|
2486
|
+
|
|
2487
|
+
def self.field_remappings
|
|
2488
|
+
@field_remappings = {}
|
|
2489
|
+
end
|
|
2490
|
+
end
|
|
2491
|
+
# Segment fare amount.
|
|
2492
|
+
attr_reader :amount
|
|
2493
|
+
# Attribute for field arrival
|
|
2494
|
+
attr_reader :arrival
|
|
2495
|
+
# Airline carrier code.
|
|
2496
|
+
attr_reader :carrier_code
|
|
2497
|
+
# Carrier name.
|
|
2498
|
+
attr_reader :carrier_name
|
|
2499
|
+
# Segment currency.
|
|
2500
|
+
attr_reader :currency
|
|
2501
|
+
# Attribute for field departure
|
|
2502
|
+
attr_reader :departure
|
|
2503
|
+
# Exchange ticket number.
|
|
2504
|
+
attr_reader :exchange_ticket_number
|
|
2505
|
+
# Fare basis code.
|
|
2506
|
+
attr_reader :fare_basis_code
|
|
2507
|
+
# Additional fees.
|
|
2508
|
+
attr_reader :fees
|
|
2509
|
+
# Flight number.
|
|
2510
|
+
attr_reader :flight_number
|
|
2511
|
+
# Stopover indicator.
|
|
2512
|
+
attr_reader :is_stop_over_indicator
|
|
2513
|
+
# Refundable ticket indicator.
|
|
2514
|
+
attr_reader :refundable
|
|
2515
|
+
# Class of service.
|
|
2516
|
+
attr_reader :service_class
|
|
2517
|
+
# Tax amount for segment.
|
|
2518
|
+
attr_reader :tax_amount
|
|
2519
|
+
# Ticket number.
|
|
2520
|
+
attr_reader :ticket_number
|
|
2521
|
+
|
|
2522
|
+
def self.inner_class_types
|
|
2523
|
+
@inner_class_types = { arrival: Arrival, departure: Departure }
|
|
2524
|
+
end
|
|
2525
|
+
|
|
2526
|
+
def self.field_remappings
|
|
2527
|
+
@field_remappings = {}
|
|
2528
|
+
end
|
|
2529
|
+
end
|
|
2530
|
+
|
|
2531
|
+
class Total < ::Stripe::StripeObject
|
|
2532
|
+
class Discounts < ::Stripe::StripeObject
|
|
2533
|
+
# Corporate client discount code.
|
|
2534
|
+
attr_reader :corporate_client_code
|
|
2535
|
+
|
|
2536
|
+
def self.inner_class_types
|
|
2537
|
+
@inner_class_types = {}
|
|
2538
|
+
end
|
|
2539
|
+
|
|
2540
|
+
def self.field_remappings
|
|
2541
|
+
@field_remappings = {}
|
|
2542
|
+
end
|
|
2543
|
+
end
|
|
2544
|
+
|
|
2545
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2546
|
+
# Amount of the extra charge.
|
|
2547
|
+
attr_reader :amount
|
|
2548
|
+
# Type of extra charge.
|
|
2549
|
+
attr_reader :type
|
|
2550
|
+
|
|
2551
|
+
def self.inner_class_types
|
|
2552
|
+
@inner_class_types = {}
|
|
2553
|
+
end
|
|
2554
|
+
|
|
2555
|
+
def self.field_remappings
|
|
2556
|
+
@field_remappings = {}
|
|
2557
|
+
end
|
|
2558
|
+
end
|
|
2559
|
+
|
|
2560
|
+
class Tax < ::Stripe::StripeObject
|
|
2561
|
+
class Tax < ::Stripe::StripeObject
|
|
2562
|
+
# Tax amount.
|
|
2563
|
+
attr_reader :amount
|
|
2564
|
+
# Tax rate.
|
|
2565
|
+
attr_reader :rate
|
|
2566
|
+
# Type of tax.
|
|
2567
|
+
attr_reader :type
|
|
2568
|
+
|
|
2569
|
+
def self.inner_class_types
|
|
2570
|
+
@inner_class_types = {}
|
|
2571
|
+
end
|
|
2572
|
+
|
|
2573
|
+
def self.field_remappings
|
|
2574
|
+
@field_remappings = {}
|
|
2575
|
+
end
|
|
2576
|
+
end
|
|
2577
|
+
# Tax details.
|
|
2578
|
+
attr_reader :taxes
|
|
2579
|
+
|
|
2580
|
+
def self.inner_class_types
|
|
2581
|
+
@inner_class_types = { taxes: Tax }
|
|
2582
|
+
end
|
|
2583
|
+
|
|
2584
|
+
def self.field_remappings
|
|
2585
|
+
@field_remappings = {}
|
|
2586
|
+
end
|
|
2587
|
+
end
|
|
2588
|
+
# Total amount.
|
|
2589
|
+
attr_reader :amount
|
|
2590
|
+
# Reason for credit.
|
|
2591
|
+
attr_reader :credit_reason
|
|
2592
|
+
# Currency for the total amount.
|
|
2593
|
+
attr_reader :currency
|
|
2594
|
+
# Attribute for field discounts
|
|
2595
|
+
attr_reader :discounts
|
|
2596
|
+
# Additional charges for the flight.
|
|
2597
|
+
attr_reader :extra_charges
|
|
2598
|
+
# Attribute for field tax
|
|
2599
|
+
attr_reader :tax
|
|
2600
|
+
|
|
2601
|
+
def self.inner_class_types
|
|
2602
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2603
|
+
end
|
|
2604
|
+
|
|
2605
|
+
def self.field_remappings
|
|
2606
|
+
@field_remappings = {}
|
|
2607
|
+
end
|
|
2608
|
+
end
|
|
2609
|
+
# Attribute for field affiliate
|
|
2610
|
+
attr_reader :affiliate
|
|
2611
|
+
# The booking number associated with the flight reservation.
|
|
2612
|
+
attr_reader :booking_number
|
|
2613
|
+
# The computerized reservation system used to make the reservation and purchase the ticket.
|
|
2614
|
+
attr_reader :computerized_reservation_system
|
|
2615
|
+
# Ticket restrictions.
|
|
2616
|
+
attr_reader :endorsements_and_restrictions
|
|
2617
|
+
# Insurance details for the flight.
|
|
2618
|
+
attr_reader :insurances
|
|
2619
|
+
# The list of passengers for this flight.
|
|
2620
|
+
attr_reader :passengers
|
|
2621
|
+
# The list of flight segments for this reservation.
|
|
2622
|
+
attr_reader :segments
|
|
2623
|
+
# Electronic ticket indicator.
|
|
2624
|
+
attr_reader :ticket_electronically_issued_indicator
|
|
2625
|
+
# Attribute for field total
|
|
2626
|
+
attr_reader :total
|
|
2627
|
+
# Type of flight transaction.
|
|
2628
|
+
attr_reader :transaction_type
|
|
2629
|
+
|
|
2630
|
+
def self.inner_class_types
|
|
2631
|
+
@inner_class_types = {
|
|
2632
|
+
affiliate: Affiliate,
|
|
2633
|
+
insurances: Insurance,
|
|
2634
|
+
passengers: Passenger,
|
|
2635
|
+
segments: Segment,
|
|
2636
|
+
total: Total,
|
|
2637
|
+
}
|
|
2638
|
+
end
|
|
2639
|
+
|
|
2640
|
+
def self.field_remappings
|
|
2641
|
+
@field_remappings = {}
|
|
2642
|
+
end
|
|
2643
|
+
end
|
|
2644
|
+
|
|
2645
|
+
class LodgingDatum < ::Stripe::StripeObject
|
|
2646
|
+
class Accommodation < ::Stripe::StripeObject
|
|
2647
|
+
# Type of accommodation.
|
|
2648
|
+
attr_reader :accommodation_type
|
|
2649
|
+
# Bed type.
|
|
2650
|
+
attr_reader :bed_type
|
|
2651
|
+
# Daily accommodation rate in cents.
|
|
2652
|
+
attr_reader :daily_rate_amount
|
|
2653
|
+
# Number of nights.
|
|
2654
|
+
attr_reader :nights
|
|
2655
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
2656
|
+
attr_reader :number_of_rooms
|
|
2657
|
+
# Rate type.
|
|
2658
|
+
attr_reader :rate_type
|
|
2659
|
+
# Whether smoking is allowed.
|
|
2660
|
+
attr_reader :smoking_indicator
|
|
2661
|
+
|
|
2662
|
+
def self.inner_class_types
|
|
2663
|
+
@inner_class_types = {}
|
|
2664
|
+
end
|
|
2665
|
+
|
|
2666
|
+
def self.field_remappings
|
|
2667
|
+
@field_remappings = {}
|
|
2668
|
+
end
|
|
2669
|
+
end
|
|
2670
|
+
|
|
2671
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2672
|
+
# Affiliate partner code.
|
|
2673
|
+
attr_reader :code
|
|
2674
|
+
# Affiliate partner name.
|
|
2675
|
+
attr_reader :name
|
|
2676
|
+
|
|
2677
|
+
def self.inner_class_types
|
|
2678
|
+
@inner_class_types = {}
|
|
2679
|
+
end
|
|
2680
|
+
|
|
2681
|
+
def self.field_remappings
|
|
2682
|
+
@field_remappings = {}
|
|
2683
|
+
end
|
|
2684
|
+
end
|
|
2685
|
+
|
|
2686
|
+
class Guest < ::Stripe::StripeObject
|
|
2687
|
+
# Guest's full name.
|
|
2688
|
+
attr_reader :name
|
|
2689
|
+
|
|
2690
|
+
def self.inner_class_types
|
|
2691
|
+
@inner_class_types = {}
|
|
2692
|
+
end
|
|
2693
|
+
|
|
2694
|
+
def self.field_remappings
|
|
2695
|
+
@field_remappings = {}
|
|
2696
|
+
end
|
|
2697
|
+
end
|
|
2698
|
+
|
|
2699
|
+
class Host < ::Stripe::StripeObject
|
|
2700
|
+
class Address < ::Stripe::StripeObject
|
|
2701
|
+
# City, district, suburb, town, or village.
|
|
2702
|
+
attr_reader :city
|
|
2703
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2704
|
+
attr_reader :country
|
|
2705
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2706
|
+
attr_reader :line1
|
|
2707
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2708
|
+
attr_reader :line2
|
|
2709
|
+
# ZIP or postal code.
|
|
2710
|
+
attr_reader :postal_code
|
|
2711
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2712
|
+
attr_reader :state
|
|
2713
|
+
|
|
2714
|
+
def self.inner_class_types
|
|
2715
|
+
@inner_class_types = {}
|
|
2716
|
+
end
|
|
2717
|
+
|
|
2718
|
+
def self.field_remappings
|
|
2719
|
+
@field_remappings = {}
|
|
2720
|
+
end
|
|
2721
|
+
end
|
|
2722
|
+
# Attribute for field address
|
|
2723
|
+
attr_reader :address
|
|
2724
|
+
# Host's country of domicile.
|
|
2725
|
+
attr_reader :country_of_domicile
|
|
2726
|
+
# Reference number for the host.
|
|
2727
|
+
attr_reader :host_reference
|
|
2728
|
+
# Type of host.
|
|
2729
|
+
attr_reader :host_type
|
|
2730
|
+
# Name of the lodging property or host.
|
|
2731
|
+
attr_reader :name
|
|
2732
|
+
# Total number of reservations for the host.
|
|
2733
|
+
attr_reader :number_of_reservations
|
|
2734
|
+
# Property phone number.
|
|
2735
|
+
attr_reader :property_phone_number
|
|
2736
|
+
# Host's registration date.
|
|
2737
|
+
attr_reader :registered_at
|
|
2738
|
+
|
|
2739
|
+
def self.inner_class_types
|
|
2740
|
+
@inner_class_types = { address: Address }
|
|
2741
|
+
end
|
|
2742
|
+
|
|
2743
|
+
def self.field_remappings
|
|
2744
|
+
@field_remappings = {}
|
|
2745
|
+
end
|
|
2746
|
+
end
|
|
2747
|
+
|
|
2748
|
+
class Insurance < ::Stripe::StripeObject
|
|
2749
|
+
# Price of the insurance coverage in cents.
|
|
2750
|
+
attr_reader :amount
|
|
2751
|
+
# Currency of the insurance amount.
|
|
2752
|
+
attr_reader :currency
|
|
2753
|
+
# Name of the insurance company.
|
|
2754
|
+
attr_reader :insurance_company_name
|
|
2755
|
+
# Type of insurance coverage.
|
|
2756
|
+
attr_reader :insurance_type
|
|
2757
|
+
|
|
2758
|
+
def self.inner_class_types
|
|
2759
|
+
@inner_class_types = {}
|
|
2760
|
+
end
|
|
2761
|
+
|
|
2762
|
+
def self.field_remappings
|
|
2763
|
+
@field_remappings = {}
|
|
2764
|
+
end
|
|
2765
|
+
end
|
|
2766
|
+
|
|
2767
|
+
class Total < ::Stripe::StripeObject
|
|
2768
|
+
class Discounts < ::Stripe::StripeObject
|
|
2769
|
+
# Corporate client discount code.
|
|
2770
|
+
attr_reader :corporate_client_code
|
|
2771
|
+
# Coupon code.
|
|
2772
|
+
attr_reader :coupon
|
|
2773
|
+
|
|
2774
|
+
def self.inner_class_types
|
|
2775
|
+
@inner_class_types = {}
|
|
2776
|
+
end
|
|
2777
|
+
|
|
2778
|
+
def self.field_remappings
|
|
2779
|
+
@field_remappings = {}
|
|
2780
|
+
end
|
|
2781
|
+
end
|
|
2782
|
+
|
|
2783
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2784
|
+
# Amount of the extra charge in cents.
|
|
2785
|
+
attr_reader :amount
|
|
2786
|
+
# Type of extra charge.
|
|
2787
|
+
attr_reader :type
|
|
2788
|
+
|
|
2789
|
+
def self.inner_class_types
|
|
2790
|
+
@inner_class_types = {}
|
|
2791
|
+
end
|
|
2792
|
+
|
|
2793
|
+
def self.field_remappings
|
|
2794
|
+
@field_remappings = {}
|
|
2795
|
+
end
|
|
2796
|
+
end
|
|
2797
|
+
|
|
2798
|
+
class Tax < ::Stripe::StripeObject
|
|
2799
|
+
class Tax < ::Stripe::StripeObject
|
|
2800
|
+
# Tax amount in cents.
|
|
2801
|
+
attr_reader :amount
|
|
2802
|
+
# Tax rate.
|
|
2803
|
+
attr_reader :rate
|
|
2804
|
+
# Type of tax applied.
|
|
2805
|
+
attr_reader :type
|
|
2806
|
+
|
|
2807
|
+
def self.inner_class_types
|
|
2808
|
+
@inner_class_types = {}
|
|
2809
|
+
end
|
|
2810
|
+
|
|
2811
|
+
def self.field_remappings
|
|
2812
|
+
@field_remappings = {}
|
|
2813
|
+
end
|
|
2814
|
+
end
|
|
2815
|
+
# Indicates whether the transaction is tax exempt.
|
|
2816
|
+
attr_reader :tax_exempt_indicator
|
|
2817
|
+
# Tax details.
|
|
2818
|
+
attr_reader :taxes
|
|
2819
|
+
|
|
2820
|
+
def self.inner_class_types
|
|
2821
|
+
@inner_class_types = { taxes: Tax }
|
|
2822
|
+
end
|
|
2823
|
+
|
|
2824
|
+
def self.field_remappings
|
|
2825
|
+
@field_remappings = {}
|
|
2826
|
+
end
|
|
2827
|
+
end
|
|
2828
|
+
# Total price of the lodging reservation in cents.
|
|
2829
|
+
attr_reader :amount
|
|
2830
|
+
# Cash advances in cents.
|
|
2831
|
+
attr_reader :cash_advances
|
|
2832
|
+
# Currency of the total amount.
|
|
2833
|
+
attr_reader :currency
|
|
2834
|
+
# Attribute for field discounts
|
|
2835
|
+
attr_reader :discounts
|
|
2836
|
+
# Additional charges for the lodging.
|
|
2837
|
+
attr_reader :extra_charges
|
|
2838
|
+
# Prepaid amount in cents.
|
|
2839
|
+
attr_reader :prepaid_amount
|
|
2840
|
+
# Attribute for field tax
|
|
2841
|
+
attr_reader :tax
|
|
2842
|
+
|
|
2843
|
+
def self.inner_class_types
|
|
2844
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2845
|
+
end
|
|
2846
|
+
|
|
2847
|
+
def self.field_remappings
|
|
2848
|
+
@field_remappings = {}
|
|
2849
|
+
end
|
|
2850
|
+
end
|
|
2851
|
+
# Attribute for field accommodation
|
|
2852
|
+
attr_reader :accommodation
|
|
2853
|
+
# Attribute for field affiliate
|
|
2854
|
+
attr_reader :affiliate
|
|
2855
|
+
# Booking confirmation number for the lodging.
|
|
2856
|
+
attr_reader :booking_number
|
|
2857
|
+
# Check-in date.
|
|
2858
|
+
attr_reader :checkin_at
|
|
2859
|
+
# Check-out date.
|
|
2860
|
+
attr_reader :checkout_at
|
|
2861
|
+
# Customer service phone number for the lodging company.
|
|
2862
|
+
attr_reader :customer_service_phone_number
|
|
2863
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2864
|
+
attr_reader :fire_safety_act_compliance_indicator
|
|
2865
|
+
# List of guests for the lodging.
|
|
2866
|
+
attr_reader :guests
|
|
2867
|
+
# Attribute for field host
|
|
2868
|
+
attr_reader :host
|
|
2869
|
+
# List of insurances for the lodging.
|
|
2870
|
+
attr_reader :insurances
|
|
2871
|
+
# Whether the renter is a no-show.
|
|
2872
|
+
attr_reader :no_show_indicator
|
|
2873
|
+
# Renter ID number for the lodging.
|
|
2874
|
+
attr_reader :renter_id_number
|
|
2875
|
+
# Renter name for the lodging.
|
|
2876
|
+
attr_reader :renter_name
|
|
2877
|
+
# Attribute for field total
|
|
2878
|
+
attr_reader :total
|
|
2879
|
+
|
|
2880
|
+
def self.inner_class_types
|
|
2881
|
+
@inner_class_types = {
|
|
2882
|
+
accommodation: Accommodation,
|
|
2883
|
+
affiliate: Affiliate,
|
|
2884
|
+
guests: Guest,
|
|
2885
|
+
host: Host,
|
|
2886
|
+
insurances: Insurance,
|
|
2887
|
+
total: Total,
|
|
2888
|
+
}
|
|
2889
|
+
end
|
|
2890
|
+
|
|
2891
|
+
def self.field_remappings
|
|
2892
|
+
@field_remappings = {}
|
|
2893
|
+
end
|
|
2894
|
+
end
|
|
2895
|
+
|
|
2896
|
+
class MoneyServices < ::Stripe::StripeObject
|
|
2897
|
+
class AccountFunding < ::Stripe::StripeObject
|
|
2898
|
+
class SenderDetails < ::Stripe::StripeObject
|
|
2899
|
+
class Address < ::Stripe::StripeObject
|
|
2900
|
+
# City, district, suburb, town, or village.
|
|
2901
|
+
attr_reader :city
|
|
2902
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2903
|
+
attr_reader :country
|
|
2904
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
2905
|
+
attr_reader :line1
|
|
2906
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2907
|
+
attr_reader :line2
|
|
2908
|
+
# ZIP or postal code.
|
|
2909
|
+
attr_reader :postal_code
|
|
2910
|
+
# State, county, province, or region.
|
|
2911
|
+
attr_reader :state
|
|
2912
|
+
|
|
2913
|
+
def self.inner_class_types
|
|
2914
|
+
@inner_class_types = {}
|
|
2915
|
+
end
|
|
2916
|
+
|
|
2917
|
+
def self.field_remappings
|
|
2918
|
+
@field_remappings = {}
|
|
2919
|
+
end
|
|
2920
|
+
end
|
|
2921
|
+
|
|
2922
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
2923
|
+
# Day of birth, between 1 and 31.
|
|
2924
|
+
attr_reader :day
|
|
2925
|
+
# Month of birth, between 1 and 12.
|
|
2926
|
+
attr_reader :month
|
|
2927
|
+
# Four-digit year of birth.
|
|
2928
|
+
attr_reader :year
|
|
2929
|
+
|
|
2930
|
+
def self.inner_class_types
|
|
2931
|
+
@inner_class_types = {}
|
|
2932
|
+
end
|
|
2933
|
+
|
|
2934
|
+
def self.field_remappings
|
|
2935
|
+
@field_remappings = {}
|
|
2936
|
+
end
|
|
2937
|
+
end
|
|
2938
|
+
# Attribute for field address
|
|
2939
|
+
attr_reader :address
|
|
2940
|
+
# Attribute for field date_of_birth
|
|
2941
|
+
attr_reader :date_of_birth
|
|
2942
|
+
# Email address.
|
|
2943
|
+
attr_reader :email
|
|
2944
|
+
# Given name (first name).
|
|
2945
|
+
attr_reader :given_name
|
|
2946
|
+
# Phone number.
|
|
2947
|
+
attr_reader :phone
|
|
2948
|
+
# Surname (last name).
|
|
2949
|
+
attr_reader :surname
|
|
2950
|
+
|
|
2951
|
+
def self.inner_class_types
|
|
2952
|
+
@inner_class_types = { address: Address, date_of_birth: DateOfBirth }
|
|
2953
|
+
end
|
|
2954
|
+
|
|
2955
|
+
def self.field_remappings
|
|
2956
|
+
@field_remappings = {}
|
|
2957
|
+
end
|
|
2958
|
+
end
|
|
2959
|
+
# Attribute for field sender_account
|
|
2960
|
+
attr_reader :sender_account
|
|
2961
|
+
# Attribute for field sender_details
|
|
2962
|
+
attr_reader :sender_details
|
|
2963
|
+
|
|
2964
|
+
def self.inner_class_types
|
|
2965
|
+
@inner_class_types = { sender_details: SenderDetails }
|
|
2966
|
+
end
|
|
2967
|
+
|
|
2968
|
+
def self.field_remappings
|
|
2969
|
+
@field_remappings = {}
|
|
2970
|
+
end
|
|
2971
|
+
end
|
|
2972
|
+
|
|
2973
|
+
class BeneficiaryDetails < ::Stripe::StripeObject
|
|
2974
|
+
class Address < ::Stripe::StripeObject
|
|
2975
|
+
# City, district, suburb, town, or village.
|
|
2976
|
+
attr_reader :city
|
|
2977
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2978
|
+
attr_reader :country
|
|
2979
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
2980
|
+
attr_reader :line1
|
|
2981
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2982
|
+
attr_reader :line2
|
|
2983
|
+
# ZIP or postal code.
|
|
2984
|
+
attr_reader :postal_code
|
|
2985
|
+
# State, county, province, or region.
|
|
2986
|
+
attr_reader :state
|
|
2987
|
+
|
|
2988
|
+
def self.inner_class_types
|
|
2989
|
+
@inner_class_types = {}
|
|
2990
|
+
end
|
|
2991
|
+
|
|
2992
|
+
def self.field_remappings
|
|
2993
|
+
@field_remappings = {}
|
|
2994
|
+
end
|
|
2995
|
+
end
|
|
2996
|
+
|
|
2997
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
2998
|
+
# Day of birth, between 1 and 31.
|
|
2999
|
+
attr_reader :day
|
|
3000
|
+
# Month of birth, between 1 and 12.
|
|
3001
|
+
attr_reader :month
|
|
3002
|
+
# Four-digit year of birth.
|
|
3003
|
+
attr_reader :year
|
|
3004
|
+
|
|
3005
|
+
def self.inner_class_types
|
|
3006
|
+
@inner_class_types = {}
|
|
3007
|
+
end
|
|
3008
|
+
|
|
3009
|
+
def self.field_remappings
|
|
3010
|
+
@field_remappings = {}
|
|
3011
|
+
end
|
|
3012
|
+
end
|
|
3013
|
+
# Attribute for field address
|
|
3014
|
+
attr_reader :address
|
|
3015
|
+
# Attribute for field date_of_birth
|
|
3016
|
+
attr_reader :date_of_birth
|
|
3017
|
+
# Email address.
|
|
3018
|
+
attr_reader :email
|
|
3019
|
+
# Given name (first name).
|
|
3020
|
+
attr_reader :given_name
|
|
3021
|
+
# Phone number.
|
|
3022
|
+
attr_reader :phone
|
|
3023
|
+
# Surname (last name).
|
|
3024
|
+
attr_reader :surname
|
|
3025
|
+
|
|
3026
|
+
def self.inner_class_types
|
|
3027
|
+
@inner_class_types = { address: Address, date_of_birth: DateOfBirth }
|
|
3028
|
+
end
|
|
3029
|
+
|
|
3030
|
+
def self.field_remappings
|
|
3031
|
+
@field_remappings = {}
|
|
3032
|
+
end
|
|
3033
|
+
end
|
|
3034
|
+
# Attribute for field account_funding
|
|
3035
|
+
attr_reader :account_funding
|
|
3036
|
+
# Attribute for field beneficiary_account
|
|
3037
|
+
attr_reader :beneficiary_account
|
|
3038
|
+
# Attribute for field beneficiary_details
|
|
3039
|
+
attr_reader :beneficiary_details
|
|
3040
|
+
# The type of money services transaction.
|
|
3041
|
+
attr_reader :transaction_type
|
|
3042
|
+
|
|
3043
|
+
def self.inner_class_types
|
|
3044
|
+
@inner_class_types = {
|
|
3045
|
+
account_funding: AccountFunding,
|
|
3046
|
+
beneficiary_details: BeneficiaryDetails,
|
|
3047
|
+
}
|
|
3048
|
+
end
|
|
3049
|
+
|
|
3050
|
+
def self.field_remappings
|
|
3051
|
+
@field_remappings = {}
|
|
3052
|
+
end
|
|
3053
|
+
end
|
|
3054
|
+
|
|
3055
|
+
class Subscription < ::Stripe::StripeObject
|
|
3056
|
+
class Affiliate < ::Stripe::StripeObject
|
|
3057
|
+
# The name of the affiliate that originated the purchase.
|
|
3058
|
+
attr_reader :name
|
|
3059
|
+
|
|
3060
|
+
def self.inner_class_types
|
|
3061
|
+
@inner_class_types = {}
|
|
3062
|
+
end
|
|
3063
|
+
|
|
3064
|
+
def self.field_remappings
|
|
3065
|
+
@field_remappings = {}
|
|
3066
|
+
end
|
|
3067
|
+
end
|
|
3068
|
+
|
|
3069
|
+
class BillingInterval < ::Stripe::StripeObject
|
|
3070
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3071
|
+
attr_reader :count
|
|
3072
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3073
|
+
attr_reader :interval
|
|
3074
|
+
|
|
3075
|
+
def self.inner_class_types
|
|
3076
|
+
@inner_class_types = {}
|
|
3077
|
+
end
|
|
3078
|
+
|
|
3079
|
+
def self.field_remappings
|
|
3080
|
+
@field_remappings = {}
|
|
3081
|
+
end
|
|
3082
|
+
end
|
|
3083
|
+
# Attribute for field affiliate
|
|
3084
|
+
attr_reader :affiliate
|
|
3085
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
3086
|
+
attr_reader :auto_renewal
|
|
3087
|
+
# Attribute for field billing_interval
|
|
3088
|
+
attr_reader :billing_interval
|
|
3089
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
3090
|
+
attr_reader :ends_at
|
|
3091
|
+
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
3092
|
+
attr_reader :name
|
|
3093
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
3094
|
+
attr_reader :starts_at
|
|
3095
|
+
|
|
3096
|
+
def self.inner_class_types
|
|
3097
|
+
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
3098
|
+
end
|
|
3099
|
+
|
|
3100
|
+
def self.field_remappings
|
|
3101
|
+
@field_remappings = {}
|
|
3102
|
+
end
|
|
3103
|
+
end
|
|
3104
|
+
# Attribute for field benefit
|
|
3105
|
+
attr_reader :benefit
|
|
3106
|
+
# Attribute for field car_rental
|
|
3107
|
+
attr_reader :car_rental
|
|
3108
|
+
# Attribute for field car_rental_data
|
|
3109
|
+
attr_reader :car_rental_data
|
|
3110
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
3111
|
+
#
|
|
3112
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
3113
|
+
attr_reader :customer_reference
|
|
3114
|
+
# Attribute for field event_details
|
|
3115
|
+
attr_reader :event_details
|
|
3116
|
+
# Fleet data for this PaymentIntent.
|
|
3117
|
+
attr_reader :fleet_data
|
|
3118
|
+
# Attribute for field flight_data
|
|
3119
|
+
attr_reader :flight_data
|
|
3120
|
+
# The Payment Location associated with this PaymentIntent.
|
|
3121
|
+
attr_reader :location
|
|
3122
|
+
# Attribute for field lodging_data
|
|
3123
|
+
attr_reader :lodging_data
|
|
3124
|
+
# Attribute for field money_services
|
|
3125
|
+
attr_reader :money_services
|
|
3126
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
3127
|
+
#
|
|
1293
3128
|
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
1294
3129
|
attr_reader :order_reference
|
|
3130
|
+
# Attribute for field subscription
|
|
3131
|
+
attr_reader :subscription
|
|
1295
3132
|
|
|
1296
3133
|
def self.inner_class_types
|
|
1297
|
-
@inner_class_types = {
|
|
3134
|
+
@inner_class_types = {
|
|
3135
|
+
benefit: Benefit,
|
|
3136
|
+
car_rental: CarRental,
|
|
3137
|
+
car_rental_data: CarRentalDatum,
|
|
3138
|
+
event_details: EventDetails,
|
|
3139
|
+
fleet_data: FleetDatum,
|
|
3140
|
+
flight_data: FlightDatum,
|
|
3141
|
+
lodging_data: LodgingDatum,
|
|
3142
|
+
money_services: MoneyServices,
|
|
3143
|
+
subscription: Subscription,
|
|
3144
|
+
}
|
|
1298
3145
|
end
|
|
1299
3146
|
|
|
1300
3147
|
def self.field_remappings
|
|
@@ -1602,6 +3449,25 @@ module Stripe
|
|
|
1602
3449
|
end
|
|
1603
3450
|
|
|
1604
3451
|
class Card < ::Stripe::StripeObject
|
|
3452
|
+
class CaptureDelay < ::Stripe::StripeObject
|
|
3453
|
+
# The number of days to delay the capture of the funds.
|
|
3454
|
+
#
|
|
3455
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3456
|
+
attr_reader :days
|
|
3457
|
+
# The number of hours to delay the capture of the funds.
|
|
3458
|
+
#
|
|
3459
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3460
|
+
attr_reader :hours
|
|
3461
|
+
|
|
3462
|
+
def self.inner_class_types
|
|
3463
|
+
@inner_class_types = {}
|
|
3464
|
+
end
|
|
3465
|
+
|
|
3466
|
+
def self.field_remappings
|
|
3467
|
+
@field_remappings = {}
|
|
3468
|
+
end
|
|
3469
|
+
end
|
|
3470
|
+
|
|
1605
3471
|
class Installments < ::Stripe::StripeObject
|
|
1606
3472
|
class AvailablePlan < ::Stripe::StripeObject
|
|
1607
3473
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
|
@@ -1682,6 +3548,49 @@ module Stripe
|
|
|
1682
3548
|
@field_remappings = {}
|
|
1683
3549
|
end
|
|
1684
3550
|
end
|
|
3551
|
+
|
|
3552
|
+
class StatementDetails < ::Stripe::StripeObject
|
|
3553
|
+
class Address < ::Stripe::StripeObject
|
|
3554
|
+
# City, district, suburb, town, or village.
|
|
3555
|
+
attr_reader :city
|
|
3556
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3557
|
+
attr_reader :country
|
|
3558
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
3559
|
+
attr_reader :line1
|
|
3560
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
3561
|
+
attr_reader :line2
|
|
3562
|
+
# ZIP or postal code.
|
|
3563
|
+
attr_reader :postal_code
|
|
3564
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3565
|
+
attr_reader :state
|
|
3566
|
+
|
|
3567
|
+
def self.inner_class_types
|
|
3568
|
+
@inner_class_types = {}
|
|
3569
|
+
end
|
|
3570
|
+
|
|
3571
|
+
def self.field_remappings
|
|
3572
|
+
@field_remappings = {}
|
|
3573
|
+
end
|
|
3574
|
+
end
|
|
3575
|
+
# Attribute for field address
|
|
3576
|
+
attr_reader :address
|
|
3577
|
+
# Phone number
|
|
3578
|
+
attr_reader :phone
|
|
3579
|
+
|
|
3580
|
+
def self.inner_class_types
|
|
3581
|
+
@inner_class_types = { address: Address }
|
|
3582
|
+
end
|
|
3583
|
+
|
|
3584
|
+
def self.field_remappings
|
|
3585
|
+
@field_remappings = {}
|
|
3586
|
+
end
|
|
3587
|
+
end
|
|
3588
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3589
|
+
#
|
|
3590
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3591
|
+
attr_reader :capture_by
|
|
3592
|
+
# Attribute for field capture_delay
|
|
3593
|
+
attr_reader :capture_delay
|
|
1685
3594
|
# Controls when the funds will be captured from the customer's account.
|
|
1686
3595
|
attr_reader :capture_method
|
|
1687
3596
|
# Installment details for this payment.
|
|
@@ -1692,6 +3601,8 @@ module Stripe
|
|
|
1692
3601
|
attr_reader :mandate_options
|
|
1693
3602
|
# Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
|
1694
3603
|
attr_reader :network
|
|
3604
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3605
|
+
attr_reader :request_decremental_authorization
|
|
1695
3606
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
1696
3607
|
attr_reader :request_extended_authorization
|
|
1697
3608
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1700,6 +3611,10 @@ module Stripe
|
|
|
1700
3611
|
attr_reader :request_multicapture
|
|
1701
3612
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
1702
3613
|
attr_reader :request_overcapture
|
|
3614
|
+
# Request partial authorization on this PaymentIntent.
|
|
3615
|
+
attr_reader :request_partial_authorization
|
|
3616
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3617
|
+
attr_reader :request_reauthorization
|
|
1703
3618
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
1704
3619
|
attr_reader :request_three_d_secure
|
|
1705
3620
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -1716,9 +3631,16 @@ module Stripe
|
|
|
1716
3631
|
attr_reader :statement_descriptor_suffix_kana
|
|
1717
3632
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
1718
3633
|
attr_reader :statement_descriptor_suffix_kanji
|
|
3634
|
+
# Attribute for field statement_details
|
|
3635
|
+
attr_reader :statement_details
|
|
1719
3636
|
|
|
1720
3637
|
def self.inner_class_types
|
|
1721
|
-
@inner_class_types = {
|
|
3638
|
+
@inner_class_types = {
|
|
3639
|
+
capture_delay: CaptureDelay,
|
|
3640
|
+
installments: Installments,
|
|
3641
|
+
mandate_options: MandateOptions,
|
|
3642
|
+
statement_details: StatementDetails,
|
|
3643
|
+
}
|
|
1722
3644
|
end
|
|
1723
3645
|
|
|
1724
3646
|
def self.field_remappings
|
|
@@ -1727,6 +3649,25 @@ module Stripe
|
|
|
1727
3649
|
end
|
|
1728
3650
|
|
|
1729
3651
|
class CardPresent < ::Stripe::StripeObject
|
|
3652
|
+
class CaptureDelay < ::Stripe::StripeObject
|
|
3653
|
+
# The number of days to delay the capture of the funds.
|
|
3654
|
+
#
|
|
3655
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3656
|
+
attr_reader :days
|
|
3657
|
+
# The number of hours to delay the capture of the funds.
|
|
3658
|
+
#
|
|
3659
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3660
|
+
attr_reader :hours
|
|
3661
|
+
|
|
3662
|
+
def self.inner_class_types
|
|
3663
|
+
@inner_class_types = {}
|
|
3664
|
+
end
|
|
3665
|
+
|
|
3666
|
+
def self.field_remappings
|
|
3667
|
+
@field_remappings = {}
|
|
3668
|
+
end
|
|
3669
|
+
end
|
|
3670
|
+
|
|
1730
3671
|
class Routing < ::Stripe::StripeObject
|
|
1731
3672
|
# Requested routing priority
|
|
1732
3673
|
attr_reader :requested_priority
|
|
@@ -1739,17 +3680,27 @@ module Stripe
|
|
|
1739
3680
|
@field_remappings = {}
|
|
1740
3681
|
end
|
|
1741
3682
|
end
|
|
3683
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3684
|
+
#
|
|
3685
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3686
|
+
attr_reader :capture_by
|
|
3687
|
+
# Attribute for field capture_delay
|
|
3688
|
+
attr_reader :capture_delay
|
|
1742
3689
|
# Controls when the funds will be captured from the customer's account.
|
|
1743
3690
|
attr_reader :capture_method
|
|
1744
3691
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
1745
3692
|
attr_reader :request_extended_authorization
|
|
1746
3693
|
# Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
|
|
1747
3694
|
attr_reader :request_incremental_authorization_support
|
|
3695
|
+
# Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
|
|
3696
|
+
attr_reader :request_multicapture
|
|
3697
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3698
|
+
attr_reader :request_reauthorization
|
|
1748
3699
|
# Attribute for field routing
|
|
1749
3700
|
attr_reader :routing
|
|
1750
3701
|
|
|
1751
3702
|
def self.inner_class_types
|
|
1752
|
-
@inner_class_types = { routing: Routing }
|
|
3703
|
+
@inner_class_types = { capture_delay: CaptureDelay, routing: Routing }
|
|
1753
3704
|
end
|
|
1754
3705
|
|
|
1755
3706
|
def self.field_remappings
|
|
@@ -1778,7 +3729,40 @@ module Stripe
|
|
|
1778
3729
|
end
|
|
1779
3730
|
end
|
|
1780
3731
|
|
|
1781
|
-
class Crypto < ::Stripe::StripeObject
|
|
3732
|
+
class Crypto < ::Stripe::StripeObject
|
|
3733
|
+
class DepositOptions < ::Stripe::StripeObject
|
|
3734
|
+
# 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).
|
|
3735
|
+
attr_reader :networks
|
|
3736
|
+
# If true, provisions a permanent per-customer deposit address reused across PaymentIntents.
|
|
3737
|
+
attr_reader :static_address
|
|
3738
|
+
|
|
3739
|
+
def self.inner_class_types
|
|
3740
|
+
@inner_class_types = {}
|
|
3741
|
+
end
|
|
3742
|
+
|
|
3743
|
+
def self.field_remappings
|
|
3744
|
+
@field_remappings = {}
|
|
3745
|
+
end
|
|
3746
|
+
end
|
|
3747
|
+
|
|
3748
|
+
class TransactionVerificationOptions < ::Stripe::StripeObject
|
|
3749
|
+
# The network on which the transaction was submitted.
|
|
3750
|
+
attr_reader :network
|
|
3751
|
+
# The hash of the onchain transaction to verify.
|
|
3752
|
+
attr_reader :transaction_hash
|
|
3753
|
+
|
|
3754
|
+
def self.inner_class_types
|
|
3755
|
+
@inner_class_types = {}
|
|
3756
|
+
end
|
|
3757
|
+
|
|
3758
|
+
def self.field_remappings
|
|
3759
|
+
@field_remappings = {}
|
|
3760
|
+
end
|
|
3761
|
+
end
|
|
3762
|
+
# Attribute for field deposit_options
|
|
3763
|
+
attr_reader :deposit_options
|
|
3764
|
+
# The mode of the crypto payment.
|
|
3765
|
+
attr_reader :mode
|
|
1782
3766
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1783
3767
|
#
|
|
1784
3768
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1787,9 +3771,14 @@ module Stripe
|
|
|
1787
3771
|
#
|
|
1788
3772
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
1789
3773
|
attr_reader :setup_future_usage
|
|
3774
|
+
# Attribute for field transaction_verification_options
|
|
3775
|
+
attr_reader :transaction_verification_options
|
|
1790
3776
|
|
|
1791
3777
|
def self.inner_class_types
|
|
1792
|
-
@inner_class_types = {
|
|
3778
|
+
@inner_class_types = {
|
|
3779
|
+
deposit_options: DepositOptions,
|
|
3780
|
+
transaction_verification_options: TransactionVerificationOptions,
|
|
3781
|
+
}
|
|
1793
3782
|
end
|
|
1794
3783
|
|
|
1795
3784
|
def self.field_remappings
|
|
@@ -1888,6 +3877,23 @@ module Stripe
|
|
|
1888
3877
|
end
|
|
1889
3878
|
end
|
|
1890
3879
|
|
|
3880
|
+
class GiftCard < ::Stripe::StripeObject
|
|
3881
|
+
# Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card.
|
|
3882
|
+
attr_reader :ignore_application_fee
|
|
3883
|
+
# Set to `yes` to ignore transfer data on the PaymentIntent when redeeming this gift card.
|
|
3884
|
+
attr_reader :ignore_transfer_data
|
|
3885
|
+
# Request partial authorization on this PaymentIntent.
|
|
3886
|
+
attr_reader :request_partial_authorization
|
|
3887
|
+
|
|
3888
|
+
def self.inner_class_types
|
|
3889
|
+
@inner_class_types = {}
|
|
3890
|
+
end
|
|
3891
|
+
|
|
3892
|
+
def self.field_remappings
|
|
3893
|
+
@field_remappings = {}
|
|
3894
|
+
end
|
|
3895
|
+
end
|
|
3896
|
+
|
|
1891
3897
|
class Giropay < ::Stripe::StripeObject
|
|
1892
3898
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1893
3899
|
#
|
|
@@ -1907,6 +3913,25 @@ module Stripe
|
|
|
1907
3913
|
end
|
|
1908
3914
|
end
|
|
1909
3915
|
|
|
3916
|
+
class Gopay < ::Stripe::StripeObject
|
|
3917
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3918
|
+
#
|
|
3919
|
+
# 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.
|
|
3920
|
+
#
|
|
3921
|
+
# 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.
|
|
3922
|
+
#
|
|
3923
|
+
# 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).
|
|
3924
|
+
attr_reader :setup_future_usage
|
|
3925
|
+
|
|
3926
|
+
def self.inner_class_types
|
|
3927
|
+
@inner_class_types = {}
|
|
3928
|
+
end
|
|
3929
|
+
|
|
3930
|
+
def self.field_remappings
|
|
3931
|
+
@field_remappings = {}
|
|
3932
|
+
end
|
|
3933
|
+
end
|
|
3934
|
+
|
|
1910
3935
|
class Grabpay < ::Stripe::StripeObject
|
|
1911
3936
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1912
3937
|
#
|
|
@@ -1926,6 +3951,29 @@ module Stripe
|
|
|
1926
3951
|
end
|
|
1927
3952
|
end
|
|
1928
3953
|
|
|
3954
|
+
class IdBankTransfer < ::Stripe::StripeObject
|
|
3955
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
3956
|
+
attr_reader :expires_after
|
|
3957
|
+
# 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.
|
|
3958
|
+
attr_reader :expires_at
|
|
3959
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3960
|
+
#
|
|
3961
|
+
# 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.
|
|
3962
|
+
#
|
|
3963
|
+
# 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.
|
|
3964
|
+
#
|
|
3965
|
+
# 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).
|
|
3966
|
+
attr_reader :setup_future_usage
|
|
3967
|
+
|
|
3968
|
+
def self.inner_class_types
|
|
3969
|
+
@inner_class_types = {}
|
|
3970
|
+
end
|
|
3971
|
+
|
|
3972
|
+
def self.field_remappings
|
|
3973
|
+
@field_remappings = {}
|
|
3974
|
+
end
|
|
3975
|
+
end
|
|
3976
|
+
|
|
1929
3977
|
class Ideal < ::Stripe::StripeObject
|
|
1930
3978
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1931
3979
|
#
|
|
@@ -2254,12 +4302,56 @@ module Stripe
|
|
|
2254
4302
|
end
|
|
2255
4303
|
|
|
2256
4304
|
class Paypal < ::Stripe::StripeObject
|
|
4305
|
+
class LineItem < ::Stripe::StripeObject
|
|
4306
|
+
class Tax < ::Stripe::StripeObject
|
|
4307
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4308
|
+
attr_reader :amount
|
|
4309
|
+
# The tax behavior for the line item.
|
|
4310
|
+
attr_reader :behavior
|
|
4311
|
+
|
|
4312
|
+
def self.inner_class_types
|
|
4313
|
+
@inner_class_types = {}
|
|
4314
|
+
end
|
|
4315
|
+
|
|
4316
|
+
def self.field_remappings
|
|
4317
|
+
@field_remappings = {}
|
|
4318
|
+
end
|
|
4319
|
+
end
|
|
4320
|
+
# Type of the line item.
|
|
4321
|
+
attr_reader :category
|
|
4322
|
+
# Description of the line item.
|
|
4323
|
+
attr_reader :description
|
|
4324
|
+
# Descriptive name of the line item.
|
|
4325
|
+
attr_reader :name
|
|
4326
|
+
# Quantity of the line item. Cannot be a negative number.
|
|
4327
|
+
attr_reader :quantity
|
|
4328
|
+
# Client facing stock keeping unit, article number or similar.
|
|
4329
|
+
attr_reader :sku
|
|
4330
|
+
# 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).
|
|
4331
|
+
attr_reader :sold_by
|
|
4332
|
+
# Attribute for field tax
|
|
4333
|
+
attr_reader :tax
|
|
4334
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4335
|
+
attr_reader :unit_amount
|
|
4336
|
+
|
|
4337
|
+
def self.inner_class_types
|
|
4338
|
+
@inner_class_types = { tax: Tax }
|
|
4339
|
+
end
|
|
4340
|
+
|
|
4341
|
+
def self.field_remappings
|
|
4342
|
+
@field_remappings = {}
|
|
4343
|
+
end
|
|
4344
|
+
end
|
|
2257
4345
|
# Controls when the funds will be captured from the customer's account.
|
|
2258
4346
|
attr_reader :capture_method
|
|
4347
|
+
# The line items purchased by the customer.
|
|
4348
|
+
attr_reader :line_items
|
|
2259
4349
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2260
4350
|
attr_reader :preferred_locale
|
|
2261
4351
|
# 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
4352
|
attr_reader :reference
|
|
4353
|
+
# 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.
|
|
4354
|
+
attr_reader :reference_id
|
|
2263
4355
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2264
4356
|
#
|
|
2265
4357
|
# 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 +4360,19 @@ module Stripe
|
|
|
2268
4360
|
#
|
|
2269
4361
|
# 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
4362
|
attr_reader :setup_future_usage
|
|
4363
|
+
# 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.
|
|
4364
|
+
attr_reader :subsellers
|
|
4365
|
+
|
|
4366
|
+
def self.inner_class_types
|
|
4367
|
+
@inner_class_types = { line_items: LineItem }
|
|
4368
|
+
end
|
|
4369
|
+
|
|
4370
|
+
def self.field_remappings
|
|
4371
|
+
@field_remappings = {}
|
|
4372
|
+
end
|
|
4373
|
+
end
|
|
2271
4374
|
|
|
4375
|
+
class Paypay < ::Stripe::StripeObject
|
|
2272
4376
|
def self.inner_class_types
|
|
2273
4377
|
@inner_class_types = {}
|
|
2274
4378
|
end
|
|
@@ -2393,9 +4497,7 @@ module Stripe
|
|
|
2393
4497
|
end
|
|
2394
4498
|
end
|
|
2395
4499
|
|
|
2396
|
-
class
|
|
2397
|
-
# Controls when the funds will be captured from the customer's account.
|
|
2398
|
-
attr_reader :capture_method
|
|
4500
|
+
class Qris < ::Stripe::StripeObject
|
|
2399
4501
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2400
4502
|
#
|
|
2401
4503
|
# 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.
|
|
@@ -2414,10 +4516,7 @@ module Stripe
|
|
|
2414
4516
|
end
|
|
2415
4517
|
end
|
|
2416
4518
|
|
|
2417
|
-
class
|
|
2418
|
-
# Controls when the funds will be captured from the customer's account.
|
|
2419
|
-
attr_reader :capture_method
|
|
2420
|
-
|
|
4519
|
+
class Rechnung < ::Stripe::StripeObject
|
|
2421
4520
|
def self.inner_class_types
|
|
2422
4521
|
@inner_class_types = {}
|
|
2423
4522
|
end
|
|
@@ -2427,7 +4526,7 @@ module Stripe
|
|
|
2427
4526
|
end
|
|
2428
4527
|
end
|
|
2429
4528
|
|
|
2430
|
-
class
|
|
4529
|
+
class RevolutPay < ::Stripe::StripeObject
|
|
2431
4530
|
# Controls when the funds will be captured from the customer's account.
|
|
2432
4531
|
attr_reader :capture_method
|
|
2433
4532
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2448,6 +4547,32 @@ module Stripe
|
|
|
2448
4547
|
end
|
|
2449
4548
|
end
|
|
2450
4549
|
|
|
4550
|
+
class SamsungPay < ::Stripe::StripeObject
|
|
4551
|
+
# Controls when the funds will be captured from the customer's account.
|
|
4552
|
+
attr_reader :capture_method
|
|
4553
|
+
|
|
4554
|
+
def self.inner_class_types
|
|
4555
|
+
@inner_class_types = {}
|
|
4556
|
+
end
|
|
4557
|
+
|
|
4558
|
+
def self.field_remappings
|
|
4559
|
+
@field_remappings = {}
|
|
4560
|
+
end
|
|
4561
|
+
end
|
|
4562
|
+
|
|
4563
|
+
class Satispay < ::Stripe::StripeObject
|
|
4564
|
+
# Controls when the funds will be captured from the customer's account.
|
|
4565
|
+
attr_reader :capture_method
|
|
4566
|
+
|
|
4567
|
+
def self.inner_class_types
|
|
4568
|
+
@inner_class_types = {}
|
|
4569
|
+
end
|
|
4570
|
+
|
|
4571
|
+
def self.field_remappings
|
|
4572
|
+
@field_remappings = {}
|
|
4573
|
+
end
|
|
4574
|
+
end
|
|
4575
|
+
|
|
2451
4576
|
class Scalapay < ::Stripe::StripeObject
|
|
2452
4577
|
# Controls when the funds will be captured from the customer's account.
|
|
2453
4578
|
attr_reader :capture_method
|
|
@@ -2496,6 +4621,25 @@ module Stripe
|
|
|
2496
4621
|
end
|
|
2497
4622
|
end
|
|
2498
4623
|
|
|
4624
|
+
class Shopeepay < ::Stripe::StripeObject
|
|
4625
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4626
|
+
#
|
|
4627
|
+
# 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.
|
|
4628
|
+
#
|
|
4629
|
+
# 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.
|
|
4630
|
+
#
|
|
4631
|
+
# 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).
|
|
4632
|
+
attr_reader :setup_future_usage
|
|
4633
|
+
|
|
4634
|
+
def self.inner_class_types
|
|
4635
|
+
@inner_class_types = {}
|
|
4636
|
+
end
|
|
4637
|
+
|
|
4638
|
+
def self.field_remappings
|
|
4639
|
+
@field_remappings = {}
|
|
4640
|
+
end
|
|
4641
|
+
end
|
|
4642
|
+
|
|
2499
4643
|
class Sofort < ::Stripe::StripeObject
|
|
2500
4644
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2501
4645
|
attr_reader :preferred_language
|
|
@@ -2517,9 +4661,21 @@ module Stripe
|
|
|
2517
4661
|
end
|
|
2518
4662
|
end
|
|
2519
4663
|
|
|
2520
|
-
class
|
|
2521
|
-
|
|
2522
|
-
|
|
4664
|
+
class StripeBalance < ::Stripe::StripeObject
|
|
4665
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
4666
|
+
# The ID of the Stripe Balance Debit Agreement used for this mandate.
|
|
4667
|
+
attr_reader :stripe_balance_debit_agreement
|
|
4668
|
+
|
|
4669
|
+
def self.inner_class_types
|
|
4670
|
+
@inner_class_types = {}
|
|
4671
|
+
end
|
|
4672
|
+
|
|
4673
|
+
def self.field_remappings
|
|
4674
|
+
@field_remappings = {}
|
|
4675
|
+
end
|
|
4676
|
+
end
|
|
4677
|
+
# Attribute for field mandate_options
|
|
4678
|
+
attr_reader :mandate_options
|
|
2523
4679
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2524
4680
|
#
|
|
2525
4681
|
# 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.
|
|
@@ -2530,7 +4686,7 @@ module Stripe
|
|
|
2530
4686
|
attr_reader :setup_future_usage
|
|
2531
4687
|
|
|
2532
4688
|
def self.inner_class_types
|
|
2533
|
-
@inner_class_types = {}
|
|
4689
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
|
2534
4690
|
end
|
|
2535
4691
|
|
|
2536
4692
|
def self.field_remappings
|
|
@@ -2602,6 +4758,21 @@ module Stripe
|
|
|
2602
4758
|
class Filters < ::Stripe::StripeObject
|
|
2603
4759
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2604
4760
|
attr_reader :account_subcategories
|
|
4761
|
+
# The institution to use to filter for possible accounts to link.
|
|
4762
|
+
attr_reader :institution
|
|
4763
|
+
|
|
4764
|
+
def self.inner_class_types
|
|
4765
|
+
@inner_class_types = {}
|
|
4766
|
+
end
|
|
4767
|
+
|
|
4768
|
+
def self.field_remappings
|
|
4769
|
+
@field_remappings = {}
|
|
4770
|
+
end
|
|
4771
|
+
end
|
|
4772
|
+
|
|
4773
|
+
class ManualEntry < ::Stripe::StripeObject
|
|
4774
|
+
# Settings for configuring manual entry of account details.
|
|
4775
|
+
attr_reader :mode
|
|
2605
4776
|
|
|
2606
4777
|
def self.inner_class_types
|
|
2607
4778
|
@inner_class_types = {}
|
|
@@ -2613,6 +4784,8 @@ module Stripe
|
|
|
2613
4784
|
end
|
|
2614
4785
|
# Attribute for field filters
|
|
2615
4786
|
attr_reader :filters
|
|
4787
|
+
# Attribute for field manual_entry
|
|
4788
|
+
attr_reader :manual_entry
|
|
2616
4789
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
2617
4790
|
attr_reader :permissions
|
|
2618
4791
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -2621,7 +4794,7 @@ module Stripe
|
|
|
2621
4794
|
attr_reader :return_url
|
|
2622
4795
|
|
|
2623
4796
|
def self.inner_class_types
|
|
2624
|
-
@inner_class_types = { filters: Filters }
|
|
4797
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
|
2625
4798
|
end
|
|
2626
4799
|
|
|
2627
4800
|
def self.field_remappings
|
|
@@ -2673,8 +4846,10 @@ module Stripe
|
|
|
2673
4846
|
end
|
|
2674
4847
|
|
|
2675
4848
|
class WechatPay < ::Stripe::StripeObject
|
|
2676
|
-
# The app ID registered with WeChat Pay. Only required when client is ios
|
|
4849
|
+
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
|
2677
4850
|
attr_reader :app_id
|
|
4851
|
+
# The unique buyer ID for the app ID registered with WeChat Pay. Only required when client is mini_program.
|
|
4852
|
+
attr_reader :buyer_id
|
|
2678
4853
|
# The client type that the end customer will pay from
|
|
2679
4854
|
attr_reader :client
|
|
2680
4855
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2753,10 +4928,16 @@ module Stripe
|
|
|
2753
4928
|
attr_reader :eps
|
|
2754
4929
|
# Attribute for field fpx
|
|
2755
4930
|
attr_reader :fpx
|
|
4931
|
+
# Attribute for field gift_card
|
|
4932
|
+
attr_reader :gift_card
|
|
2756
4933
|
# Attribute for field giropay
|
|
2757
4934
|
attr_reader :giropay
|
|
4935
|
+
# Attribute for field gopay
|
|
4936
|
+
attr_reader :gopay
|
|
2758
4937
|
# Attribute for field grabpay
|
|
2759
4938
|
attr_reader :grabpay
|
|
4939
|
+
# Attribute for field id_bank_transfer
|
|
4940
|
+
attr_reader :id_bank_transfer
|
|
2760
4941
|
# Attribute for field ideal
|
|
2761
4942
|
attr_reader :ideal
|
|
2762
4943
|
# Attribute for field interac_present
|
|
@@ -2793,12 +4974,18 @@ module Stripe
|
|
|
2793
4974
|
attr_reader :paynow
|
|
2794
4975
|
# Attribute for field paypal
|
|
2795
4976
|
attr_reader :paypal
|
|
4977
|
+
# Attribute for field paypay
|
|
4978
|
+
attr_reader :paypay
|
|
2796
4979
|
# Attribute for field payto
|
|
2797
4980
|
attr_reader :payto
|
|
2798
4981
|
# Attribute for field pix
|
|
2799
4982
|
attr_reader :pix
|
|
2800
4983
|
# Attribute for field promptpay
|
|
2801
4984
|
attr_reader :promptpay
|
|
4985
|
+
# Attribute for field qris
|
|
4986
|
+
attr_reader :qris
|
|
4987
|
+
# Attribute for field rechnung
|
|
4988
|
+
attr_reader :rechnung
|
|
2802
4989
|
# Attribute for field revolut_pay
|
|
2803
4990
|
attr_reader :revolut_pay
|
|
2804
4991
|
# Attribute for field samsung_pay
|
|
@@ -2809,10 +4996,12 @@ module Stripe
|
|
|
2809
4996
|
attr_reader :scalapay
|
|
2810
4997
|
# Attribute for field sepa_debit
|
|
2811
4998
|
attr_reader :sepa_debit
|
|
4999
|
+
# Attribute for field shopeepay
|
|
5000
|
+
attr_reader :shopeepay
|
|
2812
5001
|
# Attribute for field sofort
|
|
2813
5002
|
attr_reader :sofort
|
|
2814
|
-
# Attribute for field
|
|
2815
|
-
attr_reader :
|
|
5003
|
+
# Attribute for field stripe_balance
|
|
5004
|
+
attr_reader :stripe_balance
|
|
2816
5005
|
# Attribute for field swish
|
|
2817
5006
|
attr_reader :swish
|
|
2818
5007
|
# Attribute for field twint
|
|
@@ -2848,8 +5037,11 @@ module Stripe
|
|
|
2848
5037
|
customer_balance: CustomerBalance,
|
|
2849
5038
|
eps: Eps,
|
|
2850
5039
|
fpx: Fpx,
|
|
5040
|
+
gift_card: GiftCard,
|
|
2851
5041
|
giropay: Giropay,
|
|
5042
|
+
gopay: Gopay,
|
|
2852
5043
|
grabpay: Grabpay,
|
|
5044
|
+
id_bank_transfer: IdBankTransfer,
|
|
2853
5045
|
ideal: Ideal,
|
|
2854
5046
|
interac_present: InteracPresent,
|
|
2855
5047
|
kakao_pay: KakaoPay,
|
|
@@ -2868,16 +5060,20 @@ module Stripe
|
|
|
2868
5060
|
payco: Payco,
|
|
2869
5061
|
paynow: Paynow,
|
|
2870
5062
|
paypal: Paypal,
|
|
5063
|
+
paypay: Paypay,
|
|
2871
5064
|
payto: Payto,
|
|
2872
5065
|
pix: Pix,
|
|
2873
5066
|
promptpay: Promptpay,
|
|
5067
|
+
qris: Qris,
|
|
5068
|
+
rechnung: Rechnung,
|
|
2874
5069
|
revolut_pay: RevolutPay,
|
|
2875
5070
|
samsung_pay: SamsungPay,
|
|
2876
5071
|
satispay: Satispay,
|
|
2877
5072
|
scalapay: Scalapay,
|
|
2878
5073
|
sepa_debit: SepaDebit,
|
|
5074
|
+
shopeepay: Shopeepay,
|
|
2879
5075
|
sofort: Sofort,
|
|
2880
|
-
|
|
5076
|
+
stripe_balance: StripeBalance,
|
|
2881
5077
|
swish: Swish,
|
|
2882
5078
|
twint: Twint,
|
|
2883
5079
|
upi: Upi,
|
|
@@ -2892,6 +5088,19 @@ module Stripe
|
|
|
2892
5088
|
end
|
|
2893
5089
|
end
|
|
2894
5090
|
|
|
5091
|
+
class PaymentsOrchestration < ::Stripe::StripeObject
|
|
5092
|
+
# Whether this feature is enabled.
|
|
5093
|
+
attr_reader :enabled
|
|
5094
|
+
|
|
5095
|
+
def self.inner_class_types
|
|
5096
|
+
@inner_class_types = {}
|
|
5097
|
+
end
|
|
5098
|
+
|
|
5099
|
+
def self.field_remappings
|
|
5100
|
+
@field_remappings = {}
|
|
5101
|
+
end
|
|
5102
|
+
end
|
|
5103
|
+
|
|
2895
5104
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
2896
5105
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
|
2897
5106
|
attr_reader :presentment_amount
|
|
@@ -3027,6 +5236,14 @@ module Stripe
|
|
|
3027
5236
|
@field_remappings = {}
|
|
3028
5237
|
end
|
|
3029
5238
|
end
|
|
5239
|
+
# Attribute for field advanced_feature_details
|
|
5240
|
+
attr_reader :advanced_feature_details
|
|
5241
|
+
# Details about the agent that initiated the creation of this PaymentIntent.
|
|
5242
|
+
attr_reader :agent_details
|
|
5243
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
5244
|
+
attr_reader :allocated_funds
|
|
5245
|
+
# 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`.
|
|
5246
|
+
attr_reader :allowed_payment_method_types
|
|
3030
5247
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
3031
5248
|
attr_reader :amount
|
|
3032
5249
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -3039,6 +5256,8 @@ module Stripe
|
|
|
3039
5256
|
attr_reader :application
|
|
3040
5257
|
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
3041
5258
|
attr_reader :application_fee_amount
|
|
5259
|
+
# Attribute for field async_workflows
|
|
5260
|
+
attr_reader :async_workflows
|
|
3042
5261
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
3043
5262
|
attr_reader :automatic_payment_methods
|
|
3044
5263
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -3075,6 +5294,8 @@ module Stripe
|
|
|
3075
5294
|
attr_reader :description
|
|
3076
5295
|
# The list of payment method types to exclude from use with this payment.
|
|
3077
5296
|
attr_reader :excluded_payment_method_types
|
|
5297
|
+
# The FX Quote used for the PaymentIntent.
|
|
5298
|
+
attr_reader :fx_quote
|
|
3078
5299
|
# Attribute for field hooks
|
|
3079
5300
|
attr_reader :hooks
|
|
3080
5301
|
# Unique identifier for the object.
|
|
@@ -3083,6 +5304,8 @@ module Stripe
|
|
|
3083
5304
|
attr_reader :last_payment_error
|
|
3084
5305
|
# ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
|
|
3085
5306
|
attr_reader :latest_charge
|
|
5307
|
+
# ID of the latest [Payment Attempt Record object](https://docs.stripe.com/api/payment-attempt-record) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
|
|
5308
|
+
attr_reader :latest_payment_attempt_record
|
|
3086
5309
|
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
3087
5310
|
attr_reader :livemode
|
|
3088
5311
|
# Settings for Managed Payments.
|
|
@@ -3106,6 +5329,10 @@ module Stripe
|
|
|
3106
5329
|
attr_reader :payment_method_options
|
|
3107
5330
|
# The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
3108
5331
|
attr_reader :payment_method_types
|
|
5332
|
+
# ID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.
|
|
5333
|
+
attr_reader :payment_record
|
|
5334
|
+
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
5335
|
+
attr_reader :payments_orchestration
|
|
3109
5336
|
# Attribute for field presentment_details
|
|
3110
5337
|
attr_reader :presentment_details
|
|
3111
5338
|
# If present, this property tells you about the processing state of the payment.
|
|
@@ -3114,6 +5341,8 @@ module Stripe
|
|
|
3114
5341
|
attr_reader :receipt_email
|
|
3115
5342
|
# ID of the review associated with this PaymentIntent, if any.
|
|
3116
5343
|
attr_reader :review
|
|
5344
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
5345
|
+
attr_reader :secret_key_confirmation
|
|
3117
5346
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3118
5347
|
#
|
|
3119
5348
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -3307,6 +5536,56 @@ module Stripe
|
|
|
3307
5536
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3308
5537
|
end
|
|
3309
5538
|
|
|
5539
|
+
# Perform a decremental authorization on an eligible
|
|
5540
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
5541
|
+
# PaymentIntent's status must be requires_capture and
|
|
5542
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
5543
|
+
# must be available.
|
|
5544
|
+
#
|
|
5545
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
5546
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
5547
|
+
#
|
|
5548
|
+
# After decrement, the PaymentIntent object
|
|
5549
|
+
# returns with the updated
|
|
5550
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
5551
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
5552
|
+
#
|
|
5553
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
5554
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
5555
|
+
def decrement_authorization(params = {}, opts = {})
|
|
5556
|
+
request_stripe_object(
|
|
5557
|
+
method: :post,
|
|
5558
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
5559
|
+
params: params,
|
|
5560
|
+
opts: opts
|
|
5561
|
+
)
|
|
5562
|
+
end
|
|
5563
|
+
|
|
5564
|
+
# Perform a decremental authorization on an eligible
|
|
5565
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
5566
|
+
# PaymentIntent's status must be requires_capture and
|
|
5567
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
5568
|
+
# must be available.
|
|
5569
|
+
#
|
|
5570
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
5571
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
5572
|
+
#
|
|
5573
|
+
# After decrement, the PaymentIntent object
|
|
5574
|
+
# returns with the updated
|
|
5575
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
5576
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
5577
|
+
#
|
|
5578
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
5579
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
5580
|
+
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
5581
|
+
request_stripe_object(
|
|
5582
|
+
method: :post,
|
|
5583
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
5584
|
+
params: params,
|
|
5585
|
+
opts: opts
|
|
5586
|
+
)
|
|
5587
|
+
end
|
|
5588
|
+
|
|
3310
5589
|
# Perform an incremental authorization on an eligible
|
|
3311
5590
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3312
5591
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -3382,6 +5661,40 @@ module Stripe
|
|
|
3382
5661
|
request_stripe_object(method: :get, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3383
5662
|
end
|
|
3384
5663
|
|
|
5664
|
+
# Reauthorize a PaymentIntent to obtain a new valid authorization after the initial authorization has expired.
|
|
5665
|
+
#
|
|
5666
|
+
# When a PaymentIntent's authorization expires and the capture window elapses, the PaymentIntent transitions to
|
|
5667
|
+
# requires_reauthorization status with amount_capturable set to 0. This endpoint
|
|
5668
|
+
# brings the PaymentIntent back to requires_capture status, allowing you to capture payment.
|
|
5669
|
+
#
|
|
5670
|
+
# This is useful for retail and ecommerce scenarios with delayed shipments where
|
|
5671
|
+
# authorization validity periods (typically 7 days) expire before the merchant is ready to capture payment.
|
|
5672
|
+
def reauthorize(params = {}, opts = {})
|
|
5673
|
+
request_stripe_object(
|
|
5674
|
+
method: :post,
|
|
5675
|
+
path: format("/v1/payment_intents/%<intent>s/reauthorize", { intent: CGI.escape(self["id"]) }),
|
|
5676
|
+
params: params,
|
|
5677
|
+
opts: opts
|
|
5678
|
+
)
|
|
5679
|
+
end
|
|
5680
|
+
|
|
5681
|
+
# Reauthorize a PaymentIntent to obtain a new valid authorization after the initial authorization has expired.
|
|
5682
|
+
#
|
|
5683
|
+
# When a PaymentIntent's authorization expires and the capture window elapses, the PaymentIntent transitions to
|
|
5684
|
+
# requires_reauthorization status with amount_capturable set to 0. This endpoint
|
|
5685
|
+
# brings the PaymentIntent back to requires_capture status, allowing you to capture payment.
|
|
5686
|
+
#
|
|
5687
|
+
# This is useful for retail and ecommerce scenarios with delayed shipments where
|
|
5688
|
+
# authorization validity periods (typically 7 days) expire before the merchant is ready to capture payment.
|
|
5689
|
+
def self.reauthorize(intent, params = {}, opts = {})
|
|
5690
|
+
request_stripe_object(
|
|
5691
|
+
method: :post,
|
|
5692
|
+
path: format("/v1/payment_intents/%<intent>s/reauthorize", { intent: CGI.escape(intent) }),
|
|
5693
|
+
params: params,
|
|
5694
|
+
opts: opts
|
|
5695
|
+
)
|
|
5696
|
+
end
|
|
5697
|
+
|
|
3385
5698
|
def self.search(params = {}, opts = {})
|
|
3386
5699
|
request_stripe_object(
|
|
3387
5700
|
method: :get,
|
|
@@ -3395,6 +5708,26 @@ module Stripe
|
|
|
3395
5708
|
search(params, opts).auto_paging_each(&blk)
|
|
3396
5709
|
end
|
|
3397
5710
|
|
|
5711
|
+
# Trigger an external action on a PaymentIntent.
|
|
5712
|
+
def trigger_action(params = {}, opts = {})
|
|
5713
|
+
request_stripe_object(
|
|
5714
|
+
method: :post,
|
|
5715
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
5716
|
+
params: params,
|
|
5717
|
+
opts: opts
|
|
5718
|
+
)
|
|
5719
|
+
end
|
|
5720
|
+
|
|
5721
|
+
# Trigger an external action on a PaymentIntent.
|
|
5722
|
+
def self.trigger_action(intent, params = {}, opts = {})
|
|
5723
|
+
request_stripe_object(
|
|
5724
|
+
method: :post,
|
|
5725
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
5726
|
+
params: params,
|
|
5727
|
+
opts: opts
|
|
5728
|
+
)
|
|
5729
|
+
end
|
|
5730
|
+
|
|
3398
5731
|
# Updates properties on a PaymentIntent object without confirming.
|
|
3399
5732
|
#
|
|
3400
5733
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -3411,6 +5744,26 @@ module Stripe
|
|
|
3411
5744
|
)
|
|
3412
5745
|
end
|
|
3413
5746
|
|
|
5747
|
+
# Updates the refund address for a static crypto deposit PaymentIntent on the specified network.
|
|
5748
|
+
def update_crypto_refund_address(params = {}, opts = {})
|
|
5749
|
+
request_stripe_object(
|
|
5750
|
+
method: :post,
|
|
5751
|
+
path: format("/v1/payment_intents/%<intent>s/update_crypto_refund_address", { intent: CGI.escape(self["id"]) }),
|
|
5752
|
+
params: params,
|
|
5753
|
+
opts: opts
|
|
5754
|
+
)
|
|
5755
|
+
end
|
|
5756
|
+
|
|
5757
|
+
# Updates the refund address for a static crypto deposit PaymentIntent on the specified network.
|
|
5758
|
+
def self.update_crypto_refund_address(intent, params = {}, opts = {})
|
|
5759
|
+
request_stripe_object(
|
|
5760
|
+
method: :post,
|
|
5761
|
+
path: format("/v1/payment_intents/%<intent>s/update_crypto_refund_address", { intent: CGI.escape(intent) }),
|
|
5762
|
+
params: params,
|
|
5763
|
+
opts: opts
|
|
5764
|
+
)
|
|
5765
|
+
end
|
|
5766
|
+
|
|
3414
5767
|
# Verifies microdeposits on a PaymentIntent object.
|
|
3415
5768
|
def verify_microdeposits(params = {}, opts = {})
|
|
3416
5769
|
request_stripe_object(
|
|
@@ -3431,9 +5784,44 @@ module Stripe
|
|
|
3431
5784
|
)
|
|
3432
5785
|
end
|
|
3433
5786
|
|
|
5787
|
+
def test_helpers
|
|
5788
|
+
TestHelpers.new(self)
|
|
5789
|
+
end
|
|
5790
|
+
|
|
5791
|
+
class TestHelpers < APIResourceTestHelpers
|
|
5792
|
+
RESOURCE_CLASS = PaymentIntent
|
|
5793
|
+
def self.resource_class
|
|
5794
|
+
"PaymentIntent"
|
|
5795
|
+
end
|
|
5796
|
+
|
|
5797
|
+
# 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).
|
|
5798
|
+
def self.simulate_crypto_deposit(intent, params = {}, opts = {})
|
|
5799
|
+
request_stripe_object(
|
|
5800
|
+
method: :post,
|
|
5801
|
+
path: format("/v1/test_helpers/payment_intents/%<intent>s/simulate_crypto_deposit", { intent: CGI.escape(intent) }),
|
|
5802
|
+
params: params,
|
|
5803
|
+
opts: opts
|
|
5804
|
+
)
|
|
5805
|
+
end
|
|
5806
|
+
|
|
5807
|
+
# 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).
|
|
5808
|
+
def simulate_crypto_deposit(params = {}, opts = {})
|
|
5809
|
+
@resource.request_stripe_object(
|
|
5810
|
+
method: :post,
|
|
5811
|
+
path: format("/v1/test_helpers/payment_intents/%<intent>s/simulate_crypto_deposit", { intent: CGI.escape(@resource["id"]) }),
|
|
5812
|
+
params: params,
|
|
5813
|
+
opts: opts
|
|
5814
|
+
)
|
|
5815
|
+
end
|
|
5816
|
+
end
|
|
5817
|
+
|
|
3434
5818
|
def self.inner_class_types
|
|
3435
5819
|
@inner_class_types = {
|
|
5820
|
+
advanced_feature_details: AdvancedFeatureDetails,
|
|
5821
|
+
agent_details: AgentDetails,
|
|
5822
|
+
allocated_funds: AllocatedFunds,
|
|
3436
5823
|
amount_details: AmountDetails,
|
|
5824
|
+
async_workflows: AsyncWorkflows,
|
|
3437
5825
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3438
5826
|
hooks: Hooks,
|
|
3439
5827
|
last_payment_error: LastPaymentError,
|
|
@@ -3442,6 +5830,7 @@ module Stripe
|
|
|
3442
5830
|
payment_details: PaymentDetails,
|
|
3443
5831
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
3444
5832
|
payment_method_options: PaymentMethodOptions,
|
|
5833
|
+
payments_orchestration: PaymentsOrchestration,
|
|
3445
5834
|
presentment_details: PresentmentDetails,
|
|
3446
5835
|
processing: Processing,
|
|
3447
5836
|
shipping: Shipping,
|