stripe 19.2.0 → 19.3.0.pre.alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +38 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +90 -0
- data/lib/stripe/event_types.rb +1308 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v1_account_application_authorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_application_deauthorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_created_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_deleted_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_updated_event.rb +20 -0
- data/lib/stripe/events/v1_account_signals_including_delinquency_created_event.rb +68 -0
- data/lib/stripe/events/v1_account_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_balance_available_event.rb +44 -0
- data/lib/stripe/events/v1_billing_alert_triggered_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_session_created_event.rb +20 -0
- data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
- data/lib/stripe/events/v1_cash_balance_funds_available_event.rb +44 -0
- data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
- data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
- data/lib/stripe/events/v1_customer_cash_balance_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v1_entitlements_active_entitlement_summary_updated_event.rb +20 -0
- data/lib/stripe/events/v1_file_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payout_created_event.rb +44 -0
- data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
- data/lib/stripe/events/v1_person_created_event.rb +44 -0
- data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_person_updated_event.rb +44 -0
- data/lib/stripe/events/v1_plan_created_event.rb +44 -0
- data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v1_price_created_event.rb +44 -0
- data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_price_updated_event.rb +44 -0
- data/lib/stripe/events/v1_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_product_updated_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
- data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
- data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_quote_created_event.rb +44 -0
- data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
- data/lib/stripe/events/v1_refund_created_event.rb +44 -0
- data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
- data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_review_closed_event.rb +44 -0
- data/lib/stripe/events/v1_review_opened_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
- data/lib/stripe/events/v1_source_failed_event.rb +44 -0
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_settings_updated_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
- data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_topup_created_event.rb +44 -0
- data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_custom_pricing_unit_overage_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_signals_fraudulent_website_ready_event.rb +48 -0
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +117 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +96 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +98 -0
- data/lib/stripe/events/v2_core_health_elements_error_firing_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_elements_error_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_firing_event.rb +75 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_resolved_event.rb +77 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +111 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +70 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +72 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_extension_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +40 -0
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_approved_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_canceled_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_denied_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_removed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_requested_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_updated_event.rb +38 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_restated_event.rb +71 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +63 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_paused_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_resumed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +88 -0
- data/lib/stripe/events/v2_signals_account_signal_merchant_delinquency_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +125 -0
- data/lib/stripe/params/account_create_params.rb +461 -2
- data/lib/stripe/params/account_link_create_params.rb +4 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_person_create_params.rb +60 -0
- data/lib/stripe/params/account_person_update_params.rb +60 -0
- data/lib/stripe/params/account_session_create_params.rb +301 -1
- data/lib/stripe/params/account_signals_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_update_params.rb +423 -1
- data/lib/stripe/params/balance_settings_update_params.rb +9 -1
- data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
- data/lib/stripe/params/billing/alert_create_params.rb +264 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +48 -2
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +20 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1912 -0
- data/lib/stripe/params/charge_update_params.rb +1912 -0
- data/lib/stripe/params/checkout/session_approve_params.rb +52 -0
- data/lib/stripe/params/checkout/session_create_params.rb +255 -4
- data/lib/stripe/params/checkout/session_update_params.rb +176 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +91 -0
- data/lib/stripe/params/coupon_create_params.rb +47 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- data/lib/stripe/params/delegated_checkout/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +168 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +230 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_list_orders_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_order_list_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +216 -0
- data/lib/stripe/params/dispute_update_params.rb +14 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +64 -2
- data/lib/stripe/params/fr_meal_vouchers_onboarding_create_params.rb +25 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +22 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +13 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +16 -0
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +11 -1
- data/lib/stripe/params/invoice_add_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +98 -3
- data/lib/stripe/params/invoice_create_preview_params.rb +1314 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +33 -1
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +48 -1
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_update_params.rb +98 -3
- data/lib/stripe/params/issuing/authorization_create_params.rb +8 -0
- data/lib/stripe/params/issuing/card_list_params.rb +34 -1
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_close_params.rb +18 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +26 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_create_params.rb +21 -0
- data/lib/stripe/params/issuing/program_list_params.rb +24 -0
- data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_update_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +8 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +8 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/orchestration/payment_attempt_retrieve_params.rb +15 -0
- data/lib/stripe/params/order_create_params.rb +2114 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2118 -0
- data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +19 -0
- data/lib/stripe/params/payment_attempt_record_report_authorized_params.rb +41 -0
- data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +22 -0
- data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +54 -0
- data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +50 -0
- data/lib/stripe/params/payment_attempt_record_report_informational_params.rb +93 -0
- data/lib/stripe/params/payment_attempt_record_report_refund_params.rb +79 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1928 -2
- data/lib/stripe/params/payment_intent_confirm_params.rb +3659 -158
- data/lib/stripe/params/payment_intent_create_params.rb +3639 -122
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +315 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +56 -1
- data/lib/stripe/params/payment_intent_reauthorize_params.rb +19 -0
- data/lib/stripe/params/payment_intent_simulate_crypto_deposit_params.rb +31 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3680 -148
- data/lib/stripe/params/payment_link_create_params.rb +34 -0
- data/lib/stripe/params/payment_location_capability_list_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_retrieve_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_update_params.rb +19 -0
- data/lib/stripe/params/payment_location_create_params.rb +54 -0
- data/lib/stripe/params/payment_location_delete_params.rb +6 -0
- data/lib/stripe/params/payment_location_list_params.rb +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 +87 -0
- data/lib/stripe/params/payment_method_update_params.rb +16 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +4 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +36 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +32 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +60 -2
- data/lib/stripe/params/payment_record_report_payment_params.rb +60 -2
- data/lib/stripe/params/plan_create_params.rb +15 -0
- data/lib/stripe/params/price_create_params.rb +19 -0
- data/lib/stripe/params/price_update_params.rb +23 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_create_params.rb +47 -0
- data/lib/stripe/params/product_update_params.rb +47 -0
- data/lib/stripe/params/quote_create_params.rb +1217 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +1225 -4
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +81 -0
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +72 -0
- data/lib/stripe/params/radar/customer_evaluation_create_params.rb +69 -0
- data/lib/stripe/params/radar/customer_evaluation_update_params.rb +21 -0
- data/lib/stripe/params/radar/issuing_authorization_evaluation_create_params.rb +197 -0
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +30 -1
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +177 -3
- data/lib/stripe/params/setup_intent_create_params.rb +177 -3
- data/lib/stripe/params/setup_intent_update_params.rb +178 -4
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +50 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +70 -0
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_create_params.rb +325 -7
- data/lib/stripe/params/subscription_item_create_params.rb +114 -2
- data/lib/stripe/params/subscription_item_update_params.rb +97 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_pause_params.rb +50 -0
- data/lib/stripe/params/subscription_resume_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +805 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +335 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +335 -5
- data/lib/stripe/params/subscription_update_params.rb +308 -6
- data/lib/stripe/params/tax/calculation_create_params.rb +4 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +117 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +91 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +8 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_close_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +8 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +8 -0
- data/lib/stripe/params/test_helpers/payment_intent_simulate_crypto_deposit_params.rb +33 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +52 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/token_create_params.rb +134 -0
- data/lib/stripe/params/transfer_create_params.rb +8 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/contract_activate_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_cancel_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_create_params.rb +831 -0
- data/lib/stripe/params/v2/billing/contract_list_params.rb +20 -0
- data/lib/stripe/params/v2/billing/contract_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_update_params.rb +522 -0
- data/lib/stripe/params/v2/billing/contracts/license_pricing/quantity_change_list_quantity_changes_params.rb +21 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +899 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +121 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +102 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +54 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_remove_discounts_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_modify_rates_params.rb +177 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +109 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +315 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +1687 -6
- data/lib/stripe/params/v2/core/account_evaluation_create_params.rb +73 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +81 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +250 -2
- data/lib/stripe/params/v2/core/account_update_params.rb +1667 -7
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_execute_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +17 -0
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_submit_params.rb +17 -0
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +59 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +28 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/connection_session_create_params.rb +23 -0
- data/lib/stripe/params/v2/core/connection_session_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
- data/lib/stripe/params/v2/core/fee_batch_list_params.rb +43 -0
- data/lib/stripe/params/v2/core/fee_batch_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/fee_entry_list_params.rb +51 -0
- data/lib/stripe/params/v2/core/fee_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/data/analytics/metric_query_create_params.rb +68 -0
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +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 +130 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +70 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +110 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +88 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +85 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +178 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +362 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_pause_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_resume_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +35 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_list_params.rb +47 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +20 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +28 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_list_params.rb +22 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +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 +909 -0
- data/lib/stripe/resources/account.rb +271 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +302 -0
- data/lib/stripe/resources/account_signals.rb +104 -0
- data/lib/stripe/resources/application_fee.rb +24 -1
- data/lib/stripe/resources/balance.rb +166 -0
- data/lib/stripe/resources/balance_settings.rb +4 -0
- data/lib/stripe/resources/balance_transfer.rb +139 -0
- data/lib/stripe/resources/billing/alert.rb +274 -1
- data/lib/stripe/resources/billing/alert_recovered.rb +44 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +48 -1
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +172 -3
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +145 -2
- data/lib/stripe/resources/billing/credit_grant.rb +77 -2
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/capability.rb +36 -1
- data/lib/stripe/resources/capital/financing_offer.rb +183 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +20 -1
- data/lib/stripe/resources/charge.rb +328 -2
- data/lib/stripe/resources/checkout/session.rb +529 -3
- data/lib/stripe/resources/confirmation_token.rb +200 -1
- data/lib/stripe/resources/coupon.rb +60 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/delegated_checkout/order.rb +142 -0
- data/lib/stripe/resources/delegated_checkout/order_event.rb +118 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +895 -0
- data/lib/stripe/resources/discount.rb +20 -1
- data/lib/stripe/resources/dispute.rb +24 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +57 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +82 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +125 -1
- data/lib/stripe/resources/fr_meal_vouchers_onboarding.rb +153 -0
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +24 -1
- data/lib/stripe/resources/invoice.rb +195 -1
- data/lib/stripe/resources/invoice_item.rb +126 -2
- data/lib/stripe/resources/invoice_line_item.rb +195 -1
- data/lib/stripe/resources/issuing/authorization.rb +268 -0
- data/lib/stripe/resources/issuing/card.rb +4 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +289 -1
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/program.rb +69 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +8 -0
- data/lib/stripe/resources/issuing/transaction.rb +124 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +12 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/orchestration/payment_attempt.rb +31 -0
- data/lib/stripe/resources/order.rb +927 -0
- data/lib/stripe/resources/payment_attempt_record.rb +382 -2
- data/lib/stripe/resources/payment_intent.rb +2269 -47
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +19 -1
- data/lib/stripe/resources/payment_link.rb +22 -0
- data/lib/stripe/resources/payment_location.rb +165 -0
- data/lib/stripe/resources/payment_location_capability.rb +94 -0
- data/lib/stripe/resources/payment_method.rb +228 -1
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_record.rb +242 -2
- data/lib/stripe/resources/person.rb +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 +46 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +106 -0
- data/lib/stripe/resources/profile.rb +80 -0
- data/lib/stripe/resources/quote.rb +806 -2
- data/lib/stripe/resources/quote_line.rb +731 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1261 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +911 -0
- data/lib/stripe/resources/radar/account_evaluation.rb +180 -0
- data/lib/stripe/resources/radar/customer_evaluation.rb +155 -0
- data/lib/stripe/resources/radar/issuing_authorization_evaluation.rb +245 -0
- data/lib/stripe/resources/radar/payment_evaluation.rb +23 -1
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +7 -0
- data/lib/stripe/resources/reserve/release.rb +12 -0
- data/lib/stripe/resources/risk_signals.rb +24 -0
- data/lib/stripe/resources/setup_attempt.rb +35 -0
- data/lib/stripe/resources/setup_intent.rb +92 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +1822 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +293 -0
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +250 -0
- data/lib/stripe/resources/subscription_item.rb +41 -1
- data/lib/stripe/resources/subscription_schedule.rb +373 -3
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/location.rb +72 -0
- data/lib/stripe/resources/tax/registration.rb +144 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +773 -0
- data/lib/stripe/resources/v2/billing/cadence_spend_modifier.rb +103 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/contract.rb +978 -0
- data/lib/stripe/resources/v2/billing/contract_license_pricing_quantity_change.rb +43 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +354 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +711 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +140 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +101 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/one_time_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +97 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +719 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +41 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +71 -0
- data/lib/stripe/resources/v2/billing/rate_card_custom_pricing_unit_overage_rate.rb +48 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +131 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +97 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +37 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +306 -0
- data/lib/stripe/resources/v2/core/account.rb +2668 -20
- data/lib/stripe/resources/v2/core/account_evaluation.rb +106 -0
- data/lib/stripe/resources/v2/core/account_link.rb +72 -0
- data/lib/stripe/resources/v2/core/approval_request.rb +337 -0
- data/lib/stripe/resources/v2/core/batch_job.rb +567 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +146 -0
- data/lib/stripe/resources/v2/core/connection_session.rb +58 -0
- data/lib/stripe/resources/v2/core/event.rb +66 -1
- data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
- data/lib/stripe/resources/v2/core/fee_batch.rb +142 -0
- data/lib/stripe/resources/v2/core/fee_entry.rb +135 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
- data/lib/stripe/resources/v2/data/analytics/metric_query_result.rb +106 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +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/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +303 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +146 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +198 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +169 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +402 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +243 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +177 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +147 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +288 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +77 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +65 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +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 +1729 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_service.rb +46 -1
- data/lib/stripe/services/account_signals_service.rb +17 -0
- data/lib/stripe/services/balance_transfer_service.rb +17 -0
- data/lib/stripe/services/billing/alert_service.rb +2 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +4 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/checkout/session_service.rb +11 -0
- data/lib/stripe/services/coupon_service.rb +44 -0
- data/lib/stripe/services/credit_note_service.rb +14 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +15 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +15 -0
- data/lib/stripe/services/customer_payment_source_service.rb +60 -0
- data/lib/stripe/services/customer_service.rb +59 -0
- data/lib/stripe/services/customer_session_service.rb +14 -0
- data/lib/stripe/services/customer_tax_id_service.rb +30 -0
- data/lib/stripe/services/delegated_checkout/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/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/invoice_item_service.rb +44 -0
- data/lib/stripe/services/invoice_line_item_service.rb +15 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +30 -0
- data/lib/stripe/services/invoice_service.rb +189 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing/program_service.rb +52 -0
- data/lib/stripe/services/issuing_service.rb +6 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/orchestration/payment_attempt_service.rb +19 -0
- data/lib/stripe/services/orchestration_service.rb +13 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +77 -0
- data/lib/stripe/services/payment_intent_service.rb +55 -0
- data/lib/stripe/services/payment_location_capability_service.rb +39 -0
- data/lib/stripe/services/payment_location_service.rb +61 -0
- data/lib/stripe/services/payment_method_service.rb +26 -0
- data/lib/stripe/services/price_service.rb +29 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/product_feature_service.rb +30 -0
- data/lib/stripe/services/product_service.rb +44 -0
- data/lib/stripe/services/promotion_code_service.rb +29 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar/customer_evaluation_service.rb +30 -0
- data/lib/stripe/services/radar/issuing_authorization_evaluation_service.rb +19 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +14 -0
- data/lib/stripe/services/radar_service.rb +5 -1
- data/lib/stripe/services/refund_service.rb +29 -0
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_item_service.rb +44 -0
- data/lib/stripe/services/subscription_schedule_service.rb +70 -0
- data/lib/stripe/services/subscription_service.rb +111 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax/registration_service.rb +29 -0
- data/lib/stripe/services/tax/settings_service.rb +14 -0
- data/lib/stripe/services/tax/transaction_service.rb +14 -0
- data/lib/stripe/services/tax_id_service.rb +14 -0
- data/lib/stripe/services/tax_rate_service.rb +29 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers/issuing/dispute_service.rb +54 -0
- data/lib/stripe/services/test_helpers/issuing_service.rb +2 -1
- data/lib/stripe/services/test_helpers/payment_intent_service.rb +19 -0
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +4 -1
- data/lib/stripe/services/v1_services.rb +17 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +73 -0
- data/lib/stripe/services/v2/billing/cadences/spend_modifier_rule_service.rb +34 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/contract_service.rb +91 -0
- data/lib/stripe/services/v2/billing/contracts/license_pricing/quantity_change_service.rb +25 -0
- data/lib/stripe/services/v2/billing/contracts/license_pricing_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/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +9 -1
- data/lib/stripe/services/v2/data/analytics/metric_query_service.rb +23 -0
- data/lib/stripe/services/v2/data/analytics_service.rb +17 -0
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data_service.rb +16 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
- data/lib/stripe/services/v2/iam_service.rb +16 -0
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +78 -0
- data/lib/stripe/services/v2/money_management/financial_accounts/statement_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +66 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +36 -0
- data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
- data/lib/stripe/services/v2/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 +396 -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 +2520 -0
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +54 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +219739 -104589
- metadata +1029 -4
|
@@ -12,6 +12,1914 @@ module Stripe
|
|
|
12
12
|
end
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
16
|
+
class CarRental < ::Stripe::RequestParams
|
|
17
|
+
class Affiliate < ::Stripe::RequestParams
|
|
18
|
+
# The name of the affiliate that originated the purchase.
|
|
19
|
+
attr_accessor :name
|
|
20
|
+
|
|
21
|
+
def initialize(name: nil)
|
|
22
|
+
@name = name
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
class Delivery < ::Stripe::RequestParams
|
|
27
|
+
class Recipient < ::Stripe::RequestParams
|
|
28
|
+
# The email of the recipient the ticket is delivered to.
|
|
29
|
+
attr_accessor :email
|
|
30
|
+
# The name of the recipient the ticket is delivered to.
|
|
31
|
+
attr_accessor :name
|
|
32
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
33
|
+
attr_accessor :phone
|
|
34
|
+
|
|
35
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
36
|
+
@email = email
|
|
37
|
+
@name = name
|
|
38
|
+
@phone = phone
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
# The delivery method for the payment
|
|
42
|
+
attr_accessor :mode
|
|
43
|
+
# Details of the recipient.
|
|
44
|
+
attr_accessor :recipient
|
|
45
|
+
|
|
46
|
+
def initialize(mode: nil, recipient: nil)
|
|
47
|
+
@mode = mode
|
|
48
|
+
@recipient = recipient
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
class Distance < ::Stripe::RequestParams
|
|
53
|
+
# Distance traveled.
|
|
54
|
+
attr_accessor :amount
|
|
55
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
56
|
+
attr_accessor :unit
|
|
57
|
+
|
|
58
|
+
def initialize(amount: nil, unit: nil)
|
|
59
|
+
@amount = amount
|
|
60
|
+
@unit = unit
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
class Driver < ::Stripe::RequestParams
|
|
65
|
+
# Driver's identification number.
|
|
66
|
+
attr_accessor :driver_identification_number
|
|
67
|
+
# Driver's tax number.
|
|
68
|
+
attr_accessor :driver_tax_number
|
|
69
|
+
# Full name of the person or entity on the car reservation.
|
|
70
|
+
attr_accessor :name
|
|
71
|
+
|
|
72
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
73
|
+
@driver_identification_number = driver_identification_number
|
|
74
|
+
@driver_tax_number = driver_tax_number
|
|
75
|
+
@name = name
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class PickupAddress < ::Stripe::RequestParams
|
|
80
|
+
# City, district, suburb, town, or village.
|
|
81
|
+
attr_accessor :city
|
|
82
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
83
|
+
attr_accessor :country
|
|
84
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
85
|
+
attr_accessor :line1
|
|
86
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
87
|
+
attr_accessor :line2
|
|
88
|
+
# ZIP or postal code.
|
|
89
|
+
attr_accessor :postal_code
|
|
90
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
91
|
+
attr_accessor :state
|
|
92
|
+
|
|
93
|
+
def initialize(
|
|
94
|
+
city: nil,
|
|
95
|
+
country: nil,
|
|
96
|
+
line1: nil,
|
|
97
|
+
line2: nil,
|
|
98
|
+
postal_code: nil,
|
|
99
|
+
state: nil
|
|
100
|
+
)
|
|
101
|
+
@city = city
|
|
102
|
+
@country = country
|
|
103
|
+
@line1 = line1
|
|
104
|
+
@line2 = line2
|
|
105
|
+
@postal_code = postal_code
|
|
106
|
+
@state = state
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
class ReturnAddress < ::Stripe::RequestParams
|
|
111
|
+
# City, district, suburb, town, or village.
|
|
112
|
+
attr_accessor :city
|
|
113
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
114
|
+
attr_accessor :country
|
|
115
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
116
|
+
attr_accessor :line1
|
|
117
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
118
|
+
attr_accessor :line2
|
|
119
|
+
# ZIP or postal code.
|
|
120
|
+
attr_accessor :postal_code
|
|
121
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
122
|
+
attr_accessor :state
|
|
123
|
+
|
|
124
|
+
def initialize(
|
|
125
|
+
city: nil,
|
|
126
|
+
country: nil,
|
|
127
|
+
line1: nil,
|
|
128
|
+
line2: nil,
|
|
129
|
+
postal_code: nil,
|
|
130
|
+
state: nil
|
|
131
|
+
)
|
|
132
|
+
@city = city
|
|
133
|
+
@country = country
|
|
134
|
+
@line1 = line1
|
|
135
|
+
@line2 = line2
|
|
136
|
+
@postal_code = postal_code
|
|
137
|
+
@state = state
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
# Affiliate details for this purchase.
|
|
141
|
+
attr_accessor :affiliate
|
|
142
|
+
# The booking number associated with the car rental.
|
|
143
|
+
attr_accessor :booking_number
|
|
144
|
+
# Class code of the car.
|
|
145
|
+
attr_accessor :car_class_code
|
|
146
|
+
# Make of the car.
|
|
147
|
+
attr_accessor :car_make
|
|
148
|
+
# Model of the car.
|
|
149
|
+
attr_accessor :car_model
|
|
150
|
+
# The name of the rental car company.
|
|
151
|
+
attr_accessor :company
|
|
152
|
+
# The customer service phone number of the car rental company.
|
|
153
|
+
attr_accessor :customer_service_phone_number
|
|
154
|
+
# Number of days the car is being rented.
|
|
155
|
+
attr_accessor :days_rented
|
|
156
|
+
# Delivery details for this purchase.
|
|
157
|
+
attr_accessor :delivery
|
|
158
|
+
# The details of the distance traveled during the rental period.
|
|
159
|
+
attr_accessor :distance
|
|
160
|
+
# The details of the passengers in the travel reservation
|
|
161
|
+
attr_accessor :drivers
|
|
162
|
+
# List of additional charges being billed.
|
|
163
|
+
attr_accessor :extra_charges
|
|
164
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
165
|
+
attr_accessor :no_show
|
|
166
|
+
# Car pick-up address.
|
|
167
|
+
attr_accessor :pickup_address
|
|
168
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
169
|
+
attr_accessor :pickup_at
|
|
170
|
+
# Name of the pickup location.
|
|
171
|
+
attr_accessor :pickup_location_name
|
|
172
|
+
# Rental rate.
|
|
173
|
+
attr_accessor :rate_amount
|
|
174
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
175
|
+
attr_accessor :rate_interval
|
|
176
|
+
# The name of the person or entity renting the car.
|
|
177
|
+
attr_accessor :renter_name
|
|
178
|
+
# Car return address.
|
|
179
|
+
attr_accessor :return_address
|
|
180
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
181
|
+
attr_accessor :return_at
|
|
182
|
+
# Name of the return location.
|
|
183
|
+
attr_accessor :return_location_name
|
|
184
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
185
|
+
attr_accessor :tax_exempt
|
|
186
|
+
# The vehicle identification number.
|
|
187
|
+
attr_accessor :vehicle_identification_number
|
|
188
|
+
|
|
189
|
+
def initialize(
|
|
190
|
+
affiliate: nil,
|
|
191
|
+
booking_number: nil,
|
|
192
|
+
car_class_code: nil,
|
|
193
|
+
car_make: nil,
|
|
194
|
+
car_model: nil,
|
|
195
|
+
company: nil,
|
|
196
|
+
customer_service_phone_number: nil,
|
|
197
|
+
days_rented: nil,
|
|
198
|
+
delivery: nil,
|
|
199
|
+
distance: nil,
|
|
200
|
+
drivers: nil,
|
|
201
|
+
extra_charges: nil,
|
|
202
|
+
no_show: nil,
|
|
203
|
+
pickup_address: nil,
|
|
204
|
+
pickup_at: nil,
|
|
205
|
+
pickup_location_name: nil,
|
|
206
|
+
rate_amount: nil,
|
|
207
|
+
rate_interval: nil,
|
|
208
|
+
renter_name: nil,
|
|
209
|
+
return_address: nil,
|
|
210
|
+
return_at: nil,
|
|
211
|
+
return_location_name: nil,
|
|
212
|
+
tax_exempt: nil,
|
|
213
|
+
vehicle_identification_number: nil
|
|
214
|
+
)
|
|
215
|
+
@affiliate = affiliate
|
|
216
|
+
@booking_number = booking_number
|
|
217
|
+
@car_class_code = car_class_code
|
|
218
|
+
@car_make = car_make
|
|
219
|
+
@car_model = car_model
|
|
220
|
+
@company = company
|
|
221
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
222
|
+
@days_rented = days_rented
|
|
223
|
+
@delivery = delivery
|
|
224
|
+
@distance = distance
|
|
225
|
+
@drivers = drivers
|
|
226
|
+
@extra_charges = extra_charges
|
|
227
|
+
@no_show = no_show
|
|
228
|
+
@pickup_address = pickup_address
|
|
229
|
+
@pickup_at = pickup_at
|
|
230
|
+
@pickup_location_name = pickup_location_name
|
|
231
|
+
@rate_amount = rate_amount
|
|
232
|
+
@rate_interval = rate_interval
|
|
233
|
+
@renter_name = renter_name
|
|
234
|
+
@return_address = return_address
|
|
235
|
+
@return_at = return_at
|
|
236
|
+
@return_location_name = return_location_name
|
|
237
|
+
@tax_exempt = tax_exempt
|
|
238
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
239
|
+
end
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
class CarRentalDatum < ::Stripe::RequestParams
|
|
243
|
+
class Affiliate < ::Stripe::RequestParams
|
|
244
|
+
# Affiliate partner code.
|
|
245
|
+
attr_accessor :code
|
|
246
|
+
# Name of affiliate partner.
|
|
247
|
+
attr_accessor :name
|
|
248
|
+
|
|
249
|
+
def initialize(code: nil, name: nil)
|
|
250
|
+
@code = code
|
|
251
|
+
@name = name
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
class Distance < ::Stripe::RequestParams
|
|
256
|
+
# Distance traveled.
|
|
257
|
+
attr_accessor :amount
|
|
258
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
259
|
+
attr_accessor :unit
|
|
260
|
+
|
|
261
|
+
def initialize(amount: nil, unit: nil)
|
|
262
|
+
@amount = amount
|
|
263
|
+
@unit = unit
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
class Driver < ::Stripe::RequestParams
|
|
268
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
269
|
+
# Day of birth (1-31).
|
|
270
|
+
attr_accessor :day
|
|
271
|
+
# Month of birth (1-12).
|
|
272
|
+
attr_accessor :month
|
|
273
|
+
# Year of birth (must be greater than 1900).
|
|
274
|
+
attr_accessor :year
|
|
275
|
+
|
|
276
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
277
|
+
@day = day
|
|
278
|
+
@month = month
|
|
279
|
+
@year = year
|
|
280
|
+
end
|
|
281
|
+
end
|
|
282
|
+
# Driver's date of birth.
|
|
283
|
+
attr_accessor :date_of_birth
|
|
284
|
+
# Driver's identification number.
|
|
285
|
+
attr_accessor :driver_identification_number
|
|
286
|
+
# Driver's tax number.
|
|
287
|
+
attr_accessor :driver_tax_number
|
|
288
|
+
# Driver's full name.
|
|
289
|
+
attr_accessor :name
|
|
290
|
+
|
|
291
|
+
def initialize(
|
|
292
|
+
date_of_birth: nil,
|
|
293
|
+
driver_identification_number: nil,
|
|
294
|
+
driver_tax_number: nil,
|
|
295
|
+
name: nil
|
|
296
|
+
)
|
|
297
|
+
@date_of_birth = date_of_birth
|
|
298
|
+
@driver_identification_number = driver_identification_number
|
|
299
|
+
@driver_tax_number = driver_tax_number
|
|
300
|
+
@name = name
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
class DropOff < ::Stripe::RequestParams
|
|
305
|
+
class Address < ::Stripe::RequestParams
|
|
306
|
+
# City, district, suburb, town, or village.
|
|
307
|
+
attr_accessor :city
|
|
308
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
309
|
+
attr_accessor :country
|
|
310
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
311
|
+
attr_accessor :line1
|
|
312
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
313
|
+
attr_accessor :line2
|
|
314
|
+
# ZIP or postal code.
|
|
315
|
+
attr_accessor :postal_code
|
|
316
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
317
|
+
attr_accessor :state
|
|
318
|
+
|
|
319
|
+
def initialize(
|
|
320
|
+
city: nil,
|
|
321
|
+
country: nil,
|
|
322
|
+
line1: nil,
|
|
323
|
+
line2: nil,
|
|
324
|
+
postal_code: nil,
|
|
325
|
+
state: nil
|
|
326
|
+
)
|
|
327
|
+
@city = city
|
|
328
|
+
@country = country
|
|
329
|
+
@line1 = line1
|
|
330
|
+
@line2 = line2
|
|
331
|
+
@postal_code = postal_code
|
|
332
|
+
@state = state
|
|
333
|
+
end
|
|
334
|
+
end
|
|
335
|
+
# Address of the rental location.
|
|
336
|
+
attr_accessor :address
|
|
337
|
+
# Location name.
|
|
338
|
+
attr_accessor :location_name
|
|
339
|
+
# Timestamp for the location.
|
|
340
|
+
attr_accessor :time
|
|
341
|
+
|
|
342
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
343
|
+
@address = address
|
|
344
|
+
@location_name = location_name
|
|
345
|
+
@time = time
|
|
346
|
+
end
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
class Insurance < ::Stripe::RequestParams
|
|
350
|
+
# Amount of the insurance coverage in cents.
|
|
351
|
+
attr_accessor :amount
|
|
352
|
+
# Currency of the insurance amount.
|
|
353
|
+
attr_accessor :currency
|
|
354
|
+
# Name of the insurance company.
|
|
355
|
+
attr_accessor :insurance_company_name
|
|
356
|
+
# Type of insurance coverage.
|
|
357
|
+
attr_accessor :insurance_type
|
|
358
|
+
|
|
359
|
+
def initialize(
|
|
360
|
+
amount: nil,
|
|
361
|
+
currency: nil,
|
|
362
|
+
insurance_company_name: nil,
|
|
363
|
+
insurance_type: nil
|
|
364
|
+
)
|
|
365
|
+
@amount = amount
|
|
366
|
+
@currency = currency
|
|
367
|
+
@insurance_company_name = insurance_company_name
|
|
368
|
+
@insurance_type = insurance_type
|
|
369
|
+
end
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
class Pickup < ::Stripe::RequestParams
|
|
373
|
+
class Address < ::Stripe::RequestParams
|
|
374
|
+
# City, district, suburb, town, or village.
|
|
375
|
+
attr_accessor :city
|
|
376
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
377
|
+
attr_accessor :country
|
|
378
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
379
|
+
attr_accessor :line1
|
|
380
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
381
|
+
attr_accessor :line2
|
|
382
|
+
# ZIP or postal code.
|
|
383
|
+
attr_accessor :postal_code
|
|
384
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
385
|
+
attr_accessor :state
|
|
386
|
+
|
|
387
|
+
def initialize(
|
|
388
|
+
city: nil,
|
|
389
|
+
country: nil,
|
|
390
|
+
line1: nil,
|
|
391
|
+
line2: nil,
|
|
392
|
+
postal_code: nil,
|
|
393
|
+
state: nil
|
|
394
|
+
)
|
|
395
|
+
@city = city
|
|
396
|
+
@country = country
|
|
397
|
+
@line1 = line1
|
|
398
|
+
@line2 = line2
|
|
399
|
+
@postal_code = postal_code
|
|
400
|
+
@state = state
|
|
401
|
+
end
|
|
402
|
+
end
|
|
403
|
+
# Address of the rental location.
|
|
404
|
+
attr_accessor :address
|
|
405
|
+
# Location name.
|
|
406
|
+
attr_accessor :location_name
|
|
407
|
+
# Timestamp for the location.
|
|
408
|
+
attr_accessor :time
|
|
409
|
+
|
|
410
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
411
|
+
@address = address
|
|
412
|
+
@location_name = location_name
|
|
413
|
+
@time = time
|
|
414
|
+
end
|
|
415
|
+
end
|
|
416
|
+
|
|
417
|
+
class Total < ::Stripe::RequestParams
|
|
418
|
+
class Discounts < ::Stripe::RequestParams
|
|
419
|
+
# Corporate client discount code.
|
|
420
|
+
attr_accessor :corporate_client_code
|
|
421
|
+
# Coupon code applied to the rental.
|
|
422
|
+
attr_accessor :coupon
|
|
423
|
+
# Maximum number of free miles or kilometers included.
|
|
424
|
+
attr_accessor :maximum_free_miles_or_kilometers
|
|
425
|
+
|
|
426
|
+
def initialize(
|
|
427
|
+
corporate_client_code: nil,
|
|
428
|
+
coupon: nil,
|
|
429
|
+
maximum_free_miles_or_kilometers: nil
|
|
430
|
+
)
|
|
431
|
+
@corporate_client_code = corporate_client_code
|
|
432
|
+
@coupon = coupon
|
|
433
|
+
@maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
|
|
434
|
+
end
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
438
|
+
# Amount of the extra charge in cents.
|
|
439
|
+
attr_accessor :amount
|
|
440
|
+
# Type of extra charge.
|
|
441
|
+
attr_accessor :type
|
|
442
|
+
|
|
443
|
+
def initialize(amount: nil, type: nil)
|
|
444
|
+
@amount = amount
|
|
445
|
+
@type = type
|
|
446
|
+
end
|
|
447
|
+
end
|
|
448
|
+
|
|
449
|
+
class Tax < ::Stripe::RequestParams
|
|
450
|
+
class Tax < ::Stripe::RequestParams
|
|
451
|
+
# Tax amount.
|
|
452
|
+
attr_accessor :amount
|
|
453
|
+
# Tax rate applied.
|
|
454
|
+
attr_accessor :rate
|
|
455
|
+
# Type of tax applied.
|
|
456
|
+
attr_accessor :type
|
|
457
|
+
|
|
458
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
459
|
+
@amount = amount
|
|
460
|
+
@rate = rate
|
|
461
|
+
@type = type
|
|
462
|
+
end
|
|
463
|
+
end
|
|
464
|
+
# Indicates if the transaction is tax exempt.
|
|
465
|
+
attr_accessor :tax_exempt_indicator
|
|
466
|
+
# Array of tax details.
|
|
467
|
+
attr_accessor :taxes
|
|
468
|
+
|
|
469
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
470
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
471
|
+
@taxes = taxes
|
|
472
|
+
end
|
|
473
|
+
end
|
|
474
|
+
# Total amount in cents.
|
|
475
|
+
attr_accessor :amount
|
|
476
|
+
# Currency of the amount.
|
|
477
|
+
attr_accessor :currency
|
|
478
|
+
# Discount details for the rental.
|
|
479
|
+
attr_accessor :discounts
|
|
480
|
+
# Additional charges for the rental.
|
|
481
|
+
attr_accessor :extra_charges
|
|
482
|
+
# Rate per unit for the rental.
|
|
483
|
+
attr_accessor :rate_per_unit
|
|
484
|
+
# Unit of measurement for the rate.
|
|
485
|
+
attr_accessor :rate_unit
|
|
486
|
+
# Tax breakdown for the rental.
|
|
487
|
+
attr_accessor :tax
|
|
488
|
+
|
|
489
|
+
def initialize(
|
|
490
|
+
amount: nil,
|
|
491
|
+
currency: nil,
|
|
492
|
+
discounts: nil,
|
|
493
|
+
extra_charges: nil,
|
|
494
|
+
rate_per_unit: nil,
|
|
495
|
+
rate_unit: nil,
|
|
496
|
+
tax: nil
|
|
497
|
+
)
|
|
498
|
+
@amount = amount
|
|
499
|
+
@currency = currency
|
|
500
|
+
@discounts = discounts
|
|
501
|
+
@extra_charges = extra_charges
|
|
502
|
+
@rate_per_unit = rate_per_unit
|
|
503
|
+
@rate_unit = rate_unit
|
|
504
|
+
@tax = tax
|
|
505
|
+
end
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
class Vehicle < ::Stripe::RequestParams
|
|
509
|
+
# Make of the rental vehicle.
|
|
510
|
+
attr_accessor :make
|
|
511
|
+
# Model of the rental vehicle.
|
|
512
|
+
attr_accessor :model
|
|
513
|
+
# Odometer reading at the time of rental.
|
|
514
|
+
attr_accessor :odometer
|
|
515
|
+
# Type of the rental vehicle.
|
|
516
|
+
attr_accessor :type
|
|
517
|
+
# Class of the rental vehicle.
|
|
518
|
+
attr_accessor :vehicle_class
|
|
519
|
+
# Vehicle identification number (VIN).
|
|
520
|
+
attr_accessor :vehicle_identification_number
|
|
521
|
+
|
|
522
|
+
def initialize(
|
|
523
|
+
make: nil,
|
|
524
|
+
model: nil,
|
|
525
|
+
odometer: nil,
|
|
526
|
+
type: nil,
|
|
527
|
+
vehicle_class: nil,
|
|
528
|
+
vehicle_identification_number: nil
|
|
529
|
+
)
|
|
530
|
+
@make = make
|
|
531
|
+
@model = model
|
|
532
|
+
@odometer = odometer
|
|
533
|
+
@type = type
|
|
534
|
+
@vehicle_class = vehicle_class
|
|
535
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
536
|
+
end
|
|
537
|
+
end
|
|
538
|
+
# Affiliate (such as travel agency) details for the rental.
|
|
539
|
+
attr_accessor :affiliate
|
|
540
|
+
# Booking confirmation number for the car rental.
|
|
541
|
+
attr_accessor :booking_number
|
|
542
|
+
# Name of the car rental company.
|
|
543
|
+
attr_accessor :carrier_name
|
|
544
|
+
# Customer service phone number for the car rental company.
|
|
545
|
+
attr_accessor :customer_service_phone_number
|
|
546
|
+
# Number of days the car is being rented.
|
|
547
|
+
attr_accessor :days_rented
|
|
548
|
+
# Distance details for the rental.
|
|
549
|
+
attr_accessor :distance
|
|
550
|
+
# List of drivers for the rental.
|
|
551
|
+
attr_accessor :drivers
|
|
552
|
+
# Drop-off location details.
|
|
553
|
+
attr_accessor :drop_off
|
|
554
|
+
# Insurance details for the rental.
|
|
555
|
+
attr_accessor :insurances
|
|
556
|
+
# Indicates if the customer was a no-show.
|
|
557
|
+
attr_accessor :no_show_indicator
|
|
558
|
+
# Pickup location details.
|
|
559
|
+
attr_accessor :pickup
|
|
560
|
+
# Name of the person renting the vehicle.
|
|
561
|
+
attr_accessor :renter_name
|
|
562
|
+
# Total cost breakdown for the rental.
|
|
563
|
+
attr_accessor :total
|
|
564
|
+
# Vehicle details for the rental.
|
|
565
|
+
attr_accessor :vehicle
|
|
566
|
+
|
|
567
|
+
def initialize(
|
|
568
|
+
affiliate: nil,
|
|
569
|
+
booking_number: nil,
|
|
570
|
+
carrier_name: nil,
|
|
571
|
+
customer_service_phone_number: nil,
|
|
572
|
+
days_rented: nil,
|
|
573
|
+
distance: nil,
|
|
574
|
+
drivers: nil,
|
|
575
|
+
drop_off: nil,
|
|
576
|
+
insurances: nil,
|
|
577
|
+
no_show_indicator: nil,
|
|
578
|
+
pickup: nil,
|
|
579
|
+
renter_name: nil,
|
|
580
|
+
total: nil,
|
|
581
|
+
vehicle: nil
|
|
582
|
+
)
|
|
583
|
+
@affiliate = affiliate
|
|
584
|
+
@booking_number = booking_number
|
|
585
|
+
@carrier_name = carrier_name
|
|
586
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
587
|
+
@days_rented = days_rented
|
|
588
|
+
@distance = distance
|
|
589
|
+
@drivers = drivers
|
|
590
|
+
@drop_off = drop_off
|
|
591
|
+
@insurances = insurances
|
|
592
|
+
@no_show_indicator = no_show_indicator
|
|
593
|
+
@pickup = pickup
|
|
594
|
+
@renter_name = renter_name
|
|
595
|
+
@total = total
|
|
596
|
+
@vehicle = vehicle
|
|
597
|
+
end
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
class EventDetails < ::Stripe::RequestParams
|
|
601
|
+
class Address < ::Stripe::RequestParams
|
|
602
|
+
# City, district, suburb, town, or village.
|
|
603
|
+
attr_accessor :city
|
|
604
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
605
|
+
attr_accessor :country
|
|
606
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
607
|
+
attr_accessor :line1
|
|
608
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
609
|
+
attr_accessor :line2
|
|
610
|
+
# ZIP or postal code.
|
|
611
|
+
attr_accessor :postal_code
|
|
612
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
613
|
+
attr_accessor :state
|
|
614
|
+
|
|
615
|
+
def initialize(
|
|
616
|
+
city: nil,
|
|
617
|
+
country: nil,
|
|
618
|
+
line1: nil,
|
|
619
|
+
line2: nil,
|
|
620
|
+
postal_code: nil,
|
|
621
|
+
state: nil
|
|
622
|
+
)
|
|
623
|
+
@city = city
|
|
624
|
+
@country = country
|
|
625
|
+
@line1 = line1
|
|
626
|
+
@line2 = line2
|
|
627
|
+
@postal_code = postal_code
|
|
628
|
+
@state = state
|
|
629
|
+
end
|
|
630
|
+
end
|
|
631
|
+
|
|
632
|
+
class Affiliate < ::Stripe::RequestParams
|
|
633
|
+
# The name of the affiliate that originated the purchase.
|
|
634
|
+
attr_accessor :name
|
|
635
|
+
|
|
636
|
+
def initialize(name: nil)
|
|
637
|
+
@name = name
|
|
638
|
+
end
|
|
639
|
+
end
|
|
640
|
+
|
|
641
|
+
class Delivery < ::Stripe::RequestParams
|
|
642
|
+
class Recipient < ::Stripe::RequestParams
|
|
643
|
+
# The email of the recipient the ticket is delivered to.
|
|
644
|
+
attr_accessor :email
|
|
645
|
+
# The name of the recipient the ticket is delivered to.
|
|
646
|
+
attr_accessor :name
|
|
647
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
648
|
+
attr_accessor :phone
|
|
649
|
+
|
|
650
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
651
|
+
@email = email
|
|
652
|
+
@name = name
|
|
653
|
+
@phone = phone
|
|
654
|
+
end
|
|
655
|
+
end
|
|
656
|
+
# The delivery method for the payment
|
|
657
|
+
attr_accessor :mode
|
|
658
|
+
# Details of the recipient.
|
|
659
|
+
attr_accessor :recipient
|
|
660
|
+
|
|
661
|
+
def initialize(mode: nil, recipient: nil)
|
|
662
|
+
@mode = mode
|
|
663
|
+
@recipient = recipient
|
|
664
|
+
end
|
|
665
|
+
end
|
|
666
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
667
|
+
attr_accessor :access_controlled_venue
|
|
668
|
+
# The event location's address.
|
|
669
|
+
attr_accessor :address
|
|
670
|
+
# Affiliate details for this purchase.
|
|
671
|
+
attr_accessor :affiliate
|
|
672
|
+
# The name of the company
|
|
673
|
+
attr_accessor :company
|
|
674
|
+
# Delivery details for this purchase.
|
|
675
|
+
attr_accessor :delivery
|
|
676
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
677
|
+
attr_accessor :ends_at
|
|
678
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
679
|
+
attr_accessor :genre
|
|
680
|
+
# The name of the event.
|
|
681
|
+
attr_accessor :name
|
|
682
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
683
|
+
attr_accessor :starts_at
|
|
684
|
+
|
|
685
|
+
def initialize(
|
|
686
|
+
access_controlled_venue: nil,
|
|
687
|
+
address: nil,
|
|
688
|
+
affiliate: nil,
|
|
689
|
+
company: nil,
|
|
690
|
+
delivery: nil,
|
|
691
|
+
ends_at: nil,
|
|
692
|
+
genre: nil,
|
|
693
|
+
name: nil,
|
|
694
|
+
starts_at: nil
|
|
695
|
+
)
|
|
696
|
+
@access_controlled_venue = access_controlled_venue
|
|
697
|
+
@address = address
|
|
698
|
+
@affiliate = affiliate
|
|
699
|
+
@company = company
|
|
700
|
+
@delivery = delivery
|
|
701
|
+
@ends_at = ends_at
|
|
702
|
+
@genre = genre
|
|
703
|
+
@name = name
|
|
704
|
+
@starts_at = starts_at
|
|
705
|
+
end
|
|
706
|
+
end
|
|
707
|
+
|
|
708
|
+
class FleetDatum < ::Stripe::RequestParams
|
|
709
|
+
class PrimaryFuelFields < ::Stripe::RequestParams
|
|
710
|
+
# The fuel brand.
|
|
711
|
+
attr_accessor :brand
|
|
712
|
+
|
|
713
|
+
def initialize(brand: nil)
|
|
714
|
+
@brand = brand
|
|
715
|
+
end
|
|
716
|
+
end
|
|
717
|
+
|
|
718
|
+
class Station < ::Stripe::RequestParams
|
|
719
|
+
class ServiceLocation < ::Stripe::RequestParams
|
|
720
|
+
# City, district, suburb, town, or village.
|
|
721
|
+
attr_accessor :city
|
|
722
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
723
|
+
attr_accessor :country
|
|
724
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
725
|
+
attr_accessor :line1
|
|
726
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
727
|
+
attr_accessor :line2
|
|
728
|
+
# ZIP or postal code.
|
|
729
|
+
attr_accessor :postal_code
|
|
730
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
731
|
+
attr_accessor :state
|
|
732
|
+
|
|
733
|
+
def initialize(
|
|
734
|
+
city: nil,
|
|
735
|
+
country: nil,
|
|
736
|
+
line1: nil,
|
|
737
|
+
line2: nil,
|
|
738
|
+
postal_code: nil,
|
|
739
|
+
state: nil
|
|
740
|
+
)
|
|
741
|
+
@city = city
|
|
742
|
+
@country = country
|
|
743
|
+
@line1 = line1
|
|
744
|
+
@line2 = line2
|
|
745
|
+
@postal_code = postal_code
|
|
746
|
+
@state = state
|
|
747
|
+
end
|
|
748
|
+
end
|
|
749
|
+
# Additional contact information for the station.
|
|
750
|
+
attr_accessor :additional_contact_info
|
|
751
|
+
# The customer service phone number of the station.
|
|
752
|
+
attr_accessor :customer_service_phone_number
|
|
753
|
+
# The partner ID code of the station.
|
|
754
|
+
attr_accessor :partner_id_code
|
|
755
|
+
# The phone number of the station.
|
|
756
|
+
attr_accessor :phone_number
|
|
757
|
+
# The physical location of the station.
|
|
758
|
+
attr_accessor :service_location
|
|
759
|
+
# The URL of the station.
|
|
760
|
+
attr_accessor :url
|
|
761
|
+
|
|
762
|
+
def initialize(
|
|
763
|
+
additional_contact_info: nil,
|
|
764
|
+
customer_service_phone_number: nil,
|
|
765
|
+
partner_id_code: nil,
|
|
766
|
+
phone_number: nil,
|
|
767
|
+
service_location: nil,
|
|
768
|
+
url: nil
|
|
769
|
+
)
|
|
770
|
+
@additional_contact_info = additional_contact_info
|
|
771
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
772
|
+
@partner_id_code = partner_id_code
|
|
773
|
+
@phone_number = phone_number
|
|
774
|
+
@service_location = service_location
|
|
775
|
+
@url = url
|
|
776
|
+
end
|
|
777
|
+
end
|
|
778
|
+
|
|
779
|
+
class Vat < ::Stripe::RequestParams
|
|
780
|
+
# Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
781
|
+
attr_accessor :iob_indicator
|
|
782
|
+
|
|
783
|
+
def initialize(iob_indicator: nil)
|
|
784
|
+
@iob_indicator = iob_indicator
|
|
785
|
+
end
|
|
786
|
+
end
|
|
787
|
+
# Primary fuel fields for the transaction.
|
|
788
|
+
attr_accessor :primary_fuel_fields
|
|
789
|
+
# Station and acceptor location details.
|
|
790
|
+
attr_accessor :station
|
|
791
|
+
# VAT and Invoice on Behalf (IOB) details.
|
|
792
|
+
attr_accessor :vat
|
|
793
|
+
|
|
794
|
+
def initialize(primary_fuel_fields: nil, station: nil, vat: nil)
|
|
795
|
+
@primary_fuel_fields = primary_fuel_fields
|
|
796
|
+
@station = station
|
|
797
|
+
@vat = vat
|
|
798
|
+
end
|
|
799
|
+
end
|
|
800
|
+
|
|
801
|
+
class Flight < ::Stripe::RequestParams
|
|
802
|
+
class Affiliate < ::Stripe::RequestParams
|
|
803
|
+
# The name of the affiliate that originated the purchase.
|
|
804
|
+
attr_accessor :name
|
|
805
|
+
|
|
806
|
+
def initialize(name: nil)
|
|
807
|
+
@name = name
|
|
808
|
+
end
|
|
809
|
+
end
|
|
810
|
+
|
|
811
|
+
class Delivery < ::Stripe::RequestParams
|
|
812
|
+
class Recipient < ::Stripe::RequestParams
|
|
813
|
+
# The email of the recipient the ticket is delivered to.
|
|
814
|
+
attr_accessor :email
|
|
815
|
+
# The name of the recipient the ticket is delivered to.
|
|
816
|
+
attr_accessor :name
|
|
817
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
818
|
+
attr_accessor :phone
|
|
819
|
+
|
|
820
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
821
|
+
@email = email
|
|
822
|
+
@name = name
|
|
823
|
+
@phone = phone
|
|
824
|
+
end
|
|
825
|
+
end
|
|
826
|
+
# The delivery method for the payment
|
|
827
|
+
attr_accessor :mode
|
|
828
|
+
# Details of the recipient.
|
|
829
|
+
attr_accessor :recipient
|
|
830
|
+
|
|
831
|
+
def initialize(mode: nil, recipient: nil)
|
|
832
|
+
@mode = mode
|
|
833
|
+
@recipient = recipient
|
|
834
|
+
end
|
|
835
|
+
end
|
|
836
|
+
|
|
837
|
+
class Passenger < ::Stripe::RequestParams
|
|
838
|
+
# Full name of the person or entity on the flight reservation.
|
|
839
|
+
attr_accessor :name
|
|
840
|
+
|
|
841
|
+
def initialize(name: nil)
|
|
842
|
+
@name = name
|
|
843
|
+
end
|
|
844
|
+
end
|
|
845
|
+
|
|
846
|
+
class Segment < ::Stripe::RequestParams
|
|
847
|
+
# The flight segment amount.
|
|
848
|
+
attr_accessor :amount
|
|
849
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
850
|
+
attr_accessor :arrival_airport
|
|
851
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
852
|
+
attr_accessor :arrives_at
|
|
853
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
854
|
+
attr_accessor :carrier
|
|
855
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
856
|
+
attr_accessor :departs_at
|
|
857
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
858
|
+
attr_accessor :departure_airport
|
|
859
|
+
# The flight number associated with the segment
|
|
860
|
+
attr_accessor :flight_number
|
|
861
|
+
# The fare class for the segment.
|
|
862
|
+
attr_accessor :service_class
|
|
863
|
+
|
|
864
|
+
def initialize(
|
|
865
|
+
amount: nil,
|
|
866
|
+
arrival_airport: nil,
|
|
867
|
+
arrives_at: nil,
|
|
868
|
+
carrier: nil,
|
|
869
|
+
departs_at: nil,
|
|
870
|
+
departure_airport: nil,
|
|
871
|
+
flight_number: nil,
|
|
872
|
+
service_class: nil
|
|
873
|
+
)
|
|
874
|
+
@amount = amount
|
|
875
|
+
@arrival_airport = arrival_airport
|
|
876
|
+
@arrives_at = arrives_at
|
|
877
|
+
@carrier = carrier
|
|
878
|
+
@departs_at = departs_at
|
|
879
|
+
@departure_airport = departure_airport
|
|
880
|
+
@flight_number = flight_number
|
|
881
|
+
@service_class = service_class
|
|
882
|
+
end
|
|
883
|
+
end
|
|
884
|
+
# Affiliate details for this purchase.
|
|
885
|
+
attr_accessor :affiliate
|
|
886
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
887
|
+
attr_accessor :agency_number
|
|
888
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
889
|
+
attr_accessor :carrier
|
|
890
|
+
# Delivery details for this purchase.
|
|
891
|
+
attr_accessor :delivery
|
|
892
|
+
# The name of the person or entity on the reservation.
|
|
893
|
+
attr_accessor :passenger_name
|
|
894
|
+
# The details of the passengers in the travel reservation.
|
|
895
|
+
attr_accessor :passengers
|
|
896
|
+
# The individual flight segments associated with the trip.
|
|
897
|
+
attr_accessor :segments
|
|
898
|
+
# The ticket number associated with the travel reservation.
|
|
899
|
+
attr_accessor :ticket_number
|
|
900
|
+
|
|
901
|
+
def initialize(
|
|
902
|
+
affiliate: nil,
|
|
903
|
+
agency_number: nil,
|
|
904
|
+
carrier: nil,
|
|
905
|
+
delivery: nil,
|
|
906
|
+
passenger_name: nil,
|
|
907
|
+
passengers: nil,
|
|
908
|
+
segments: nil,
|
|
909
|
+
ticket_number: nil
|
|
910
|
+
)
|
|
911
|
+
@affiliate = affiliate
|
|
912
|
+
@agency_number = agency_number
|
|
913
|
+
@carrier = carrier
|
|
914
|
+
@delivery = delivery
|
|
915
|
+
@passenger_name = passenger_name
|
|
916
|
+
@passengers = passengers
|
|
917
|
+
@segments = segments
|
|
918
|
+
@ticket_number = ticket_number
|
|
919
|
+
end
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
class FlightDatum < ::Stripe::RequestParams
|
|
923
|
+
class Affiliate < ::Stripe::RequestParams
|
|
924
|
+
# Affiliate partner code.
|
|
925
|
+
attr_accessor :code
|
|
926
|
+
# Name of affiliate partner.
|
|
927
|
+
attr_accessor :name
|
|
928
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
929
|
+
attr_accessor :travel_authorization_code
|
|
930
|
+
|
|
931
|
+
def initialize(code: nil, name: nil, travel_authorization_code: nil)
|
|
932
|
+
@code = code
|
|
933
|
+
@name = name
|
|
934
|
+
@travel_authorization_code = travel_authorization_code
|
|
935
|
+
end
|
|
936
|
+
end
|
|
937
|
+
|
|
938
|
+
class Insurance < ::Stripe::RequestParams
|
|
939
|
+
# Insurance cost.
|
|
940
|
+
attr_accessor :amount
|
|
941
|
+
# Insurance currency.
|
|
942
|
+
attr_accessor :currency
|
|
943
|
+
# Insurance company name.
|
|
944
|
+
attr_accessor :insurance_company_name
|
|
945
|
+
# Type of insurance.
|
|
946
|
+
attr_accessor :insurance_type
|
|
947
|
+
|
|
948
|
+
def initialize(
|
|
949
|
+
amount: nil,
|
|
950
|
+
currency: nil,
|
|
951
|
+
insurance_company_name: nil,
|
|
952
|
+
insurance_type: nil
|
|
953
|
+
)
|
|
954
|
+
@amount = amount
|
|
955
|
+
@currency = currency
|
|
956
|
+
@insurance_company_name = insurance_company_name
|
|
957
|
+
@insurance_type = insurance_type
|
|
958
|
+
end
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
class Passenger < ::Stripe::RequestParams
|
|
962
|
+
# Passenger's full name.
|
|
963
|
+
attr_accessor :name
|
|
964
|
+
|
|
965
|
+
def initialize(name: nil)
|
|
966
|
+
@name = name
|
|
967
|
+
end
|
|
968
|
+
end
|
|
969
|
+
|
|
970
|
+
class Segment < ::Stripe::RequestParams
|
|
971
|
+
class Arrival < ::Stripe::RequestParams
|
|
972
|
+
# Arrival airport IATA code.
|
|
973
|
+
attr_accessor :airport
|
|
974
|
+
# Arrival date/time.
|
|
975
|
+
attr_accessor :arrives_at
|
|
976
|
+
# Arrival city.
|
|
977
|
+
attr_accessor :city
|
|
978
|
+
# Arrival country.
|
|
979
|
+
attr_accessor :country
|
|
980
|
+
|
|
981
|
+
def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
|
|
982
|
+
@airport = airport
|
|
983
|
+
@arrives_at = arrives_at
|
|
984
|
+
@city = city
|
|
985
|
+
@country = country
|
|
986
|
+
end
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
class Departure < ::Stripe::RequestParams
|
|
990
|
+
# Departure airport IATA code.
|
|
991
|
+
attr_accessor :airport
|
|
992
|
+
# Departure city.
|
|
993
|
+
attr_accessor :city
|
|
994
|
+
# Departure country.
|
|
995
|
+
attr_accessor :country
|
|
996
|
+
# Departure date/time.
|
|
997
|
+
attr_accessor :departs_at
|
|
998
|
+
|
|
999
|
+
def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
|
|
1000
|
+
@airport = airport
|
|
1001
|
+
@city = city
|
|
1002
|
+
@country = country
|
|
1003
|
+
@departs_at = departs_at
|
|
1004
|
+
end
|
|
1005
|
+
end
|
|
1006
|
+
# Segment fare amount.
|
|
1007
|
+
attr_accessor :amount
|
|
1008
|
+
# Arrival details.
|
|
1009
|
+
attr_accessor :arrival
|
|
1010
|
+
# Airline carrier code.
|
|
1011
|
+
attr_accessor :carrier_code
|
|
1012
|
+
# Carrier name.
|
|
1013
|
+
attr_accessor :carrier_name
|
|
1014
|
+
# Segment currency.
|
|
1015
|
+
attr_accessor :currency
|
|
1016
|
+
# Departure details.
|
|
1017
|
+
attr_accessor :departure
|
|
1018
|
+
# Exchange ticket number.
|
|
1019
|
+
attr_accessor :exchange_ticket_number
|
|
1020
|
+
# Fare basis code.
|
|
1021
|
+
attr_accessor :fare_basis_code
|
|
1022
|
+
# Additional fees.
|
|
1023
|
+
attr_accessor :fees
|
|
1024
|
+
# Flight number.
|
|
1025
|
+
attr_accessor :flight_number
|
|
1026
|
+
# Stopover indicator.
|
|
1027
|
+
attr_accessor :is_stop_over_indicator
|
|
1028
|
+
# Refundable ticket indicator.
|
|
1029
|
+
attr_accessor :refundable
|
|
1030
|
+
# Class of service.
|
|
1031
|
+
attr_accessor :service_class
|
|
1032
|
+
# Tax amount for segment.
|
|
1033
|
+
attr_accessor :tax_amount
|
|
1034
|
+
# Ticket number.
|
|
1035
|
+
attr_accessor :ticket_number
|
|
1036
|
+
|
|
1037
|
+
def initialize(
|
|
1038
|
+
amount: nil,
|
|
1039
|
+
arrival: nil,
|
|
1040
|
+
carrier_code: nil,
|
|
1041
|
+
carrier_name: nil,
|
|
1042
|
+
currency: nil,
|
|
1043
|
+
departure: nil,
|
|
1044
|
+
exchange_ticket_number: nil,
|
|
1045
|
+
fare_basis_code: nil,
|
|
1046
|
+
fees: nil,
|
|
1047
|
+
flight_number: nil,
|
|
1048
|
+
is_stop_over_indicator: nil,
|
|
1049
|
+
refundable: nil,
|
|
1050
|
+
service_class: nil,
|
|
1051
|
+
tax_amount: nil,
|
|
1052
|
+
ticket_number: nil
|
|
1053
|
+
)
|
|
1054
|
+
@amount = amount
|
|
1055
|
+
@arrival = arrival
|
|
1056
|
+
@carrier_code = carrier_code
|
|
1057
|
+
@carrier_name = carrier_name
|
|
1058
|
+
@currency = currency
|
|
1059
|
+
@departure = departure
|
|
1060
|
+
@exchange_ticket_number = exchange_ticket_number
|
|
1061
|
+
@fare_basis_code = fare_basis_code
|
|
1062
|
+
@fees = fees
|
|
1063
|
+
@flight_number = flight_number
|
|
1064
|
+
@is_stop_over_indicator = is_stop_over_indicator
|
|
1065
|
+
@refundable = refundable
|
|
1066
|
+
@service_class = service_class
|
|
1067
|
+
@tax_amount = tax_amount
|
|
1068
|
+
@ticket_number = ticket_number
|
|
1069
|
+
end
|
|
1070
|
+
end
|
|
1071
|
+
|
|
1072
|
+
class Total < ::Stripe::RequestParams
|
|
1073
|
+
class Discounts < ::Stripe::RequestParams
|
|
1074
|
+
# Corporate client discount code.
|
|
1075
|
+
attr_accessor :corporate_client_code
|
|
1076
|
+
|
|
1077
|
+
def initialize(corporate_client_code: nil)
|
|
1078
|
+
@corporate_client_code = corporate_client_code
|
|
1079
|
+
end
|
|
1080
|
+
end
|
|
1081
|
+
|
|
1082
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1083
|
+
# Amount of additional charges.
|
|
1084
|
+
attr_accessor :amount
|
|
1085
|
+
# Type of additional charges.
|
|
1086
|
+
attr_accessor :type
|
|
1087
|
+
|
|
1088
|
+
def initialize(amount: nil, type: nil)
|
|
1089
|
+
@amount = amount
|
|
1090
|
+
@type = type
|
|
1091
|
+
end
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
class Tax < ::Stripe::RequestParams
|
|
1095
|
+
class Tax < ::Stripe::RequestParams
|
|
1096
|
+
# Tax amount.
|
|
1097
|
+
attr_accessor :amount
|
|
1098
|
+
# Tax rate.
|
|
1099
|
+
attr_accessor :rate
|
|
1100
|
+
# Type of tax.
|
|
1101
|
+
attr_accessor :type
|
|
1102
|
+
|
|
1103
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1104
|
+
@amount = amount
|
|
1105
|
+
@rate = rate
|
|
1106
|
+
@type = type
|
|
1107
|
+
end
|
|
1108
|
+
end
|
|
1109
|
+
# Array of tax details.
|
|
1110
|
+
attr_accessor :taxes
|
|
1111
|
+
|
|
1112
|
+
def initialize(taxes: nil)
|
|
1113
|
+
@taxes = taxes
|
|
1114
|
+
end
|
|
1115
|
+
end
|
|
1116
|
+
# Total flight amount.
|
|
1117
|
+
attr_accessor :amount
|
|
1118
|
+
# Reason for credit.
|
|
1119
|
+
attr_accessor :credit_reason
|
|
1120
|
+
# Total currency.
|
|
1121
|
+
attr_accessor :currency
|
|
1122
|
+
# Discount details.
|
|
1123
|
+
attr_accessor :discounts
|
|
1124
|
+
# Additional charges.
|
|
1125
|
+
attr_accessor :extra_charges
|
|
1126
|
+
# Tax breakdown.
|
|
1127
|
+
attr_accessor :tax
|
|
1128
|
+
|
|
1129
|
+
def initialize(
|
|
1130
|
+
amount: nil,
|
|
1131
|
+
credit_reason: nil,
|
|
1132
|
+
currency: nil,
|
|
1133
|
+
discounts: nil,
|
|
1134
|
+
extra_charges: nil,
|
|
1135
|
+
tax: nil
|
|
1136
|
+
)
|
|
1137
|
+
@amount = amount
|
|
1138
|
+
@credit_reason = credit_reason
|
|
1139
|
+
@currency = currency
|
|
1140
|
+
@discounts = discounts
|
|
1141
|
+
@extra_charges = extra_charges
|
|
1142
|
+
@tax = tax
|
|
1143
|
+
end
|
|
1144
|
+
end
|
|
1145
|
+
# Affiliate details if applicable.
|
|
1146
|
+
attr_accessor :affiliate
|
|
1147
|
+
# Reservation reference.
|
|
1148
|
+
attr_accessor :booking_number
|
|
1149
|
+
# Computerized reservation system used to make the reservation and purchase the ticket.
|
|
1150
|
+
attr_accessor :computerized_reservation_system
|
|
1151
|
+
# Ticket restrictions.
|
|
1152
|
+
attr_accessor :endorsements_and_restrictions
|
|
1153
|
+
# List of insurances.
|
|
1154
|
+
attr_accessor :insurances
|
|
1155
|
+
# List of passengers.
|
|
1156
|
+
attr_accessor :passengers
|
|
1157
|
+
# List of flight segments.
|
|
1158
|
+
attr_accessor :segments
|
|
1159
|
+
# Electronic ticket indicator.
|
|
1160
|
+
attr_accessor :ticket_electronically_issued_indicator
|
|
1161
|
+
# Total cost breakdown.
|
|
1162
|
+
attr_accessor :total
|
|
1163
|
+
# Type of flight transaction.
|
|
1164
|
+
attr_accessor :transaction_type
|
|
1165
|
+
|
|
1166
|
+
def initialize(
|
|
1167
|
+
affiliate: nil,
|
|
1168
|
+
booking_number: nil,
|
|
1169
|
+
computerized_reservation_system: nil,
|
|
1170
|
+
endorsements_and_restrictions: nil,
|
|
1171
|
+
insurances: nil,
|
|
1172
|
+
passengers: nil,
|
|
1173
|
+
segments: nil,
|
|
1174
|
+
ticket_electronically_issued_indicator: nil,
|
|
1175
|
+
total: nil,
|
|
1176
|
+
transaction_type: nil
|
|
1177
|
+
)
|
|
1178
|
+
@affiliate = affiliate
|
|
1179
|
+
@booking_number = booking_number
|
|
1180
|
+
@computerized_reservation_system = computerized_reservation_system
|
|
1181
|
+
@endorsements_and_restrictions = endorsements_and_restrictions
|
|
1182
|
+
@insurances = insurances
|
|
1183
|
+
@passengers = passengers
|
|
1184
|
+
@segments = segments
|
|
1185
|
+
@ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
|
|
1186
|
+
@total = total
|
|
1187
|
+
@transaction_type = transaction_type
|
|
1188
|
+
end
|
|
1189
|
+
end
|
|
1190
|
+
|
|
1191
|
+
class Lodging < ::Stripe::RequestParams
|
|
1192
|
+
class Address < ::Stripe::RequestParams
|
|
1193
|
+
# City, district, suburb, town, or village.
|
|
1194
|
+
attr_accessor :city
|
|
1195
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1196
|
+
attr_accessor :country
|
|
1197
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1198
|
+
attr_accessor :line1
|
|
1199
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1200
|
+
attr_accessor :line2
|
|
1201
|
+
# ZIP or postal code.
|
|
1202
|
+
attr_accessor :postal_code
|
|
1203
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1204
|
+
attr_accessor :state
|
|
1205
|
+
|
|
1206
|
+
def initialize(
|
|
1207
|
+
city: nil,
|
|
1208
|
+
country: nil,
|
|
1209
|
+
line1: nil,
|
|
1210
|
+
line2: nil,
|
|
1211
|
+
postal_code: nil,
|
|
1212
|
+
state: nil
|
|
1213
|
+
)
|
|
1214
|
+
@city = city
|
|
1215
|
+
@country = country
|
|
1216
|
+
@line1 = line1
|
|
1217
|
+
@line2 = line2
|
|
1218
|
+
@postal_code = postal_code
|
|
1219
|
+
@state = state
|
|
1220
|
+
end
|
|
1221
|
+
end
|
|
1222
|
+
|
|
1223
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1224
|
+
# The name of the affiliate that originated the purchase.
|
|
1225
|
+
attr_accessor :name
|
|
1226
|
+
|
|
1227
|
+
def initialize(name: nil)
|
|
1228
|
+
@name = name
|
|
1229
|
+
end
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1232
|
+
class Delivery < ::Stripe::RequestParams
|
|
1233
|
+
class Recipient < ::Stripe::RequestParams
|
|
1234
|
+
# The email of the recipient the ticket is delivered to.
|
|
1235
|
+
attr_accessor :email
|
|
1236
|
+
# The name of the recipient the ticket is delivered to.
|
|
1237
|
+
attr_accessor :name
|
|
1238
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1239
|
+
attr_accessor :phone
|
|
1240
|
+
|
|
1241
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
1242
|
+
@email = email
|
|
1243
|
+
@name = name
|
|
1244
|
+
@phone = phone
|
|
1245
|
+
end
|
|
1246
|
+
end
|
|
1247
|
+
# The delivery method for the payment
|
|
1248
|
+
attr_accessor :mode
|
|
1249
|
+
# Details of the recipient.
|
|
1250
|
+
attr_accessor :recipient
|
|
1251
|
+
|
|
1252
|
+
def initialize(mode: nil, recipient: nil)
|
|
1253
|
+
@mode = mode
|
|
1254
|
+
@recipient = recipient
|
|
1255
|
+
end
|
|
1256
|
+
end
|
|
1257
|
+
|
|
1258
|
+
class Passenger < ::Stripe::RequestParams
|
|
1259
|
+
# Full name of the person or entity on the lodging reservation.
|
|
1260
|
+
attr_accessor :name
|
|
1261
|
+
|
|
1262
|
+
def initialize(name: nil)
|
|
1263
|
+
@name = name
|
|
1264
|
+
end
|
|
1265
|
+
end
|
|
1266
|
+
# The lodging location's address.
|
|
1267
|
+
attr_accessor :address
|
|
1268
|
+
# The number of adults on the booking
|
|
1269
|
+
attr_accessor :adults
|
|
1270
|
+
# Affiliate details for this purchase.
|
|
1271
|
+
attr_accessor :affiliate
|
|
1272
|
+
# The booking number associated with the lodging reservation.
|
|
1273
|
+
attr_accessor :booking_number
|
|
1274
|
+
# The lodging category
|
|
1275
|
+
attr_accessor :category
|
|
1276
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
1277
|
+
attr_accessor :checkin_at
|
|
1278
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
1279
|
+
attr_accessor :checkout_at
|
|
1280
|
+
# The customer service phone number of the lodging company.
|
|
1281
|
+
attr_accessor :customer_service_phone_number
|
|
1282
|
+
# The daily lodging room rate.
|
|
1283
|
+
attr_accessor :daily_room_rate_amount
|
|
1284
|
+
# Delivery details for this purchase.
|
|
1285
|
+
attr_accessor :delivery
|
|
1286
|
+
# List of additional charges being billed.
|
|
1287
|
+
attr_accessor :extra_charges
|
|
1288
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
1289
|
+
attr_accessor :fire_safety_act_compliance
|
|
1290
|
+
# The name of the lodging location.
|
|
1291
|
+
attr_accessor :name
|
|
1292
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
1293
|
+
attr_accessor :no_show
|
|
1294
|
+
# The number of rooms on the booking
|
|
1295
|
+
attr_accessor :number_of_rooms
|
|
1296
|
+
# The details of the passengers in the travel reservation
|
|
1297
|
+
attr_accessor :passengers
|
|
1298
|
+
# The phone number of the lodging location.
|
|
1299
|
+
attr_accessor :property_phone_number
|
|
1300
|
+
# The room class for this purchase.
|
|
1301
|
+
attr_accessor :room_class
|
|
1302
|
+
# The number of room nights
|
|
1303
|
+
attr_accessor :room_nights
|
|
1304
|
+
# The total tax amount associating with the room reservation.
|
|
1305
|
+
attr_accessor :total_room_tax_amount
|
|
1306
|
+
# The total tax amount
|
|
1307
|
+
attr_accessor :total_tax_amount
|
|
1308
|
+
|
|
1309
|
+
def initialize(
|
|
1310
|
+
address: nil,
|
|
1311
|
+
adults: nil,
|
|
1312
|
+
affiliate: nil,
|
|
1313
|
+
booking_number: nil,
|
|
1314
|
+
category: nil,
|
|
1315
|
+
checkin_at: nil,
|
|
1316
|
+
checkout_at: nil,
|
|
1317
|
+
customer_service_phone_number: nil,
|
|
1318
|
+
daily_room_rate_amount: nil,
|
|
1319
|
+
delivery: nil,
|
|
1320
|
+
extra_charges: nil,
|
|
1321
|
+
fire_safety_act_compliance: nil,
|
|
1322
|
+
name: nil,
|
|
1323
|
+
no_show: nil,
|
|
1324
|
+
number_of_rooms: nil,
|
|
1325
|
+
passengers: nil,
|
|
1326
|
+
property_phone_number: nil,
|
|
1327
|
+
room_class: nil,
|
|
1328
|
+
room_nights: nil,
|
|
1329
|
+
total_room_tax_amount: nil,
|
|
1330
|
+
total_tax_amount: nil
|
|
1331
|
+
)
|
|
1332
|
+
@address = address
|
|
1333
|
+
@adults = adults
|
|
1334
|
+
@affiliate = affiliate
|
|
1335
|
+
@booking_number = booking_number
|
|
1336
|
+
@category = category
|
|
1337
|
+
@checkin_at = checkin_at
|
|
1338
|
+
@checkout_at = checkout_at
|
|
1339
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1340
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
|
1341
|
+
@delivery = delivery
|
|
1342
|
+
@extra_charges = extra_charges
|
|
1343
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
1344
|
+
@name = name
|
|
1345
|
+
@no_show = no_show
|
|
1346
|
+
@number_of_rooms = number_of_rooms
|
|
1347
|
+
@passengers = passengers
|
|
1348
|
+
@property_phone_number = property_phone_number
|
|
1349
|
+
@room_class = room_class
|
|
1350
|
+
@room_nights = room_nights
|
|
1351
|
+
@total_room_tax_amount = total_room_tax_amount
|
|
1352
|
+
@total_tax_amount = total_tax_amount
|
|
1353
|
+
end
|
|
1354
|
+
end
|
|
1355
|
+
|
|
1356
|
+
class LodgingDatum < ::Stripe::RequestParams
|
|
1357
|
+
class Accommodation < ::Stripe::RequestParams
|
|
1358
|
+
# Type of accommodation.
|
|
1359
|
+
attr_accessor :accommodation_type
|
|
1360
|
+
# Bed type.
|
|
1361
|
+
attr_accessor :bed_type
|
|
1362
|
+
# Daily accommodation rate in cents.
|
|
1363
|
+
attr_accessor :daily_rate_amount
|
|
1364
|
+
# Number of nights.
|
|
1365
|
+
attr_accessor :nights
|
|
1366
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
1367
|
+
attr_accessor :number_of_rooms
|
|
1368
|
+
# Rate type.
|
|
1369
|
+
attr_accessor :rate_type
|
|
1370
|
+
# Whether smoking is allowed.
|
|
1371
|
+
attr_accessor :smoking_indicator
|
|
1372
|
+
|
|
1373
|
+
def initialize(
|
|
1374
|
+
accommodation_type: nil,
|
|
1375
|
+
bed_type: nil,
|
|
1376
|
+
daily_rate_amount: nil,
|
|
1377
|
+
nights: nil,
|
|
1378
|
+
number_of_rooms: nil,
|
|
1379
|
+
rate_type: nil,
|
|
1380
|
+
smoking_indicator: nil
|
|
1381
|
+
)
|
|
1382
|
+
@accommodation_type = accommodation_type
|
|
1383
|
+
@bed_type = bed_type
|
|
1384
|
+
@daily_rate_amount = daily_rate_amount
|
|
1385
|
+
@nights = nights
|
|
1386
|
+
@number_of_rooms = number_of_rooms
|
|
1387
|
+
@rate_type = rate_type
|
|
1388
|
+
@smoking_indicator = smoking_indicator
|
|
1389
|
+
end
|
|
1390
|
+
end
|
|
1391
|
+
|
|
1392
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1393
|
+
# Affiliate partner code.
|
|
1394
|
+
attr_accessor :code
|
|
1395
|
+
# Affiliate partner name.
|
|
1396
|
+
attr_accessor :name
|
|
1397
|
+
|
|
1398
|
+
def initialize(code: nil, name: nil)
|
|
1399
|
+
@code = code
|
|
1400
|
+
@name = name
|
|
1401
|
+
end
|
|
1402
|
+
end
|
|
1403
|
+
|
|
1404
|
+
class Guest < ::Stripe::RequestParams
|
|
1405
|
+
# Guest's full name.
|
|
1406
|
+
attr_accessor :name
|
|
1407
|
+
|
|
1408
|
+
def initialize(name: nil)
|
|
1409
|
+
@name = name
|
|
1410
|
+
end
|
|
1411
|
+
end
|
|
1412
|
+
|
|
1413
|
+
class Host < ::Stripe::RequestParams
|
|
1414
|
+
class Address < ::Stripe::RequestParams
|
|
1415
|
+
# City, district, suburb, town, or village.
|
|
1416
|
+
attr_accessor :city
|
|
1417
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1418
|
+
attr_accessor :country
|
|
1419
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1420
|
+
attr_accessor :line1
|
|
1421
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1422
|
+
attr_accessor :line2
|
|
1423
|
+
# ZIP or postal code.
|
|
1424
|
+
attr_accessor :postal_code
|
|
1425
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1426
|
+
attr_accessor :state
|
|
1427
|
+
|
|
1428
|
+
def initialize(
|
|
1429
|
+
city: nil,
|
|
1430
|
+
country: nil,
|
|
1431
|
+
line1: nil,
|
|
1432
|
+
line2: nil,
|
|
1433
|
+
postal_code: nil,
|
|
1434
|
+
state: nil
|
|
1435
|
+
)
|
|
1436
|
+
@city = city
|
|
1437
|
+
@country = country
|
|
1438
|
+
@line1 = line1
|
|
1439
|
+
@line2 = line2
|
|
1440
|
+
@postal_code = postal_code
|
|
1441
|
+
@state = state
|
|
1442
|
+
end
|
|
1443
|
+
end
|
|
1444
|
+
# Address of the host.
|
|
1445
|
+
attr_accessor :address
|
|
1446
|
+
# Host's country of domicile.
|
|
1447
|
+
attr_accessor :country_of_domicile
|
|
1448
|
+
# Reference number for the host.
|
|
1449
|
+
attr_accessor :host_reference
|
|
1450
|
+
# Type of host.
|
|
1451
|
+
attr_accessor :host_type
|
|
1452
|
+
# Name of the lodging property or host.
|
|
1453
|
+
attr_accessor :name
|
|
1454
|
+
# Total number of reservations for the host.
|
|
1455
|
+
attr_accessor :number_of_reservations
|
|
1456
|
+
# Property phone number.
|
|
1457
|
+
attr_accessor :property_phone_number
|
|
1458
|
+
# Host's registration date.
|
|
1459
|
+
attr_accessor :registered_at
|
|
1460
|
+
|
|
1461
|
+
def initialize(
|
|
1462
|
+
address: nil,
|
|
1463
|
+
country_of_domicile: nil,
|
|
1464
|
+
host_reference: nil,
|
|
1465
|
+
host_type: nil,
|
|
1466
|
+
name: nil,
|
|
1467
|
+
number_of_reservations: nil,
|
|
1468
|
+
property_phone_number: nil,
|
|
1469
|
+
registered_at: nil
|
|
1470
|
+
)
|
|
1471
|
+
@address = address
|
|
1472
|
+
@country_of_domicile = country_of_domicile
|
|
1473
|
+
@host_reference = host_reference
|
|
1474
|
+
@host_type = host_type
|
|
1475
|
+
@name = name
|
|
1476
|
+
@number_of_reservations = number_of_reservations
|
|
1477
|
+
@property_phone_number = property_phone_number
|
|
1478
|
+
@registered_at = registered_at
|
|
1479
|
+
end
|
|
1480
|
+
end
|
|
1481
|
+
|
|
1482
|
+
class Insurance < ::Stripe::RequestParams
|
|
1483
|
+
# Price of the insurance coverage in cents.
|
|
1484
|
+
attr_accessor :amount
|
|
1485
|
+
# Currency of the insurance amount.
|
|
1486
|
+
attr_accessor :currency
|
|
1487
|
+
# Name of the insurance company.
|
|
1488
|
+
attr_accessor :insurance_company_name
|
|
1489
|
+
# Type of insurance coverage.
|
|
1490
|
+
attr_accessor :insurance_type
|
|
1491
|
+
|
|
1492
|
+
def initialize(
|
|
1493
|
+
amount: nil,
|
|
1494
|
+
currency: nil,
|
|
1495
|
+
insurance_company_name: nil,
|
|
1496
|
+
insurance_type: nil
|
|
1497
|
+
)
|
|
1498
|
+
@amount = amount
|
|
1499
|
+
@currency = currency
|
|
1500
|
+
@insurance_company_name = insurance_company_name
|
|
1501
|
+
@insurance_type = insurance_type
|
|
1502
|
+
end
|
|
1503
|
+
end
|
|
1504
|
+
|
|
1505
|
+
class Total < ::Stripe::RequestParams
|
|
1506
|
+
class Discounts < ::Stripe::RequestParams
|
|
1507
|
+
# Corporate client discount code.
|
|
1508
|
+
attr_accessor :corporate_client_code
|
|
1509
|
+
# Coupon code.
|
|
1510
|
+
attr_accessor :coupon
|
|
1511
|
+
|
|
1512
|
+
def initialize(corporate_client_code: nil, coupon: nil)
|
|
1513
|
+
@corporate_client_code = corporate_client_code
|
|
1514
|
+
@coupon = coupon
|
|
1515
|
+
end
|
|
1516
|
+
end
|
|
1517
|
+
|
|
1518
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1519
|
+
# Amount of the extra charge in cents.
|
|
1520
|
+
attr_accessor :amount
|
|
1521
|
+
# Type of extra charge.
|
|
1522
|
+
attr_accessor :type
|
|
1523
|
+
|
|
1524
|
+
def initialize(amount: nil, type: nil)
|
|
1525
|
+
@amount = amount
|
|
1526
|
+
@type = type
|
|
1527
|
+
end
|
|
1528
|
+
end
|
|
1529
|
+
|
|
1530
|
+
class Tax < ::Stripe::RequestParams
|
|
1531
|
+
class Tax < ::Stripe::RequestParams
|
|
1532
|
+
# Tax amount in cents.
|
|
1533
|
+
attr_accessor :amount
|
|
1534
|
+
# Tax rate.
|
|
1535
|
+
attr_accessor :rate
|
|
1536
|
+
# Type of tax applied.
|
|
1537
|
+
attr_accessor :type
|
|
1538
|
+
|
|
1539
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1540
|
+
@amount = amount
|
|
1541
|
+
@rate = rate
|
|
1542
|
+
@type = type
|
|
1543
|
+
end
|
|
1544
|
+
end
|
|
1545
|
+
# Indicates whether the transaction is tax exempt.
|
|
1546
|
+
attr_accessor :tax_exempt_indicator
|
|
1547
|
+
# Tax details.
|
|
1548
|
+
attr_accessor :taxes
|
|
1549
|
+
|
|
1550
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
1551
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
1552
|
+
@taxes = taxes
|
|
1553
|
+
end
|
|
1554
|
+
end
|
|
1555
|
+
# Total price of the lodging reservation in cents.
|
|
1556
|
+
attr_accessor :amount
|
|
1557
|
+
# Cash advances in cents.
|
|
1558
|
+
attr_accessor :cash_advances
|
|
1559
|
+
# Currency of the total amount.
|
|
1560
|
+
attr_accessor :currency
|
|
1561
|
+
# Discount details for the lodging.
|
|
1562
|
+
attr_accessor :discounts
|
|
1563
|
+
# Additional charges for the lodging.
|
|
1564
|
+
attr_accessor :extra_charges
|
|
1565
|
+
# Prepaid amount in cents.
|
|
1566
|
+
attr_accessor :prepaid_amount
|
|
1567
|
+
# Tax breakdown for the lodging reservation.
|
|
1568
|
+
attr_accessor :tax
|
|
1569
|
+
|
|
1570
|
+
def initialize(
|
|
1571
|
+
amount: nil,
|
|
1572
|
+
cash_advances: nil,
|
|
1573
|
+
currency: nil,
|
|
1574
|
+
discounts: nil,
|
|
1575
|
+
extra_charges: nil,
|
|
1576
|
+
prepaid_amount: nil,
|
|
1577
|
+
tax: nil
|
|
1578
|
+
)
|
|
1579
|
+
@amount = amount
|
|
1580
|
+
@cash_advances = cash_advances
|
|
1581
|
+
@currency = currency
|
|
1582
|
+
@discounts = discounts
|
|
1583
|
+
@extra_charges = extra_charges
|
|
1584
|
+
@prepaid_amount = prepaid_amount
|
|
1585
|
+
@tax = tax
|
|
1586
|
+
end
|
|
1587
|
+
end
|
|
1588
|
+
# Accommodation details for the lodging.
|
|
1589
|
+
attr_accessor :accommodation
|
|
1590
|
+
# Affiliate details if applicable.
|
|
1591
|
+
attr_accessor :affiliate
|
|
1592
|
+
# Booking confirmation number for the lodging.
|
|
1593
|
+
attr_accessor :booking_number
|
|
1594
|
+
# Check-in date.
|
|
1595
|
+
attr_accessor :checkin_at
|
|
1596
|
+
# Check-out date.
|
|
1597
|
+
attr_accessor :checkout_at
|
|
1598
|
+
# Customer service phone number for the lodging company.
|
|
1599
|
+
attr_accessor :customer_service_phone_number
|
|
1600
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
1601
|
+
attr_accessor :fire_safety_act_compliance_indicator
|
|
1602
|
+
# List of guests for the lodging.
|
|
1603
|
+
attr_accessor :guests
|
|
1604
|
+
# Host details for the lodging.
|
|
1605
|
+
attr_accessor :host
|
|
1606
|
+
# List of insurances for the lodging.
|
|
1607
|
+
attr_accessor :insurances
|
|
1608
|
+
# Whether the renter is a no-show.
|
|
1609
|
+
attr_accessor :no_show_indicator
|
|
1610
|
+
# Renter ID number for the lodging.
|
|
1611
|
+
attr_accessor :renter_id_number
|
|
1612
|
+
# Renter name for the lodging.
|
|
1613
|
+
attr_accessor :renter_name
|
|
1614
|
+
# Total details for the lodging.
|
|
1615
|
+
attr_accessor :total
|
|
1616
|
+
|
|
1617
|
+
def initialize(
|
|
1618
|
+
accommodation: nil,
|
|
1619
|
+
affiliate: nil,
|
|
1620
|
+
booking_number: nil,
|
|
1621
|
+
checkin_at: nil,
|
|
1622
|
+
checkout_at: nil,
|
|
1623
|
+
customer_service_phone_number: nil,
|
|
1624
|
+
fire_safety_act_compliance_indicator: nil,
|
|
1625
|
+
guests: nil,
|
|
1626
|
+
host: nil,
|
|
1627
|
+
insurances: nil,
|
|
1628
|
+
no_show_indicator: nil,
|
|
1629
|
+
renter_id_number: nil,
|
|
1630
|
+
renter_name: nil,
|
|
1631
|
+
total: nil
|
|
1632
|
+
)
|
|
1633
|
+
@accommodation = accommodation
|
|
1634
|
+
@affiliate = affiliate
|
|
1635
|
+
@booking_number = booking_number
|
|
1636
|
+
@checkin_at = checkin_at
|
|
1637
|
+
@checkout_at = checkout_at
|
|
1638
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1639
|
+
@fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
|
|
1640
|
+
@guests = guests
|
|
1641
|
+
@host = host
|
|
1642
|
+
@insurances = insurances
|
|
1643
|
+
@no_show_indicator = no_show_indicator
|
|
1644
|
+
@renter_id_number = renter_id_number
|
|
1645
|
+
@renter_name = renter_name
|
|
1646
|
+
@total = total
|
|
1647
|
+
end
|
|
1648
|
+
end
|
|
1649
|
+
|
|
1650
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
1651
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
1652
|
+
class BeneficiaryDetails < ::Stripe::RequestParams
|
|
1653
|
+
class Address < ::Stripe::RequestParams
|
|
1654
|
+
# City, district, suburb, town, or village.
|
|
1655
|
+
attr_accessor :city
|
|
1656
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1657
|
+
attr_accessor :country
|
|
1658
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1659
|
+
attr_accessor :line1
|
|
1660
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1661
|
+
attr_accessor :line2
|
|
1662
|
+
# ZIP or postal code.
|
|
1663
|
+
attr_accessor :postal_code
|
|
1664
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1665
|
+
attr_accessor :state
|
|
1666
|
+
|
|
1667
|
+
def initialize(
|
|
1668
|
+
city: nil,
|
|
1669
|
+
country: nil,
|
|
1670
|
+
line1: nil,
|
|
1671
|
+
line2: nil,
|
|
1672
|
+
postal_code: nil,
|
|
1673
|
+
state: nil
|
|
1674
|
+
)
|
|
1675
|
+
@city = city
|
|
1676
|
+
@country = country
|
|
1677
|
+
@line1 = line1
|
|
1678
|
+
@line2 = line2
|
|
1679
|
+
@postal_code = postal_code
|
|
1680
|
+
@state = state
|
|
1681
|
+
end
|
|
1682
|
+
end
|
|
1683
|
+
|
|
1684
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
1685
|
+
# Day of birth, between 1 and 31.
|
|
1686
|
+
attr_accessor :day
|
|
1687
|
+
# Month of birth, between 1 and 12.
|
|
1688
|
+
attr_accessor :month
|
|
1689
|
+
# Four-digit year of birth.
|
|
1690
|
+
attr_accessor :year
|
|
1691
|
+
|
|
1692
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
1693
|
+
@day = day
|
|
1694
|
+
@month = month
|
|
1695
|
+
@year = year
|
|
1696
|
+
end
|
|
1697
|
+
end
|
|
1698
|
+
# Address.
|
|
1699
|
+
attr_accessor :address
|
|
1700
|
+
# Date of birth.
|
|
1701
|
+
attr_accessor :date_of_birth
|
|
1702
|
+
# Email address.
|
|
1703
|
+
attr_accessor :email
|
|
1704
|
+
# Full name.
|
|
1705
|
+
attr_accessor :name
|
|
1706
|
+
# Phone number.
|
|
1707
|
+
attr_accessor :phone
|
|
1708
|
+
|
|
1709
|
+
def initialize(address: nil, date_of_birth: nil, email: nil, name: nil, phone: nil)
|
|
1710
|
+
@address = address
|
|
1711
|
+
@date_of_birth = date_of_birth
|
|
1712
|
+
@email = email
|
|
1713
|
+
@name = name
|
|
1714
|
+
@phone = phone
|
|
1715
|
+
end
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
class SenderDetails < ::Stripe::RequestParams
|
|
1719
|
+
class Address < ::Stripe::RequestParams
|
|
1720
|
+
# City, district, suburb, town, or village.
|
|
1721
|
+
attr_accessor :city
|
|
1722
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1723
|
+
attr_accessor :country
|
|
1724
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1725
|
+
attr_accessor :line1
|
|
1726
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1727
|
+
attr_accessor :line2
|
|
1728
|
+
# ZIP or postal code.
|
|
1729
|
+
attr_accessor :postal_code
|
|
1730
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1731
|
+
attr_accessor :state
|
|
1732
|
+
|
|
1733
|
+
def initialize(
|
|
1734
|
+
city: nil,
|
|
1735
|
+
country: nil,
|
|
1736
|
+
line1: nil,
|
|
1737
|
+
line2: nil,
|
|
1738
|
+
postal_code: nil,
|
|
1739
|
+
state: nil
|
|
1740
|
+
)
|
|
1741
|
+
@city = city
|
|
1742
|
+
@country = country
|
|
1743
|
+
@line1 = line1
|
|
1744
|
+
@line2 = line2
|
|
1745
|
+
@postal_code = postal_code
|
|
1746
|
+
@state = state
|
|
1747
|
+
end
|
|
1748
|
+
end
|
|
1749
|
+
|
|
1750
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
1751
|
+
# Day of birth, between 1 and 31.
|
|
1752
|
+
attr_accessor :day
|
|
1753
|
+
# Month of birth, between 1 and 12.
|
|
1754
|
+
attr_accessor :month
|
|
1755
|
+
# Four-digit year of birth.
|
|
1756
|
+
attr_accessor :year
|
|
1757
|
+
|
|
1758
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
1759
|
+
@day = day
|
|
1760
|
+
@month = month
|
|
1761
|
+
@year = year
|
|
1762
|
+
end
|
|
1763
|
+
end
|
|
1764
|
+
# Address.
|
|
1765
|
+
attr_accessor :address
|
|
1766
|
+
# Date of birth.
|
|
1767
|
+
attr_accessor :date_of_birth
|
|
1768
|
+
# Email address.
|
|
1769
|
+
attr_accessor :email
|
|
1770
|
+
# Full name.
|
|
1771
|
+
attr_accessor :name
|
|
1772
|
+
# Phone number.
|
|
1773
|
+
attr_accessor :phone
|
|
1774
|
+
|
|
1775
|
+
def initialize(address: nil, date_of_birth: nil, email: nil, name: nil, phone: nil)
|
|
1776
|
+
@address = address
|
|
1777
|
+
@date_of_birth = date_of_birth
|
|
1778
|
+
@email = email
|
|
1779
|
+
@name = name
|
|
1780
|
+
@phone = phone
|
|
1781
|
+
end
|
|
1782
|
+
end
|
|
1783
|
+
# ID of the Account representing the beneficiary in this account funding transaction.
|
|
1784
|
+
attr_accessor :beneficiary_account
|
|
1785
|
+
# Inline identity details for the beneficiary of this account funding transaction.
|
|
1786
|
+
attr_accessor :beneficiary_details
|
|
1787
|
+
# ID of the Account representing the sender in this account funding transaction.
|
|
1788
|
+
attr_accessor :sender_account
|
|
1789
|
+
# Inline identity details for the sender of this account funding transaction.
|
|
1790
|
+
attr_accessor :sender_details
|
|
1791
|
+
|
|
1792
|
+
def initialize(
|
|
1793
|
+
beneficiary_account: nil,
|
|
1794
|
+
beneficiary_details: nil,
|
|
1795
|
+
sender_account: nil,
|
|
1796
|
+
sender_details: nil
|
|
1797
|
+
)
|
|
1798
|
+
@beneficiary_account = beneficiary_account
|
|
1799
|
+
@beneficiary_details = beneficiary_details
|
|
1800
|
+
@sender_account = sender_account
|
|
1801
|
+
@sender_details = sender_details
|
|
1802
|
+
end
|
|
1803
|
+
end
|
|
1804
|
+
# Account funding transaction details including sender and beneficiary information.
|
|
1805
|
+
attr_accessor :account_funding
|
|
1806
|
+
# The type of money services transaction.
|
|
1807
|
+
attr_accessor :transaction_type
|
|
1808
|
+
|
|
1809
|
+
def initialize(account_funding: nil, transaction_type: nil)
|
|
1810
|
+
@account_funding = account_funding
|
|
1811
|
+
@transaction_type = transaction_type
|
|
1812
|
+
end
|
|
1813
|
+
end
|
|
1814
|
+
|
|
1815
|
+
class Subscription < ::Stripe::RequestParams
|
|
1816
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1817
|
+
# The name of the affiliate that originated the purchase.
|
|
1818
|
+
attr_accessor :name
|
|
1819
|
+
|
|
1820
|
+
def initialize(name: nil)
|
|
1821
|
+
@name = name
|
|
1822
|
+
end
|
|
1823
|
+
end
|
|
1824
|
+
|
|
1825
|
+
class BillingInterval < ::Stripe::RequestParams
|
|
1826
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1827
|
+
attr_accessor :count
|
|
1828
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1829
|
+
attr_accessor :interval
|
|
1830
|
+
|
|
1831
|
+
def initialize(count: nil, interval: nil)
|
|
1832
|
+
@count = count
|
|
1833
|
+
@interval = interval
|
|
1834
|
+
end
|
|
1835
|
+
end
|
|
1836
|
+
# Affiliate details for this purchase.
|
|
1837
|
+
attr_accessor :affiliate
|
|
1838
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
1839
|
+
attr_accessor :auto_renewal
|
|
1840
|
+
# Subscription billing details for this purchase.
|
|
1841
|
+
attr_accessor :billing_interval
|
|
1842
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
1843
|
+
attr_accessor :ends_at
|
|
1844
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
1845
|
+
attr_accessor :name
|
|
1846
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
1847
|
+
attr_accessor :starts_at
|
|
1848
|
+
|
|
1849
|
+
def initialize(
|
|
1850
|
+
affiliate: nil,
|
|
1851
|
+
auto_renewal: nil,
|
|
1852
|
+
billing_interval: nil,
|
|
1853
|
+
ends_at: nil,
|
|
1854
|
+
name: nil,
|
|
1855
|
+
starts_at: nil
|
|
1856
|
+
)
|
|
1857
|
+
@affiliate = affiliate
|
|
1858
|
+
@auto_renewal = auto_renewal
|
|
1859
|
+
@billing_interval = billing_interval
|
|
1860
|
+
@ends_at = ends_at
|
|
1861
|
+
@name = name
|
|
1862
|
+
@starts_at = starts_at
|
|
1863
|
+
end
|
|
1864
|
+
end
|
|
1865
|
+
# Car rental details for this PaymentIntent.
|
|
1866
|
+
attr_accessor :car_rental
|
|
1867
|
+
# Car rental data for this PaymentIntent.
|
|
1868
|
+
attr_accessor :car_rental_data
|
|
1869
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
1870
|
+
#
|
|
1871
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1872
|
+
attr_accessor :customer_reference
|
|
1873
|
+
# Event details for this PaymentIntent
|
|
1874
|
+
attr_accessor :event_details
|
|
1875
|
+
# Fleet data for this PaymentIntent.
|
|
1876
|
+
attr_accessor :fleet_data
|
|
1877
|
+
# Flight reservation details for this PaymentIntent
|
|
1878
|
+
attr_accessor :flight
|
|
1879
|
+
# Flight data for this PaymentIntent.
|
|
1880
|
+
attr_accessor :flight_data
|
|
1881
|
+
# Lodging reservation details for this PaymentIntent
|
|
1882
|
+
attr_accessor :lodging
|
|
1883
|
+
# Lodging data for this PaymentIntent.
|
|
1884
|
+
attr_accessor :lodging_data
|
|
1885
|
+
# Money services details for this PaymentIntent.
|
|
1886
|
+
attr_accessor :money_services
|
|
1887
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1888
|
+
#
|
|
1889
|
+
# 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.
|
|
1890
|
+
attr_accessor :order_reference
|
|
1891
|
+
# Subscription details for this PaymentIntent
|
|
1892
|
+
attr_accessor :subscription
|
|
1893
|
+
|
|
1894
|
+
def initialize(
|
|
1895
|
+
car_rental: nil,
|
|
1896
|
+
car_rental_data: nil,
|
|
1897
|
+
customer_reference: nil,
|
|
1898
|
+
event_details: nil,
|
|
1899
|
+
fleet_data: nil,
|
|
1900
|
+
flight: nil,
|
|
1901
|
+
flight_data: nil,
|
|
1902
|
+
lodging: nil,
|
|
1903
|
+
lodging_data: nil,
|
|
1904
|
+
money_services: nil,
|
|
1905
|
+
order_reference: nil,
|
|
1906
|
+
subscription: nil
|
|
1907
|
+
)
|
|
1908
|
+
@car_rental = car_rental
|
|
1909
|
+
@car_rental_data = car_rental_data
|
|
1910
|
+
@customer_reference = customer_reference
|
|
1911
|
+
@event_details = event_details
|
|
1912
|
+
@fleet_data = fleet_data
|
|
1913
|
+
@flight = flight
|
|
1914
|
+
@flight_data = flight_data
|
|
1915
|
+
@lodging = lodging
|
|
1916
|
+
@lodging_data = lodging_data
|
|
1917
|
+
@money_services = money_services
|
|
1918
|
+
@order_reference = order_reference
|
|
1919
|
+
@subscription = subscription
|
|
1920
|
+
end
|
|
1921
|
+
end
|
|
1922
|
+
|
|
15
1923
|
class Shipping < ::Stripe::RequestParams
|
|
16
1924
|
class Address < ::Stripe::RequestParams
|
|
17
1925
|
# City, district, suburb, town, or village.
|
|
@@ -72,6 +1980,8 @@ module Stripe
|
|
|
72
1980
|
attr_accessor :fraud_details
|
|
73
1981
|
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
74
1982
|
attr_accessor :metadata
|
|
1983
|
+
# Provides industry-specific information about the charge.
|
|
1984
|
+
attr_accessor :payment_details
|
|
75
1985
|
# This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
|
|
76
1986
|
attr_accessor :receipt_email
|
|
77
1987
|
# Shipping information for the charge. Helps prevent fraud on charges for physical goods.
|
|
@@ -85,6 +1995,7 @@ module Stripe
|
|
|
85
1995
|
expand: nil,
|
|
86
1996
|
fraud_details: nil,
|
|
87
1997
|
metadata: nil,
|
|
1998
|
+
payment_details: nil,
|
|
88
1999
|
receipt_email: nil,
|
|
89
2000
|
shipping: nil,
|
|
90
2001
|
transfer_group: nil
|
|
@@ -94,6 +2005,7 @@ module Stripe
|
|
|
94
2005
|
@expand = expand
|
|
95
2006
|
@fraud_details = fraud_details
|
|
96
2007
|
@metadata = metadata
|
|
2008
|
+
@payment_details = payment_details
|
|
97
2009
|
@receipt_email = receipt_email
|
|
98
2010
|
@shipping = shipping
|
|
99
2011
|
@transfer_group = transfer_group
|