stripe 19.3.0 → 19.4.0.pre.alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +38 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +90 -0
- data/lib/stripe/event_types.rb +1328 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v1_account_application_authorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_application_deauthorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_created_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_deleted_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_updated_event.rb +20 -0
- data/lib/stripe/events/v1_account_signals_including_delinquency_created_event.rb +68 -0
- data/lib/stripe/events/v1_account_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_balance_available_event.rb +44 -0
- data/lib/stripe/events/v1_billing_alert_triggered_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_session_created_event.rb +20 -0
- data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
- data/lib/stripe/events/v1_cash_balance_funds_available_event.rb +44 -0
- data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
- data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
- data/lib/stripe/events/v1_customer_cash_balance_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v1_entitlements_active_entitlement_summary_updated_event.rb +20 -0
- data/lib/stripe/events/v1_file_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payout_created_event.rb +44 -0
- data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
- data/lib/stripe/events/v1_person_created_event.rb +44 -0
- data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_person_updated_event.rb +44 -0
- data/lib/stripe/events/v1_plan_created_event.rb +44 -0
- data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v1_price_created_event.rb +44 -0
- data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_price_updated_event.rb +44 -0
- data/lib/stripe/events/v1_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_product_updated_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
- data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
- data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_quote_created_event.rb +44 -0
- data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
- data/lib/stripe/events/v1_refund_created_event.rb +44 -0
- data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
- data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_review_closed_event.rb +44 -0
- data/lib/stripe/events/v1_review_opened_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
- data/lib/stripe/events/v1_source_failed_event.rb +44 -0
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_settings_updated_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
- data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_topup_created_event.rb +44 -0
- data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_custom_pricing_unit_overage_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_signals_fraudulent_website_ready_event.rb +48 -0
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +117 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +96 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +98 -0
- data/lib/stripe/events/v2_core_health_elements_error_firing_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_elements_error_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_firing_event.rb +75 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_resolved_event.rb +77 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +111 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +70 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +72 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_extension_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +40 -0
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_approved_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_canceled_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_denied_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_removed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_requested_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_updated_event.rb +38 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_debit_dispute_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_debit_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_debit_dispute_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_restated_event.rb +71 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_under_review_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +63 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_paused_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_resumed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +88 -0
- data/lib/stripe/events/v2_signals_account_signal_merchant_delinquency_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +138 -0
- data/lib/stripe/params/account_create_params.rb +461 -2
- data/lib/stripe/params/account_link_create_params.rb +4 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_person_create_params.rb +60 -0
- data/lib/stripe/params/account_person_update_params.rb +60 -0
- data/lib/stripe/params/account_session_create_params.rb +343 -1
- data/lib/stripe/params/account_signals_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_update_params.rb +423 -1
- data/lib/stripe/params/balance_settings_update_params.rb +9 -1
- data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
- data/lib/stripe/params/billing/alert_create_params.rb +264 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +48 -2
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +20 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1743 -0
- data/lib/stripe/params/charge_update_params.rb +1743 -0
- data/lib/stripe/params/checkout/session_approve_params.rb +52 -0
- data/lib/stripe/params/checkout/session_create_params.rb +568 -5
- data/lib/stripe/params/checkout/session_update_params.rb +176 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +96 -0
- data/lib/stripe/params/coupon_create_params.rb +47 -1
- data/lib/stripe/params/crypto/customer_consumer_wallet_list_params.rb +24 -0
- data/lib/stripe/params/crypto/customer_payment_token_list_params.rb +24 -0
- data/lib/stripe/params/crypto/customer_retrieve_params.rb +15 -0
- data/lib/stripe/params/crypto/onramp_session_checkout_params.rb +56 -0
- data/lib/stripe/params/crypto/onramp_session_create_params.rb +122 -0
- data/lib/stripe/params/crypto/onramp_session_list_params.rb +62 -0
- data/lib/stripe/params/crypto/onramp_session_quote_params.rb +15 -0
- data/lib/stripe/params/crypto/onramp_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/crypto/onramp_transaction_limits_retrieve_params.rb +33 -0
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- data/lib/stripe/params/delegated_checkout/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +168 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +230 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_list_orders_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_order_list_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +216 -0
- data/lib/stripe/params/dispute_update_params.rb +14 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +64 -2
- data/lib/stripe/params/fr_meal_vouchers_onboarding_create_params.rb +25 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +22 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +13 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +16 -0
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/gift_card_activate_params.rb +30 -0
- data/lib/stripe/params/gift_card_cashout_params.rb +16 -0
- data/lib/stripe/params/gift_card_check_balance_params.rb +16 -0
- data/lib/stripe/params/gift_card_create_params.rb +28 -0
- data/lib/stripe/params/gift_card_operation_retrieve_params.rb +13 -0
- data/lib/stripe/params/gift_card_reload_params.rb +22 -0
- data/lib/stripe/params/gift_card_retrieve_params.rb +13 -0
- data/lib/stripe/params/gift_card_void_operation_params.rb +19 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +11 -1
- data/lib/stripe/params/invoice_add_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +98 -3
- data/lib/stripe/params/invoice_create_preview_params.rb +1365 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +33 -1
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +48 -1
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_update_params.rb +98 -3
- data/lib/stripe/params/issuing/authorization_capture_params.rb +13 -0
- data/lib/stripe/params/issuing/authorization_create_params.rb +8 -0
- data/lib/stripe/params/issuing/card_list_params.rb +34 -1
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_offer_acceptance_params.rb +15 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_close_params.rb +18 -0
- data/lib/stripe/params/issuing/dispute_provisional_credit_params.rb +21 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_update_params.rb +22 -1
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_create_params.rb +21 -0
- data/lib/stripe/params/issuing/program_list_params.rb +24 -0
- data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_update_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +8 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/orchestration/payment_attempt_retrieve_params.rb +15 -0
- data/lib/stripe/params/order_create_params.rb +2117 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2121 -0
- data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +19 -0
- data/lib/stripe/params/payment_attempt_record_report_authorized_params.rb +41 -0
- data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +31 -0
- data/lib/stripe/params/payment_attempt_record_report_early_fraud_warning_params.rb +22 -0
- data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +92 -0
- data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +88 -0
- data/lib/stripe/params/payment_attempt_record_report_informational_params.rb +93 -0
- data/lib/stripe/params/payment_attempt_record_report_refund_params.rb +103 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1773 -3
- data/lib/stripe/params/payment_intent_confirm_params.rb +3641 -128
- data/lib/stripe/params/payment_intent_create_params.rb +3660 -131
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +328 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +70 -2
- data/lib/stripe/params/payment_intent_reauthorize_params.rb +19 -0
- data/lib/stripe/params/payment_intent_simulate_crypto_deposit_params.rb +31 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_crypto_refund_address_params.rb +19 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3668 -124
- data/lib/stripe/params/payment_link_create_params.rb +34 -0
- data/lib/stripe/params/payment_location_capability_list_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_retrieve_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_update_params.rb +19 -0
- data/lib/stripe/params/payment_location_create_params.rb +54 -0
- data/lib/stripe/params/payment_location_delete_params.rb +6 -0
- data/lib/stripe/params/payment_location_list_params.rb +22 -0
- data/lib/stripe/params/payment_location_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_location_update_params.rb +63 -0
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +92 -0
- data/lib/stripe/params/payment_method_update_params.rb +16 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +13 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +74 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +70 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +87 -3
- data/lib/stripe/params/payment_record_report_payment_params.rb +87 -3
- data/lib/stripe/params/payment_record_report_refund_params.rb +24 -0
- data/lib/stripe/params/payment_record_search_params.rb +22 -0
- data/lib/stripe/params/plan_create_params.rb +15 -0
- data/lib/stripe/params/price_create_params.rb +19 -0
- data/lib/stripe/params/price_update_params.rb +23 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_create_params.rb +47 -0
- data/lib/stripe/params/product_update_params.rb +47 -0
- data/lib/stripe/params/quote_create_params.rb +1217 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +1225 -4
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +115 -0
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +72 -0
- data/lib/stripe/params/radar/customer_evaluation_create_params.rb +86 -0
- data/lib/stripe/params/radar/customer_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/customer_evaluation_update_params.rb +21 -0
- data/lib/stripe/params/radar/issuing_authorization_evaluation_create_params.rb +197 -0
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +30 -1
- data/lib/stripe/params/refund_create_params.rb +4 -0
- data/lib/stripe/params/refund_list_params.rb +8 -0
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +182 -3
- data/lib/stripe/params/setup_intent_create_params.rb +182 -3
- data/lib/stripe/params/setup_intent_update_params.rb +183 -4
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +50 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +70 -0
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_create_params.rb +325 -7
- data/lib/stripe/params/subscription_item_create_params.rb +114 -2
- data/lib/stripe/params/subscription_item_update_params.rb +97 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_pause_params.rb +50 -0
- data/lib/stripe/params/subscription_resume_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +805 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +335 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +335 -5
- data/lib/stripe/params/subscription_update_params.rb +308 -6
- data/lib/stripe/params/tax/calculation_create_params.rb +46 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +117 -0
- data/lib/stripe/params/tax_fund_list_params.rb +42 -0
- data/lib/stripe/params/tax_fund_retrieve_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +96 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +13 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +8 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_close_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_provisional_credit_params.rb +23 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +21 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +8 -0
- data/lib/stripe/params/test_helpers/payment_intent_simulate_crypto_deposit_params.rb +33 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +52 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/token_create_params.rb +134 -0
- data/lib/stripe/params/transfer_create_params.rb +8 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/contract_activate_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_cancel_params.rb +39 -0
- data/lib/stripe/params/v2/billing/contract_create_params.rb +653 -0
- data/lib/stripe/params/v2/billing/contract_delete_params.rb +10 -0
- data/lib/stripe/params/v2/billing/contract_list_params.rb +23 -0
- data/lib/stripe/params/v2/billing/contract_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_update_params.rb +1233 -0
- data/lib/stripe/params/v2/billing/contracts/pricing_lines/quantity_change_list_contract_pricing_line_quantity_changes_params.rb +21 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +899 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +121 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +102 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +54 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_remove_discounts_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_modify_rates_params.rb +177 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +109 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +315 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +4024 -56
- data/lib/stripe/params/v2/core/account_evaluation_create_params.rb +73 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +81 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +254 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +4006 -59
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_execute_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +17 -0
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_submit_params.rb +17 -0
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +53 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +59 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +28 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/connection_session_create_params.rb +23 -0
- data/lib/stripe/params/v2/core/connection_session_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
- data/lib/stripe/params/v2/core/fee_batch_list_params.rb +43 -0
- data/lib/stripe/params/v2/core/fee_batch_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/fee_entry_list_params.rb +51 -0
- data/lib/stripe/params/v2/core/fee_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/health/alert_list_params.rb +53 -0
- data/lib/stripe/params/v2/core/health/alert_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/health/alerts/history_list_params.rb +21 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/data/analytics/metric_query_create_params.rb +68 -0
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +19 -0
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_create_params.rb +68 -0
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +26 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +49 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/debit_dispute_create_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/debit_dispute_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/debit_dispute_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +26 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +33 -0
- data/lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb +22 -0
- data/lib/stripe/params/v2/money_management/financial_accounts/statement_retrieve_params.rb +19 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +183 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +70 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +110 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +88 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +104 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_create_params.rb +138 -0
- data/lib/stripe/params/v2/money_management/payout_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/payout_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_intent_update_params.rb +138 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_debit_params.rb +25 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +178 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +362 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_pause_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_resume_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +35 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_list_params.rb +47 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +20 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +28 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_list_params.rb +22 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +35 -0
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +124 -0
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +124 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +999 -0
- data/lib/stripe/resources/account.rb +271 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +414 -0
- data/lib/stripe/resources/account_signals.rb +104 -0
- data/lib/stripe/resources/application_fee.rb +24 -1
- data/lib/stripe/resources/balance.rb +166 -0
- data/lib/stripe/resources/balance_settings.rb +4 -0
- data/lib/stripe/resources/balance_transfer.rb +139 -0
- data/lib/stripe/resources/billing/alert.rb +274 -1
- data/lib/stripe/resources/billing/alert_recovered.rb +44 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +48 -1
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +172 -3
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +145 -2
- data/lib/stripe/resources/billing/credit_grant.rb +77 -2
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/capability.rb +36 -1
- data/lib/stripe/resources/capital/financing_offer.rb +185 -0
- data/lib/stripe/resources/capital/financing_summary.rb +84 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +35 -1
- data/lib/stripe/resources/charge.rb +402 -2
- data/lib/stripe/resources/checkout/session.rb +667 -3
- data/lib/stripe/resources/confirmation_token.rb +227 -1
- data/lib/stripe/resources/coupon.rb +60 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/crypto/customer.rb +73 -0
- data/lib/stripe/resources/crypto/customer_consumer_wallet.rb +35 -0
- data/lib/stripe/resources/crypto/customer_payment_token.rb +84 -0
- data/lib/stripe/resources/crypto/onramp_session.rb +218 -0
- data/lib/stripe/resources/crypto/onramp_transaction_limits.rb +33 -0
- data/lib/stripe/resources/customer.rb +16 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/delegated_checkout/order.rb +142 -0
- data/lib/stripe/resources/delegated_checkout/order_event.rb +118 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +895 -0
- data/lib/stripe/resources/discount.rb +20 -1
- data/lib/stripe/resources/dispute.rb +24 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +45 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +99 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +125 -1
- data/lib/stripe/resources/fr_meal_vouchers_onboarding.rb +153 -0
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/gift_card.rb +146 -0
- data/lib/stripe/resources/gift_card_operation.rb +280 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +24 -1
- data/lib/stripe/resources/invoice.rb +195 -1
- data/lib/stripe/resources/invoice_item.rb +126 -2
- data/lib/stripe/resources/invoice_line_item.rb +195 -1
- data/lib/stripe/resources/issuing/authorization.rb +448 -0
- data/lib/stripe/resources/issuing/card.rb +22 -0
- data/lib/stripe/resources/issuing/cardholder.rb +16 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +285 -0
- data/lib/stripe/resources/issuing/dispute.rb +349 -1
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/program.rb +69 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +10 -0
- data/lib/stripe/resources/issuing/transaction.rb +144 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +30 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/orchestration/payment_attempt.rb +31 -0
- data/lib/stripe/resources/order.rb +929 -0
- data/lib/stripe/resources/payment_attempt_record.rb +495 -3
- data/lib/stripe/resources/payment_intent.rb +2480 -27
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +19 -1
- data/lib/stripe/resources/payment_link.rb +22 -0
- data/lib/stripe/resources/payment_location.rb +165 -0
- data/lib/stripe/resources/payment_location_capability.rb +94 -0
- data/lib/stripe/resources/payment_method.rb +271 -1
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_record.rb +350 -3
- data/lib/stripe/resources/person.rb +62 -0
- data/lib/stripe/resources/price.rb +22 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +78 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +106 -0
- data/lib/stripe/resources/profile.rb +80 -0
- data/lib/stripe/resources/quote.rb +806 -2
- data/lib/stripe/resources/quote_line.rb +731 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1261 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +911 -0
- data/lib/stripe/resources/radar/account_evaluation.rb +180 -0
- data/lib/stripe/resources/radar/customer_evaluation.rb +155 -0
- data/lib/stripe/resources/radar/issuing_authorization_evaluation.rb +245 -0
- data/lib/stripe/resources/radar/payment_evaluation.rb +23 -1
- data/lib/stripe/resources/radar/value_list_item.rb +15 -1
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +7 -0
- data/lib/stripe/resources/reserve/release.rb +12 -0
- data/lib/stripe/resources/risk_signals.rb +24 -0
- data/lib/stripe/resources/setup_attempt.rb +35 -0
- data/lib/stripe/resources/setup_intent.rb +126 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +1842 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +293 -0
- data/lib/stripe/resources/source.rb +54 -0
- data/lib/stripe/resources/subscription.rb +250 -0
- data/lib/stripe/resources/subscription_item.rb +41 -1
- data/lib/stripe/resources/subscription_schedule.rb +373 -3
- data/lib/stripe/resources/tax/calculation_line_item.rb +43 -1
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/location.rb +72 -0
- data/lib/stripe/resources/tax/registration.rb +144 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/tax_fund.rb +179 -0
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/token.rb +15 -1
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +773 -0
- data/lib/stripe/resources/v2/billing/cadence_spend_modifier.rb +103 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/contract.rb +820 -0
- data/lib/stripe/resources/v2/billing/contract_pricing_line_quantity_change.rb +59 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +354 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +711 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +140 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +101 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/one_time_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +97 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +719 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +41 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +71 -0
- data/lib/stripe/resources/v2/billing/rate_card_custom_pricing_unit_overage_rate.rb +48 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +131 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +97 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +37 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +306 -0
- data/lib/stripe/resources/v2/core/account.rb +19495 -1352
- data/lib/stripe/resources/v2/core/account_evaluation.rb +106 -0
- data/lib/stripe/resources/v2/core/account_link.rb +72 -0
- data/lib/stripe/resources/v2/core/approval_request.rb +337 -0
- data/lib/stripe/resources/v2/core/batch_job.rb +565 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +146 -0
- data/lib/stripe/resources/v2/core/connection_session.rb +58 -0
- data/lib/stripe/resources/v2/core/event.rb +66 -1
- data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
- data/lib/stripe/resources/v2/core/fee_batch.rb +225 -0
- data/lib/stripe/resources/v2/core/fee_entry.rb +173 -0
- data/lib/stripe/resources/v2/core/health/alert.rb +572 -0
- data/lib/stripe/resources/v2/core/health/alert_history_entry.rb +542 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
- data/lib/stripe/resources/v2/data/analytics/metric_query_result.rb +106 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +159 -0
- data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
- data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +29 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +31 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +187 -0
- data/lib/stripe/resources/v2/iam/api_key.rb +133 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +69 -0
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +66 -0
- data/lib/stripe/resources/v2/money_management/debit_dispute.rb +113 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +328 -0
- data/lib/stripe/resources/v2/money_management/financial_account_statement.rb +101 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +225 -0
- data/lib/stripe/resources/v2/money_management/financial_address_debit_simulation.rb +31 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +374 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +146 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +239 -0
- data/lib/stripe/resources/v2/money_management/payout_intent.rb +245 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +169 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +404 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +262 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +187 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +157 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +288 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +77 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +65 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +159 -0
- data/lib/stripe/resources/v2/signals/account_signal.rb +144 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +145 -0
- data/lib/stripe/resources.rb +1783 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_service.rb +46 -1
- data/lib/stripe/services/account_signals_service.rb +17 -0
- data/lib/stripe/services/balance_transfer_service.rb +17 -0
- data/lib/stripe/services/billing/alert_service.rb +2 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +4 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/checkout/session_service.rb +11 -0
- data/lib/stripe/services/coupon_service.rb +44 -0
- data/lib/stripe/services/credit_note_service.rb +14 -0
- data/lib/stripe/services/crypto/customer_consumer_wallet_service.rb +19 -0
- data/lib/stripe/services/crypto/customer_payment_token_service.rb +19 -0
- data/lib/stripe/services/crypto/customer_service.rb +27 -0
- data/lib/stripe/services/crypto/onramp_session_service.rb +69 -0
- data/lib/stripe/services/crypto/onramp_transaction_limits_service.rb +19 -0
- data/lib/stripe/services/crypto_service.rb +15 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +15 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +15 -0
- data/lib/stripe/services/customer_payment_source_service.rb +60 -0
- data/lib/stripe/services/customer_service.rb +59 -0
- data/lib/stripe/services/customer_session_service.rb +14 -0
- data/lib/stripe/services/customer_tax_id_service.rb +30 -0
- data/lib/stripe/services/delegated_checkout/order_service.rb +19 -0
- data/lib/stripe/services/delegated_checkout/requested_session_order_service.rb +19 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +70 -0
- data/lib/stripe/services/delegated_checkout_service.rb +14 -0
- data/lib/stripe/services/dispute_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fr_meal_vouchers_onboarding_service.rb +57 -0
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/gift_card_operation_service.rb +17 -0
- data/lib/stripe/services/gift_card_service.rb +77 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/invoice_item_service.rb +44 -0
- data/lib/stripe/services/invoice_line_item_service.rb +15 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +30 -0
- data/lib/stripe/services/invoice_service.rb +189 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +85 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing/program_service.rb +52 -0
- data/lib/stripe/services/issuing_service.rb +6 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/orchestration/payment_attempt_service.rb +19 -0
- data/lib/stripe/services/orchestration_service.rb +13 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +88 -0
- data/lib/stripe/services/payment_intent_service.rb +66 -0
- data/lib/stripe/services/payment_location_capability_service.rb +39 -0
- data/lib/stripe/services/payment_location_service.rb +61 -0
- data/lib/stripe/services/payment_method_service.rb +26 -0
- data/lib/stripe/services/payment_record_service.rb +14 -0
- data/lib/stripe/services/price_service.rb +29 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/product_feature_service.rb +30 -0
- data/lib/stripe/services/product_service.rb +44 -0
- data/lib/stripe/services/promotion_code_service.rb +29 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar/customer_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar/issuing_authorization_evaluation_service.rb +19 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +14 -0
- data/lib/stripe/services/radar_service.rb +5 -1
- data/lib/stripe/services/refund_service.rb +29 -0
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_item_service.rb +44 -0
- data/lib/stripe/services/subscription_schedule_service.rb +70 -0
- data/lib/stripe/services/subscription_service.rb +111 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax/registration_service.rb +29 -0
- data/lib/stripe/services/tax/settings_service.rb +14 -0
- data/lib/stripe/services/tax/transaction_service.rb +14 -0
- data/lib/stripe/services/tax_fund_service.rb +22 -0
- data/lib/stripe/services/tax_id_service.rb +14 -0
- data/lib/stripe/services/tax_rate_service.rb +29 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers/issuing/dispute_service.rb +65 -0
- data/lib/stripe/services/test_helpers/issuing_service.rb +2 -1
- data/lib/stripe/services/test_helpers/payment_intent_service.rb +19 -0
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +4 -1
- data/lib/stripe/services/v1_services.rb +21 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +73 -0
- data/lib/stripe/services/v2/billing/cadences/spend_modifier_rule_service.rb +34 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/contract_service.rb +102 -0
- data/lib/stripe/services/v2/billing/contracts/pricing_lines/quantity_change_service.rb +30 -0
- data/lib/stripe/services/v2/billing/contracts/pricing_lines_service.rb +20 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +98 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +69 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/one_time_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +79 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/custom_pricing_unit_overage_rate_service.rb +56 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +61 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +47 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_evaluation_service.rb +21 -0
- data/lib/stripe/services/v2/core/approval_request_service.rb +70 -0
- data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +47 -0
- data/lib/stripe/services/v2/core/connection_session_service.rb +32 -0
- data/lib/stripe/services/v2/core/fee_batch_service.rb +32 -0
- data/lib/stripe/services/v2/core/fee_entry_service.rb +32 -0
- data/lib/stripe/services/v2/core/health/alert_service.rb +41 -0
- data/lib/stripe/services/v2/core/health/alerts/history_service.rb +25 -0
- data/lib/stripe/services/v2/core/health_service.rb +17 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +106 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +10 -1
- data/lib/stripe/services/v2/data/analytics/metric_query_service.rb +23 -0
- data/lib/stripe/services/v2/data/analytics_service.rb +17 -0
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data_service.rb +16 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
- data/lib/stripe/services/v2/iam_service.rb +16 -0
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +78 -0
- data/lib/stripe/services/v2/money_management/financial_accounts/statement_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_intent_service.rb +71 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +66 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/test_helpers_service.rb +18 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +38 -0
- data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +87 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +83 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +56 -0
- data/lib/stripe/services/v2/payments_service.rb +17 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/signals/account_signal_service.rb +32 -0
- data/lib/stripe/services/v2/signals_service.rb +15 -0
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +73 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +16 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +12 -1
- data/lib/stripe/services.rb +437 -0
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_event_notification_handler.rb +2550 -0
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +54 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +253224 -109645
- metadata +1097 -4
|
@@ -3,15 +3,38 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentCreateParams < ::Stripe::RequestParams
|
|
6
|
+
class AllocatedFunds < ::Stripe::RequestParams
|
|
7
|
+
# Whether Allocated Funds creation is enabled for this PaymentIntent.
|
|
8
|
+
attr_accessor :enabled
|
|
9
|
+
|
|
10
|
+
def initialize(enabled: nil)
|
|
11
|
+
@enabled = enabled
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
6
15
|
class AmountDetails < ::Stripe::RequestParams
|
|
7
16
|
class LineItem < ::Stripe::RequestParams
|
|
8
17
|
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
9
18
|
class Card < ::Stripe::RequestParams
|
|
19
|
+
class FleetData < ::Stripe::RequestParams
|
|
20
|
+
# The type of product being purchased at this line item.
|
|
21
|
+
attr_accessor :product_type
|
|
22
|
+
# The type of service received at the acceptor location.
|
|
23
|
+
attr_accessor :service_type
|
|
24
|
+
|
|
25
|
+
def initialize(product_type: nil, service_type: nil)
|
|
26
|
+
@product_type = product_type
|
|
27
|
+
@service_type = service_type
|
|
28
|
+
end
|
|
29
|
+
end
|
|
10
30
|
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
|
|
11
31
|
attr_accessor :commodity_code
|
|
32
|
+
# Fleet data for this line item.
|
|
33
|
+
attr_accessor :fleet_data
|
|
12
34
|
|
|
13
|
-
def initialize(commodity_code: nil)
|
|
35
|
+
def initialize(commodity_code: nil, fleet_data: nil)
|
|
14
36
|
@commodity_code = commodity_code
|
|
37
|
+
@fleet_data = fleet_data
|
|
15
38
|
end
|
|
16
39
|
end
|
|
17
40
|
|
|
@@ -102,6 +125,8 @@ module Stripe
|
|
|
102
125
|
attr_accessor :product_name
|
|
103
126
|
# The quantity of items. Required for L3 rates. An integer greater than 0.
|
|
104
127
|
attr_accessor :quantity
|
|
128
|
+
# The number of decimal places implied in the quantity. For example, if quantity is 10000 and quantity_precision is 2, the actual quantity is 100.00. Defaults to 0 if not provided.
|
|
129
|
+
attr_accessor :quantity_precision
|
|
105
130
|
# Contains information about the tax on the item.
|
|
106
131
|
attr_accessor :tax
|
|
107
132
|
# The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
@@ -115,169 +140,2133 @@ module Stripe
|
|
|
115
140
|
product_code: nil,
|
|
116
141
|
product_name: nil,
|
|
117
142
|
quantity: nil,
|
|
143
|
+
quantity_precision: nil,
|
|
118
144
|
tax: nil,
|
|
119
145
|
unit_cost: nil,
|
|
120
146
|
unit_of_measure: nil
|
|
121
147
|
)
|
|
122
|
-
@discount_amount = discount_amount
|
|
123
|
-
@payment_method_options = payment_method_options
|
|
124
|
-
@product_code = product_code
|
|
125
|
-
@product_name = product_name
|
|
126
|
-
@quantity = quantity
|
|
127
|
-
@
|
|
128
|
-
@
|
|
129
|
-
@
|
|
148
|
+
@discount_amount = discount_amount
|
|
149
|
+
@payment_method_options = payment_method_options
|
|
150
|
+
@product_code = product_code
|
|
151
|
+
@product_name = product_name
|
|
152
|
+
@quantity = quantity
|
|
153
|
+
@quantity_precision = quantity_precision
|
|
154
|
+
@tax = tax
|
|
155
|
+
@unit_cost = unit_cost
|
|
156
|
+
@unit_of_measure = unit_of_measure
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
class Shipping < ::Stripe::RequestParams
|
|
161
|
+
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
162
|
+
attr_accessor :amount
|
|
163
|
+
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
|
|
164
|
+
attr_accessor :from_postal_code
|
|
165
|
+
# If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
|
|
166
|
+
attr_accessor :to_postal_code
|
|
167
|
+
|
|
168
|
+
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
|
169
|
+
@amount = amount
|
|
170
|
+
@from_postal_code = from_postal_code
|
|
171
|
+
@to_postal_code = to_postal_code
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
class Surcharge < ::Stripe::RequestParams
|
|
176
|
+
# Portion of the amount that corresponds to a surcharge.
|
|
177
|
+
attr_accessor :amount
|
|
178
|
+
# Indicate whether to enforce validations on the surcharge amount.
|
|
179
|
+
attr_accessor :enforce_validation
|
|
180
|
+
|
|
181
|
+
def initialize(amount: nil, enforce_validation: nil)
|
|
182
|
+
@amount = amount
|
|
183
|
+
@enforce_validation = enforce_validation
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class Tax < ::Stripe::RequestParams
|
|
188
|
+
# The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
189
|
+
#
|
|
190
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
191
|
+
attr_accessor :total_tax_amount
|
|
192
|
+
|
|
193
|
+
def initialize(total_tax_amount: nil)
|
|
194
|
+
@total_tax_amount = total_tax_amount
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
class Tip < ::Stripe::RequestParams
|
|
199
|
+
# Portion of the amount that corresponds to a tip.
|
|
200
|
+
attr_accessor :amount
|
|
201
|
+
|
|
202
|
+
def initialize(amount: nil)
|
|
203
|
+
@amount = amount
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
# The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
207
|
+
#
|
|
208
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
209
|
+
attr_accessor :discount_amount
|
|
210
|
+
# Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.
|
|
211
|
+
#
|
|
212
|
+
# Omit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.
|
|
213
|
+
#
|
|
214
|
+
# For card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error.
|
|
215
|
+
attr_accessor :enforce_arithmetic_validation
|
|
216
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
|
|
217
|
+
attr_accessor :line_items
|
|
218
|
+
# Contains information about the shipping portion of the amount.
|
|
219
|
+
attr_accessor :shipping
|
|
220
|
+
# Contains information about the surcharge portion of the amount.
|
|
221
|
+
attr_accessor :surcharge
|
|
222
|
+
# Contains information about the tax portion of the amount.
|
|
223
|
+
attr_accessor :tax
|
|
224
|
+
# Contains information about the tip portion of the amount.
|
|
225
|
+
attr_accessor :tip
|
|
226
|
+
|
|
227
|
+
def initialize(
|
|
228
|
+
discount_amount: nil,
|
|
229
|
+
enforce_arithmetic_validation: nil,
|
|
230
|
+
line_items: nil,
|
|
231
|
+
shipping: nil,
|
|
232
|
+
surcharge: nil,
|
|
233
|
+
tax: nil,
|
|
234
|
+
tip: nil
|
|
235
|
+
)
|
|
236
|
+
@discount_amount = discount_amount
|
|
237
|
+
@enforce_arithmetic_validation = enforce_arithmetic_validation
|
|
238
|
+
@line_items = line_items
|
|
239
|
+
@shipping = shipping
|
|
240
|
+
@surcharge = surcharge
|
|
241
|
+
@tax = tax
|
|
242
|
+
@tip = tip
|
|
243
|
+
end
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
class AutomaticPaymentMethods < ::Stripe::RequestParams
|
|
247
|
+
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
248
|
+
#
|
|
249
|
+
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
|
250
|
+
attr_accessor :allow_redirects
|
|
251
|
+
# Whether this feature is enabled.
|
|
252
|
+
attr_accessor :enabled
|
|
253
|
+
|
|
254
|
+
def initialize(allow_redirects: nil, enabled: nil)
|
|
255
|
+
@allow_redirects = allow_redirects
|
|
256
|
+
@enabled = enabled
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
class Hooks < ::Stripe::RequestParams
|
|
261
|
+
class Inputs < ::Stripe::RequestParams
|
|
262
|
+
class Tax < ::Stripe::RequestParams
|
|
263
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
264
|
+
attr_accessor :calculation
|
|
265
|
+
|
|
266
|
+
def initialize(calculation: nil)
|
|
267
|
+
@calculation = calculation
|
|
268
|
+
end
|
|
269
|
+
end
|
|
270
|
+
# Tax arguments for automations
|
|
271
|
+
attr_accessor :tax
|
|
272
|
+
|
|
273
|
+
def initialize(tax: nil)
|
|
274
|
+
@tax = tax
|
|
275
|
+
end
|
|
276
|
+
end
|
|
277
|
+
# Arguments passed in automations
|
|
278
|
+
attr_accessor :inputs
|
|
279
|
+
|
|
280
|
+
def initialize(inputs: nil)
|
|
281
|
+
@inputs = inputs
|
|
282
|
+
end
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
class MandateData < ::Stripe::RequestParams
|
|
286
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
|
287
|
+
class Offline < ::Stripe::RequestParams; end
|
|
288
|
+
|
|
289
|
+
class Online < ::Stripe::RequestParams
|
|
290
|
+
# The IP address from which the Mandate was accepted by the customer.
|
|
291
|
+
attr_accessor :ip_address
|
|
292
|
+
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
293
|
+
attr_accessor :user_agent
|
|
294
|
+
|
|
295
|
+
def initialize(ip_address: nil, user_agent: nil)
|
|
296
|
+
@ip_address = ip_address
|
|
297
|
+
@user_agent = user_agent
|
|
298
|
+
end
|
|
299
|
+
end
|
|
300
|
+
# The time at which the customer accepted the Mandate.
|
|
301
|
+
attr_accessor :accepted_at
|
|
302
|
+
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
|
303
|
+
attr_accessor :offline
|
|
304
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
|
305
|
+
attr_accessor :online
|
|
306
|
+
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
|
307
|
+
attr_accessor :type
|
|
308
|
+
|
|
309
|
+
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
|
310
|
+
@accepted_at = accepted_at
|
|
311
|
+
@offline = offline
|
|
312
|
+
@online = online
|
|
313
|
+
@type = type
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
|
317
|
+
attr_accessor :customer_acceptance
|
|
318
|
+
|
|
319
|
+
def initialize(customer_acceptance: nil)
|
|
320
|
+
@customer_acceptance = customer_acceptance
|
|
321
|
+
end
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
325
|
+
class Benefit < ::Stripe::RequestParams
|
|
326
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
|
327
|
+
# Whether to enable meal voucher benefit for this payment.
|
|
328
|
+
attr_accessor :enabled
|
|
329
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
330
|
+
attr_accessor :siret
|
|
331
|
+
|
|
332
|
+
def initialize(enabled: nil, siret: nil)
|
|
333
|
+
@enabled = enabled
|
|
334
|
+
@siret = siret
|
|
335
|
+
end
|
|
336
|
+
end
|
|
337
|
+
# French meal voucher benefit details for this PaymentIntent.
|
|
338
|
+
attr_accessor :fr_meal_voucher
|
|
339
|
+
|
|
340
|
+
def initialize(fr_meal_voucher: nil)
|
|
341
|
+
@fr_meal_voucher = fr_meal_voucher
|
|
342
|
+
end
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
class CarRental < ::Stripe::RequestParams
|
|
346
|
+
class Affiliate < ::Stripe::RequestParams
|
|
347
|
+
# The name of the affiliate that originated the purchase.
|
|
348
|
+
attr_accessor :name
|
|
349
|
+
|
|
350
|
+
def initialize(name: nil)
|
|
351
|
+
@name = name
|
|
352
|
+
end
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
class Delivery < ::Stripe::RequestParams
|
|
356
|
+
class Recipient < ::Stripe::RequestParams
|
|
357
|
+
# The email of the recipient the ticket is delivered to.
|
|
358
|
+
attr_accessor :email
|
|
359
|
+
# The name of the recipient the ticket is delivered to.
|
|
360
|
+
attr_accessor :name
|
|
361
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
362
|
+
attr_accessor :phone
|
|
363
|
+
|
|
364
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
365
|
+
@email = email
|
|
366
|
+
@name = name
|
|
367
|
+
@phone = phone
|
|
368
|
+
end
|
|
369
|
+
end
|
|
370
|
+
# The delivery method for the payment
|
|
371
|
+
attr_accessor :mode
|
|
372
|
+
# Details of the recipient.
|
|
373
|
+
attr_accessor :recipient
|
|
374
|
+
|
|
375
|
+
def initialize(mode: nil, recipient: nil)
|
|
376
|
+
@mode = mode
|
|
377
|
+
@recipient = recipient
|
|
378
|
+
end
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
class Distance < ::Stripe::RequestParams
|
|
382
|
+
# Distance traveled.
|
|
383
|
+
attr_accessor :amount
|
|
384
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
385
|
+
attr_accessor :unit
|
|
386
|
+
|
|
387
|
+
def initialize(amount: nil, unit: nil)
|
|
388
|
+
@amount = amount
|
|
389
|
+
@unit = unit
|
|
390
|
+
end
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
class Driver < ::Stripe::RequestParams
|
|
394
|
+
# Driver's identification number.
|
|
395
|
+
attr_accessor :driver_identification_number
|
|
396
|
+
# Driver's tax number.
|
|
397
|
+
attr_accessor :driver_tax_number
|
|
398
|
+
# Full name of the person or entity on the car reservation.
|
|
399
|
+
attr_accessor :name
|
|
400
|
+
|
|
401
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
402
|
+
@driver_identification_number = driver_identification_number
|
|
403
|
+
@driver_tax_number = driver_tax_number
|
|
404
|
+
@name = name
|
|
405
|
+
end
|
|
406
|
+
end
|
|
407
|
+
|
|
408
|
+
class PickupAddress < ::Stripe::RequestParams
|
|
409
|
+
# City, district, suburb, town, or village.
|
|
410
|
+
attr_accessor :city
|
|
411
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
412
|
+
attr_accessor :country
|
|
413
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
414
|
+
attr_accessor :line1
|
|
415
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
416
|
+
attr_accessor :line2
|
|
417
|
+
# ZIP or postal code.
|
|
418
|
+
attr_accessor :postal_code
|
|
419
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
420
|
+
attr_accessor :state
|
|
421
|
+
|
|
422
|
+
def initialize(
|
|
423
|
+
city: nil,
|
|
424
|
+
country: nil,
|
|
425
|
+
line1: nil,
|
|
426
|
+
line2: nil,
|
|
427
|
+
postal_code: nil,
|
|
428
|
+
state: nil
|
|
429
|
+
)
|
|
430
|
+
@city = city
|
|
431
|
+
@country = country
|
|
432
|
+
@line1 = line1
|
|
433
|
+
@line2 = line2
|
|
434
|
+
@postal_code = postal_code
|
|
435
|
+
@state = state
|
|
436
|
+
end
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
class ReturnAddress < ::Stripe::RequestParams
|
|
440
|
+
# City, district, suburb, town, or village.
|
|
441
|
+
attr_accessor :city
|
|
442
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
443
|
+
attr_accessor :country
|
|
444
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
445
|
+
attr_accessor :line1
|
|
446
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
447
|
+
attr_accessor :line2
|
|
448
|
+
# ZIP or postal code.
|
|
449
|
+
attr_accessor :postal_code
|
|
450
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
451
|
+
attr_accessor :state
|
|
452
|
+
|
|
453
|
+
def initialize(
|
|
454
|
+
city: nil,
|
|
455
|
+
country: nil,
|
|
456
|
+
line1: nil,
|
|
457
|
+
line2: nil,
|
|
458
|
+
postal_code: nil,
|
|
459
|
+
state: nil
|
|
460
|
+
)
|
|
461
|
+
@city = city
|
|
462
|
+
@country = country
|
|
463
|
+
@line1 = line1
|
|
464
|
+
@line2 = line2
|
|
465
|
+
@postal_code = postal_code
|
|
466
|
+
@state = state
|
|
467
|
+
end
|
|
468
|
+
end
|
|
469
|
+
# Affiliate details for this purchase.
|
|
470
|
+
attr_accessor :affiliate
|
|
471
|
+
# The booking number associated with the car rental.
|
|
472
|
+
attr_accessor :booking_number
|
|
473
|
+
# Class code of the car.
|
|
474
|
+
attr_accessor :car_class_code
|
|
475
|
+
# Make of the car.
|
|
476
|
+
attr_accessor :car_make
|
|
477
|
+
# Model of the car.
|
|
478
|
+
attr_accessor :car_model
|
|
479
|
+
# The name of the rental car company.
|
|
480
|
+
attr_accessor :company
|
|
481
|
+
# The customer service phone number of the car rental company.
|
|
482
|
+
attr_accessor :customer_service_phone_number
|
|
483
|
+
# Number of days the car is being rented.
|
|
484
|
+
attr_accessor :days_rented
|
|
485
|
+
# Delivery details for this purchase.
|
|
486
|
+
attr_accessor :delivery
|
|
487
|
+
# The details of the distance traveled during the rental period.
|
|
488
|
+
attr_accessor :distance
|
|
489
|
+
# The details of the passengers in the travel reservation
|
|
490
|
+
attr_accessor :drivers
|
|
491
|
+
# List of additional charges being billed.
|
|
492
|
+
attr_accessor :extra_charges
|
|
493
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
494
|
+
attr_accessor :no_show
|
|
495
|
+
# Car pick-up address.
|
|
496
|
+
attr_accessor :pickup_address
|
|
497
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
498
|
+
attr_accessor :pickup_at
|
|
499
|
+
# Name of the pickup location.
|
|
500
|
+
attr_accessor :pickup_location_name
|
|
501
|
+
# Rental rate.
|
|
502
|
+
attr_accessor :rate_amount
|
|
503
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
504
|
+
attr_accessor :rate_interval
|
|
505
|
+
# The name of the person or entity renting the car.
|
|
506
|
+
attr_accessor :renter_name
|
|
507
|
+
# Car return address.
|
|
508
|
+
attr_accessor :return_address
|
|
509
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
510
|
+
attr_accessor :return_at
|
|
511
|
+
# Name of the return location.
|
|
512
|
+
attr_accessor :return_location_name
|
|
513
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
514
|
+
attr_accessor :tax_exempt
|
|
515
|
+
# The vehicle identification number.
|
|
516
|
+
attr_accessor :vehicle_identification_number
|
|
517
|
+
|
|
518
|
+
def initialize(
|
|
519
|
+
affiliate: nil,
|
|
520
|
+
booking_number: nil,
|
|
521
|
+
car_class_code: nil,
|
|
522
|
+
car_make: nil,
|
|
523
|
+
car_model: nil,
|
|
524
|
+
company: nil,
|
|
525
|
+
customer_service_phone_number: nil,
|
|
526
|
+
days_rented: nil,
|
|
527
|
+
delivery: nil,
|
|
528
|
+
distance: nil,
|
|
529
|
+
drivers: nil,
|
|
530
|
+
extra_charges: nil,
|
|
531
|
+
no_show: nil,
|
|
532
|
+
pickup_address: nil,
|
|
533
|
+
pickup_at: nil,
|
|
534
|
+
pickup_location_name: nil,
|
|
535
|
+
rate_amount: nil,
|
|
536
|
+
rate_interval: nil,
|
|
537
|
+
renter_name: nil,
|
|
538
|
+
return_address: nil,
|
|
539
|
+
return_at: nil,
|
|
540
|
+
return_location_name: nil,
|
|
541
|
+
tax_exempt: nil,
|
|
542
|
+
vehicle_identification_number: nil
|
|
543
|
+
)
|
|
544
|
+
@affiliate = affiliate
|
|
545
|
+
@booking_number = booking_number
|
|
546
|
+
@car_class_code = car_class_code
|
|
547
|
+
@car_make = car_make
|
|
548
|
+
@car_model = car_model
|
|
549
|
+
@company = company
|
|
550
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
551
|
+
@days_rented = days_rented
|
|
552
|
+
@delivery = delivery
|
|
553
|
+
@distance = distance
|
|
554
|
+
@drivers = drivers
|
|
555
|
+
@extra_charges = extra_charges
|
|
556
|
+
@no_show = no_show
|
|
557
|
+
@pickup_address = pickup_address
|
|
558
|
+
@pickup_at = pickup_at
|
|
559
|
+
@pickup_location_name = pickup_location_name
|
|
560
|
+
@rate_amount = rate_amount
|
|
561
|
+
@rate_interval = rate_interval
|
|
562
|
+
@renter_name = renter_name
|
|
563
|
+
@return_address = return_address
|
|
564
|
+
@return_at = return_at
|
|
565
|
+
@return_location_name = return_location_name
|
|
566
|
+
@tax_exempt = tax_exempt
|
|
567
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
568
|
+
end
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
class CarRentalDatum < ::Stripe::RequestParams
|
|
572
|
+
class Affiliate < ::Stripe::RequestParams
|
|
573
|
+
# Affiliate partner code.
|
|
574
|
+
attr_accessor :code
|
|
575
|
+
# Name of affiliate partner.
|
|
576
|
+
attr_accessor :name
|
|
577
|
+
|
|
578
|
+
def initialize(code: nil, name: nil)
|
|
579
|
+
@code = code
|
|
580
|
+
@name = name
|
|
581
|
+
end
|
|
582
|
+
end
|
|
583
|
+
|
|
584
|
+
class Distance < ::Stripe::RequestParams
|
|
585
|
+
# Distance traveled.
|
|
586
|
+
attr_accessor :amount
|
|
587
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
588
|
+
attr_accessor :unit
|
|
589
|
+
|
|
590
|
+
def initialize(amount: nil, unit: nil)
|
|
591
|
+
@amount = amount
|
|
592
|
+
@unit = unit
|
|
593
|
+
end
|
|
594
|
+
end
|
|
595
|
+
|
|
596
|
+
class Driver < ::Stripe::RequestParams
|
|
597
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
598
|
+
# Day of birth (1-31).
|
|
599
|
+
attr_accessor :day
|
|
600
|
+
# Month of birth (1-12).
|
|
601
|
+
attr_accessor :month
|
|
602
|
+
# Year of birth (must be greater than 1900).
|
|
603
|
+
attr_accessor :year
|
|
604
|
+
|
|
605
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
606
|
+
@day = day
|
|
607
|
+
@month = month
|
|
608
|
+
@year = year
|
|
609
|
+
end
|
|
610
|
+
end
|
|
611
|
+
# Driver's date of birth.
|
|
612
|
+
attr_accessor :date_of_birth
|
|
613
|
+
# Driver's identification number.
|
|
614
|
+
attr_accessor :driver_identification_number
|
|
615
|
+
# Driver's tax number.
|
|
616
|
+
attr_accessor :driver_tax_number
|
|
617
|
+
# Driver's full name.
|
|
618
|
+
attr_accessor :name
|
|
619
|
+
|
|
620
|
+
def initialize(
|
|
621
|
+
date_of_birth: nil,
|
|
622
|
+
driver_identification_number: nil,
|
|
623
|
+
driver_tax_number: nil,
|
|
624
|
+
name: nil
|
|
625
|
+
)
|
|
626
|
+
@date_of_birth = date_of_birth
|
|
627
|
+
@driver_identification_number = driver_identification_number
|
|
628
|
+
@driver_tax_number = driver_tax_number
|
|
629
|
+
@name = name
|
|
630
|
+
end
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
class DropOff < ::Stripe::RequestParams
|
|
634
|
+
class Address < ::Stripe::RequestParams
|
|
635
|
+
# City, district, suburb, town, or village.
|
|
636
|
+
attr_accessor :city
|
|
637
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
638
|
+
attr_accessor :country
|
|
639
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
640
|
+
attr_accessor :line1
|
|
641
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
642
|
+
attr_accessor :line2
|
|
643
|
+
# ZIP or postal code.
|
|
644
|
+
attr_accessor :postal_code
|
|
645
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
646
|
+
attr_accessor :state
|
|
647
|
+
|
|
648
|
+
def initialize(
|
|
649
|
+
city: nil,
|
|
650
|
+
country: nil,
|
|
651
|
+
line1: nil,
|
|
652
|
+
line2: nil,
|
|
653
|
+
postal_code: nil,
|
|
654
|
+
state: nil
|
|
655
|
+
)
|
|
656
|
+
@city = city
|
|
657
|
+
@country = country
|
|
658
|
+
@line1 = line1
|
|
659
|
+
@line2 = line2
|
|
660
|
+
@postal_code = postal_code
|
|
661
|
+
@state = state
|
|
662
|
+
end
|
|
663
|
+
end
|
|
664
|
+
# Address of the rental location.
|
|
665
|
+
attr_accessor :address
|
|
666
|
+
# Location name.
|
|
667
|
+
attr_accessor :location_name
|
|
668
|
+
# Timestamp for the location.
|
|
669
|
+
attr_accessor :time
|
|
670
|
+
|
|
671
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
672
|
+
@address = address
|
|
673
|
+
@location_name = location_name
|
|
674
|
+
@time = time
|
|
675
|
+
end
|
|
676
|
+
end
|
|
677
|
+
|
|
678
|
+
class Insurance < ::Stripe::RequestParams
|
|
679
|
+
# Amount of the insurance coverage in cents.
|
|
680
|
+
attr_accessor :amount
|
|
681
|
+
# Currency of the insurance amount.
|
|
682
|
+
attr_accessor :currency
|
|
683
|
+
# Name of the insurance company.
|
|
684
|
+
attr_accessor :insurance_company_name
|
|
685
|
+
# Type of insurance coverage.
|
|
686
|
+
attr_accessor :insurance_type
|
|
687
|
+
|
|
688
|
+
def initialize(
|
|
689
|
+
amount: nil,
|
|
690
|
+
currency: nil,
|
|
691
|
+
insurance_company_name: nil,
|
|
692
|
+
insurance_type: nil
|
|
693
|
+
)
|
|
694
|
+
@amount = amount
|
|
695
|
+
@currency = currency
|
|
696
|
+
@insurance_company_name = insurance_company_name
|
|
697
|
+
@insurance_type = insurance_type
|
|
698
|
+
end
|
|
699
|
+
end
|
|
700
|
+
|
|
701
|
+
class Pickup < ::Stripe::RequestParams
|
|
702
|
+
class Address < ::Stripe::RequestParams
|
|
703
|
+
# City, district, suburb, town, or village.
|
|
704
|
+
attr_accessor :city
|
|
705
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
706
|
+
attr_accessor :country
|
|
707
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
708
|
+
attr_accessor :line1
|
|
709
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
710
|
+
attr_accessor :line2
|
|
711
|
+
# ZIP or postal code.
|
|
712
|
+
attr_accessor :postal_code
|
|
713
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
714
|
+
attr_accessor :state
|
|
715
|
+
|
|
716
|
+
def initialize(
|
|
717
|
+
city: nil,
|
|
718
|
+
country: nil,
|
|
719
|
+
line1: nil,
|
|
720
|
+
line2: nil,
|
|
721
|
+
postal_code: nil,
|
|
722
|
+
state: nil
|
|
723
|
+
)
|
|
724
|
+
@city = city
|
|
725
|
+
@country = country
|
|
726
|
+
@line1 = line1
|
|
727
|
+
@line2 = line2
|
|
728
|
+
@postal_code = postal_code
|
|
729
|
+
@state = state
|
|
730
|
+
end
|
|
731
|
+
end
|
|
732
|
+
# Address of the rental location.
|
|
733
|
+
attr_accessor :address
|
|
734
|
+
# Location name.
|
|
735
|
+
attr_accessor :location_name
|
|
736
|
+
# Timestamp for the location.
|
|
737
|
+
attr_accessor :time
|
|
738
|
+
|
|
739
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
740
|
+
@address = address
|
|
741
|
+
@location_name = location_name
|
|
742
|
+
@time = time
|
|
743
|
+
end
|
|
744
|
+
end
|
|
745
|
+
|
|
746
|
+
class Total < ::Stripe::RequestParams
|
|
747
|
+
class Discounts < ::Stripe::RequestParams
|
|
748
|
+
# Corporate client discount code.
|
|
749
|
+
attr_accessor :corporate_client_code
|
|
750
|
+
# Coupon code applied to the rental.
|
|
751
|
+
attr_accessor :coupon
|
|
752
|
+
# Maximum number of free miles or kilometers included.
|
|
753
|
+
attr_accessor :maximum_free_miles_or_kilometers
|
|
754
|
+
|
|
755
|
+
def initialize(
|
|
756
|
+
corporate_client_code: nil,
|
|
757
|
+
coupon: nil,
|
|
758
|
+
maximum_free_miles_or_kilometers: nil
|
|
759
|
+
)
|
|
760
|
+
@corporate_client_code = corporate_client_code
|
|
761
|
+
@coupon = coupon
|
|
762
|
+
@maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
|
|
763
|
+
end
|
|
764
|
+
end
|
|
765
|
+
|
|
766
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
767
|
+
# Amount of the extra charge in cents.
|
|
768
|
+
attr_accessor :amount
|
|
769
|
+
# Type of extra charge.
|
|
770
|
+
attr_accessor :type
|
|
771
|
+
|
|
772
|
+
def initialize(amount: nil, type: nil)
|
|
773
|
+
@amount = amount
|
|
774
|
+
@type = type
|
|
775
|
+
end
|
|
776
|
+
end
|
|
777
|
+
|
|
778
|
+
class Tax < ::Stripe::RequestParams
|
|
779
|
+
class Tax < ::Stripe::RequestParams
|
|
780
|
+
# Tax amount.
|
|
781
|
+
attr_accessor :amount
|
|
782
|
+
# Tax rate applied.
|
|
783
|
+
attr_accessor :rate
|
|
784
|
+
# Type of tax applied.
|
|
785
|
+
attr_accessor :type
|
|
786
|
+
|
|
787
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
788
|
+
@amount = amount
|
|
789
|
+
@rate = rate
|
|
790
|
+
@type = type
|
|
791
|
+
end
|
|
792
|
+
end
|
|
793
|
+
# Indicates if the transaction is tax exempt.
|
|
794
|
+
attr_accessor :tax_exempt_indicator
|
|
795
|
+
# Array of tax details.
|
|
796
|
+
attr_accessor :taxes
|
|
797
|
+
|
|
798
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
799
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
800
|
+
@taxes = taxes
|
|
801
|
+
end
|
|
802
|
+
end
|
|
803
|
+
# Total amount in cents.
|
|
804
|
+
attr_accessor :amount
|
|
805
|
+
# Currency of the amount.
|
|
806
|
+
attr_accessor :currency
|
|
807
|
+
# Discount details for the rental.
|
|
808
|
+
attr_accessor :discounts
|
|
809
|
+
# Additional charges for the rental.
|
|
810
|
+
attr_accessor :extra_charges
|
|
811
|
+
# Rate per unit for the rental.
|
|
812
|
+
attr_accessor :rate_per_unit
|
|
813
|
+
# Unit of measurement for the rate.
|
|
814
|
+
attr_accessor :rate_unit
|
|
815
|
+
# Tax breakdown for the rental.
|
|
816
|
+
attr_accessor :tax
|
|
817
|
+
|
|
818
|
+
def initialize(
|
|
819
|
+
amount: nil,
|
|
820
|
+
currency: nil,
|
|
821
|
+
discounts: nil,
|
|
822
|
+
extra_charges: nil,
|
|
823
|
+
rate_per_unit: nil,
|
|
824
|
+
rate_unit: nil,
|
|
825
|
+
tax: nil
|
|
826
|
+
)
|
|
827
|
+
@amount = amount
|
|
828
|
+
@currency = currency
|
|
829
|
+
@discounts = discounts
|
|
830
|
+
@extra_charges = extra_charges
|
|
831
|
+
@rate_per_unit = rate_per_unit
|
|
832
|
+
@rate_unit = rate_unit
|
|
833
|
+
@tax = tax
|
|
834
|
+
end
|
|
835
|
+
end
|
|
836
|
+
|
|
837
|
+
class Vehicle < ::Stripe::RequestParams
|
|
838
|
+
# Make of the rental vehicle.
|
|
839
|
+
attr_accessor :make
|
|
840
|
+
# Model of the rental vehicle.
|
|
841
|
+
attr_accessor :model
|
|
842
|
+
# Odometer reading at the time of rental.
|
|
843
|
+
attr_accessor :odometer
|
|
844
|
+
# Type of the rental vehicle.
|
|
845
|
+
attr_accessor :type
|
|
846
|
+
# Class of the rental vehicle.
|
|
847
|
+
attr_accessor :vehicle_class
|
|
848
|
+
# Vehicle identification number (VIN).
|
|
849
|
+
attr_accessor :vehicle_identification_number
|
|
850
|
+
|
|
851
|
+
def initialize(
|
|
852
|
+
make: nil,
|
|
853
|
+
model: nil,
|
|
854
|
+
odometer: nil,
|
|
855
|
+
type: nil,
|
|
856
|
+
vehicle_class: nil,
|
|
857
|
+
vehicle_identification_number: nil
|
|
858
|
+
)
|
|
859
|
+
@make = make
|
|
860
|
+
@model = model
|
|
861
|
+
@odometer = odometer
|
|
862
|
+
@type = type
|
|
863
|
+
@vehicle_class = vehicle_class
|
|
864
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
865
|
+
end
|
|
866
|
+
end
|
|
867
|
+
# Affiliate (such as travel agency) details for the rental.
|
|
868
|
+
attr_accessor :affiliate
|
|
869
|
+
# Booking confirmation number for the car rental.
|
|
870
|
+
attr_accessor :booking_number
|
|
871
|
+
# Name of the car rental company.
|
|
872
|
+
attr_accessor :carrier_name
|
|
873
|
+
# Customer service phone number for the car rental company.
|
|
874
|
+
attr_accessor :customer_service_phone_number
|
|
875
|
+
# Number of days the car is being rented.
|
|
876
|
+
attr_accessor :days_rented
|
|
877
|
+
# Distance details for the rental.
|
|
878
|
+
attr_accessor :distance
|
|
879
|
+
# List of drivers for the rental.
|
|
880
|
+
attr_accessor :drivers
|
|
881
|
+
# Drop-off location details.
|
|
882
|
+
attr_accessor :drop_off
|
|
883
|
+
# Insurance details for the rental.
|
|
884
|
+
attr_accessor :insurances
|
|
885
|
+
# Indicates if the customer was a no-show.
|
|
886
|
+
attr_accessor :no_show_indicator
|
|
887
|
+
# Pickup location details.
|
|
888
|
+
attr_accessor :pickup
|
|
889
|
+
# Name of the person renting the vehicle.
|
|
890
|
+
attr_accessor :renter_name
|
|
891
|
+
# Total cost breakdown for the rental.
|
|
892
|
+
attr_accessor :total
|
|
893
|
+
# Vehicle details for the rental.
|
|
894
|
+
attr_accessor :vehicle
|
|
895
|
+
|
|
896
|
+
def initialize(
|
|
897
|
+
affiliate: nil,
|
|
898
|
+
booking_number: nil,
|
|
899
|
+
carrier_name: nil,
|
|
900
|
+
customer_service_phone_number: nil,
|
|
901
|
+
days_rented: nil,
|
|
902
|
+
distance: nil,
|
|
903
|
+
drivers: nil,
|
|
904
|
+
drop_off: nil,
|
|
905
|
+
insurances: nil,
|
|
906
|
+
no_show_indicator: nil,
|
|
907
|
+
pickup: nil,
|
|
908
|
+
renter_name: nil,
|
|
909
|
+
total: nil,
|
|
910
|
+
vehicle: nil
|
|
911
|
+
)
|
|
912
|
+
@affiliate = affiliate
|
|
913
|
+
@booking_number = booking_number
|
|
914
|
+
@carrier_name = carrier_name
|
|
915
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
916
|
+
@days_rented = days_rented
|
|
917
|
+
@distance = distance
|
|
918
|
+
@drivers = drivers
|
|
919
|
+
@drop_off = drop_off
|
|
920
|
+
@insurances = insurances
|
|
921
|
+
@no_show_indicator = no_show_indicator
|
|
922
|
+
@pickup = pickup
|
|
923
|
+
@renter_name = renter_name
|
|
924
|
+
@total = total
|
|
925
|
+
@vehicle = vehicle
|
|
926
|
+
end
|
|
927
|
+
end
|
|
928
|
+
|
|
929
|
+
class EventDetails < ::Stripe::RequestParams
|
|
930
|
+
class Address < ::Stripe::RequestParams
|
|
931
|
+
# City, district, suburb, town, or village.
|
|
932
|
+
attr_accessor :city
|
|
933
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
934
|
+
attr_accessor :country
|
|
935
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
936
|
+
attr_accessor :line1
|
|
937
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
938
|
+
attr_accessor :line2
|
|
939
|
+
# ZIP or postal code.
|
|
940
|
+
attr_accessor :postal_code
|
|
941
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
942
|
+
attr_accessor :state
|
|
943
|
+
|
|
944
|
+
def initialize(
|
|
945
|
+
city: nil,
|
|
946
|
+
country: nil,
|
|
947
|
+
line1: nil,
|
|
948
|
+
line2: nil,
|
|
949
|
+
postal_code: nil,
|
|
950
|
+
state: nil
|
|
951
|
+
)
|
|
952
|
+
@city = city
|
|
953
|
+
@country = country
|
|
954
|
+
@line1 = line1
|
|
955
|
+
@line2 = line2
|
|
956
|
+
@postal_code = postal_code
|
|
957
|
+
@state = state
|
|
958
|
+
end
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
class Affiliate < ::Stripe::RequestParams
|
|
962
|
+
# The name of the affiliate that originated the purchase.
|
|
963
|
+
attr_accessor :name
|
|
964
|
+
|
|
965
|
+
def initialize(name: nil)
|
|
966
|
+
@name = name
|
|
967
|
+
end
|
|
968
|
+
end
|
|
969
|
+
|
|
970
|
+
class Delivery < ::Stripe::RequestParams
|
|
971
|
+
class Recipient < ::Stripe::RequestParams
|
|
972
|
+
# The email of the recipient the ticket is delivered to.
|
|
973
|
+
attr_accessor :email
|
|
974
|
+
# The name of the recipient the ticket is delivered to.
|
|
975
|
+
attr_accessor :name
|
|
976
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
977
|
+
attr_accessor :phone
|
|
978
|
+
|
|
979
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
980
|
+
@email = email
|
|
981
|
+
@name = name
|
|
982
|
+
@phone = phone
|
|
983
|
+
end
|
|
984
|
+
end
|
|
985
|
+
# The delivery method for the payment
|
|
986
|
+
attr_accessor :mode
|
|
987
|
+
# Details of the recipient.
|
|
988
|
+
attr_accessor :recipient
|
|
989
|
+
|
|
990
|
+
def initialize(mode: nil, recipient: nil)
|
|
991
|
+
@mode = mode
|
|
992
|
+
@recipient = recipient
|
|
993
|
+
end
|
|
994
|
+
end
|
|
995
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
996
|
+
attr_accessor :access_controlled_venue
|
|
997
|
+
# The event location's address.
|
|
998
|
+
attr_accessor :address
|
|
999
|
+
# Affiliate details for this purchase.
|
|
1000
|
+
attr_accessor :affiliate
|
|
1001
|
+
# The name of the company
|
|
1002
|
+
attr_accessor :company
|
|
1003
|
+
# Delivery details for this purchase.
|
|
1004
|
+
attr_accessor :delivery
|
|
1005
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
1006
|
+
attr_accessor :ends_at
|
|
1007
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
1008
|
+
attr_accessor :genre
|
|
1009
|
+
# The name of the event.
|
|
1010
|
+
attr_accessor :name
|
|
1011
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
1012
|
+
attr_accessor :starts_at
|
|
1013
|
+
|
|
1014
|
+
def initialize(
|
|
1015
|
+
access_controlled_venue: nil,
|
|
1016
|
+
address: nil,
|
|
1017
|
+
affiliate: nil,
|
|
1018
|
+
company: nil,
|
|
1019
|
+
delivery: nil,
|
|
1020
|
+
ends_at: nil,
|
|
1021
|
+
genre: nil,
|
|
1022
|
+
name: nil,
|
|
1023
|
+
starts_at: nil
|
|
1024
|
+
)
|
|
1025
|
+
@access_controlled_venue = access_controlled_venue
|
|
1026
|
+
@address = address
|
|
1027
|
+
@affiliate = affiliate
|
|
1028
|
+
@company = company
|
|
1029
|
+
@delivery = delivery
|
|
1030
|
+
@ends_at = ends_at
|
|
1031
|
+
@genre = genre
|
|
1032
|
+
@name = name
|
|
1033
|
+
@starts_at = starts_at
|
|
1034
|
+
end
|
|
1035
|
+
end
|
|
1036
|
+
|
|
1037
|
+
class FleetDatum < ::Stripe::RequestParams
|
|
1038
|
+
class PrimaryFuelFields < ::Stripe::RequestParams
|
|
1039
|
+
# The fuel brand.
|
|
1040
|
+
attr_accessor :brand
|
|
1041
|
+
|
|
1042
|
+
def initialize(brand: nil)
|
|
1043
|
+
@brand = brand
|
|
1044
|
+
end
|
|
1045
|
+
end
|
|
1046
|
+
|
|
1047
|
+
class Station < ::Stripe::RequestParams
|
|
1048
|
+
class ServiceLocation < ::Stripe::RequestParams
|
|
1049
|
+
# City, district, suburb, town, or village.
|
|
1050
|
+
attr_accessor :city
|
|
1051
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1052
|
+
attr_accessor :country
|
|
1053
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1054
|
+
attr_accessor :line1
|
|
1055
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1056
|
+
attr_accessor :line2
|
|
1057
|
+
# ZIP or postal code.
|
|
1058
|
+
attr_accessor :postal_code
|
|
1059
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1060
|
+
attr_accessor :state
|
|
1061
|
+
|
|
1062
|
+
def initialize(
|
|
1063
|
+
city: nil,
|
|
1064
|
+
country: nil,
|
|
1065
|
+
line1: nil,
|
|
1066
|
+
line2: nil,
|
|
1067
|
+
postal_code: nil,
|
|
1068
|
+
state: nil
|
|
1069
|
+
)
|
|
1070
|
+
@city = city
|
|
1071
|
+
@country = country
|
|
1072
|
+
@line1 = line1
|
|
1073
|
+
@line2 = line2
|
|
1074
|
+
@postal_code = postal_code
|
|
1075
|
+
@state = state
|
|
1076
|
+
end
|
|
1077
|
+
end
|
|
1078
|
+
# Additional contact information for the station.
|
|
1079
|
+
attr_accessor :additional_contact_info
|
|
1080
|
+
# The customer service phone number of the station.
|
|
1081
|
+
attr_accessor :customer_service_phone_number
|
|
1082
|
+
# The partner ID code of the station.
|
|
1083
|
+
attr_accessor :partner_id_code
|
|
1084
|
+
# The phone number of the station.
|
|
1085
|
+
attr_accessor :phone_number
|
|
1086
|
+
# The physical location of the station.
|
|
1087
|
+
attr_accessor :service_location
|
|
1088
|
+
# The URL of the station.
|
|
1089
|
+
attr_accessor :url
|
|
1090
|
+
|
|
1091
|
+
def initialize(
|
|
1092
|
+
additional_contact_info: nil,
|
|
1093
|
+
customer_service_phone_number: nil,
|
|
1094
|
+
partner_id_code: nil,
|
|
1095
|
+
phone_number: nil,
|
|
1096
|
+
service_location: nil,
|
|
1097
|
+
url: nil
|
|
1098
|
+
)
|
|
1099
|
+
@additional_contact_info = additional_contact_info
|
|
1100
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1101
|
+
@partner_id_code = partner_id_code
|
|
1102
|
+
@phone_number = phone_number
|
|
1103
|
+
@service_location = service_location
|
|
1104
|
+
@url = url
|
|
1105
|
+
end
|
|
1106
|
+
end
|
|
1107
|
+
|
|
1108
|
+
class Vat < ::Stripe::RequestParams
|
|
1109
|
+
# Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
1110
|
+
attr_accessor :iob_indicator
|
|
1111
|
+
|
|
1112
|
+
def initialize(iob_indicator: nil)
|
|
1113
|
+
@iob_indicator = iob_indicator
|
|
1114
|
+
end
|
|
1115
|
+
end
|
|
1116
|
+
# Primary fuel fields for the transaction.
|
|
1117
|
+
attr_accessor :primary_fuel_fields
|
|
1118
|
+
# Station and acceptor location details.
|
|
1119
|
+
attr_accessor :station
|
|
1120
|
+
# VAT and Invoice on Behalf (IOB) details.
|
|
1121
|
+
attr_accessor :vat
|
|
1122
|
+
|
|
1123
|
+
def initialize(primary_fuel_fields: nil, station: nil, vat: nil)
|
|
1124
|
+
@primary_fuel_fields = primary_fuel_fields
|
|
1125
|
+
@station = station
|
|
1126
|
+
@vat = vat
|
|
1127
|
+
end
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
class Flight < ::Stripe::RequestParams
|
|
1131
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1132
|
+
# The name of the affiliate that originated the purchase.
|
|
1133
|
+
attr_accessor :name
|
|
1134
|
+
|
|
1135
|
+
def initialize(name: nil)
|
|
1136
|
+
@name = name
|
|
1137
|
+
end
|
|
1138
|
+
end
|
|
1139
|
+
|
|
1140
|
+
class Delivery < ::Stripe::RequestParams
|
|
1141
|
+
class Recipient < ::Stripe::RequestParams
|
|
1142
|
+
# The email of the recipient the ticket is delivered to.
|
|
1143
|
+
attr_accessor :email
|
|
1144
|
+
# The name of the recipient the ticket is delivered to.
|
|
1145
|
+
attr_accessor :name
|
|
1146
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1147
|
+
attr_accessor :phone
|
|
1148
|
+
|
|
1149
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
1150
|
+
@email = email
|
|
1151
|
+
@name = name
|
|
1152
|
+
@phone = phone
|
|
1153
|
+
end
|
|
1154
|
+
end
|
|
1155
|
+
# The delivery method for the payment
|
|
1156
|
+
attr_accessor :mode
|
|
1157
|
+
# Details of the recipient.
|
|
1158
|
+
attr_accessor :recipient
|
|
1159
|
+
|
|
1160
|
+
def initialize(mode: nil, recipient: nil)
|
|
1161
|
+
@mode = mode
|
|
1162
|
+
@recipient = recipient
|
|
1163
|
+
end
|
|
1164
|
+
end
|
|
1165
|
+
|
|
1166
|
+
class Passenger < ::Stripe::RequestParams
|
|
1167
|
+
# Full name of the person or entity on the flight reservation.
|
|
1168
|
+
attr_accessor :name
|
|
1169
|
+
|
|
1170
|
+
def initialize(name: nil)
|
|
1171
|
+
@name = name
|
|
1172
|
+
end
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1175
|
+
class Segment < ::Stripe::RequestParams
|
|
1176
|
+
# The flight segment amount.
|
|
1177
|
+
attr_accessor :amount
|
|
1178
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
1179
|
+
attr_accessor :arrival_airport
|
|
1180
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1181
|
+
attr_accessor :arrives_at
|
|
1182
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
1183
|
+
attr_accessor :carrier
|
|
1184
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1185
|
+
attr_accessor :departs_at
|
|
1186
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
1187
|
+
attr_accessor :departure_airport
|
|
1188
|
+
# The flight number associated with the segment
|
|
1189
|
+
attr_accessor :flight_number
|
|
1190
|
+
# The fare class for the segment.
|
|
1191
|
+
attr_accessor :service_class
|
|
1192
|
+
|
|
1193
|
+
def initialize(
|
|
1194
|
+
amount: nil,
|
|
1195
|
+
arrival_airport: nil,
|
|
1196
|
+
arrives_at: nil,
|
|
1197
|
+
carrier: nil,
|
|
1198
|
+
departs_at: nil,
|
|
1199
|
+
departure_airport: nil,
|
|
1200
|
+
flight_number: nil,
|
|
1201
|
+
service_class: nil
|
|
1202
|
+
)
|
|
1203
|
+
@amount = amount
|
|
1204
|
+
@arrival_airport = arrival_airport
|
|
1205
|
+
@arrives_at = arrives_at
|
|
1206
|
+
@carrier = carrier
|
|
1207
|
+
@departs_at = departs_at
|
|
1208
|
+
@departure_airport = departure_airport
|
|
1209
|
+
@flight_number = flight_number
|
|
1210
|
+
@service_class = service_class
|
|
1211
|
+
end
|
|
1212
|
+
end
|
|
1213
|
+
# Affiliate details for this purchase.
|
|
1214
|
+
attr_accessor :affiliate
|
|
1215
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
1216
|
+
attr_accessor :agency_number
|
|
1217
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
1218
|
+
attr_accessor :carrier
|
|
1219
|
+
# Delivery details for this purchase.
|
|
1220
|
+
attr_accessor :delivery
|
|
1221
|
+
# The name of the person or entity on the reservation.
|
|
1222
|
+
attr_accessor :passenger_name
|
|
1223
|
+
# The details of the passengers in the travel reservation.
|
|
1224
|
+
attr_accessor :passengers
|
|
1225
|
+
# The individual flight segments associated with the trip.
|
|
1226
|
+
attr_accessor :segments
|
|
1227
|
+
# The ticket number associated with the travel reservation.
|
|
1228
|
+
attr_accessor :ticket_number
|
|
1229
|
+
|
|
1230
|
+
def initialize(
|
|
1231
|
+
affiliate: nil,
|
|
1232
|
+
agency_number: nil,
|
|
1233
|
+
carrier: nil,
|
|
1234
|
+
delivery: nil,
|
|
1235
|
+
passenger_name: nil,
|
|
1236
|
+
passengers: nil,
|
|
1237
|
+
segments: nil,
|
|
1238
|
+
ticket_number: nil
|
|
1239
|
+
)
|
|
1240
|
+
@affiliate = affiliate
|
|
1241
|
+
@agency_number = agency_number
|
|
1242
|
+
@carrier = carrier
|
|
1243
|
+
@delivery = delivery
|
|
1244
|
+
@passenger_name = passenger_name
|
|
1245
|
+
@passengers = passengers
|
|
1246
|
+
@segments = segments
|
|
1247
|
+
@ticket_number = ticket_number
|
|
1248
|
+
end
|
|
1249
|
+
end
|
|
1250
|
+
|
|
1251
|
+
class FlightDatum < ::Stripe::RequestParams
|
|
1252
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1253
|
+
# Affiliate partner code.
|
|
1254
|
+
attr_accessor :code
|
|
1255
|
+
# Name of affiliate partner.
|
|
1256
|
+
attr_accessor :name
|
|
1257
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1258
|
+
attr_accessor :travel_authorization_code
|
|
1259
|
+
|
|
1260
|
+
def initialize(code: nil, name: nil, travel_authorization_code: nil)
|
|
1261
|
+
@code = code
|
|
1262
|
+
@name = name
|
|
1263
|
+
@travel_authorization_code = travel_authorization_code
|
|
1264
|
+
end
|
|
1265
|
+
end
|
|
1266
|
+
|
|
1267
|
+
class Insurance < ::Stripe::RequestParams
|
|
1268
|
+
# Insurance cost.
|
|
1269
|
+
attr_accessor :amount
|
|
1270
|
+
# Insurance currency.
|
|
1271
|
+
attr_accessor :currency
|
|
1272
|
+
# Insurance company name.
|
|
1273
|
+
attr_accessor :insurance_company_name
|
|
1274
|
+
# Type of insurance.
|
|
1275
|
+
attr_accessor :insurance_type
|
|
1276
|
+
|
|
1277
|
+
def initialize(
|
|
1278
|
+
amount: nil,
|
|
1279
|
+
currency: nil,
|
|
1280
|
+
insurance_company_name: nil,
|
|
1281
|
+
insurance_type: nil
|
|
1282
|
+
)
|
|
1283
|
+
@amount = amount
|
|
1284
|
+
@currency = currency
|
|
1285
|
+
@insurance_company_name = insurance_company_name
|
|
1286
|
+
@insurance_type = insurance_type
|
|
1287
|
+
end
|
|
1288
|
+
end
|
|
1289
|
+
|
|
1290
|
+
class Passenger < ::Stripe::RequestParams
|
|
1291
|
+
# Passenger's full name.
|
|
1292
|
+
attr_accessor :name
|
|
1293
|
+
|
|
1294
|
+
def initialize(name: nil)
|
|
1295
|
+
@name = name
|
|
1296
|
+
end
|
|
1297
|
+
end
|
|
1298
|
+
|
|
1299
|
+
class Segment < ::Stripe::RequestParams
|
|
1300
|
+
class Arrival < ::Stripe::RequestParams
|
|
1301
|
+
# Arrival airport IATA code.
|
|
1302
|
+
attr_accessor :airport
|
|
1303
|
+
# Arrival date/time.
|
|
1304
|
+
attr_accessor :arrives_at
|
|
1305
|
+
# Arrival city.
|
|
1306
|
+
attr_accessor :city
|
|
1307
|
+
# Arrival country.
|
|
1308
|
+
attr_accessor :country
|
|
1309
|
+
|
|
1310
|
+
def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
|
|
1311
|
+
@airport = airport
|
|
1312
|
+
@arrives_at = arrives_at
|
|
1313
|
+
@city = city
|
|
1314
|
+
@country = country
|
|
1315
|
+
end
|
|
1316
|
+
end
|
|
1317
|
+
|
|
1318
|
+
class Departure < ::Stripe::RequestParams
|
|
1319
|
+
# Departure airport IATA code.
|
|
1320
|
+
attr_accessor :airport
|
|
1321
|
+
# Departure city.
|
|
1322
|
+
attr_accessor :city
|
|
1323
|
+
# Departure country.
|
|
1324
|
+
attr_accessor :country
|
|
1325
|
+
# Departure date/time.
|
|
1326
|
+
attr_accessor :departs_at
|
|
1327
|
+
|
|
1328
|
+
def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
|
|
1329
|
+
@airport = airport
|
|
1330
|
+
@city = city
|
|
1331
|
+
@country = country
|
|
1332
|
+
@departs_at = departs_at
|
|
1333
|
+
end
|
|
1334
|
+
end
|
|
1335
|
+
# Segment fare amount.
|
|
1336
|
+
attr_accessor :amount
|
|
1337
|
+
# Arrival details.
|
|
1338
|
+
attr_accessor :arrival
|
|
1339
|
+
# Airline carrier code.
|
|
1340
|
+
attr_accessor :carrier_code
|
|
1341
|
+
# Carrier name.
|
|
1342
|
+
attr_accessor :carrier_name
|
|
1343
|
+
# Segment currency.
|
|
1344
|
+
attr_accessor :currency
|
|
1345
|
+
# Departure details.
|
|
1346
|
+
attr_accessor :departure
|
|
1347
|
+
# Exchange ticket number.
|
|
1348
|
+
attr_accessor :exchange_ticket_number
|
|
1349
|
+
# Fare basis code.
|
|
1350
|
+
attr_accessor :fare_basis_code
|
|
1351
|
+
# Additional fees.
|
|
1352
|
+
attr_accessor :fees
|
|
1353
|
+
# Flight number.
|
|
1354
|
+
attr_accessor :flight_number
|
|
1355
|
+
# Stopover indicator.
|
|
1356
|
+
attr_accessor :is_stop_over_indicator
|
|
1357
|
+
# Refundable ticket indicator.
|
|
1358
|
+
attr_accessor :refundable
|
|
1359
|
+
# Class of service.
|
|
1360
|
+
attr_accessor :service_class
|
|
1361
|
+
# Tax amount for segment.
|
|
1362
|
+
attr_accessor :tax_amount
|
|
1363
|
+
# Ticket number.
|
|
1364
|
+
attr_accessor :ticket_number
|
|
1365
|
+
|
|
1366
|
+
def initialize(
|
|
1367
|
+
amount: nil,
|
|
1368
|
+
arrival: nil,
|
|
1369
|
+
carrier_code: nil,
|
|
1370
|
+
carrier_name: nil,
|
|
1371
|
+
currency: nil,
|
|
1372
|
+
departure: nil,
|
|
1373
|
+
exchange_ticket_number: nil,
|
|
1374
|
+
fare_basis_code: nil,
|
|
1375
|
+
fees: nil,
|
|
1376
|
+
flight_number: nil,
|
|
1377
|
+
is_stop_over_indicator: nil,
|
|
1378
|
+
refundable: nil,
|
|
1379
|
+
service_class: nil,
|
|
1380
|
+
tax_amount: nil,
|
|
1381
|
+
ticket_number: nil
|
|
1382
|
+
)
|
|
1383
|
+
@amount = amount
|
|
1384
|
+
@arrival = arrival
|
|
1385
|
+
@carrier_code = carrier_code
|
|
1386
|
+
@carrier_name = carrier_name
|
|
1387
|
+
@currency = currency
|
|
1388
|
+
@departure = departure
|
|
1389
|
+
@exchange_ticket_number = exchange_ticket_number
|
|
1390
|
+
@fare_basis_code = fare_basis_code
|
|
1391
|
+
@fees = fees
|
|
1392
|
+
@flight_number = flight_number
|
|
1393
|
+
@is_stop_over_indicator = is_stop_over_indicator
|
|
1394
|
+
@refundable = refundable
|
|
1395
|
+
@service_class = service_class
|
|
1396
|
+
@tax_amount = tax_amount
|
|
1397
|
+
@ticket_number = ticket_number
|
|
1398
|
+
end
|
|
1399
|
+
end
|
|
1400
|
+
|
|
1401
|
+
class Total < ::Stripe::RequestParams
|
|
1402
|
+
class Discounts < ::Stripe::RequestParams
|
|
1403
|
+
# Corporate client discount code.
|
|
1404
|
+
attr_accessor :corporate_client_code
|
|
1405
|
+
|
|
1406
|
+
def initialize(corporate_client_code: nil)
|
|
1407
|
+
@corporate_client_code = corporate_client_code
|
|
1408
|
+
end
|
|
1409
|
+
end
|
|
1410
|
+
|
|
1411
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1412
|
+
# Amount of additional charges.
|
|
1413
|
+
attr_accessor :amount
|
|
1414
|
+
# Type of additional charges.
|
|
1415
|
+
attr_accessor :type
|
|
1416
|
+
|
|
1417
|
+
def initialize(amount: nil, type: nil)
|
|
1418
|
+
@amount = amount
|
|
1419
|
+
@type = type
|
|
1420
|
+
end
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
|
+
class Tax < ::Stripe::RequestParams
|
|
1424
|
+
class Tax < ::Stripe::RequestParams
|
|
1425
|
+
# Tax amount.
|
|
1426
|
+
attr_accessor :amount
|
|
1427
|
+
# Tax rate.
|
|
1428
|
+
attr_accessor :rate
|
|
1429
|
+
# Type of tax.
|
|
1430
|
+
attr_accessor :type
|
|
1431
|
+
|
|
1432
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1433
|
+
@amount = amount
|
|
1434
|
+
@rate = rate
|
|
1435
|
+
@type = type
|
|
1436
|
+
end
|
|
1437
|
+
end
|
|
1438
|
+
# Array of tax details.
|
|
1439
|
+
attr_accessor :taxes
|
|
1440
|
+
|
|
1441
|
+
def initialize(taxes: nil)
|
|
1442
|
+
@taxes = taxes
|
|
1443
|
+
end
|
|
1444
|
+
end
|
|
1445
|
+
# Total flight amount.
|
|
1446
|
+
attr_accessor :amount
|
|
1447
|
+
# Reason for credit.
|
|
1448
|
+
attr_accessor :credit_reason
|
|
1449
|
+
# Total currency.
|
|
1450
|
+
attr_accessor :currency
|
|
1451
|
+
# Discount details.
|
|
1452
|
+
attr_accessor :discounts
|
|
1453
|
+
# Additional charges.
|
|
1454
|
+
attr_accessor :extra_charges
|
|
1455
|
+
# Tax breakdown.
|
|
1456
|
+
attr_accessor :tax
|
|
1457
|
+
|
|
1458
|
+
def initialize(
|
|
1459
|
+
amount: nil,
|
|
1460
|
+
credit_reason: nil,
|
|
1461
|
+
currency: nil,
|
|
1462
|
+
discounts: nil,
|
|
1463
|
+
extra_charges: nil,
|
|
1464
|
+
tax: nil
|
|
1465
|
+
)
|
|
1466
|
+
@amount = amount
|
|
1467
|
+
@credit_reason = credit_reason
|
|
1468
|
+
@currency = currency
|
|
1469
|
+
@discounts = discounts
|
|
1470
|
+
@extra_charges = extra_charges
|
|
1471
|
+
@tax = tax
|
|
1472
|
+
end
|
|
1473
|
+
end
|
|
1474
|
+
# Affiliate details if applicable.
|
|
1475
|
+
attr_accessor :affiliate
|
|
1476
|
+
# Reservation reference.
|
|
1477
|
+
attr_accessor :booking_number
|
|
1478
|
+
# Computerized reservation system used to make the reservation and purchase the ticket.
|
|
1479
|
+
attr_accessor :computerized_reservation_system
|
|
1480
|
+
# Ticket restrictions.
|
|
1481
|
+
attr_accessor :endorsements_and_restrictions
|
|
1482
|
+
# List of insurances.
|
|
1483
|
+
attr_accessor :insurances
|
|
1484
|
+
# List of passengers.
|
|
1485
|
+
attr_accessor :passengers
|
|
1486
|
+
# List of flight segments.
|
|
1487
|
+
attr_accessor :segments
|
|
1488
|
+
# Electronic ticket indicator.
|
|
1489
|
+
attr_accessor :ticket_electronically_issued_indicator
|
|
1490
|
+
# Total cost breakdown.
|
|
1491
|
+
attr_accessor :total
|
|
1492
|
+
# Type of flight transaction.
|
|
1493
|
+
attr_accessor :transaction_type
|
|
1494
|
+
|
|
1495
|
+
def initialize(
|
|
1496
|
+
affiliate: nil,
|
|
1497
|
+
booking_number: nil,
|
|
1498
|
+
computerized_reservation_system: nil,
|
|
1499
|
+
endorsements_and_restrictions: nil,
|
|
1500
|
+
insurances: nil,
|
|
1501
|
+
passengers: nil,
|
|
1502
|
+
segments: nil,
|
|
1503
|
+
ticket_electronically_issued_indicator: nil,
|
|
1504
|
+
total: nil,
|
|
1505
|
+
transaction_type: nil
|
|
1506
|
+
)
|
|
1507
|
+
@affiliate = affiliate
|
|
1508
|
+
@booking_number = booking_number
|
|
1509
|
+
@computerized_reservation_system = computerized_reservation_system
|
|
1510
|
+
@endorsements_and_restrictions = endorsements_and_restrictions
|
|
1511
|
+
@insurances = insurances
|
|
1512
|
+
@passengers = passengers
|
|
1513
|
+
@segments = segments
|
|
1514
|
+
@ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
|
|
1515
|
+
@total = total
|
|
1516
|
+
@transaction_type = transaction_type
|
|
1517
|
+
end
|
|
1518
|
+
end
|
|
1519
|
+
|
|
1520
|
+
class Lodging < ::Stripe::RequestParams
|
|
1521
|
+
class Address < ::Stripe::RequestParams
|
|
1522
|
+
# City, district, suburb, town, or village.
|
|
1523
|
+
attr_accessor :city
|
|
1524
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1525
|
+
attr_accessor :country
|
|
1526
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1527
|
+
attr_accessor :line1
|
|
1528
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1529
|
+
attr_accessor :line2
|
|
1530
|
+
# ZIP or postal code.
|
|
1531
|
+
attr_accessor :postal_code
|
|
1532
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1533
|
+
attr_accessor :state
|
|
1534
|
+
|
|
1535
|
+
def initialize(
|
|
1536
|
+
city: nil,
|
|
1537
|
+
country: nil,
|
|
1538
|
+
line1: nil,
|
|
1539
|
+
line2: nil,
|
|
1540
|
+
postal_code: nil,
|
|
1541
|
+
state: nil
|
|
1542
|
+
)
|
|
1543
|
+
@city = city
|
|
1544
|
+
@country = country
|
|
1545
|
+
@line1 = line1
|
|
1546
|
+
@line2 = line2
|
|
1547
|
+
@postal_code = postal_code
|
|
1548
|
+
@state = state
|
|
1549
|
+
end
|
|
1550
|
+
end
|
|
1551
|
+
|
|
1552
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1553
|
+
# The name of the affiliate that originated the purchase.
|
|
1554
|
+
attr_accessor :name
|
|
1555
|
+
|
|
1556
|
+
def initialize(name: nil)
|
|
1557
|
+
@name = name
|
|
1558
|
+
end
|
|
1559
|
+
end
|
|
1560
|
+
|
|
1561
|
+
class Delivery < ::Stripe::RequestParams
|
|
1562
|
+
class Recipient < ::Stripe::RequestParams
|
|
1563
|
+
# The email of the recipient the ticket is delivered to.
|
|
1564
|
+
attr_accessor :email
|
|
1565
|
+
# The name of the recipient the ticket is delivered to.
|
|
1566
|
+
attr_accessor :name
|
|
1567
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1568
|
+
attr_accessor :phone
|
|
1569
|
+
|
|
1570
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
1571
|
+
@email = email
|
|
1572
|
+
@name = name
|
|
1573
|
+
@phone = phone
|
|
1574
|
+
end
|
|
1575
|
+
end
|
|
1576
|
+
# The delivery method for the payment
|
|
1577
|
+
attr_accessor :mode
|
|
1578
|
+
# Details of the recipient.
|
|
1579
|
+
attr_accessor :recipient
|
|
1580
|
+
|
|
1581
|
+
def initialize(mode: nil, recipient: nil)
|
|
1582
|
+
@mode = mode
|
|
1583
|
+
@recipient = recipient
|
|
1584
|
+
end
|
|
1585
|
+
end
|
|
1586
|
+
|
|
1587
|
+
class Passenger < ::Stripe::RequestParams
|
|
1588
|
+
# Full name of the person or entity on the lodging reservation.
|
|
1589
|
+
attr_accessor :name
|
|
1590
|
+
|
|
1591
|
+
def initialize(name: nil)
|
|
1592
|
+
@name = name
|
|
1593
|
+
end
|
|
1594
|
+
end
|
|
1595
|
+
# The lodging location's address.
|
|
1596
|
+
attr_accessor :address
|
|
1597
|
+
# The number of adults on the booking
|
|
1598
|
+
attr_accessor :adults
|
|
1599
|
+
# Affiliate details for this purchase.
|
|
1600
|
+
attr_accessor :affiliate
|
|
1601
|
+
# The booking number associated with the lodging reservation.
|
|
1602
|
+
attr_accessor :booking_number
|
|
1603
|
+
# The lodging category
|
|
1604
|
+
attr_accessor :category
|
|
1605
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
1606
|
+
attr_accessor :checkin_at
|
|
1607
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
1608
|
+
attr_accessor :checkout_at
|
|
1609
|
+
# The customer service phone number of the lodging company.
|
|
1610
|
+
attr_accessor :customer_service_phone_number
|
|
1611
|
+
# The daily lodging room rate.
|
|
1612
|
+
attr_accessor :daily_room_rate_amount
|
|
1613
|
+
# Delivery details for this purchase.
|
|
1614
|
+
attr_accessor :delivery
|
|
1615
|
+
# List of additional charges being billed.
|
|
1616
|
+
attr_accessor :extra_charges
|
|
1617
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
1618
|
+
attr_accessor :fire_safety_act_compliance
|
|
1619
|
+
# The name of the lodging location.
|
|
1620
|
+
attr_accessor :name
|
|
1621
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
1622
|
+
attr_accessor :no_show
|
|
1623
|
+
# The number of rooms on the booking
|
|
1624
|
+
attr_accessor :number_of_rooms
|
|
1625
|
+
# The details of the passengers in the travel reservation
|
|
1626
|
+
attr_accessor :passengers
|
|
1627
|
+
# The phone number of the lodging location.
|
|
1628
|
+
attr_accessor :property_phone_number
|
|
1629
|
+
# The room class for this purchase.
|
|
1630
|
+
attr_accessor :room_class
|
|
1631
|
+
# The number of room nights
|
|
1632
|
+
attr_accessor :room_nights
|
|
1633
|
+
# The total tax amount associating with the room reservation.
|
|
1634
|
+
attr_accessor :total_room_tax_amount
|
|
1635
|
+
# The total tax amount
|
|
1636
|
+
attr_accessor :total_tax_amount
|
|
1637
|
+
|
|
1638
|
+
def initialize(
|
|
1639
|
+
address: nil,
|
|
1640
|
+
adults: nil,
|
|
1641
|
+
affiliate: nil,
|
|
1642
|
+
booking_number: nil,
|
|
1643
|
+
category: nil,
|
|
1644
|
+
checkin_at: nil,
|
|
1645
|
+
checkout_at: nil,
|
|
1646
|
+
customer_service_phone_number: nil,
|
|
1647
|
+
daily_room_rate_amount: nil,
|
|
1648
|
+
delivery: nil,
|
|
1649
|
+
extra_charges: nil,
|
|
1650
|
+
fire_safety_act_compliance: nil,
|
|
1651
|
+
name: nil,
|
|
1652
|
+
no_show: nil,
|
|
1653
|
+
number_of_rooms: nil,
|
|
1654
|
+
passengers: nil,
|
|
1655
|
+
property_phone_number: nil,
|
|
1656
|
+
room_class: nil,
|
|
1657
|
+
room_nights: nil,
|
|
1658
|
+
total_room_tax_amount: nil,
|
|
1659
|
+
total_tax_amount: nil
|
|
1660
|
+
)
|
|
1661
|
+
@address = address
|
|
1662
|
+
@adults = adults
|
|
1663
|
+
@affiliate = affiliate
|
|
1664
|
+
@booking_number = booking_number
|
|
1665
|
+
@category = category
|
|
1666
|
+
@checkin_at = checkin_at
|
|
1667
|
+
@checkout_at = checkout_at
|
|
1668
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1669
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
|
1670
|
+
@delivery = delivery
|
|
1671
|
+
@extra_charges = extra_charges
|
|
1672
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
1673
|
+
@name = name
|
|
1674
|
+
@no_show = no_show
|
|
1675
|
+
@number_of_rooms = number_of_rooms
|
|
1676
|
+
@passengers = passengers
|
|
1677
|
+
@property_phone_number = property_phone_number
|
|
1678
|
+
@room_class = room_class
|
|
1679
|
+
@room_nights = room_nights
|
|
1680
|
+
@total_room_tax_amount = total_room_tax_amount
|
|
1681
|
+
@total_tax_amount = total_tax_amount
|
|
1682
|
+
end
|
|
1683
|
+
end
|
|
1684
|
+
|
|
1685
|
+
class LodgingDatum < ::Stripe::RequestParams
|
|
1686
|
+
class Accommodation < ::Stripe::RequestParams
|
|
1687
|
+
# Type of accommodation.
|
|
1688
|
+
attr_accessor :accommodation_type
|
|
1689
|
+
# Bed type.
|
|
1690
|
+
attr_accessor :bed_type
|
|
1691
|
+
# Daily accommodation rate in cents.
|
|
1692
|
+
attr_accessor :daily_rate_amount
|
|
1693
|
+
# Number of nights.
|
|
1694
|
+
attr_accessor :nights
|
|
1695
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
1696
|
+
attr_accessor :number_of_rooms
|
|
1697
|
+
# Rate type.
|
|
1698
|
+
attr_accessor :rate_type
|
|
1699
|
+
# Whether smoking is allowed.
|
|
1700
|
+
attr_accessor :smoking_indicator
|
|
1701
|
+
|
|
1702
|
+
def initialize(
|
|
1703
|
+
accommodation_type: nil,
|
|
1704
|
+
bed_type: nil,
|
|
1705
|
+
daily_rate_amount: nil,
|
|
1706
|
+
nights: nil,
|
|
1707
|
+
number_of_rooms: nil,
|
|
1708
|
+
rate_type: nil,
|
|
1709
|
+
smoking_indicator: nil
|
|
1710
|
+
)
|
|
1711
|
+
@accommodation_type = accommodation_type
|
|
1712
|
+
@bed_type = bed_type
|
|
1713
|
+
@daily_rate_amount = daily_rate_amount
|
|
1714
|
+
@nights = nights
|
|
1715
|
+
@number_of_rooms = number_of_rooms
|
|
1716
|
+
@rate_type = rate_type
|
|
1717
|
+
@smoking_indicator = smoking_indicator
|
|
1718
|
+
end
|
|
1719
|
+
end
|
|
1720
|
+
|
|
1721
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1722
|
+
# Affiliate partner code.
|
|
1723
|
+
attr_accessor :code
|
|
1724
|
+
# Affiliate partner name.
|
|
1725
|
+
attr_accessor :name
|
|
1726
|
+
|
|
1727
|
+
def initialize(code: nil, name: nil)
|
|
1728
|
+
@code = code
|
|
1729
|
+
@name = name
|
|
1730
|
+
end
|
|
1731
|
+
end
|
|
1732
|
+
|
|
1733
|
+
class Guest < ::Stripe::RequestParams
|
|
1734
|
+
# Guest's full name.
|
|
1735
|
+
attr_accessor :name
|
|
1736
|
+
|
|
1737
|
+
def initialize(name: nil)
|
|
1738
|
+
@name = name
|
|
1739
|
+
end
|
|
1740
|
+
end
|
|
1741
|
+
|
|
1742
|
+
class Host < ::Stripe::RequestParams
|
|
1743
|
+
class Address < ::Stripe::RequestParams
|
|
1744
|
+
# City, district, suburb, town, or village.
|
|
1745
|
+
attr_accessor :city
|
|
1746
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1747
|
+
attr_accessor :country
|
|
1748
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1749
|
+
attr_accessor :line1
|
|
1750
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1751
|
+
attr_accessor :line2
|
|
1752
|
+
# ZIP or postal code.
|
|
1753
|
+
attr_accessor :postal_code
|
|
1754
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1755
|
+
attr_accessor :state
|
|
1756
|
+
|
|
1757
|
+
def initialize(
|
|
1758
|
+
city: nil,
|
|
1759
|
+
country: nil,
|
|
1760
|
+
line1: nil,
|
|
1761
|
+
line2: nil,
|
|
1762
|
+
postal_code: nil,
|
|
1763
|
+
state: nil
|
|
1764
|
+
)
|
|
1765
|
+
@city = city
|
|
1766
|
+
@country = country
|
|
1767
|
+
@line1 = line1
|
|
1768
|
+
@line2 = line2
|
|
1769
|
+
@postal_code = postal_code
|
|
1770
|
+
@state = state
|
|
1771
|
+
end
|
|
1772
|
+
end
|
|
1773
|
+
# Address of the host.
|
|
1774
|
+
attr_accessor :address
|
|
1775
|
+
# Host's country of domicile.
|
|
1776
|
+
attr_accessor :country_of_domicile
|
|
1777
|
+
# Reference number for the host.
|
|
1778
|
+
attr_accessor :host_reference
|
|
1779
|
+
# Type of host.
|
|
1780
|
+
attr_accessor :host_type
|
|
1781
|
+
# Name of the lodging property or host.
|
|
1782
|
+
attr_accessor :name
|
|
1783
|
+
# Total number of reservations for the host.
|
|
1784
|
+
attr_accessor :number_of_reservations
|
|
1785
|
+
# Property phone number.
|
|
1786
|
+
attr_accessor :property_phone_number
|
|
1787
|
+
# Host's registration date.
|
|
1788
|
+
attr_accessor :registered_at
|
|
1789
|
+
|
|
1790
|
+
def initialize(
|
|
1791
|
+
address: nil,
|
|
1792
|
+
country_of_domicile: nil,
|
|
1793
|
+
host_reference: nil,
|
|
1794
|
+
host_type: nil,
|
|
1795
|
+
name: nil,
|
|
1796
|
+
number_of_reservations: nil,
|
|
1797
|
+
property_phone_number: nil,
|
|
1798
|
+
registered_at: nil
|
|
1799
|
+
)
|
|
1800
|
+
@address = address
|
|
1801
|
+
@country_of_domicile = country_of_domicile
|
|
1802
|
+
@host_reference = host_reference
|
|
1803
|
+
@host_type = host_type
|
|
1804
|
+
@name = name
|
|
1805
|
+
@number_of_reservations = number_of_reservations
|
|
1806
|
+
@property_phone_number = property_phone_number
|
|
1807
|
+
@registered_at = registered_at
|
|
1808
|
+
end
|
|
1809
|
+
end
|
|
1810
|
+
|
|
1811
|
+
class Insurance < ::Stripe::RequestParams
|
|
1812
|
+
# Price of the insurance coverage in cents.
|
|
1813
|
+
attr_accessor :amount
|
|
1814
|
+
# Currency of the insurance amount.
|
|
1815
|
+
attr_accessor :currency
|
|
1816
|
+
# Name of the insurance company.
|
|
1817
|
+
attr_accessor :insurance_company_name
|
|
1818
|
+
# Type of insurance coverage.
|
|
1819
|
+
attr_accessor :insurance_type
|
|
1820
|
+
|
|
1821
|
+
def initialize(
|
|
1822
|
+
amount: nil,
|
|
1823
|
+
currency: nil,
|
|
1824
|
+
insurance_company_name: nil,
|
|
1825
|
+
insurance_type: nil
|
|
1826
|
+
)
|
|
1827
|
+
@amount = amount
|
|
1828
|
+
@currency = currency
|
|
1829
|
+
@insurance_company_name = insurance_company_name
|
|
1830
|
+
@insurance_type = insurance_type
|
|
1831
|
+
end
|
|
1832
|
+
end
|
|
1833
|
+
|
|
1834
|
+
class Total < ::Stripe::RequestParams
|
|
1835
|
+
class Discounts < ::Stripe::RequestParams
|
|
1836
|
+
# Corporate client discount code.
|
|
1837
|
+
attr_accessor :corporate_client_code
|
|
1838
|
+
# Coupon code.
|
|
1839
|
+
attr_accessor :coupon
|
|
1840
|
+
|
|
1841
|
+
def initialize(corporate_client_code: nil, coupon: nil)
|
|
1842
|
+
@corporate_client_code = corporate_client_code
|
|
1843
|
+
@coupon = coupon
|
|
1844
|
+
end
|
|
1845
|
+
end
|
|
1846
|
+
|
|
1847
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1848
|
+
# Amount of the extra charge in cents.
|
|
1849
|
+
attr_accessor :amount
|
|
1850
|
+
# Type of extra charge.
|
|
1851
|
+
attr_accessor :type
|
|
1852
|
+
|
|
1853
|
+
def initialize(amount: nil, type: nil)
|
|
1854
|
+
@amount = amount
|
|
1855
|
+
@type = type
|
|
1856
|
+
end
|
|
1857
|
+
end
|
|
1858
|
+
|
|
1859
|
+
class Tax < ::Stripe::RequestParams
|
|
1860
|
+
class Tax < ::Stripe::RequestParams
|
|
1861
|
+
# Tax amount in cents.
|
|
1862
|
+
attr_accessor :amount
|
|
1863
|
+
# Tax rate.
|
|
1864
|
+
attr_accessor :rate
|
|
1865
|
+
# Type of tax applied.
|
|
1866
|
+
attr_accessor :type
|
|
1867
|
+
|
|
1868
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1869
|
+
@amount = amount
|
|
1870
|
+
@rate = rate
|
|
1871
|
+
@type = type
|
|
1872
|
+
end
|
|
1873
|
+
end
|
|
1874
|
+
# Indicates whether the transaction is tax exempt.
|
|
1875
|
+
attr_accessor :tax_exempt_indicator
|
|
1876
|
+
# Tax details.
|
|
1877
|
+
attr_accessor :taxes
|
|
1878
|
+
|
|
1879
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
1880
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
1881
|
+
@taxes = taxes
|
|
1882
|
+
end
|
|
1883
|
+
end
|
|
1884
|
+
# Total price of the lodging reservation in cents.
|
|
1885
|
+
attr_accessor :amount
|
|
1886
|
+
# Cash advances in cents.
|
|
1887
|
+
attr_accessor :cash_advances
|
|
1888
|
+
# Currency of the total amount.
|
|
1889
|
+
attr_accessor :currency
|
|
1890
|
+
# Discount details for the lodging.
|
|
1891
|
+
attr_accessor :discounts
|
|
1892
|
+
# Additional charges for the lodging.
|
|
1893
|
+
attr_accessor :extra_charges
|
|
1894
|
+
# Prepaid amount in cents.
|
|
1895
|
+
attr_accessor :prepaid_amount
|
|
1896
|
+
# Tax breakdown for the lodging reservation.
|
|
1897
|
+
attr_accessor :tax
|
|
1898
|
+
|
|
1899
|
+
def initialize(
|
|
1900
|
+
amount: nil,
|
|
1901
|
+
cash_advances: nil,
|
|
1902
|
+
currency: nil,
|
|
1903
|
+
discounts: nil,
|
|
1904
|
+
extra_charges: nil,
|
|
1905
|
+
prepaid_amount: nil,
|
|
1906
|
+
tax: nil
|
|
1907
|
+
)
|
|
1908
|
+
@amount = amount
|
|
1909
|
+
@cash_advances = cash_advances
|
|
1910
|
+
@currency = currency
|
|
1911
|
+
@discounts = discounts
|
|
1912
|
+
@extra_charges = extra_charges
|
|
1913
|
+
@prepaid_amount = prepaid_amount
|
|
1914
|
+
@tax = tax
|
|
1915
|
+
end
|
|
1916
|
+
end
|
|
1917
|
+
# Accommodation details for the lodging.
|
|
1918
|
+
attr_accessor :accommodation
|
|
1919
|
+
# Affiliate details if applicable.
|
|
1920
|
+
attr_accessor :affiliate
|
|
1921
|
+
# Booking confirmation number for the lodging.
|
|
1922
|
+
attr_accessor :booking_number
|
|
1923
|
+
# Check-in date.
|
|
1924
|
+
attr_accessor :checkin_at
|
|
1925
|
+
# Check-out date.
|
|
1926
|
+
attr_accessor :checkout_at
|
|
1927
|
+
# Customer service phone number for the lodging company.
|
|
1928
|
+
attr_accessor :customer_service_phone_number
|
|
1929
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
1930
|
+
attr_accessor :fire_safety_act_compliance_indicator
|
|
1931
|
+
# List of guests for the lodging.
|
|
1932
|
+
attr_accessor :guests
|
|
1933
|
+
# Host details for the lodging.
|
|
1934
|
+
attr_accessor :host
|
|
1935
|
+
# List of insurances for the lodging.
|
|
1936
|
+
attr_accessor :insurances
|
|
1937
|
+
# Whether the renter is a no-show.
|
|
1938
|
+
attr_accessor :no_show_indicator
|
|
1939
|
+
# Renter ID number for the lodging.
|
|
1940
|
+
attr_accessor :renter_id_number
|
|
1941
|
+
# Renter name for the lodging.
|
|
1942
|
+
attr_accessor :renter_name
|
|
1943
|
+
# Total details for the lodging.
|
|
1944
|
+
attr_accessor :total
|
|
1945
|
+
|
|
1946
|
+
def initialize(
|
|
1947
|
+
accommodation: nil,
|
|
1948
|
+
affiliate: nil,
|
|
1949
|
+
booking_number: nil,
|
|
1950
|
+
checkin_at: nil,
|
|
1951
|
+
checkout_at: nil,
|
|
1952
|
+
customer_service_phone_number: nil,
|
|
1953
|
+
fire_safety_act_compliance_indicator: nil,
|
|
1954
|
+
guests: nil,
|
|
1955
|
+
host: nil,
|
|
1956
|
+
insurances: nil,
|
|
1957
|
+
no_show_indicator: nil,
|
|
1958
|
+
renter_id_number: nil,
|
|
1959
|
+
renter_name: nil,
|
|
1960
|
+
total: nil
|
|
1961
|
+
)
|
|
1962
|
+
@accommodation = accommodation
|
|
1963
|
+
@affiliate = affiliate
|
|
1964
|
+
@booking_number = booking_number
|
|
1965
|
+
@checkin_at = checkin_at
|
|
1966
|
+
@checkout_at = checkout_at
|
|
1967
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1968
|
+
@fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
|
|
1969
|
+
@guests = guests
|
|
1970
|
+
@host = host
|
|
1971
|
+
@insurances = insurances
|
|
1972
|
+
@no_show_indicator = no_show_indicator
|
|
1973
|
+
@renter_id_number = renter_id_number
|
|
1974
|
+
@renter_name = renter_name
|
|
1975
|
+
@total = total
|
|
130
1976
|
end
|
|
131
1977
|
end
|
|
132
1978
|
|
|
133
|
-
class
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
1979
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
1980
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
1981
|
+
class SenderDetails < ::Stripe::RequestParams
|
|
1982
|
+
class Address < ::Stripe::RequestParams
|
|
1983
|
+
# City, district, suburb, town, or village.
|
|
1984
|
+
attr_accessor :city
|
|
1985
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1986
|
+
attr_accessor :country
|
|
1987
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1988
|
+
attr_accessor :line1
|
|
1989
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1990
|
+
attr_accessor :line2
|
|
1991
|
+
# ZIP or postal code.
|
|
1992
|
+
attr_accessor :postal_code
|
|
1993
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1994
|
+
attr_accessor :state
|
|
1995
|
+
|
|
1996
|
+
def initialize(
|
|
1997
|
+
city: nil,
|
|
1998
|
+
country: nil,
|
|
1999
|
+
line1: nil,
|
|
2000
|
+
line2: nil,
|
|
2001
|
+
postal_code: nil,
|
|
2002
|
+
state: nil
|
|
2003
|
+
)
|
|
2004
|
+
@city = city
|
|
2005
|
+
@country = country
|
|
2006
|
+
@line1 = line1
|
|
2007
|
+
@line2 = line2
|
|
2008
|
+
@postal_code = postal_code
|
|
2009
|
+
@state = state
|
|
2010
|
+
end
|
|
2011
|
+
end
|
|
140
2012
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
2013
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
2014
|
+
# Day of birth, between 1 and 31.
|
|
2015
|
+
attr_accessor :day
|
|
2016
|
+
# Month of birth, between 1 and 12.
|
|
2017
|
+
attr_accessor :month
|
|
2018
|
+
# Four-digit year of birth.
|
|
2019
|
+
attr_accessor :year
|
|
2020
|
+
|
|
2021
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2022
|
+
@day = day
|
|
2023
|
+
@month = month
|
|
2024
|
+
@year = year
|
|
2025
|
+
end
|
|
2026
|
+
end
|
|
2027
|
+
# Address.
|
|
2028
|
+
attr_accessor :address
|
|
2029
|
+
# Date of birth.
|
|
2030
|
+
attr_accessor :date_of_birth
|
|
2031
|
+
# Email address.
|
|
2032
|
+
attr_accessor :email
|
|
2033
|
+
# Given (first) name.
|
|
2034
|
+
attr_accessor :given_name
|
|
2035
|
+
# Phone number.
|
|
2036
|
+
attr_accessor :phone
|
|
2037
|
+
# Surname (family name).
|
|
2038
|
+
attr_accessor :surname
|
|
147
2039
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
2040
|
+
def initialize(
|
|
2041
|
+
address: nil,
|
|
2042
|
+
date_of_birth: nil,
|
|
2043
|
+
email: nil,
|
|
2044
|
+
given_name: nil,
|
|
2045
|
+
phone: nil,
|
|
2046
|
+
surname: nil
|
|
2047
|
+
)
|
|
2048
|
+
@address = address
|
|
2049
|
+
@date_of_birth = date_of_birth
|
|
2050
|
+
@email = email
|
|
2051
|
+
@given_name = given_name
|
|
2052
|
+
@phone = phone
|
|
2053
|
+
@surname = surname
|
|
2054
|
+
end
|
|
2055
|
+
end
|
|
2056
|
+
# Inline identity details for the sender of this account funding transaction.
|
|
2057
|
+
attr_accessor :sender_details
|
|
153
2058
|
|
|
154
|
-
|
|
155
|
-
|
|
2059
|
+
def initialize(sender_details: nil)
|
|
2060
|
+
@sender_details = sender_details
|
|
2061
|
+
end
|
|
156
2062
|
end
|
|
157
|
-
end
|
|
158
|
-
# The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
159
|
-
#
|
|
160
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
161
|
-
attr_accessor :discount_amount
|
|
162
|
-
# Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.
|
|
163
|
-
#
|
|
164
|
-
# Omit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.
|
|
165
|
-
#
|
|
166
|
-
# For card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error.
|
|
167
|
-
attr_accessor :enforce_arithmetic_validation
|
|
168
|
-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
|
|
169
|
-
attr_accessor :line_items
|
|
170
|
-
# Contains information about the shipping portion of the amount.
|
|
171
|
-
attr_accessor :shipping
|
|
172
|
-
# Contains information about the tax portion of the amount.
|
|
173
|
-
attr_accessor :tax
|
|
174
|
-
|
|
175
|
-
def initialize(
|
|
176
|
-
discount_amount: nil,
|
|
177
|
-
enforce_arithmetic_validation: nil,
|
|
178
|
-
line_items: nil,
|
|
179
|
-
shipping: nil,
|
|
180
|
-
tax: nil
|
|
181
|
-
)
|
|
182
|
-
@discount_amount = discount_amount
|
|
183
|
-
@enforce_arithmetic_validation = enforce_arithmetic_validation
|
|
184
|
-
@line_items = line_items
|
|
185
|
-
@shipping = shipping
|
|
186
|
-
@tax = tax
|
|
187
|
-
end
|
|
188
|
-
end
|
|
189
2063
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
2064
|
+
class BeneficiaryDetails < ::Stripe::RequestParams
|
|
2065
|
+
class Address < ::Stripe::RequestParams
|
|
2066
|
+
# City, district, suburb, town, or village.
|
|
2067
|
+
attr_accessor :city
|
|
2068
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2069
|
+
attr_accessor :country
|
|
2070
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2071
|
+
attr_accessor :line1
|
|
2072
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2073
|
+
attr_accessor :line2
|
|
2074
|
+
# ZIP or postal code.
|
|
2075
|
+
attr_accessor :postal_code
|
|
2076
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2077
|
+
attr_accessor :state
|
|
197
2078
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
2079
|
+
def initialize(
|
|
2080
|
+
city: nil,
|
|
2081
|
+
country: nil,
|
|
2082
|
+
line1: nil,
|
|
2083
|
+
line2: nil,
|
|
2084
|
+
postal_code: nil,
|
|
2085
|
+
state: nil
|
|
2086
|
+
)
|
|
2087
|
+
@city = city
|
|
2088
|
+
@country = country
|
|
2089
|
+
@line1 = line1
|
|
2090
|
+
@line2 = line2
|
|
2091
|
+
@postal_code = postal_code
|
|
2092
|
+
@state = state
|
|
2093
|
+
end
|
|
2094
|
+
end
|
|
203
2095
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
2096
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
2097
|
+
# Day of birth, between 1 and 31.
|
|
2098
|
+
attr_accessor :day
|
|
2099
|
+
# Month of birth, between 1 and 12.
|
|
2100
|
+
attr_accessor :month
|
|
2101
|
+
# Four-digit year of birth.
|
|
2102
|
+
attr_accessor :year
|
|
2103
|
+
|
|
2104
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2105
|
+
@day = day
|
|
2106
|
+
@month = month
|
|
2107
|
+
@year = year
|
|
2108
|
+
end
|
|
2109
|
+
end
|
|
2110
|
+
# An opaque identifier for the beneficiary's account (e.g. bank account number, card first6+last4, or other unique identifier).
|
|
2111
|
+
attr_accessor :account_reference
|
|
2112
|
+
# Address.
|
|
2113
|
+
attr_accessor :address
|
|
2114
|
+
# Date of birth.
|
|
2115
|
+
attr_accessor :date_of_birth
|
|
2116
|
+
# Email address.
|
|
2117
|
+
attr_accessor :email
|
|
2118
|
+
# Given (first) name.
|
|
2119
|
+
attr_accessor :given_name
|
|
2120
|
+
# Phone number.
|
|
2121
|
+
attr_accessor :phone
|
|
2122
|
+
# Surname (family name).
|
|
2123
|
+
attr_accessor :surname
|
|
209
2124
|
|
|
210
|
-
def initialize(
|
|
211
|
-
|
|
2125
|
+
def initialize(
|
|
2126
|
+
account_reference: nil,
|
|
2127
|
+
address: nil,
|
|
2128
|
+
date_of_birth: nil,
|
|
2129
|
+
email: nil,
|
|
2130
|
+
given_name: nil,
|
|
2131
|
+
phone: nil,
|
|
2132
|
+
surname: nil
|
|
2133
|
+
)
|
|
2134
|
+
@account_reference = account_reference
|
|
2135
|
+
@address = address
|
|
2136
|
+
@date_of_birth = date_of_birth
|
|
2137
|
+
@email = email
|
|
2138
|
+
@given_name = given_name
|
|
2139
|
+
@phone = phone
|
|
2140
|
+
@surname = surname
|
|
212
2141
|
end
|
|
213
2142
|
end
|
|
214
|
-
#
|
|
215
|
-
attr_accessor :
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
2143
|
+
# Account funding transaction details including sender information.
|
|
2144
|
+
attr_accessor :account_funding
|
|
2145
|
+
# Inline identity details for the beneficiary of this transaction.
|
|
2146
|
+
attr_accessor :beneficiary_details
|
|
2147
|
+
# The type of money services transaction.
|
|
2148
|
+
attr_accessor :transaction_type
|
|
2149
|
+
|
|
2150
|
+
def initialize(account_funding: nil, beneficiary_details: nil, transaction_type: nil)
|
|
2151
|
+
@account_funding = account_funding
|
|
2152
|
+
@beneficiary_details = beneficiary_details
|
|
2153
|
+
@transaction_type = transaction_type
|
|
219
2154
|
end
|
|
220
2155
|
end
|
|
221
|
-
# Arguments passed in automations
|
|
222
|
-
attr_accessor :inputs
|
|
223
2156
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
2157
|
+
class Subscription < ::Stripe::RequestParams
|
|
2158
|
+
class Affiliate < ::Stripe::RequestParams
|
|
2159
|
+
# The name of the affiliate that originated the purchase.
|
|
2160
|
+
attr_accessor :name
|
|
228
2161
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
2162
|
+
def initialize(name: nil)
|
|
2163
|
+
@name = name
|
|
2164
|
+
end
|
|
2165
|
+
end
|
|
232
2166
|
|
|
233
|
-
class
|
|
234
|
-
# The
|
|
235
|
-
attr_accessor :
|
|
236
|
-
#
|
|
237
|
-
attr_accessor :
|
|
2167
|
+
class BillingInterval < ::Stripe::RequestParams
|
|
2168
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2169
|
+
attr_accessor :count
|
|
2170
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2171
|
+
attr_accessor :interval
|
|
238
2172
|
|
|
239
|
-
def initialize(
|
|
240
|
-
@
|
|
241
|
-
@
|
|
2173
|
+
def initialize(count: nil, interval: nil)
|
|
2174
|
+
@count = count
|
|
2175
|
+
@interval = interval
|
|
242
2176
|
end
|
|
243
2177
|
end
|
|
244
|
-
#
|
|
245
|
-
attr_accessor :
|
|
246
|
-
#
|
|
247
|
-
attr_accessor :
|
|
248
|
-
#
|
|
249
|
-
attr_accessor :
|
|
250
|
-
#
|
|
251
|
-
attr_accessor :
|
|
2178
|
+
# Affiliate details for this purchase.
|
|
2179
|
+
attr_accessor :affiliate
|
|
2180
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
2181
|
+
attr_accessor :auto_renewal
|
|
2182
|
+
# Subscription billing details for this purchase.
|
|
2183
|
+
attr_accessor :billing_interval
|
|
2184
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2185
|
+
attr_accessor :ends_at
|
|
2186
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
2187
|
+
attr_accessor :name
|
|
2188
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2189
|
+
attr_accessor :starts_at
|
|
252
2190
|
|
|
253
|
-
def initialize(
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
2191
|
+
def initialize(
|
|
2192
|
+
affiliate: nil,
|
|
2193
|
+
auto_renewal: nil,
|
|
2194
|
+
billing_interval: nil,
|
|
2195
|
+
ends_at: nil,
|
|
2196
|
+
name: nil,
|
|
2197
|
+
starts_at: nil
|
|
2198
|
+
)
|
|
2199
|
+
@affiliate = affiliate
|
|
2200
|
+
@auto_renewal = auto_renewal
|
|
2201
|
+
@billing_interval = billing_interval
|
|
2202
|
+
@ends_at = ends_at
|
|
2203
|
+
@name = name
|
|
2204
|
+
@starts_at = starts_at
|
|
258
2205
|
end
|
|
259
2206
|
end
|
|
260
|
-
#
|
|
261
|
-
attr_accessor :
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
end
|
|
267
|
-
|
|
268
|
-
class PaymentDetails < ::Stripe::RequestParams
|
|
2207
|
+
# Benefit details for this PaymentIntent
|
|
2208
|
+
attr_accessor :benefit
|
|
2209
|
+
# Car rental details for this PaymentIntent.
|
|
2210
|
+
attr_accessor :car_rental
|
|
2211
|
+
# Car rental data for this PaymentIntent.
|
|
2212
|
+
attr_accessor :car_rental_data
|
|
269
2213
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
270
2214
|
#
|
|
271
2215
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
272
2216
|
attr_accessor :customer_reference
|
|
2217
|
+
# Event details for this PaymentIntent
|
|
2218
|
+
attr_accessor :event_details
|
|
2219
|
+
# Fleet data for this PaymentIntent.
|
|
2220
|
+
attr_accessor :fleet_data
|
|
2221
|
+
# Flight reservation details for this PaymentIntent
|
|
2222
|
+
attr_accessor :flight
|
|
2223
|
+
# Flight data for this PaymentIntent.
|
|
2224
|
+
attr_accessor :flight_data
|
|
2225
|
+
# The ID of the Payment Location for this PaymentIntent.
|
|
2226
|
+
attr_accessor :location
|
|
2227
|
+
# Lodging reservation details for this PaymentIntent
|
|
2228
|
+
attr_accessor :lodging
|
|
2229
|
+
# Lodging data for this PaymentIntent.
|
|
2230
|
+
attr_accessor :lodging_data
|
|
2231
|
+
# Money services details for this PaymentIntent.
|
|
2232
|
+
attr_accessor :money_services
|
|
273
2233
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
274
2234
|
#
|
|
275
2235
|
# 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.
|
|
276
2236
|
attr_accessor :order_reference
|
|
2237
|
+
# Subscription details for this PaymentIntent
|
|
2238
|
+
attr_accessor :subscription
|
|
277
2239
|
|
|
278
|
-
def initialize(
|
|
2240
|
+
def initialize(
|
|
2241
|
+
benefit: nil,
|
|
2242
|
+
car_rental: nil,
|
|
2243
|
+
car_rental_data: nil,
|
|
2244
|
+
customer_reference: nil,
|
|
2245
|
+
event_details: nil,
|
|
2246
|
+
fleet_data: nil,
|
|
2247
|
+
flight: nil,
|
|
2248
|
+
flight_data: nil,
|
|
2249
|
+
location: nil,
|
|
2250
|
+
lodging: nil,
|
|
2251
|
+
lodging_data: nil,
|
|
2252
|
+
money_services: nil,
|
|
2253
|
+
order_reference: nil,
|
|
2254
|
+
subscription: nil
|
|
2255
|
+
)
|
|
2256
|
+
@benefit = benefit
|
|
2257
|
+
@car_rental = car_rental
|
|
2258
|
+
@car_rental_data = car_rental_data
|
|
279
2259
|
@customer_reference = customer_reference
|
|
2260
|
+
@event_details = event_details
|
|
2261
|
+
@fleet_data = fleet_data
|
|
2262
|
+
@flight = flight
|
|
2263
|
+
@flight_data = flight_data
|
|
2264
|
+
@location = location
|
|
2265
|
+
@lodging = lodging
|
|
2266
|
+
@lodging_data = lodging_data
|
|
2267
|
+
@money_services = money_services
|
|
280
2268
|
@order_reference = order_reference
|
|
2269
|
+
@subscription = subscription
|
|
281
2270
|
end
|
|
282
2271
|
end
|
|
283
2272
|
|
|
@@ -418,9 +2407,28 @@ module Stripe
|
|
|
418
2407
|
end
|
|
419
2408
|
end
|
|
420
2409
|
|
|
2410
|
+
class GiftCard < ::Stripe::RequestParams
|
|
2411
|
+
# The gift card ID to redeem
|
|
2412
|
+
attr_accessor :gift_card
|
|
2413
|
+
|
|
2414
|
+
def initialize(gift_card: nil)
|
|
2415
|
+
@gift_card = gift_card
|
|
2416
|
+
end
|
|
2417
|
+
end
|
|
2418
|
+
|
|
421
2419
|
class Giropay < ::Stripe::RequestParams; end
|
|
2420
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
422
2421
|
class Grabpay < ::Stripe::RequestParams; end
|
|
423
2422
|
|
|
2423
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
2424
|
+
# Bank where the account is held.
|
|
2425
|
+
attr_accessor :bank
|
|
2426
|
+
|
|
2427
|
+
def initialize(bank: nil)
|
|
2428
|
+
@bank = bank
|
|
2429
|
+
end
|
|
2430
|
+
end
|
|
2431
|
+
|
|
424
2432
|
class Ideal < ::Stripe::RequestParams
|
|
425
2433
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
426
2434
|
attr_accessor :bank
|
|
@@ -518,6 +2526,7 @@ module Stripe
|
|
|
518
2526
|
class Payco < ::Stripe::RequestParams; end
|
|
519
2527
|
class Paynow < ::Stripe::RequestParams; end
|
|
520
2528
|
class Paypal < ::Stripe::RequestParams; end
|
|
2529
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
521
2530
|
|
|
522
2531
|
class Payto < ::Stripe::RequestParams
|
|
523
2532
|
# The account number for the bank account.
|
|
@@ -536,6 +2545,7 @@ module Stripe
|
|
|
536
2545
|
|
|
537
2546
|
class Pix < ::Stripe::RequestParams; end
|
|
538
2547
|
class Promptpay < ::Stripe::RequestParams; end
|
|
2548
|
+
class Qris < ::Stripe::RequestParams; end
|
|
539
2549
|
|
|
540
2550
|
class RadarOptions < ::Stripe::RequestParams
|
|
541
2551
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -546,6 +2556,29 @@ module Stripe
|
|
|
546
2556
|
end
|
|
547
2557
|
end
|
|
548
2558
|
|
|
2559
|
+
class Rechnung < ::Stripe::RequestParams
|
|
2560
|
+
class Dob < ::Stripe::RequestParams
|
|
2561
|
+
# The day of birth, between 1 and 31.
|
|
2562
|
+
attr_accessor :day
|
|
2563
|
+
# The month of birth, between 1 and 12.
|
|
2564
|
+
attr_accessor :month
|
|
2565
|
+
# The four-digit year of birth.
|
|
2566
|
+
attr_accessor :year
|
|
2567
|
+
|
|
2568
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2569
|
+
@day = day
|
|
2570
|
+
@month = month
|
|
2571
|
+
@year = year
|
|
2572
|
+
end
|
|
2573
|
+
end
|
|
2574
|
+
# Customer's date of birth
|
|
2575
|
+
attr_accessor :dob
|
|
2576
|
+
|
|
2577
|
+
def initialize(dob: nil)
|
|
2578
|
+
@dob = dob
|
|
2579
|
+
end
|
|
2580
|
+
end
|
|
2581
|
+
|
|
549
2582
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
550
2583
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
551
2584
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -560,6 +2593,8 @@ module Stripe
|
|
|
560
2593
|
end
|
|
561
2594
|
end
|
|
562
2595
|
|
|
2596
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
2597
|
+
|
|
563
2598
|
class Sofort < ::Stripe::RequestParams
|
|
564
2599
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
565
2600
|
attr_accessor :country
|
|
@@ -569,8 +2604,18 @@ module Stripe
|
|
|
569
2604
|
end
|
|
570
2605
|
end
|
|
571
2606
|
|
|
2607
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
2608
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2609
|
+
attr_accessor :account
|
|
2610
|
+
|
|
2611
|
+
def initialize(account: nil)
|
|
2612
|
+
@account = account
|
|
2613
|
+
end
|
|
2614
|
+
end
|
|
2615
|
+
|
|
572
2616
|
class Sunbit < ::Stripe::RequestParams; end
|
|
573
2617
|
class Swish < ::Stripe::RequestParams; end
|
|
2618
|
+
class Tamara < ::Stripe::RequestParams; end
|
|
574
2619
|
class Twint < ::Stripe::RequestParams; end
|
|
575
2620
|
|
|
576
2621
|
class Upi < ::Stripe::RequestParams
|
|
@@ -668,10 +2713,16 @@ module Stripe
|
|
|
668
2713
|
attr_accessor :eps
|
|
669
2714
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
|
670
2715
|
attr_accessor :fpx
|
|
2716
|
+
# If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method.
|
|
2717
|
+
attr_accessor :gift_card
|
|
671
2718
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
672
2719
|
attr_accessor :giropay
|
|
2720
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2721
|
+
attr_accessor :gopay
|
|
673
2722
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
674
2723
|
attr_accessor :grabpay
|
|
2724
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2725
|
+
attr_accessor :id_bank_transfer
|
|
675
2726
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
676
2727
|
attr_accessor :ideal
|
|
677
2728
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -710,14 +2761,20 @@ module Stripe
|
|
|
710
2761
|
attr_accessor :paynow
|
|
711
2762
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
712
2763
|
attr_accessor :paypal
|
|
2764
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
2765
|
+
attr_accessor :paypay
|
|
713
2766
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
714
2767
|
attr_accessor :payto
|
|
715
2768
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
716
2769
|
attr_accessor :pix
|
|
717
2770
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
718
2771
|
attr_accessor :promptpay
|
|
2772
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2773
|
+
attr_accessor :qris
|
|
719
2774
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
720
2775
|
attr_accessor :radar_options
|
|
2776
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2777
|
+
attr_accessor :rechnung
|
|
721
2778
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
722
2779
|
attr_accessor :revolut_pay
|
|
723
2780
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -728,12 +2785,20 @@ module Stripe
|
|
|
728
2785
|
attr_accessor :scalapay
|
|
729
2786
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
730
2787
|
attr_accessor :sepa_debit
|
|
2788
|
+
# ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
2789
|
+
attr_accessor :shared_payment_granted_token
|
|
2790
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2791
|
+
attr_accessor :shopeepay
|
|
731
2792
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
732
2793
|
attr_accessor :sofort
|
|
2794
|
+
# This hash contains details about the Stripe balance payment method.
|
|
2795
|
+
attr_accessor :stripe_balance
|
|
733
2796
|
# If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
734
2797
|
attr_accessor :sunbit
|
|
735
2798
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
736
2799
|
attr_accessor :swish
|
|
2800
|
+
# If this is a `tamara` PaymentMethod, this hash contains details about the Tamara payment method.
|
|
2801
|
+
attr_accessor :tamara
|
|
737
2802
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
738
2803
|
attr_accessor :twint
|
|
739
2804
|
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
|
@@ -768,8 +2833,11 @@ module Stripe
|
|
|
768
2833
|
customer_balance: nil,
|
|
769
2834
|
eps: nil,
|
|
770
2835
|
fpx: nil,
|
|
2836
|
+
gift_card: nil,
|
|
771
2837
|
giropay: nil,
|
|
2838
|
+
gopay: nil,
|
|
772
2839
|
grabpay: nil,
|
|
2840
|
+
id_bank_transfer: nil,
|
|
773
2841
|
ideal: nil,
|
|
774
2842
|
interac_present: nil,
|
|
775
2843
|
kakao_pay: nil,
|
|
@@ -789,18 +2857,25 @@ module Stripe
|
|
|
789
2857
|
payco: nil,
|
|
790
2858
|
paynow: nil,
|
|
791
2859
|
paypal: nil,
|
|
2860
|
+
paypay: nil,
|
|
792
2861
|
payto: nil,
|
|
793
2862
|
pix: nil,
|
|
794
2863
|
promptpay: nil,
|
|
2864
|
+
qris: nil,
|
|
795
2865
|
radar_options: nil,
|
|
2866
|
+
rechnung: nil,
|
|
796
2867
|
revolut_pay: nil,
|
|
797
2868
|
samsung_pay: nil,
|
|
798
2869
|
satispay: nil,
|
|
799
2870
|
scalapay: nil,
|
|
800
2871
|
sepa_debit: nil,
|
|
2872
|
+
shared_payment_granted_token: nil,
|
|
2873
|
+
shopeepay: nil,
|
|
801
2874
|
sofort: nil,
|
|
2875
|
+
stripe_balance: nil,
|
|
802
2876
|
sunbit: nil,
|
|
803
2877
|
swish: nil,
|
|
2878
|
+
tamara: nil,
|
|
804
2879
|
twint: nil,
|
|
805
2880
|
type: nil,
|
|
806
2881
|
upi: nil,
|
|
@@ -828,8 +2903,11 @@ module Stripe
|
|
|
828
2903
|
@customer_balance = customer_balance
|
|
829
2904
|
@eps = eps
|
|
830
2905
|
@fpx = fpx
|
|
2906
|
+
@gift_card = gift_card
|
|
831
2907
|
@giropay = giropay
|
|
2908
|
+
@gopay = gopay
|
|
832
2909
|
@grabpay = grabpay
|
|
2910
|
+
@id_bank_transfer = id_bank_transfer
|
|
833
2911
|
@ideal = ideal
|
|
834
2912
|
@interac_present = interac_present
|
|
835
2913
|
@kakao_pay = kakao_pay
|
|
@@ -849,18 +2927,25 @@ module Stripe
|
|
|
849
2927
|
@payco = payco
|
|
850
2928
|
@paynow = paynow
|
|
851
2929
|
@paypal = paypal
|
|
2930
|
+
@paypay = paypay
|
|
852
2931
|
@payto = payto
|
|
853
2932
|
@pix = pix
|
|
854
2933
|
@promptpay = promptpay
|
|
2934
|
+
@qris = qris
|
|
855
2935
|
@radar_options = radar_options
|
|
2936
|
+
@rechnung = rechnung
|
|
856
2937
|
@revolut_pay = revolut_pay
|
|
857
2938
|
@samsung_pay = samsung_pay
|
|
858
2939
|
@satispay = satispay
|
|
859
2940
|
@scalapay = scalapay
|
|
860
2941
|
@sepa_debit = sepa_debit
|
|
2942
|
+
@shared_payment_granted_token = shared_payment_granted_token
|
|
2943
|
+
@shopeepay = shopeepay
|
|
861
2944
|
@sofort = sofort
|
|
2945
|
+
@stripe_balance = stripe_balance
|
|
862
2946
|
@sunbit = sunbit
|
|
863
2947
|
@swish = swish
|
|
2948
|
+
@tamara = tamara
|
|
864
2949
|
@twint = twint
|
|
865
2950
|
@type = type
|
|
866
2951
|
@upi = upi
|
|
@@ -1160,6 +3245,18 @@ module Stripe
|
|
|
1160
3245
|
end
|
|
1161
3246
|
|
|
1162
3247
|
class Card < ::Stripe::RequestParams
|
|
3248
|
+
class CaptureDelay < ::Stripe::RequestParams
|
|
3249
|
+
# Attribute for param field days
|
|
3250
|
+
attr_accessor :days
|
|
3251
|
+
# Attribute for param field hours
|
|
3252
|
+
attr_accessor :hours
|
|
3253
|
+
|
|
3254
|
+
def initialize(days: nil, hours: nil)
|
|
3255
|
+
@days = days
|
|
3256
|
+
@hours = hours
|
|
3257
|
+
end
|
|
3258
|
+
end
|
|
3259
|
+
|
|
1163
3260
|
class Installments < ::Stripe::RequestParams
|
|
1164
3261
|
class Plan < ::Stripe::RequestParams
|
|
1165
3262
|
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
|
@@ -1233,6 +3330,73 @@ module Stripe
|
|
|
1233
3330
|
end
|
|
1234
3331
|
end
|
|
1235
3332
|
|
|
3333
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
3334
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
3335
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
3336
|
+
# The category of digital asset being acquired through this account funding transaction.
|
|
3337
|
+
attr_accessor :digital_asset_category
|
|
3338
|
+
|
|
3339
|
+
def initialize(digital_asset_category: nil)
|
|
3340
|
+
@digital_asset_category = digital_asset_category
|
|
3341
|
+
end
|
|
3342
|
+
end
|
|
3343
|
+
# Payment method specific account funding transaction details.
|
|
3344
|
+
attr_accessor :account_funding
|
|
3345
|
+
|
|
3346
|
+
def initialize(account_funding: nil)
|
|
3347
|
+
@account_funding = account_funding
|
|
3348
|
+
end
|
|
3349
|
+
end
|
|
3350
|
+
# Money services details for payment method specific funding fields.
|
|
3351
|
+
attr_accessor :money_services
|
|
3352
|
+
|
|
3353
|
+
def initialize(money_services: nil)
|
|
3354
|
+
@money_services = money_services
|
|
3355
|
+
end
|
|
3356
|
+
end
|
|
3357
|
+
|
|
3358
|
+
class StatementDetails < ::Stripe::RequestParams
|
|
3359
|
+
class Address < ::Stripe::RequestParams
|
|
3360
|
+
# City, district, suburb, town, or village.
|
|
3361
|
+
attr_accessor :city
|
|
3362
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3363
|
+
attr_accessor :country
|
|
3364
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
3365
|
+
attr_accessor :line1
|
|
3366
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
3367
|
+
attr_accessor :line2
|
|
3368
|
+
# ZIP or postal code.
|
|
3369
|
+
attr_accessor :postal_code
|
|
3370
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3371
|
+
attr_accessor :state
|
|
3372
|
+
|
|
3373
|
+
def initialize(
|
|
3374
|
+
city: nil,
|
|
3375
|
+
country: nil,
|
|
3376
|
+
line1: nil,
|
|
3377
|
+
line2: nil,
|
|
3378
|
+
postal_code: nil,
|
|
3379
|
+
state: nil
|
|
3380
|
+
)
|
|
3381
|
+
@city = city
|
|
3382
|
+
@country = country
|
|
3383
|
+
@line1 = line1
|
|
3384
|
+
@line2 = line2
|
|
3385
|
+
@postal_code = postal_code
|
|
3386
|
+
@state = state
|
|
3387
|
+
end
|
|
3388
|
+
end
|
|
3389
|
+
# Please pass in an address that is within your Stripe user account country
|
|
3390
|
+
attr_accessor :address
|
|
3391
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
|
3392
|
+
attr_accessor :phone
|
|
3393
|
+
|
|
3394
|
+
def initialize(address: nil, phone: nil)
|
|
3395
|
+
@address = address
|
|
3396
|
+
@phone = phone
|
|
3397
|
+
end
|
|
3398
|
+
end
|
|
3399
|
+
|
|
1236
3400
|
class ThreeDSecure < ::Stripe::RequestParams
|
|
1237
3401
|
class NetworkOptions < ::Stripe::RequestParams
|
|
1238
3402
|
class CartesBancaires < ::Stripe::RequestParams
|
|
@@ -1307,6 +3471,14 @@ module Stripe
|
|
|
1307
3471
|
@version = version
|
|
1308
3472
|
end
|
|
1309
3473
|
end
|
|
3474
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3475
|
+
#
|
|
3476
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3477
|
+
attr_accessor :capture_by
|
|
3478
|
+
# The number of days or hours to delay the capture of the funds. You can set both days and hours as long as the total delay does not exceed 30 days.
|
|
3479
|
+
#
|
|
3480
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3481
|
+
attr_accessor :capture_delay
|
|
1310
3482
|
# Controls when the funds are captured from the customer's account.
|
|
1311
3483
|
#
|
|
1312
3484
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1327,6 +3499,10 @@ module Stripe
|
|
|
1327
3499
|
attr_accessor :moto
|
|
1328
3500
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
|
1329
3501
|
attr_accessor :network
|
|
3502
|
+
# Payment details for payment method specific funding fields.
|
|
3503
|
+
attr_accessor :payment_details
|
|
3504
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3505
|
+
attr_accessor :request_decremental_authorization
|
|
1330
3506
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
1331
3507
|
attr_accessor :request_extended_authorization
|
|
1332
3508
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1335,6 +3511,10 @@ module Stripe
|
|
|
1335
3511
|
attr_accessor :request_multicapture
|
|
1336
3512
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
1337
3513
|
attr_accessor :request_overcapture
|
|
3514
|
+
# Request partial authorization on this PaymentIntent.
|
|
3515
|
+
attr_accessor :request_partial_authorization
|
|
3516
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3517
|
+
attr_accessor :request_reauthorization
|
|
1338
3518
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
1339
3519
|
attr_accessor :request_three_d_secure
|
|
1340
3520
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -1353,48 +3533,101 @@ module Stripe
|
|
|
1353
3533
|
attr_accessor :statement_descriptor_suffix_kana
|
|
1354
3534
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
1355
3535
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
3536
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
3537
|
+
attr_accessor :statement_details
|
|
1356
3538
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
1357
3539
|
# the authentication details to use for this payment.
|
|
1358
3540
|
attr_accessor :three_d_secure
|
|
1359
3541
|
|
|
1360
3542
|
def initialize(
|
|
3543
|
+
capture_by: nil,
|
|
3544
|
+
capture_delay: nil,
|
|
1361
3545
|
capture_method: nil,
|
|
1362
3546
|
cvc_token: nil,
|
|
1363
3547
|
installments: nil,
|
|
1364
3548
|
mandate_options: nil,
|
|
1365
3549
|
moto: nil,
|
|
1366
3550
|
network: nil,
|
|
3551
|
+
payment_details: nil,
|
|
3552
|
+
request_decremental_authorization: nil,
|
|
1367
3553
|
request_extended_authorization: nil,
|
|
1368
3554
|
request_incremental_authorization: nil,
|
|
1369
3555
|
request_multicapture: nil,
|
|
1370
3556
|
request_overcapture: nil,
|
|
3557
|
+
request_partial_authorization: nil,
|
|
3558
|
+
request_reauthorization: nil,
|
|
1371
3559
|
request_three_d_secure: nil,
|
|
1372
3560
|
require_cvc_recollection: nil,
|
|
1373
3561
|
setup_future_usage: nil,
|
|
1374
3562
|
statement_descriptor_suffix_kana: nil,
|
|
1375
3563
|
statement_descriptor_suffix_kanji: nil,
|
|
3564
|
+
statement_details: nil,
|
|
1376
3565
|
three_d_secure: nil
|
|
1377
3566
|
)
|
|
3567
|
+
@capture_by = capture_by
|
|
3568
|
+
@capture_delay = capture_delay
|
|
1378
3569
|
@capture_method = capture_method
|
|
1379
3570
|
@cvc_token = cvc_token
|
|
1380
3571
|
@installments = installments
|
|
1381
3572
|
@mandate_options = mandate_options
|
|
1382
3573
|
@moto = moto
|
|
1383
3574
|
@network = network
|
|
3575
|
+
@payment_details = payment_details
|
|
3576
|
+
@request_decremental_authorization = request_decremental_authorization
|
|
1384
3577
|
@request_extended_authorization = request_extended_authorization
|
|
1385
3578
|
@request_incremental_authorization = request_incremental_authorization
|
|
1386
3579
|
@request_multicapture = request_multicapture
|
|
1387
3580
|
@request_overcapture = request_overcapture
|
|
3581
|
+
@request_partial_authorization = request_partial_authorization
|
|
3582
|
+
@request_reauthorization = request_reauthorization
|
|
1388
3583
|
@request_three_d_secure = request_three_d_secure
|
|
1389
3584
|
@require_cvc_recollection = require_cvc_recollection
|
|
1390
3585
|
@setup_future_usage = setup_future_usage
|
|
1391
3586
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
1392
3587
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
3588
|
+
@statement_details = statement_details
|
|
1393
3589
|
@three_d_secure = three_d_secure
|
|
1394
3590
|
end
|
|
1395
3591
|
end
|
|
1396
3592
|
|
|
1397
3593
|
class CardPresent < ::Stripe::RequestParams
|
|
3594
|
+
class CaptureDelay < ::Stripe::RequestParams
|
|
3595
|
+
# Attribute for param field days
|
|
3596
|
+
attr_accessor :days
|
|
3597
|
+
# Attribute for param field hours
|
|
3598
|
+
attr_accessor :hours
|
|
3599
|
+
|
|
3600
|
+
def initialize(days: nil, hours: nil)
|
|
3601
|
+
@days = days
|
|
3602
|
+
@hours = hours
|
|
3603
|
+
end
|
|
3604
|
+
end
|
|
3605
|
+
|
|
3606
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
3607
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
3608
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
3609
|
+
# The category of digital asset being acquired through this account funding transaction.
|
|
3610
|
+
attr_accessor :digital_asset_category
|
|
3611
|
+
|
|
3612
|
+
def initialize(digital_asset_category: nil)
|
|
3613
|
+
@digital_asset_category = digital_asset_category
|
|
3614
|
+
end
|
|
3615
|
+
end
|
|
3616
|
+
# Payment method specific account funding transaction details.
|
|
3617
|
+
attr_accessor :account_funding
|
|
3618
|
+
|
|
3619
|
+
def initialize(account_funding: nil)
|
|
3620
|
+
@account_funding = account_funding
|
|
3621
|
+
end
|
|
3622
|
+
end
|
|
3623
|
+
# Money services details for payment method specific funding fields.
|
|
3624
|
+
attr_accessor :money_services
|
|
3625
|
+
|
|
3626
|
+
def initialize(money_services: nil)
|
|
3627
|
+
@money_services = money_services
|
|
3628
|
+
end
|
|
3629
|
+
end
|
|
3630
|
+
|
|
1398
3631
|
class Routing < ::Stripe::RequestParams
|
|
1399
3632
|
# Routing requested priority
|
|
1400
3633
|
attr_accessor :requested_priority
|
|
@@ -1403,28 +3636,52 @@ module Stripe
|
|
|
1403
3636
|
@requested_priority = requested_priority
|
|
1404
3637
|
end
|
|
1405
3638
|
end
|
|
3639
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3640
|
+
#
|
|
3641
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3642
|
+
attr_accessor :capture_by
|
|
3643
|
+
# The number of days or hours to delay the capture of the funds. You can set both days and hours as long as the total delay does not exceed 30 days.
|
|
3644
|
+
#
|
|
3645
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3646
|
+
attr_accessor :capture_delay
|
|
1406
3647
|
# Controls when the funds are captured from the customer's account.
|
|
1407
3648
|
#
|
|
1408
3649
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
1409
3650
|
#
|
|
1410
3651
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
1411
3652
|
attr_accessor :capture_method
|
|
3653
|
+
# Payment details for payment method specific funding transaction fields.
|
|
3654
|
+
attr_accessor :payment_details
|
|
1412
3655
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
1413
3656
|
attr_accessor :request_extended_authorization
|
|
1414
3657
|
# Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
|
|
1415
3658
|
attr_accessor :request_incremental_authorization_support
|
|
3659
|
+
# Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
|
|
3660
|
+
attr_accessor :request_multicapture
|
|
3661
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3662
|
+
attr_accessor :request_reauthorization
|
|
1416
3663
|
# Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
|
|
1417
3664
|
attr_accessor :routing
|
|
1418
3665
|
|
|
1419
3666
|
def initialize(
|
|
3667
|
+
capture_by: nil,
|
|
3668
|
+
capture_delay: nil,
|
|
1420
3669
|
capture_method: nil,
|
|
3670
|
+
payment_details: nil,
|
|
1421
3671
|
request_extended_authorization: nil,
|
|
1422
3672
|
request_incremental_authorization_support: nil,
|
|
3673
|
+
request_multicapture: nil,
|
|
3674
|
+
request_reauthorization: nil,
|
|
1423
3675
|
routing: nil
|
|
1424
3676
|
)
|
|
3677
|
+
@capture_by = capture_by
|
|
3678
|
+
@capture_delay = capture_delay
|
|
1425
3679
|
@capture_method = capture_method
|
|
3680
|
+
@payment_details = payment_details
|
|
1426
3681
|
@request_extended_authorization = request_extended_authorization
|
|
1427
3682
|
@request_incremental_authorization_support = request_incremental_authorization_support
|
|
3683
|
+
@request_multicapture = request_multicapture
|
|
3684
|
+
@request_reauthorization = request_reauthorization
|
|
1428
3685
|
@routing = routing
|
|
1429
3686
|
end
|
|
1430
3687
|
end
|
|
@@ -1454,6 +3711,44 @@ module Stripe
|
|
|
1454
3711
|
end
|
|
1455
3712
|
|
|
1456
3713
|
class Crypto < ::Stripe::RequestParams
|
|
3714
|
+
class AmountReconciliation < ::Stripe::RequestParams
|
|
3715
|
+
# Controls how crypto funding amounts are reconciled for the PaymentIntent.
|
|
3716
|
+
attr_accessor :type
|
|
3717
|
+
|
|
3718
|
+
def initialize(type: nil)
|
|
3719
|
+
@type = type
|
|
3720
|
+
end
|
|
3721
|
+
end
|
|
3722
|
+
|
|
3723
|
+
class DepositOptions < ::Stripe::RequestParams
|
|
3724
|
+
# The blockchain networks to support for deposits. Learn more about [supported networks and tokens](https://docs.stripe.com/payments/deposit-mode-stablecoin-payments#token-and-network-support).
|
|
3725
|
+
attr_accessor :networks
|
|
3726
|
+
# If true, provisions a permanent per-customer deposit address reused across PaymentIntents.
|
|
3727
|
+
attr_accessor :static_address
|
|
3728
|
+
|
|
3729
|
+
def initialize(networks: nil, static_address: nil)
|
|
3730
|
+
@networks = networks
|
|
3731
|
+
@static_address = static_address
|
|
3732
|
+
end
|
|
3733
|
+
end
|
|
3734
|
+
|
|
3735
|
+
class TransactionVerificationOptions < ::Stripe::RequestParams
|
|
3736
|
+
# The network on which the transaction was submitted.
|
|
3737
|
+
attr_accessor :network
|
|
3738
|
+
# The hash of the onchain transaction to verify.
|
|
3739
|
+
attr_accessor :transaction_hash
|
|
3740
|
+
|
|
3741
|
+
def initialize(network: nil, transaction_hash: nil)
|
|
3742
|
+
@network = network
|
|
3743
|
+
@transaction_hash = transaction_hash
|
|
3744
|
+
end
|
|
3745
|
+
end
|
|
3746
|
+
# Controls how crypto funding amounts are reconciled for this PaymentIntent.
|
|
3747
|
+
attr_accessor :amount_reconciliation
|
|
3748
|
+
# Specific configuration for this PaymentIntent when the mode is `deposit`.
|
|
3749
|
+
attr_accessor :deposit_options
|
|
3750
|
+
# The mode of the crypto payment.
|
|
3751
|
+
attr_accessor :mode
|
|
1457
3752
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1458
3753
|
#
|
|
1459
3754
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1464,9 +3759,21 @@ module Stripe
|
|
|
1464
3759
|
#
|
|
1465
3760
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
1466
3761
|
attr_accessor :setup_future_usage
|
|
3762
|
+
# Specific configuration for this PaymentIntent when the mode is `transaction_verification`.
|
|
3763
|
+
attr_accessor :transaction_verification_options
|
|
1467
3764
|
|
|
1468
|
-
def initialize(
|
|
3765
|
+
def initialize(
|
|
3766
|
+
amount_reconciliation: nil,
|
|
3767
|
+
deposit_options: nil,
|
|
3768
|
+
mode: nil,
|
|
3769
|
+
setup_future_usage: nil,
|
|
3770
|
+
transaction_verification_options: nil
|
|
3771
|
+
)
|
|
3772
|
+
@amount_reconciliation = amount_reconciliation
|
|
3773
|
+
@deposit_options = deposit_options
|
|
3774
|
+
@mode = mode
|
|
1469
3775
|
@setup_future_usage = setup_future_usage
|
|
3776
|
+
@transaction_verification_options = transaction_verification_options
|
|
1470
3777
|
end
|
|
1471
3778
|
end
|
|
1472
3779
|
|
|
@@ -1551,6 +3858,25 @@ module Stripe
|
|
|
1551
3858
|
end
|
|
1552
3859
|
end
|
|
1553
3860
|
|
|
3861
|
+
class GiftCard < ::Stripe::RequestParams
|
|
3862
|
+
# Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card.
|
|
3863
|
+
attr_accessor :ignore_application_fee
|
|
3864
|
+
# Set to `yes` to ignore transfer data on the PaymentIntent when redeeming this gift card.
|
|
3865
|
+
attr_accessor :ignore_transfer_data
|
|
3866
|
+
# Request partial authorization on this PaymentIntent.
|
|
3867
|
+
attr_accessor :request_partial_authorization
|
|
3868
|
+
|
|
3869
|
+
def initialize(
|
|
3870
|
+
ignore_application_fee: nil,
|
|
3871
|
+
ignore_transfer_data: nil,
|
|
3872
|
+
request_partial_authorization: nil
|
|
3873
|
+
)
|
|
3874
|
+
@ignore_application_fee = ignore_application_fee
|
|
3875
|
+
@ignore_transfer_data = ignore_transfer_data
|
|
3876
|
+
@request_partial_authorization = request_partial_authorization
|
|
3877
|
+
end
|
|
3878
|
+
end
|
|
3879
|
+
|
|
1554
3880
|
class Giropay < ::Stripe::RequestParams
|
|
1555
3881
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1556
3882
|
#
|
|
@@ -1568,6 +3894,23 @@ module Stripe
|
|
|
1568
3894
|
end
|
|
1569
3895
|
end
|
|
1570
3896
|
|
|
3897
|
+
class Gopay < ::Stripe::RequestParams
|
|
3898
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3899
|
+
#
|
|
3900
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3901
|
+
#
|
|
3902
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3903
|
+
#
|
|
3904
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3905
|
+
#
|
|
3906
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3907
|
+
attr_accessor :setup_future_usage
|
|
3908
|
+
|
|
3909
|
+
def initialize(setup_future_usage: nil)
|
|
3910
|
+
@setup_future_usage = setup_future_usage
|
|
3911
|
+
end
|
|
3912
|
+
end
|
|
3913
|
+
|
|
1571
3914
|
class Grabpay < ::Stripe::RequestParams
|
|
1572
3915
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1573
3916
|
#
|
|
@@ -1585,6 +3928,29 @@ module Stripe
|
|
|
1585
3928
|
end
|
|
1586
3929
|
end
|
|
1587
3930
|
|
|
3931
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
3932
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
3933
|
+
attr_accessor :expires_after
|
|
3934
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
3935
|
+
attr_accessor :expires_at
|
|
3936
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3937
|
+
#
|
|
3938
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3939
|
+
#
|
|
3940
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3941
|
+
#
|
|
3942
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3943
|
+
#
|
|
3944
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3945
|
+
attr_accessor :setup_future_usage
|
|
3946
|
+
|
|
3947
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
3948
|
+
@expires_after = expires_after
|
|
3949
|
+
@expires_at = expires_at
|
|
3950
|
+
@setup_future_usage = setup_future_usage
|
|
3951
|
+
end
|
|
3952
|
+
end
|
|
3953
|
+
|
|
1588
3954
|
class Ideal < ::Stripe::RequestParams
|
|
1589
3955
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1590
3956
|
#
|
|
@@ -1691,6 +4057,939 @@ module Stripe
|
|
|
1691
4057
|
@reference = reference
|
|
1692
4058
|
end
|
|
1693
4059
|
end
|
|
4060
|
+
|
|
4061
|
+
class SupplementaryPurchaseData < ::Stripe::RequestParams
|
|
4062
|
+
class BusReservationDetail < ::Stripe::RequestParams
|
|
4063
|
+
class Arrival < ::Stripe::RequestParams
|
|
4064
|
+
class Address < ::Stripe::RequestParams
|
|
4065
|
+
# The city or town.
|
|
4066
|
+
attr_accessor :city
|
|
4067
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4068
|
+
attr_accessor :country
|
|
4069
|
+
# The postal code formatted according to country.
|
|
4070
|
+
attr_accessor :postal_code
|
|
4071
|
+
# The state, county, province, or region formatted according to country.
|
|
4072
|
+
attr_accessor :region
|
|
4073
|
+
# Line 1 of the street address.
|
|
4074
|
+
attr_accessor :street_address
|
|
4075
|
+
# Line 2 of the street address.
|
|
4076
|
+
attr_accessor :street_address2
|
|
4077
|
+
|
|
4078
|
+
def initialize(
|
|
4079
|
+
city: nil,
|
|
4080
|
+
country: nil,
|
|
4081
|
+
postal_code: nil,
|
|
4082
|
+
region: nil,
|
|
4083
|
+
street_address: nil,
|
|
4084
|
+
street_address2: nil
|
|
4085
|
+
)
|
|
4086
|
+
@city = city
|
|
4087
|
+
@country = country
|
|
4088
|
+
@postal_code = postal_code
|
|
4089
|
+
@region = region
|
|
4090
|
+
@street_address = street_address
|
|
4091
|
+
@street_address2 = street_address2
|
|
4092
|
+
end
|
|
4093
|
+
end
|
|
4094
|
+
# Address of the arrival location.
|
|
4095
|
+
attr_accessor :address
|
|
4096
|
+
# Identifier name or reference for the arrival location.
|
|
4097
|
+
attr_accessor :arrival_location
|
|
4098
|
+
|
|
4099
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4100
|
+
@address = address
|
|
4101
|
+
@arrival_location = arrival_location
|
|
4102
|
+
end
|
|
4103
|
+
end
|
|
4104
|
+
|
|
4105
|
+
class Departure < ::Stripe::RequestParams
|
|
4106
|
+
class Address < ::Stripe::RequestParams
|
|
4107
|
+
# The city or town.
|
|
4108
|
+
attr_accessor :city
|
|
4109
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4110
|
+
attr_accessor :country
|
|
4111
|
+
# The postal code formatted according to country.
|
|
4112
|
+
attr_accessor :postal_code
|
|
4113
|
+
# The state, county, province, or region formatted according to country.
|
|
4114
|
+
attr_accessor :region
|
|
4115
|
+
# Line 1 of the street address.
|
|
4116
|
+
attr_accessor :street_address
|
|
4117
|
+
# Line 2 of the street address.
|
|
4118
|
+
attr_accessor :street_address2
|
|
4119
|
+
|
|
4120
|
+
def initialize(
|
|
4121
|
+
city: nil,
|
|
4122
|
+
country: nil,
|
|
4123
|
+
postal_code: nil,
|
|
4124
|
+
region: nil,
|
|
4125
|
+
street_address: nil,
|
|
4126
|
+
street_address2: nil
|
|
4127
|
+
)
|
|
4128
|
+
@city = city
|
|
4129
|
+
@country = country
|
|
4130
|
+
@postal_code = postal_code
|
|
4131
|
+
@region = region
|
|
4132
|
+
@street_address = street_address
|
|
4133
|
+
@street_address2 = street_address2
|
|
4134
|
+
end
|
|
4135
|
+
end
|
|
4136
|
+
# Address of the departure location.
|
|
4137
|
+
attr_accessor :address
|
|
4138
|
+
# Timestamp of departure.
|
|
4139
|
+
attr_accessor :departs_at
|
|
4140
|
+
# Identifier name or reference for the origin location.
|
|
4141
|
+
attr_accessor :departure_location
|
|
4142
|
+
|
|
4143
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4144
|
+
@address = address
|
|
4145
|
+
@departs_at = departs_at
|
|
4146
|
+
@departure_location = departure_location
|
|
4147
|
+
end
|
|
4148
|
+
end
|
|
4149
|
+
|
|
4150
|
+
class Insurance < ::Stripe::RequestParams
|
|
4151
|
+
# Insurance currency.
|
|
4152
|
+
attr_accessor :currency
|
|
4153
|
+
# Name of the company providing the insurance.
|
|
4154
|
+
attr_accessor :insurance_company_name
|
|
4155
|
+
# Type of insurance.
|
|
4156
|
+
attr_accessor :insurance_type
|
|
4157
|
+
# Price of insurance in cents.
|
|
4158
|
+
attr_accessor :price
|
|
4159
|
+
|
|
4160
|
+
def initialize(
|
|
4161
|
+
currency: nil,
|
|
4162
|
+
insurance_company_name: nil,
|
|
4163
|
+
insurance_type: nil,
|
|
4164
|
+
price: nil
|
|
4165
|
+
)
|
|
4166
|
+
@currency = currency
|
|
4167
|
+
@insurance_company_name = insurance_company_name
|
|
4168
|
+
@insurance_type = insurance_type
|
|
4169
|
+
@price = price
|
|
4170
|
+
end
|
|
4171
|
+
end
|
|
4172
|
+
|
|
4173
|
+
class Passenger < ::Stripe::RequestParams
|
|
4174
|
+
# The family name of the person.
|
|
4175
|
+
attr_accessor :family_name
|
|
4176
|
+
# The given name of the person.
|
|
4177
|
+
attr_accessor :given_name
|
|
4178
|
+
|
|
4179
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4180
|
+
@family_name = family_name
|
|
4181
|
+
@given_name = given_name
|
|
4182
|
+
end
|
|
4183
|
+
end
|
|
4184
|
+
# Name of associated or partner company for the service.
|
|
4185
|
+
attr_accessor :affiliate_name
|
|
4186
|
+
# Arrival details.
|
|
4187
|
+
attr_accessor :arrival
|
|
4188
|
+
# Name of transportation company.
|
|
4189
|
+
attr_accessor :carrier_name
|
|
4190
|
+
# Currency.
|
|
4191
|
+
attr_accessor :currency
|
|
4192
|
+
# Departure details.
|
|
4193
|
+
attr_accessor :departure
|
|
4194
|
+
# List of insurances for this reservation.
|
|
4195
|
+
attr_accessor :insurances
|
|
4196
|
+
# List of passengers that this reservation applies to.
|
|
4197
|
+
attr_accessor :passengers
|
|
4198
|
+
# Price in cents.
|
|
4199
|
+
attr_accessor :price
|
|
4200
|
+
# Ticket class.
|
|
4201
|
+
attr_accessor :ticket_class
|
|
4202
|
+
|
|
4203
|
+
def initialize(
|
|
4204
|
+
affiliate_name: nil,
|
|
4205
|
+
arrival: nil,
|
|
4206
|
+
carrier_name: nil,
|
|
4207
|
+
currency: nil,
|
|
4208
|
+
departure: nil,
|
|
4209
|
+
insurances: nil,
|
|
4210
|
+
passengers: nil,
|
|
4211
|
+
price: nil,
|
|
4212
|
+
ticket_class: nil
|
|
4213
|
+
)
|
|
4214
|
+
@affiliate_name = affiliate_name
|
|
4215
|
+
@arrival = arrival
|
|
4216
|
+
@carrier_name = carrier_name
|
|
4217
|
+
@currency = currency
|
|
4218
|
+
@departure = departure
|
|
4219
|
+
@insurances = insurances
|
|
4220
|
+
@passengers = passengers
|
|
4221
|
+
@price = price
|
|
4222
|
+
@ticket_class = ticket_class
|
|
4223
|
+
end
|
|
4224
|
+
end
|
|
4225
|
+
|
|
4226
|
+
class EventReservationDetail < ::Stripe::RequestParams
|
|
4227
|
+
class Address < ::Stripe::RequestParams
|
|
4228
|
+
# The city or town.
|
|
4229
|
+
attr_accessor :city
|
|
4230
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4231
|
+
attr_accessor :country
|
|
4232
|
+
# The postal code formatted according to country.
|
|
4233
|
+
attr_accessor :postal_code
|
|
4234
|
+
# The state, county, province, or region formatted according to country.
|
|
4235
|
+
attr_accessor :region
|
|
4236
|
+
# Line 1 of the street address.
|
|
4237
|
+
attr_accessor :street_address
|
|
4238
|
+
# Line 2 of the street address.
|
|
4239
|
+
attr_accessor :street_address2
|
|
4240
|
+
|
|
4241
|
+
def initialize(
|
|
4242
|
+
city: nil,
|
|
4243
|
+
country: nil,
|
|
4244
|
+
postal_code: nil,
|
|
4245
|
+
region: nil,
|
|
4246
|
+
street_address: nil,
|
|
4247
|
+
street_address2: nil
|
|
4248
|
+
)
|
|
4249
|
+
@city = city
|
|
4250
|
+
@country = country
|
|
4251
|
+
@postal_code = postal_code
|
|
4252
|
+
@region = region
|
|
4253
|
+
@street_address = street_address
|
|
4254
|
+
@street_address2 = street_address2
|
|
4255
|
+
end
|
|
4256
|
+
end
|
|
4257
|
+
|
|
4258
|
+
class Insurance < ::Stripe::RequestParams
|
|
4259
|
+
# Insurance currency.
|
|
4260
|
+
attr_accessor :currency
|
|
4261
|
+
# Name of the company providing the insurance.
|
|
4262
|
+
attr_accessor :insurance_company_name
|
|
4263
|
+
# Type of insurance.
|
|
4264
|
+
attr_accessor :insurance_type
|
|
4265
|
+
# Price of insurance in cents.
|
|
4266
|
+
attr_accessor :price
|
|
4267
|
+
|
|
4268
|
+
def initialize(
|
|
4269
|
+
currency: nil,
|
|
4270
|
+
insurance_company_name: nil,
|
|
4271
|
+
insurance_type: nil,
|
|
4272
|
+
price: nil
|
|
4273
|
+
)
|
|
4274
|
+
@currency = currency
|
|
4275
|
+
@insurance_company_name = insurance_company_name
|
|
4276
|
+
@insurance_type = insurance_type
|
|
4277
|
+
@price = price
|
|
4278
|
+
end
|
|
4279
|
+
end
|
|
4280
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
4281
|
+
attr_accessor :access_controlled_venue
|
|
4282
|
+
# Address of the event.
|
|
4283
|
+
attr_accessor :address
|
|
4284
|
+
# Name of associated or partner company for the service.
|
|
4285
|
+
attr_accessor :affiliate_name
|
|
4286
|
+
# End timestamp of the event.
|
|
4287
|
+
attr_accessor :ends_at
|
|
4288
|
+
# Company selling the ticket.
|
|
4289
|
+
attr_accessor :event_company_name
|
|
4290
|
+
# Name of the event.
|
|
4291
|
+
attr_accessor :event_name
|
|
4292
|
+
# Type of the event.
|
|
4293
|
+
attr_accessor :event_type
|
|
4294
|
+
# List of insurances for this event.
|
|
4295
|
+
attr_accessor :insurances
|
|
4296
|
+
# Start timestamp of the event.
|
|
4297
|
+
attr_accessor :starts_at
|
|
4298
|
+
# Name of the venue where the event takes place.
|
|
4299
|
+
attr_accessor :venue_name
|
|
4300
|
+
|
|
4301
|
+
def initialize(
|
|
4302
|
+
access_controlled_venue: nil,
|
|
4303
|
+
address: nil,
|
|
4304
|
+
affiliate_name: nil,
|
|
4305
|
+
ends_at: nil,
|
|
4306
|
+
event_company_name: nil,
|
|
4307
|
+
event_name: nil,
|
|
4308
|
+
event_type: nil,
|
|
4309
|
+
insurances: nil,
|
|
4310
|
+
starts_at: nil,
|
|
4311
|
+
venue_name: nil
|
|
4312
|
+
)
|
|
4313
|
+
@access_controlled_venue = access_controlled_venue
|
|
4314
|
+
@address = address
|
|
4315
|
+
@affiliate_name = affiliate_name
|
|
4316
|
+
@ends_at = ends_at
|
|
4317
|
+
@event_company_name = event_company_name
|
|
4318
|
+
@event_name = event_name
|
|
4319
|
+
@event_type = event_type
|
|
4320
|
+
@insurances = insurances
|
|
4321
|
+
@starts_at = starts_at
|
|
4322
|
+
@venue_name = venue_name
|
|
4323
|
+
end
|
|
4324
|
+
end
|
|
4325
|
+
|
|
4326
|
+
class FerryReservationDetail < ::Stripe::RequestParams
|
|
4327
|
+
class Arrival < ::Stripe::RequestParams
|
|
4328
|
+
class Address < ::Stripe::RequestParams
|
|
4329
|
+
# The city or town.
|
|
4330
|
+
attr_accessor :city
|
|
4331
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4332
|
+
attr_accessor :country
|
|
4333
|
+
# The postal code formatted according to country.
|
|
4334
|
+
attr_accessor :postal_code
|
|
4335
|
+
# The state, county, province, or region formatted according to country.
|
|
4336
|
+
attr_accessor :region
|
|
4337
|
+
# Line 1 of the street address.
|
|
4338
|
+
attr_accessor :street_address
|
|
4339
|
+
# Line 2 of the street address.
|
|
4340
|
+
attr_accessor :street_address2
|
|
4341
|
+
|
|
4342
|
+
def initialize(
|
|
4343
|
+
city: nil,
|
|
4344
|
+
country: nil,
|
|
4345
|
+
postal_code: nil,
|
|
4346
|
+
region: nil,
|
|
4347
|
+
street_address: nil,
|
|
4348
|
+
street_address2: nil
|
|
4349
|
+
)
|
|
4350
|
+
@city = city
|
|
4351
|
+
@country = country
|
|
4352
|
+
@postal_code = postal_code
|
|
4353
|
+
@region = region
|
|
4354
|
+
@street_address = street_address
|
|
4355
|
+
@street_address2 = street_address2
|
|
4356
|
+
end
|
|
4357
|
+
end
|
|
4358
|
+
# Address of the arrival location.
|
|
4359
|
+
attr_accessor :address
|
|
4360
|
+
# Identifier name or reference for the arrival location.
|
|
4361
|
+
attr_accessor :arrival_location
|
|
4362
|
+
|
|
4363
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4364
|
+
@address = address
|
|
4365
|
+
@arrival_location = arrival_location
|
|
4366
|
+
end
|
|
4367
|
+
end
|
|
4368
|
+
|
|
4369
|
+
class Departure < ::Stripe::RequestParams
|
|
4370
|
+
class Address < ::Stripe::RequestParams
|
|
4371
|
+
# The city or town.
|
|
4372
|
+
attr_accessor :city
|
|
4373
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4374
|
+
attr_accessor :country
|
|
4375
|
+
# The postal code formatted according to country.
|
|
4376
|
+
attr_accessor :postal_code
|
|
4377
|
+
# The state, county, province, or region formatted according to country.
|
|
4378
|
+
attr_accessor :region
|
|
4379
|
+
# Line 1 of the street address.
|
|
4380
|
+
attr_accessor :street_address
|
|
4381
|
+
# Line 2 of the street address.
|
|
4382
|
+
attr_accessor :street_address2
|
|
4383
|
+
|
|
4384
|
+
def initialize(
|
|
4385
|
+
city: nil,
|
|
4386
|
+
country: nil,
|
|
4387
|
+
postal_code: nil,
|
|
4388
|
+
region: nil,
|
|
4389
|
+
street_address: nil,
|
|
4390
|
+
street_address2: nil
|
|
4391
|
+
)
|
|
4392
|
+
@city = city
|
|
4393
|
+
@country = country
|
|
4394
|
+
@postal_code = postal_code
|
|
4395
|
+
@region = region
|
|
4396
|
+
@street_address = street_address
|
|
4397
|
+
@street_address2 = street_address2
|
|
4398
|
+
end
|
|
4399
|
+
end
|
|
4400
|
+
# Address of the departure location.
|
|
4401
|
+
attr_accessor :address
|
|
4402
|
+
# Timestamp of departure.
|
|
4403
|
+
attr_accessor :departs_at
|
|
4404
|
+
# Identifier name or reference for the origin location.
|
|
4405
|
+
attr_accessor :departure_location
|
|
4406
|
+
|
|
4407
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4408
|
+
@address = address
|
|
4409
|
+
@departs_at = departs_at
|
|
4410
|
+
@departure_location = departure_location
|
|
4411
|
+
end
|
|
4412
|
+
end
|
|
4413
|
+
|
|
4414
|
+
class Insurance < ::Stripe::RequestParams
|
|
4415
|
+
# Insurance currency.
|
|
4416
|
+
attr_accessor :currency
|
|
4417
|
+
# Name of the company providing the insurance.
|
|
4418
|
+
attr_accessor :insurance_company_name
|
|
4419
|
+
# Type of insurance.
|
|
4420
|
+
attr_accessor :insurance_type
|
|
4421
|
+
# Price of insurance in cents.
|
|
4422
|
+
attr_accessor :price
|
|
4423
|
+
|
|
4424
|
+
def initialize(
|
|
4425
|
+
currency: nil,
|
|
4426
|
+
insurance_company_name: nil,
|
|
4427
|
+
insurance_type: nil,
|
|
4428
|
+
price: nil
|
|
4429
|
+
)
|
|
4430
|
+
@currency = currency
|
|
4431
|
+
@insurance_company_name = insurance_company_name
|
|
4432
|
+
@insurance_type = insurance_type
|
|
4433
|
+
@price = price
|
|
4434
|
+
end
|
|
4435
|
+
end
|
|
4436
|
+
|
|
4437
|
+
class Passenger < ::Stripe::RequestParams
|
|
4438
|
+
# The family name of the person.
|
|
4439
|
+
attr_accessor :family_name
|
|
4440
|
+
# The given name of the person.
|
|
4441
|
+
attr_accessor :given_name
|
|
4442
|
+
|
|
4443
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4444
|
+
@family_name = family_name
|
|
4445
|
+
@given_name = given_name
|
|
4446
|
+
end
|
|
4447
|
+
end
|
|
4448
|
+
# Name of associated or partner company for the service.
|
|
4449
|
+
attr_accessor :affiliate_name
|
|
4450
|
+
# Arrival details.
|
|
4451
|
+
attr_accessor :arrival
|
|
4452
|
+
# Name of transportation company.
|
|
4453
|
+
attr_accessor :carrier_name
|
|
4454
|
+
# Currency.
|
|
4455
|
+
attr_accessor :currency
|
|
4456
|
+
# Departure details.
|
|
4457
|
+
attr_accessor :departure
|
|
4458
|
+
# List of insurances for this reservation.
|
|
4459
|
+
attr_accessor :insurances
|
|
4460
|
+
# List of passengers that this reservation applies to.
|
|
4461
|
+
attr_accessor :passengers
|
|
4462
|
+
# Price in cents.
|
|
4463
|
+
attr_accessor :price
|
|
4464
|
+
# Ticket class.
|
|
4465
|
+
attr_accessor :ticket_class
|
|
4466
|
+
|
|
4467
|
+
def initialize(
|
|
4468
|
+
affiliate_name: nil,
|
|
4469
|
+
arrival: nil,
|
|
4470
|
+
carrier_name: nil,
|
|
4471
|
+
currency: nil,
|
|
4472
|
+
departure: nil,
|
|
4473
|
+
insurances: nil,
|
|
4474
|
+
passengers: nil,
|
|
4475
|
+
price: nil,
|
|
4476
|
+
ticket_class: nil
|
|
4477
|
+
)
|
|
4478
|
+
@affiliate_name = affiliate_name
|
|
4479
|
+
@arrival = arrival
|
|
4480
|
+
@carrier_name = carrier_name
|
|
4481
|
+
@currency = currency
|
|
4482
|
+
@departure = departure
|
|
4483
|
+
@insurances = insurances
|
|
4484
|
+
@passengers = passengers
|
|
4485
|
+
@price = price
|
|
4486
|
+
@ticket_class = ticket_class
|
|
4487
|
+
end
|
|
4488
|
+
end
|
|
4489
|
+
|
|
4490
|
+
class Insurance < ::Stripe::RequestParams
|
|
4491
|
+
# Insurance currency.
|
|
4492
|
+
attr_accessor :currency
|
|
4493
|
+
# Name of the company providing the insurance.
|
|
4494
|
+
attr_accessor :insurance_company_name
|
|
4495
|
+
# Type of insurance
|
|
4496
|
+
attr_accessor :insurance_type
|
|
4497
|
+
# Price of insurance in cents.
|
|
4498
|
+
attr_accessor :price
|
|
4499
|
+
|
|
4500
|
+
def initialize(
|
|
4501
|
+
currency: nil,
|
|
4502
|
+
insurance_company_name: nil,
|
|
4503
|
+
insurance_type: nil,
|
|
4504
|
+
price: nil
|
|
4505
|
+
)
|
|
4506
|
+
@currency = currency
|
|
4507
|
+
@insurance_company_name = insurance_company_name
|
|
4508
|
+
@insurance_type = insurance_type
|
|
4509
|
+
@price = price
|
|
4510
|
+
end
|
|
4511
|
+
end
|
|
4512
|
+
|
|
4513
|
+
class MarketplaceSeller < ::Stripe::RequestParams
|
|
4514
|
+
class MarketplaceSellerAddress < ::Stripe::RequestParams
|
|
4515
|
+
# The city or town.
|
|
4516
|
+
attr_accessor :city
|
|
4517
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4518
|
+
attr_accessor :country
|
|
4519
|
+
# The postal code formatted according to country.
|
|
4520
|
+
attr_accessor :postal_code
|
|
4521
|
+
# The state, county, province, or region formatted according to country.
|
|
4522
|
+
attr_accessor :region
|
|
4523
|
+
# Line 1 of the street address.
|
|
4524
|
+
attr_accessor :street_address
|
|
4525
|
+
# Line 2 of the street address.
|
|
4526
|
+
attr_accessor :street_address2
|
|
4527
|
+
|
|
4528
|
+
def initialize(
|
|
4529
|
+
city: nil,
|
|
4530
|
+
country: nil,
|
|
4531
|
+
postal_code: nil,
|
|
4532
|
+
region: nil,
|
|
4533
|
+
street_address: nil,
|
|
4534
|
+
street_address2: nil
|
|
4535
|
+
)
|
|
4536
|
+
@city = city
|
|
4537
|
+
@country = country
|
|
4538
|
+
@postal_code = postal_code
|
|
4539
|
+
@region = region
|
|
4540
|
+
@street_address = street_address
|
|
4541
|
+
@street_address2 = street_address2
|
|
4542
|
+
end
|
|
4543
|
+
end
|
|
4544
|
+
# The references to line items for purchases with multiple associated sub-sellers.
|
|
4545
|
+
attr_accessor :line_item_references
|
|
4546
|
+
# The address of the selling or delivering merchant.
|
|
4547
|
+
attr_accessor :marketplace_seller_address
|
|
4548
|
+
# The name of the marketplace seller.
|
|
4549
|
+
attr_accessor :marketplace_seller_name
|
|
4550
|
+
# The unique identifier for the marketplace seller.
|
|
4551
|
+
attr_accessor :marketplace_seller_reference
|
|
4552
|
+
# The number of transactions the sub-seller completed in the last 12 months.
|
|
4553
|
+
attr_accessor :number_of_transactions
|
|
4554
|
+
# The category of the product.
|
|
4555
|
+
attr_accessor :product_category
|
|
4556
|
+
# The date when the seller's account with the marketplace was last logged in.
|
|
4557
|
+
attr_accessor :seller_last_login_at
|
|
4558
|
+
# The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
|
|
4559
|
+
attr_accessor :seller_rating
|
|
4560
|
+
# The date when the seller's account with the marketplace was created.
|
|
4561
|
+
attr_accessor :seller_registered_at
|
|
4562
|
+
# The date when the seller's account with the marketplace was last updated.
|
|
4563
|
+
attr_accessor :seller_updated_at
|
|
4564
|
+
# The references to shipping addresses for purchases with multiple associated sub-sellers.
|
|
4565
|
+
attr_accessor :shipping_references
|
|
4566
|
+
# The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units.
|
|
4567
|
+
attr_accessor :volume_of_transactions
|
|
4568
|
+
|
|
4569
|
+
def initialize(
|
|
4570
|
+
line_item_references: nil,
|
|
4571
|
+
marketplace_seller_address: nil,
|
|
4572
|
+
marketplace_seller_name: nil,
|
|
4573
|
+
marketplace_seller_reference: nil,
|
|
4574
|
+
number_of_transactions: nil,
|
|
4575
|
+
product_category: nil,
|
|
4576
|
+
seller_last_login_at: nil,
|
|
4577
|
+
seller_rating: nil,
|
|
4578
|
+
seller_registered_at: nil,
|
|
4579
|
+
seller_updated_at: nil,
|
|
4580
|
+
shipping_references: nil,
|
|
4581
|
+
volume_of_transactions: nil
|
|
4582
|
+
)
|
|
4583
|
+
@line_item_references = line_item_references
|
|
4584
|
+
@marketplace_seller_address = marketplace_seller_address
|
|
4585
|
+
@marketplace_seller_name = marketplace_seller_name
|
|
4586
|
+
@marketplace_seller_reference = marketplace_seller_reference
|
|
4587
|
+
@number_of_transactions = number_of_transactions
|
|
4588
|
+
@product_category = product_category
|
|
4589
|
+
@seller_last_login_at = seller_last_login_at
|
|
4590
|
+
@seller_rating = seller_rating
|
|
4591
|
+
@seller_registered_at = seller_registered_at
|
|
4592
|
+
@seller_updated_at = seller_updated_at
|
|
4593
|
+
@shipping_references = shipping_references
|
|
4594
|
+
@volume_of_transactions = volume_of_transactions
|
|
4595
|
+
end
|
|
4596
|
+
end
|
|
4597
|
+
|
|
4598
|
+
class RoundTripReservationDetail < ::Stripe::RequestParams
|
|
4599
|
+
class Arrival < ::Stripe::RequestParams
|
|
4600
|
+
class Address < ::Stripe::RequestParams
|
|
4601
|
+
# The city or town.
|
|
4602
|
+
attr_accessor :city
|
|
4603
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4604
|
+
attr_accessor :country
|
|
4605
|
+
# The postal code formatted according to country.
|
|
4606
|
+
attr_accessor :postal_code
|
|
4607
|
+
# The state, county, province, or region formatted according to country.
|
|
4608
|
+
attr_accessor :region
|
|
4609
|
+
# Line 1 of the street address.
|
|
4610
|
+
attr_accessor :street_address
|
|
4611
|
+
# Line 2 of the street address.
|
|
4612
|
+
attr_accessor :street_address2
|
|
4613
|
+
|
|
4614
|
+
def initialize(
|
|
4615
|
+
city: nil,
|
|
4616
|
+
country: nil,
|
|
4617
|
+
postal_code: nil,
|
|
4618
|
+
region: nil,
|
|
4619
|
+
street_address: nil,
|
|
4620
|
+
street_address2: nil
|
|
4621
|
+
)
|
|
4622
|
+
@city = city
|
|
4623
|
+
@country = country
|
|
4624
|
+
@postal_code = postal_code
|
|
4625
|
+
@region = region
|
|
4626
|
+
@street_address = street_address
|
|
4627
|
+
@street_address2 = street_address2
|
|
4628
|
+
end
|
|
4629
|
+
end
|
|
4630
|
+
# Address of the arrival location.
|
|
4631
|
+
attr_accessor :address
|
|
4632
|
+
# Identifier name or reference for the arrival location.
|
|
4633
|
+
attr_accessor :arrival_location
|
|
4634
|
+
|
|
4635
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4636
|
+
@address = address
|
|
4637
|
+
@arrival_location = arrival_location
|
|
4638
|
+
end
|
|
4639
|
+
end
|
|
4640
|
+
|
|
4641
|
+
class Departure < ::Stripe::RequestParams
|
|
4642
|
+
class Address < ::Stripe::RequestParams
|
|
4643
|
+
# The city or town.
|
|
4644
|
+
attr_accessor :city
|
|
4645
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4646
|
+
attr_accessor :country
|
|
4647
|
+
# The postal code formatted according to country.
|
|
4648
|
+
attr_accessor :postal_code
|
|
4649
|
+
# The state, county, province, or region formatted according to country.
|
|
4650
|
+
attr_accessor :region
|
|
4651
|
+
# Line 1 of the street address.
|
|
4652
|
+
attr_accessor :street_address
|
|
4653
|
+
# Line 2 of the street address.
|
|
4654
|
+
attr_accessor :street_address2
|
|
4655
|
+
|
|
4656
|
+
def initialize(
|
|
4657
|
+
city: nil,
|
|
4658
|
+
country: nil,
|
|
4659
|
+
postal_code: nil,
|
|
4660
|
+
region: nil,
|
|
4661
|
+
street_address: nil,
|
|
4662
|
+
street_address2: nil
|
|
4663
|
+
)
|
|
4664
|
+
@city = city
|
|
4665
|
+
@country = country
|
|
4666
|
+
@postal_code = postal_code
|
|
4667
|
+
@region = region
|
|
4668
|
+
@street_address = street_address
|
|
4669
|
+
@street_address2 = street_address2
|
|
4670
|
+
end
|
|
4671
|
+
end
|
|
4672
|
+
# Address of the departure location.
|
|
4673
|
+
attr_accessor :address
|
|
4674
|
+
# Timestamp of departure.
|
|
4675
|
+
attr_accessor :departs_at
|
|
4676
|
+
# Identifier name or reference for the origin location.
|
|
4677
|
+
attr_accessor :departure_location
|
|
4678
|
+
|
|
4679
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4680
|
+
@address = address
|
|
4681
|
+
@departs_at = departs_at
|
|
4682
|
+
@departure_location = departure_location
|
|
4683
|
+
end
|
|
4684
|
+
end
|
|
4685
|
+
|
|
4686
|
+
class Insurance < ::Stripe::RequestParams
|
|
4687
|
+
# Insurance currency.
|
|
4688
|
+
attr_accessor :currency
|
|
4689
|
+
# Name of the company providing the insurance.
|
|
4690
|
+
attr_accessor :insurance_company_name
|
|
4691
|
+
# Type of insurance.
|
|
4692
|
+
attr_accessor :insurance_type
|
|
4693
|
+
# Price of insurance in cents.
|
|
4694
|
+
attr_accessor :price
|
|
4695
|
+
|
|
4696
|
+
def initialize(
|
|
4697
|
+
currency: nil,
|
|
4698
|
+
insurance_company_name: nil,
|
|
4699
|
+
insurance_type: nil,
|
|
4700
|
+
price: nil
|
|
4701
|
+
)
|
|
4702
|
+
@currency = currency
|
|
4703
|
+
@insurance_company_name = insurance_company_name
|
|
4704
|
+
@insurance_type = insurance_type
|
|
4705
|
+
@price = price
|
|
4706
|
+
end
|
|
4707
|
+
end
|
|
4708
|
+
|
|
4709
|
+
class Passenger < ::Stripe::RequestParams
|
|
4710
|
+
# The family name of the person.
|
|
4711
|
+
attr_accessor :family_name
|
|
4712
|
+
# The given name of the person.
|
|
4713
|
+
attr_accessor :given_name
|
|
4714
|
+
|
|
4715
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4716
|
+
@family_name = family_name
|
|
4717
|
+
@given_name = given_name
|
|
4718
|
+
end
|
|
4719
|
+
end
|
|
4720
|
+
# Name of associated or partner company for the service.
|
|
4721
|
+
attr_accessor :affiliate_name
|
|
4722
|
+
# Arrival details.
|
|
4723
|
+
attr_accessor :arrival
|
|
4724
|
+
# Name of transportation company.
|
|
4725
|
+
attr_accessor :carrier_name
|
|
4726
|
+
# Currency.
|
|
4727
|
+
attr_accessor :currency
|
|
4728
|
+
# Departure details.
|
|
4729
|
+
attr_accessor :departure
|
|
4730
|
+
# List of insurances for this reservation.
|
|
4731
|
+
attr_accessor :insurances
|
|
4732
|
+
# List of passengers that this reservation applies to.
|
|
4733
|
+
attr_accessor :passengers
|
|
4734
|
+
# Price in cents.
|
|
4735
|
+
attr_accessor :price
|
|
4736
|
+
# Ticket class.
|
|
4737
|
+
attr_accessor :ticket_class
|
|
4738
|
+
|
|
4739
|
+
def initialize(
|
|
4740
|
+
affiliate_name: nil,
|
|
4741
|
+
arrival: nil,
|
|
4742
|
+
carrier_name: nil,
|
|
4743
|
+
currency: nil,
|
|
4744
|
+
departure: nil,
|
|
4745
|
+
insurances: nil,
|
|
4746
|
+
passengers: nil,
|
|
4747
|
+
price: nil,
|
|
4748
|
+
ticket_class: nil
|
|
4749
|
+
)
|
|
4750
|
+
@affiliate_name = affiliate_name
|
|
4751
|
+
@arrival = arrival
|
|
4752
|
+
@carrier_name = carrier_name
|
|
4753
|
+
@currency = currency
|
|
4754
|
+
@departure = departure
|
|
4755
|
+
@insurances = insurances
|
|
4756
|
+
@passengers = passengers
|
|
4757
|
+
@price = price
|
|
4758
|
+
@ticket_class = ticket_class
|
|
4759
|
+
end
|
|
4760
|
+
end
|
|
4761
|
+
|
|
4762
|
+
class TrainReservationDetail < ::Stripe::RequestParams
|
|
4763
|
+
class Arrival < ::Stripe::RequestParams
|
|
4764
|
+
class Address < ::Stripe::RequestParams
|
|
4765
|
+
# The city or town.
|
|
4766
|
+
attr_accessor :city
|
|
4767
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4768
|
+
attr_accessor :country
|
|
4769
|
+
# The postal code formatted according to country.
|
|
4770
|
+
attr_accessor :postal_code
|
|
4771
|
+
# The state, county, province, or region formatted according to country.
|
|
4772
|
+
attr_accessor :region
|
|
4773
|
+
# Line 1 of the street address.
|
|
4774
|
+
attr_accessor :street_address
|
|
4775
|
+
# Line 2 of the street address.
|
|
4776
|
+
attr_accessor :street_address2
|
|
4777
|
+
|
|
4778
|
+
def initialize(
|
|
4779
|
+
city: nil,
|
|
4780
|
+
country: nil,
|
|
4781
|
+
postal_code: nil,
|
|
4782
|
+
region: nil,
|
|
4783
|
+
street_address: nil,
|
|
4784
|
+
street_address2: nil
|
|
4785
|
+
)
|
|
4786
|
+
@city = city
|
|
4787
|
+
@country = country
|
|
4788
|
+
@postal_code = postal_code
|
|
4789
|
+
@region = region
|
|
4790
|
+
@street_address = street_address
|
|
4791
|
+
@street_address2 = street_address2
|
|
4792
|
+
end
|
|
4793
|
+
end
|
|
4794
|
+
# Address of the arrival location.
|
|
4795
|
+
attr_accessor :address
|
|
4796
|
+
# Identifier name or reference for the arrival location.
|
|
4797
|
+
attr_accessor :arrival_location
|
|
4798
|
+
|
|
4799
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4800
|
+
@address = address
|
|
4801
|
+
@arrival_location = arrival_location
|
|
4802
|
+
end
|
|
4803
|
+
end
|
|
4804
|
+
|
|
4805
|
+
class Departure < ::Stripe::RequestParams
|
|
4806
|
+
class Address < ::Stripe::RequestParams
|
|
4807
|
+
# The city or town.
|
|
4808
|
+
attr_accessor :city
|
|
4809
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4810
|
+
attr_accessor :country
|
|
4811
|
+
# The postal code formatted according to country.
|
|
4812
|
+
attr_accessor :postal_code
|
|
4813
|
+
# The state, county, province, or region formatted according to country.
|
|
4814
|
+
attr_accessor :region
|
|
4815
|
+
# Line 1 of the street address.
|
|
4816
|
+
attr_accessor :street_address
|
|
4817
|
+
# Line 2 of the street address.
|
|
4818
|
+
attr_accessor :street_address2
|
|
4819
|
+
|
|
4820
|
+
def initialize(
|
|
4821
|
+
city: nil,
|
|
4822
|
+
country: nil,
|
|
4823
|
+
postal_code: nil,
|
|
4824
|
+
region: nil,
|
|
4825
|
+
street_address: nil,
|
|
4826
|
+
street_address2: nil
|
|
4827
|
+
)
|
|
4828
|
+
@city = city
|
|
4829
|
+
@country = country
|
|
4830
|
+
@postal_code = postal_code
|
|
4831
|
+
@region = region
|
|
4832
|
+
@street_address = street_address
|
|
4833
|
+
@street_address2 = street_address2
|
|
4834
|
+
end
|
|
4835
|
+
end
|
|
4836
|
+
# Address of the departure location.
|
|
4837
|
+
attr_accessor :address
|
|
4838
|
+
# Timestamp of departure.
|
|
4839
|
+
attr_accessor :departs_at
|
|
4840
|
+
# Identifier name or reference for the origin location.
|
|
4841
|
+
attr_accessor :departure_location
|
|
4842
|
+
|
|
4843
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4844
|
+
@address = address
|
|
4845
|
+
@departs_at = departs_at
|
|
4846
|
+
@departure_location = departure_location
|
|
4847
|
+
end
|
|
4848
|
+
end
|
|
4849
|
+
|
|
4850
|
+
class Insurance < ::Stripe::RequestParams
|
|
4851
|
+
# Insurance currency.
|
|
4852
|
+
attr_accessor :currency
|
|
4853
|
+
# Name of the company providing the insurance.
|
|
4854
|
+
attr_accessor :insurance_company_name
|
|
4855
|
+
# Type of insurance.
|
|
4856
|
+
attr_accessor :insurance_type
|
|
4857
|
+
# Price of insurance in cents.
|
|
4858
|
+
attr_accessor :price
|
|
4859
|
+
|
|
4860
|
+
def initialize(
|
|
4861
|
+
currency: nil,
|
|
4862
|
+
insurance_company_name: nil,
|
|
4863
|
+
insurance_type: nil,
|
|
4864
|
+
price: nil
|
|
4865
|
+
)
|
|
4866
|
+
@currency = currency
|
|
4867
|
+
@insurance_company_name = insurance_company_name
|
|
4868
|
+
@insurance_type = insurance_type
|
|
4869
|
+
@price = price
|
|
4870
|
+
end
|
|
4871
|
+
end
|
|
4872
|
+
|
|
4873
|
+
class Passenger < ::Stripe::RequestParams
|
|
4874
|
+
# The family name of the person.
|
|
4875
|
+
attr_accessor :family_name
|
|
4876
|
+
# The given name of the person.
|
|
4877
|
+
attr_accessor :given_name
|
|
4878
|
+
|
|
4879
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4880
|
+
@family_name = family_name
|
|
4881
|
+
@given_name = given_name
|
|
4882
|
+
end
|
|
4883
|
+
end
|
|
4884
|
+
# Name of associated or partner company for the service.
|
|
4885
|
+
attr_accessor :affiliate_name
|
|
4886
|
+
# Arrival details.
|
|
4887
|
+
attr_accessor :arrival
|
|
4888
|
+
# Name of transportation company.
|
|
4889
|
+
attr_accessor :carrier_name
|
|
4890
|
+
# Currency.
|
|
4891
|
+
attr_accessor :currency
|
|
4892
|
+
# Departure details.
|
|
4893
|
+
attr_accessor :departure
|
|
4894
|
+
# List of insurances for this reservation.
|
|
4895
|
+
attr_accessor :insurances
|
|
4896
|
+
# List of passengers that this reservation applies to.
|
|
4897
|
+
attr_accessor :passengers
|
|
4898
|
+
# Price in cents.
|
|
4899
|
+
attr_accessor :price
|
|
4900
|
+
# Ticket class.
|
|
4901
|
+
attr_accessor :ticket_class
|
|
4902
|
+
|
|
4903
|
+
def initialize(
|
|
4904
|
+
affiliate_name: nil,
|
|
4905
|
+
arrival: nil,
|
|
4906
|
+
carrier_name: nil,
|
|
4907
|
+
currency: nil,
|
|
4908
|
+
departure: nil,
|
|
4909
|
+
insurances: nil,
|
|
4910
|
+
passengers: nil,
|
|
4911
|
+
price: nil,
|
|
4912
|
+
ticket_class: nil
|
|
4913
|
+
)
|
|
4914
|
+
@affiliate_name = affiliate_name
|
|
4915
|
+
@arrival = arrival
|
|
4916
|
+
@carrier_name = carrier_name
|
|
4917
|
+
@currency = currency
|
|
4918
|
+
@departure = departure
|
|
4919
|
+
@insurances = insurances
|
|
4920
|
+
@passengers = passengers
|
|
4921
|
+
@price = price
|
|
4922
|
+
@ticket_class = ticket_class
|
|
4923
|
+
end
|
|
4924
|
+
end
|
|
4925
|
+
|
|
4926
|
+
class Voucher < ::Stripe::RequestParams
|
|
4927
|
+
# Name of associated or partner company for this voucher.
|
|
4928
|
+
attr_accessor :affiliate_name
|
|
4929
|
+
# The voucher validity end time.
|
|
4930
|
+
attr_accessor :ends_at
|
|
4931
|
+
# The voucher validity start time.
|
|
4932
|
+
attr_accessor :starts_at
|
|
4933
|
+
# The issuer or provider of this voucher.
|
|
4934
|
+
attr_accessor :voucher_company
|
|
4935
|
+
# The name or reference to identify the voucher.
|
|
4936
|
+
attr_accessor :voucher_name
|
|
4937
|
+
# The type of this voucher.
|
|
4938
|
+
attr_accessor :voucher_type
|
|
4939
|
+
|
|
4940
|
+
def initialize(
|
|
4941
|
+
affiliate_name: nil,
|
|
4942
|
+
ends_at: nil,
|
|
4943
|
+
starts_at: nil,
|
|
4944
|
+
voucher_company: nil,
|
|
4945
|
+
voucher_name: nil,
|
|
4946
|
+
voucher_type: nil
|
|
4947
|
+
)
|
|
4948
|
+
@affiliate_name = affiliate_name
|
|
4949
|
+
@ends_at = ends_at
|
|
4950
|
+
@starts_at = starts_at
|
|
4951
|
+
@voucher_company = voucher_company
|
|
4952
|
+
@voucher_name = voucher_name
|
|
4953
|
+
@voucher_type = voucher_type
|
|
4954
|
+
end
|
|
4955
|
+
end
|
|
4956
|
+
# Supplementary bus reservation details.
|
|
4957
|
+
attr_accessor :bus_reservation_details
|
|
4958
|
+
# Supplementary event reservation details.
|
|
4959
|
+
attr_accessor :event_reservation_details
|
|
4960
|
+
# Supplementary ferry reservation details.
|
|
4961
|
+
attr_accessor :ferry_reservation_details
|
|
4962
|
+
# Supplementary insurance details.
|
|
4963
|
+
attr_accessor :insurances
|
|
4964
|
+
# Supplementary marketplace seller details.
|
|
4965
|
+
attr_accessor :marketplace_sellers
|
|
4966
|
+
# Supplementary round trip reservation details.
|
|
4967
|
+
attr_accessor :round_trip_reservation_details
|
|
4968
|
+
# Supplementary train reservation details.
|
|
4969
|
+
attr_accessor :train_reservation_details
|
|
4970
|
+
# Voucher details, such as a gift card or discount code.
|
|
4971
|
+
attr_accessor :vouchers
|
|
4972
|
+
|
|
4973
|
+
def initialize(
|
|
4974
|
+
bus_reservation_details: nil,
|
|
4975
|
+
event_reservation_details: nil,
|
|
4976
|
+
ferry_reservation_details: nil,
|
|
4977
|
+
insurances: nil,
|
|
4978
|
+
marketplace_sellers: nil,
|
|
4979
|
+
round_trip_reservation_details: nil,
|
|
4980
|
+
train_reservation_details: nil,
|
|
4981
|
+
vouchers: nil
|
|
4982
|
+
)
|
|
4983
|
+
@bus_reservation_details = bus_reservation_details
|
|
4984
|
+
@event_reservation_details = event_reservation_details
|
|
4985
|
+
@ferry_reservation_details = ferry_reservation_details
|
|
4986
|
+
@insurances = insurances
|
|
4987
|
+
@marketplace_sellers = marketplace_sellers
|
|
4988
|
+
@round_trip_reservation_details = round_trip_reservation_details
|
|
4989
|
+
@train_reservation_details = train_reservation_details
|
|
4990
|
+
@vouchers = vouchers
|
|
4991
|
+
end
|
|
4992
|
+
end
|
|
1694
4993
|
# Controls when the funds are captured from the customer's account.
|
|
1695
4994
|
#
|
|
1696
4995
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1713,19 +5012,23 @@ module Stripe
|
|
|
1713
5012
|
attr_accessor :setup_future_usage
|
|
1714
5013
|
# Subscription details if setting up or charging a subscription.
|
|
1715
5014
|
attr_accessor :subscriptions
|
|
5015
|
+
# Supplementary Purchase Data for the corresponding Klarna payment
|
|
5016
|
+
attr_accessor :supplementary_purchase_data
|
|
1716
5017
|
|
|
1717
5018
|
def initialize(
|
|
1718
5019
|
capture_method: nil,
|
|
1719
5020
|
on_demand: nil,
|
|
1720
5021
|
preferred_locale: nil,
|
|
1721
5022
|
setup_future_usage: nil,
|
|
1722
|
-
subscriptions: nil
|
|
5023
|
+
subscriptions: nil,
|
|
5024
|
+
supplementary_purchase_data: nil
|
|
1723
5025
|
)
|
|
1724
5026
|
@capture_method = capture_method
|
|
1725
5027
|
@on_demand = on_demand
|
|
1726
5028
|
@preferred_locale = preferred_locale
|
|
1727
5029
|
@setup_future_usage = setup_future_usage
|
|
1728
5030
|
@subscriptions = subscriptions
|
|
5031
|
+
@supplementary_purchase_data = supplementary_purchase_data
|
|
1729
5032
|
end
|
|
1730
5033
|
end
|
|
1731
5034
|
|
|
@@ -1986,12 +5289,65 @@ module Stripe
|
|
|
1986
5289
|
end
|
|
1987
5290
|
|
|
1988
5291
|
class Paypal < ::Stripe::RequestParams
|
|
5292
|
+
class LineItem < ::Stripe::RequestParams
|
|
5293
|
+
class Tax < ::Stripe::RequestParams
|
|
5294
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
5295
|
+
attr_accessor :amount
|
|
5296
|
+
# The tax behavior for the line item.
|
|
5297
|
+
attr_accessor :behavior
|
|
5298
|
+
|
|
5299
|
+
def initialize(amount: nil, behavior: nil)
|
|
5300
|
+
@amount = amount
|
|
5301
|
+
@behavior = behavior
|
|
5302
|
+
end
|
|
5303
|
+
end
|
|
5304
|
+
# Type of the line item.
|
|
5305
|
+
attr_accessor :category
|
|
5306
|
+
# Description of the line item.
|
|
5307
|
+
attr_accessor :description
|
|
5308
|
+
# Descriptive name of the line item.
|
|
5309
|
+
attr_accessor :name
|
|
5310
|
+
# Quantity of the line item. Must be a positive number.
|
|
5311
|
+
attr_accessor :quantity
|
|
5312
|
+
# Client facing stock keeping unit, article number or similar.
|
|
5313
|
+
attr_accessor :sku
|
|
5314
|
+
# The Stripe account ID of the connected account that sells the item.
|
|
5315
|
+
attr_accessor :sold_by
|
|
5316
|
+
# The tax information for the line item.
|
|
5317
|
+
attr_accessor :tax
|
|
5318
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
5319
|
+
attr_accessor :unit_amount
|
|
5320
|
+
|
|
5321
|
+
def initialize(
|
|
5322
|
+
category: nil,
|
|
5323
|
+
description: nil,
|
|
5324
|
+
name: nil,
|
|
5325
|
+
quantity: nil,
|
|
5326
|
+
sku: nil,
|
|
5327
|
+
sold_by: nil,
|
|
5328
|
+
tax: nil,
|
|
5329
|
+
unit_amount: nil
|
|
5330
|
+
)
|
|
5331
|
+
@category = category
|
|
5332
|
+
@description = description
|
|
5333
|
+
@name = name
|
|
5334
|
+
@quantity = quantity
|
|
5335
|
+
@sku = sku
|
|
5336
|
+
@sold_by = sold_by
|
|
5337
|
+
@tax = tax
|
|
5338
|
+
@unit_amount = unit_amount
|
|
5339
|
+
end
|
|
5340
|
+
end
|
|
1989
5341
|
# Controls when the funds will be captured from the customer's account.
|
|
1990
5342
|
attr_accessor :capture_method
|
|
5343
|
+
# The line items purchased by the customer.
|
|
5344
|
+
attr_accessor :line_items
|
|
1991
5345
|
# [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
1992
5346
|
attr_accessor :preferred_locale
|
|
1993
5347
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
1994
5348
|
attr_accessor :reference
|
|
5349
|
+
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
5350
|
+
attr_accessor :reference_id
|
|
1995
5351
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
1996
5352
|
attr_accessor :risk_correlation_id
|
|
1997
5353
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2004,19 +5360,40 @@ module Stripe
|
|
|
2004
5360
|
#
|
|
2005
5361
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2006
5362
|
attr_accessor :setup_future_usage
|
|
5363
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
5364
|
+
attr_accessor :subsellers
|
|
2007
5365
|
|
|
2008
5366
|
def initialize(
|
|
2009
5367
|
capture_method: nil,
|
|
5368
|
+
line_items: nil,
|
|
2010
5369
|
preferred_locale: nil,
|
|
2011
5370
|
reference: nil,
|
|
5371
|
+
reference_id: nil,
|
|
2012
5372
|
risk_correlation_id: nil,
|
|
2013
|
-
setup_future_usage: nil
|
|
5373
|
+
setup_future_usage: nil,
|
|
5374
|
+
subsellers: nil
|
|
2014
5375
|
)
|
|
2015
5376
|
@capture_method = capture_method
|
|
5377
|
+
@line_items = line_items
|
|
2016
5378
|
@preferred_locale = preferred_locale
|
|
2017
5379
|
@reference = reference
|
|
5380
|
+
@reference_id = reference_id
|
|
2018
5381
|
@risk_correlation_id = risk_correlation_id
|
|
2019
5382
|
@setup_future_usage = setup_future_usage
|
|
5383
|
+
@subsellers = subsellers
|
|
5384
|
+
end
|
|
5385
|
+
end
|
|
5386
|
+
|
|
5387
|
+
class Paypay < ::Stripe::RequestParams
|
|
5388
|
+
# Controls when the funds are captured from the customer's account.
|
|
5389
|
+
#
|
|
5390
|
+
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
5391
|
+
#
|
|
5392
|
+
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
5393
|
+
attr_accessor :capture_method
|
|
5394
|
+
|
|
5395
|
+
def initialize(capture_method: nil)
|
|
5396
|
+
@capture_method = capture_method
|
|
2020
5397
|
end
|
|
2021
5398
|
end
|
|
2022
5399
|
|
|
@@ -2158,6 +5535,25 @@ module Stripe
|
|
|
2158
5535
|
end
|
|
2159
5536
|
end
|
|
2160
5537
|
|
|
5538
|
+
class Qris < ::Stripe::RequestParams
|
|
5539
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5540
|
+
#
|
|
5541
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
5542
|
+
#
|
|
5543
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
5544
|
+
#
|
|
5545
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
5546
|
+
#
|
|
5547
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5548
|
+
attr_accessor :setup_future_usage
|
|
5549
|
+
|
|
5550
|
+
def initialize(setup_future_usage: nil)
|
|
5551
|
+
@setup_future_usage = setup_future_usage
|
|
5552
|
+
end
|
|
5553
|
+
end
|
|
5554
|
+
|
|
5555
|
+
class Rechnung < ::Stripe::RequestParams; end
|
|
5556
|
+
|
|
2161
5557
|
class RevolutPay < ::Stripe::RequestParams
|
|
2162
5558
|
# Controls when the funds are captured from the customer's account.
|
|
2163
5559
|
#
|
|
@@ -2259,6 +5655,23 @@ module Stripe
|
|
|
2259
5655
|
end
|
|
2260
5656
|
end
|
|
2261
5657
|
|
|
5658
|
+
class Shopeepay < ::Stripe::RequestParams
|
|
5659
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5660
|
+
#
|
|
5661
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
5662
|
+
#
|
|
5663
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
5664
|
+
#
|
|
5665
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
5666
|
+
#
|
|
5667
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5668
|
+
attr_accessor :setup_future_usage
|
|
5669
|
+
|
|
5670
|
+
def initialize(setup_future_usage: nil)
|
|
5671
|
+
@setup_future_usage = setup_future_usage
|
|
5672
|
+
end
|
|
5673
|
+
end
|
|
5674
|
+
|
|
2262
5675
|
class Sofort < ::Stripe::RequestParams
|
|
2263
5676
|
# Language shown to the payer on redirect.
|
|
2264
5677
|
attr_accessor :preferred_language
|
|
@@ -2279,6 +5692,34 @@ module Stripe
|
|
|
2279
5692
|
end
|
|
2280
5693
|
end
|
|
2281
5694
|
|
|
5695
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
5696
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
5697
|
+
# The ID of the Stripe Balance Debit Agreement used for this mandate.
|
|
5698
|
+
attr_accessor :stripe_balance_debit_agreement
|
|
5699
|
+
|
|
5700
|
+
def initialize(stripe_balance_debit_agreement: nil)
|
|
5701
|
+
@stripe_balance_debit_agreement = stripe_balance_debit_agreement
|
|
5702
|
+
end
|
|
5703
|
+
end
|
|
5704
|
+
# Additional fields for mandate creation.
|
|
5705
|
+
attr_accessor :mandate_options
|
|
5706
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5707
|
+
#
|
|
5708
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
5709
|
+
#
|
|
5710
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
5711
|
+
#
|
|
5712
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
5713
|
+
#
|
|
5714
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5715
|
+
attr_accessor :setup_future_usage
|
|
5716
|
+
|
|
5717
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
5718
|
+
@mandate_options = mandate_options
|
|
5719
|
+
@setup_future_usage = setup_future_usage
|
|
5720
|
+
end
|
|
5721
|
+
end
|
|
5722
|
+
|
|
2282
5723
|
class Sunbit < ::Stripe::RequestParams
|
|
2283
5724
|
# Controls when the funds are captured from the customer's account.
|
|
2284
5725
|
#
|
|
@@ -2372,13 +5813,27 @@ module Stripe
|
|
|
2372
5813
|
class Filters < ::Stripe::RequestParams
|
|
2373
5814
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2374
5815
|
attr_accessor :account_subcategories
|
|
5816
|
+
# ID of the institution to use to filter for selectable accounts.
|
|
5817
|
+
attr_accessor :institution
|
|
2375
5818
|
|
|
2376
|
-
def initialize(account_subcategories: nil)
|
|
5819
|
+
def initialize(account_subcategories: nil, institution: nil)
|
|
2377
5820
|
@account_subcategories = account_subcategories
|
|
5821
|
+
@institution = institution
|
|
5822
|
+
end
|
|
5823
|
+
end
|
|
5824
|
+
|
|
5825
|
+
class ManualEntry < ::Stripe::RequestParams
|
|
5826
|
+
# Settings for configuring manual entry of account details.
|
|
5827
|
+
attr_accessor :mode
|
|
5828
|
+
|
|
5829
|
+
def initialize(mode: nil)
|
|
5830
|
+
@mode = mode
|
|
2378
5831
|
end
|
|
2379
5832
|
end
|
|
2380
5833
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
2381
5834
|
attr_accessor :filters
|
|
5835
|
+
# Customize manual entry behavior
|
|
5836
|
+
attr_accessor :manual_entry
|
|
2382
5837
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
2383
5838
|
attr_accessor :permissions
|
|
2384
5839
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -2386,8 +5841,15 @@ module Stripe
|
|
|
2386
5841
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
2387
5842
|
attr_accessor :return_url
|
|
2388
5843
|
|
|
2389
|
-
def initialize(
|
|
5844
|
+
def initialize(
|
|
5845
|
+
filters: nil,
|
|
5846
|
+
manual_entry: nil,
|
|
5847
|
+
permissions: nil,
|
|
5848
|
+
prefetch: nil,
|
|
5849
|
+
return_url: nil
|
|
5850
|
+
)
|
|
2390
5851
|
@filters = filters
|
|
5852
|
+
@manual_entry = manual_entry
|
|
2391
5853
|
@permissions = permissions
|
|
2392
5854
|
@prefetch = prefetch
|
|
2393
5855
|
@return_url = return_url
|
|
@@ -2456,6 +5918,8 @@ module Stripe
|
|
|
2456
5918
|
class WechatPay < ::Stripe::RequestParams
|
|
2457
5919
|
# The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.
|
|
2458
5920
|
attr_accessor :app_id
|
|
5921
|
+
# The unique buyer ID for the app ID registered with WeChat Pay. Only required when client is mini_program.
|
|
5922
|
+
attr_accessor :buyer_id
|
|
2459
5923
|
# The client type that the end customer will pay from
|
|
2460
5924
|
attr_accessor :client
|
|
2461
5925
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2469,8 +5933,9 @@ module Stripe
|
|
|
2469
5933
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2470
5934
|
attr_accessor :setup_future_usage
|
|
2471
5935
|
|
|
2472
|
-
def initialize(app_id: nil, client: nil, setup_future_usage: nil)
|
|
5936
|
+
def initialize(app_id: nil, buyer_id: nil, client: nil, setup_future_usage: nil)
|
|
2473
5937
|
@app_id = app_id
|
|
5938
|
+
@buyer_id = buyer_id
|
|
2474
5939
|
@client = client
|
|
2475
5940
|
@setup_future_usage = setup_future_usage
|
|
2476
5941
|
end
|
|
@@ -2532,10 +5997,16 @@ module Stripe
|
|
|
2532
5997
|
attr_accessor :eps
|
|
2533
5998
|
# If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
|
|
2534
5999
|
attr_accessor :fpx
|
|
6000
|
+
# If this is a `gift_card` PaymentMethod, this sub-hash contains details about the gift card payment method options.
|
|
6001
|
+
attr_accessor :gift_card
|
|
2535
6002
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
2536
6003
|
attr_accessor :giropay
|
|
6004
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
6005
|
+
attr_accessor :gopay
|
|
2537
6006
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
2538
6007
|
attr_accessor :grabpay
|
|
6008
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
6009
|
+
attr_accessor :id_bank_transfer
|
|
2539
6010
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
2540
6011
|
attr_accessor :ideal
|
|
2541
6012
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -2572,12 +6043,18 @@ module Stripe
|
|
|
2572
6043
|
attr_accessor :paynow
|
|
2573
6044
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
2574
6045
|
attr_accessor :paypal
|
|
6046
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
6047
|
+
attr_accessor :paypay
|
|
2575
6048
|
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
2576
6049
|
attr_accessor :payto
|
|
2577
6050
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
2578
6051
|
attr_accessor :pix
|
|
2579
6052
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
2580
6053
|
attr_accessor :promptpay
|
|
6054
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
6055
|
+
attr_accessor :qris
|
|
6056
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
6057
|
+
attr_accessor :rechnung
|
|
2581
6058
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
2582
6059
|
attr_accessor :revolut_pay
|
|
2583
6060
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -2588,8 +6065,12 @@ module Stripe
|
|
|
2588
6065
|
attr_accessor :scalapay
|
|
2589
6066
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2590
6067
|
attr_accessor :sepa_debit
|
|
6068
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
6069
|
+
attr_accessor :shopeepay
|
|
2591
6070
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
2592
6071
|
attr_accessor :sofort
|
|
6072
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
6073
|
+
attr_accessor :stripe_balance
|
|
2593
6074
|
# If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit payment method options.
|
|
2594
6075
|
attr_accessor :sunbit
|
|
2595
6076
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
@@ -2626,8 +6107,11 @@ module Stripe
|
|
|
2626
6107
|
customer_balance: nil,
|
|
2627
6108
|
eps: nil,
|
|
2628
6109
|
fpx: nil,
|
|
6110
|
+
gift_card: nil,
|
|
2629
6111
|
giropay: nil,
|
|
6112
|
+
gopay: nil,
|
|
2630
6113
|
grabpay: nil,
|
|
6114
|
+
id_bank_transfer: nil,
|
|
2631
6115
|
ideal: nil,
|
|
2632
6116
|
interac_present: nil,
|
|
2633
6117
|
kakao_pay: nil,
|
|
@@ -2646,15 +6130,20 @@ module Stripe
|
|
|
2646
6130
|
payco: nil,
|
|
2647
6131
|
paynow: nil,
|
|
2648
6132
|
paypal: nil,
|
|
6133
|
+
paypay: nil,
|
|
2649
6134
|
payto: nil,
|
|
2650
6135
|
pix: nil,
|
|
2651
6136
|
promptpay: nil,
|
|
6137
|
+
qris: nil,
|
|
6138
|
+
rechnung: nil,
|
|
2652
6139
|
revolut_pay: nil,
|
|
2653
6140
|
samsung_pay: nil,
|
|
2654
6141
|
satispay: nil,
|
|
2655
6142
|
scalapay: nil,
|
|
2656
6143
|
sepa_debit: nil,
|
|
6144
|
+
shopeepay: nil,
|
|
2657
6145
|
sofort: nil,
|
|
6146
|
+
stripe_balance: nil,
|
|
2658
6147
|
sunbit: nil,
|
|
2659
6148
|
swish: nil,
|
|
2660
6149
|
twint: nil,
|
|
@@ -2683,8 +6172,11 @@ module Stripe
|
|
|
2683
6172
|
@customer_balance = customer_balance
|
|
2684
6173
|
@eps = eps
|
|
2685
6174
|
@fpx = fpx
|
|
6175
|
+
@gift_card = gift_card
|
|
2686
6176
|
@giropay = giropay
|
|
6177
|
+
@gopay = gopay
|
|
2687
6178
|
@grabpay = grabpay
|
|
6179
|
+
@id_bank_transfer = id_bank_transfer
|
|
2688
6180
|
@ideal = ideal
|
|
2689
6181
|
@interac_present = interac_present
|
|
2690
6182
|
@kakao_pay = kakao_pay
|
|
@@ -2703,15 +6195,20 @@ module Stripe
|
|
|
2703
6195
|
@payco = payco
|
|
2704
6196
|
@paynow = paynow
|
|
2705
6197
|
@paypal = paypal
|
|
6198
|
+
@paypay = paypay
|
|
2706
6199
|
@payto = payto
|
|
2707
6200
|
@pix = pix
|
|
2708
6201
|
@promptpay = promptpay
|
|
6202
|
+
@qris = qris
|
|
6203
|
+
@rechnung = rechnung
|
|
2709
6204
|
@revolut_pay = revolut_pay
|
|
2710
6205
|
@samsung_pay = samsung_pay
|
|
2711
6206
|
@satispay = satispay
|
|
2712
6207
|
@scalapay = scalapay
|
|
2713
6208
|
@sepa_debit = sepa_debit
|
|
6209
|
+
@shopeepay = shopeepay
|
|
2714
6210
|
@sofort = sofort
|
|
6211
|
+
@stripe_balance = stripe_balance
|
|
2715
6212
|
@sunbit = sunbit
|
|
2716
6213
|
@swish = swish
|
|
2717
6214
|
@twint = twint
|
|
@@ -2722,6 +6219,18 @@ module Stripe
|
|
|
2722
6219
|
end
|
|
2723
6220
|
end
|
|
2724
6221
|
|
|
6222
|
+
class PaymentsOrchestration < ::Stripe::RequestParams
|
|
6223
|
+
# Whether this feature is enabled.
|
|
6224
|
+
attr_accessor :enabled
|
|
6225
|
+
# Merchant-provided reference for this payment, used for reconciliation.
|
|
6226
|
+
attr_accessor :payment_reference
|
|
6227
|
+
|
|
6228
|
+
def initialize(enabled: nil, payment_reference: nil)
|
|
6229
|
+
@enabled = enabled
|
|
6230
|
+
@payment_reference = payment_reference
|
|
6231
|
+
end
|
|
6232
|
+
end
|
|
6233
|
+
|
|
2725
6234
|
class RadarOptions < ::Stripe::RequestParams
|
|
2726
6235
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
2727
6236
|
attr_accessor :session
|
|
@@ -2828,6 +6337,10 @@ module Stripe
|
|
|
2828
6337
|
@payment_data = payment_data
|
|
2829
6338
|
end
|
|
2830
6339
|
end
|
|
6340
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
6341
|
+
attr_accessor :allocated_funds
|
|
6342
|
+
# The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
|
|
6343
|
+
attr_accessor :allowed_payment_method_types
|
|
2831
6344
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
2832
6345
|
attr_accessor :amount
|
|
2833
6346
|
# Provides industry-specific information about the amount.
|
|
@@ -2868,6 +6381,8 @@ module Stripe
|
|
|
2868
6381
|
attr_accessor :excluded_payment_method_types
|
|
2869
6382
|
# Specifies which fields in the response should be expanded.
|
|
2870
6383
|
attr_accessor :expand
|
|
6384
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
6385
|
+
attr_accessor :fx_quote
|
|
2871
6386
|
# Automations to be run during the PaymentIntent lifecycle
|
|
2872
6387
|
attr_accessor :hooks
|
|
2873
6388
|
# ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
@@ -2898,12 +6413,16 @@ module Stripe
|
|
|
2898
6413
|
attr_accessor :payment_method_options
|
|
2899
6414
|
# The list of payment method types (for example, a card) that this PaymentIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
2900
6415
|
attr_accessor :payment_method_types
|
|
6416
|
+
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
6417
|
+
attr_accessor :payments_orchestration
|
|
2901
6418
|
# Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
|
|
2902
6419
|
attr_accessor :radar_options
|
|
2903
6420
|
# Email address to send the receipt to. If you specify `receipt_email` for a payment in live mode, you send a receipt regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
2904
6421
|
attr_accessor :receipt_email
|
|
2905
6422
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
2906
6423
|
attr_accessor :return_url
|
|
6424
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
6425
|
+
attr_accessor :secret_key_confirmation
|
|
2907
6426
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2908
6427
|
#
|
|
2909
6428
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -2929,6 +6448,8 @@ module Stripe
|
|
|
2929
6448
|
attr_accessor :use_stripe_sdk
|
|
2930
6449
|
|
|
2931
6450
|
def initialize(
|
|
6451
|
+
allocated_funds: nil,
|
|
6452
|
+
allowed_payment_method_types: nil,
|
|
2932
6453
|
amount: nil,
|
|
2933
6454
|
amount_details: nil,
|
|
2934
6455
|
application_fee_amount: nil,
|
|
@@ -2944,6 +6465,7 @@ module Stripe
|
|
|
2944
6465
|
error_on_requires_action: nil,
|
|
2945
6466
|
excluded_payment_method_types: nil,
|
|
2946
6467
|
expand: nil,
|
|
6468
|
+
fx_quote: nil,
|
|
2947
6469
|
hooks: nil,
|
|
2948
6470
|
mandate: nil,
|
|
2949
6471
|
mandate_data: nil,
|
|
@@ -2956,9 +6478,11 @@ module Stripe
|
|
|
2956
6478
|
payment_method_data: nil,
|
|
2957
6479
|
payment_method_options: nil,
|
|
2958
6480
|
payment_method_types: nil,
|
|
6481
|
+
payments_orchestration: nil,
|
|
2959
6482
|
radar_options: nil,
|
|
2960
6483
|
receipt_email: nil,
|
|
2961
6484
|
return_url: nil,
|
|
6485
|
+
secret_key_confirmation: nil,
|
|
2962
6486
|
setup_future_usage: nil,
|
|
2963
6487
|
shipping: nil,
|
|
2964
6488
|
statement_descriptor: nil,
|
|
@@ -2967,6 +6491,8 @@ module Stripe
|
|
|
2967
6491
|
transfer_group: nil,
|
|
2968
6492
|
use_stripe_sdk: nil
|
|
2969
6493
|
)
|
|
6494
|
+
@allocated_funds = allocated_funds
|
|
6495
|
+
@allowed_payment_method_types = allowed_payment_method_types
|
|
2970
6496
|
@amount = amount
|
|
2971
6497
|
@amount_details = amount_details
|
|
2972
6498
|
@application_fee_amount = application_fee_amount
|
|
@@ -2982,6 +6508,7 @@ module Stripe
|
|
|
2982
6508
|
@error_on_requires_action = error_on_requires_action
|
|
2983
6509
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
2984
6510
|
@expand = expand
|
|
6511
|
+
@fx_quote = fx_quote
|
|
2985
6512
|
@hooks = hooks
|
|
2986
6513
|
@mandate = mandate
|
|
2987
6514
|
@mandate_data = mandate_data
|
|
@@ -2994,9 +6521,11 @@ module Stripe
|
|
|
2994
6521
|
@payment_method_data = payment_method_data
|
|
2995
6522
|
@payment_method_options = payment_method_options
|
|
2996
6523
|
@payment_method_types = payment_method_types
|
|
6524
|
+
@payments_orchestration = payments_orchestration
|
|
2997
6525
|
@radar_options = radar_options
|
|
2998
6526
|
@receipt_email = receipt_email
|
|
2999
6527
|
@return_url = return_url
|
|
6528
|
+
@secret_key_confirmation = secret_key_confirmation
|
|
3000
6529
|
@setup_future_usage = setup_future_usage
|
|
3001
6530
|
@shipping = shipping
|
|
3002
6531
|
@statement_descriptor = statement_descriptor
|