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 PaymentIntentConfirmParams < ::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.
|
|
@@ -110,160 +135,2124 @@ module Stripe
|
|
|
110
135
|
attr_accessor :unit_of_measure
|
|
111
136
|
|
|
112
137
|
def initialize(
|
|
113
|
-
discount_amount: nil,
|
|
114
|
-
payment_method_options: nil,
|
|
115
|
-
product_code: nil,
|
|
116
|
-
product_name: nil,
|
|
117
|
-
quantity: nil,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
138
|
+
discount_amount: nil,
|
|
139
|
+
payment_method_options: nil,
|
|
140
|
+
product_code: nil,
|
|
141
|
+
product_name: nil,
|
|
142
|
+
quantity: nil,
|
|
143
|
+
quantity_precision: nil,
|
|
144
|
+
tax: nil,
|
|
145
|
+
unit_cost: nil,
|
|
146
|
+
unit_of_measure: nil
|
|
147
|
+
)
|
|
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 Hooks < ::Stripe::RequestParams
|
|
247
|
+
class Inputs < ::Stripe::RequestParams
|
|
248
|
+
class Tax < ::Stripe::RequestParams
|
|
249
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
250
|
+
attr_accessor :calculation
|
|
251
|
+
|
|
252
|
+
def initialize(calculation: nil)
|
|
253
|
+
@calculation = calculation
|
|
254
|
+
end
|
|
255
|
+
end
|
|
256
|
+
# Tax arguments for automations
|
|
257
|
+
attr_accessor :tax
|
|
258
|
+
|
|
259
|
+
def initialize(tax: nil)
|
|
260
|
+
@tax = tax
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
# Arguments passed in automations
|
|
264
|
+
attr_accessor :inputs
|
|
265
|
+
|
|
266
|
+
def initialize(inputs: nil)
|
|
267
|
+
@inputs = inputs
|
|
268
|
+
end
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
class MandateData < ::Stripe::RequestParams
|
|
272
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
|
273
|
+
class Offline < ::Stripe::RequestParams; end
|
|
274
|
+
|
|
275
|
+
class Online < ::Stripe::RequestParams
|
|
276
|
+
# The IP address from which the Mandate was accepted by the customer.
|
|
277
|
+
attr_accessor :ip_address
|
|
278
|
+
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
279
|
+
attr_accessor :user_agent
|
|
280
|
+
|
|
281
|
+
def initialize(ip_address: nil, user_agent: nil)
|
|
282
|
+
@ip_address = ip_address
|
|
283
|
+
@user_agent = user_agent
|
|
284
|
+
end
|
|
285
|
+
end
|
|
286
|
+
# The time at which the customer accepted the Mandate.
|
|
287
|
+
attr_accessor :accepted_at
|
|
288
|
+
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
|
289
|
+
attr_accessor :offline
|
|
290
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
|
291
|
+
attr_accessor :online
|
|
292
|
+
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
|
293
|
+
attr_accessor :type
|
|
294
|
+
|
|
295
|
+
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
|
296
|
+
@accepted_at = accepted_at
|
|
297
|
+
@offline = offline
|
|
298
|
+
@online = online
|
|
299
|
+
@type = type
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
|
303
|
+
attr_accessor :customer_acceptance
|
|
304
|
+
|
|
305
|
+
def initialize(customer_acceptance: nil)
|
|
306
|
+
@customer_acceptance = customer_acceptance
|
|
307
|
+
end
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
311
|
+
class Benefit < ::Stripe::RequestParams
|
|
312
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
|
313
|
+
# Whether to enable meal voucher benefit for this payment.
|
|
314
|
+
attr_accessor :enabled
|
|
315
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
316
|
+
attr_accessor :siret
|
|
317
|
+
|
|
318
|
+
def initialize(enabled: nil, siret: nil)
|
|
319
|
+
@enabled = enabled
|
|
320
|
+
@siret = siret
|
|
321
|
+
end
|
|
322
|
+
end
|
|
323
|
+
# French meal voucher benefit details for this PaymentIntent.
|
|
324
|
+
attr_accessor :fr_meal_voucher
|
|
325
|
+
|
|
326
|
+
def initialize(fr_meal_voucher: nil)
|
|
327
|
+
@fr_meal_voucher = fr_meal_voucher
|
|
328
|
+
end
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class CarRental < ::Stripe::RequestParams
|
|
332
|
+
class Affiliate < ::Stripe::RequestParams
|
|
333
|
+
# The name of the affiliate that originated the purchase.
|
|
334
|
+
attr_accessor :name
|
|
335
|
+
|
|
336
|
+
def initialize(name: nil)
|
|
337
|
+
@name = name
|
|
338
|
+
end
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
class Delivery < ::Stripe::RequestParams
|
|
342
|
+
class Recipient < ::Stripe::RequestParams
|
|
343
|
+
# The email of the recipient the ticket is delivered to.
|
|
344
|
+
attr_accessor :email
|
|
345
|
+
# The name of the recipient the ticket is delivered to.
|
|
346
|
+
attr_accessor :name
|
|
347
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
348
|
+
attr_accessor :phone
|
|
349
|
+
|
|
350
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
351
|
+
@email = email
|
|
352
|
+
@name = name
|
|
353
|
+
@phone = phone
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
# The delivery method for the payment
|
|
357
|
+
attr_accessor :mode
|
|
358
|
+
# Details of the recipient.
|
|
359
|
+
attr_accessor :recipient
|
|
360
|
+
|
|
361
|
+
def initialize(mode: nil, recipient: nil)
|
|
362
|
+
@mode = mode
|
|
363
|
+
@recipient = recipient
|
|
364
|
+
end
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
class Distance < ::Stripe::RequestParams
|
|
368
|
+
# Distance traveled.
|
|
369
|
+
attr_accessor :amount
|
|
370
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
371
|
+
attr_accessor :unit
|
|
372
|
+
|
|
373
|
+
def initialize(amount: nil, unit: nil)
|
|
374
|
+
@amount = amount
|
|
375
|
+
@unit = unit
|
|
376
|
+
end
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
class Driver < ::Stripe::RequestParams
|
|
380
|
+
# Driver's identification number.
|
|
381
|
+
attr_accessor :driver_identification_number
|
|
382
|
+
# Driver's tax number.
|
|
383
|
+
attr_accessor :driver_tax_number
|
|
384
|
+
# Full name of the person or entity on the car reservation.
|
|
385
|
+
attr_accessor :name
|
|
386
|
+
|
|
387
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
388
|
+
@driver_identification_number = driver_identification_number
|
|
389
|
+
@driver_tax_number = driver_tax_number
|
|
390
|
+
@name = name
|
|
391
|
+
end
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
class PickupAddress < ::Stripe::RequestParams
|
|
395
|
+
# City, district, suburb, town, or village.
|
|
396
|
+
attr_accessor :city
|
|
397
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
398
|
+
attr_accessor :country
|
|
399
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
400
|
+
attr_accessor :line1
|
|
401
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
402
|
+
attr_accessor :line2
|
|
403
|
+
# ZIP or postal code.
|
|
404
|
+
attr_accessor :postal_code
|
|
405
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
406
|
+
attr_accessor :state
|
|
407
|
+
|
|
408
|
+
def initialize(
|
|
409
|
+
city: nil,
|
|
410
|
+
country: nil,
|
|
411
|
+
line1: nil,
|
|
412
|
+
line2: nil,
|
|
413
|
+
postal_code: nil,
|
|
414
|
+
state: nil
|
|
415
|
+
)
|
|
416
|
+
@city = city
|
|
417
|
+
@country = country
|
|
418
|
+
@line1 = line1
|
|
419
|
+
@line2 = line2
|
|
420
|
+
@postal_code = postal_code
|
|
421
|
+
@state = state
|
|
422
|
+
end
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
class ReturnAddress < ::Stripe::RequestParams
|
|
426
|
+
# City, district, suburb, town, or village.
|
|
427
|
+
attr_accessor :city
|
|
428
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
429
|
+
attr_accessor :country
|
|
430
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
431
|
+
attr_accessor :line1
|
|
432
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
433
|
+
attr_accessor :line2
|
|
434
|
+
# ZIP or postal code.
|
|
435
|
+
attr_accessor :postal_code
|
|
436
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
437
|
+
attr_accessor :state
|
|
438
|
+
|
|
439
|
+
def initialize(
|
|
440
|
+
city: nil,
|
|
441
|
+
country: nil,
|
|
442
|
+
line1: nil,
|
|
443
|
+
line2: nil,
|
|
444
|
+
postal_code: nil,
|
|
445
|
+
state: nil
|
|
446
|
+
)
|
|
447
|
+
@city = city
|
|
448
|
+
@country = country
|
|
449
|
+
@line1 = line1
|
|
450
|
+
@line2 = line2
|
|
451
|
+
@postal_code = postal_code
|
|
452
|
+
@state = state
|
|
453
|
+
end
|
|
454
|
+
end
|
|
455
|
+
# Affiliate details for this purchase.
|
|
456
|
+
attr_accessor :affiliate
|
|
457
|
+
# The booking number associated with the car rental.
|
|
458
|
+
attr_accessor :booking_number
|
|
459
|
+
# Class code of the car.
|
|
460
|
+
attr_accessor :car_class_code
|
|
461
|
+
# Make of the car.
|
|
462
|
+
attr_accessor :car_make
|
|
463
|
+
# Model of the car.
|
|
464
|
+
attr_accessor :car_model
|
|
465
|
+
# The name of the rental car company.
|
|
466
|
+
attr_accessor :company
|
|
467
|
+
# The customer service phone number of the car rental company.
|
|
468
|
+
attr_accessor :customer_service_phone_number
|
|
469
|
+
# Number of days the car is being rented.
|
|
470
|
+
attr_accessor :days_rented
|
|
471
|
+
# Delivery details for this purchase.
|
|
472
|
+
attr_accessor :delivery
|
|
473
|
+
# The details of the distance traveled during the rental period.
|
|
474
|
+
attr_accessor :distance
|
|
475
|
+
# The details of the passengers in the travel reservation
|
|
476
|
+
attr_accessor :drivers
|
|
477
|
+
# List of additional charges being billed.
|
|
478
|
+
attr_accessor :extra_charges
|
|
479
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
480
|
+
attr_accessor :no_show
|
|
481
|
+
# Car pick-up address.
|
|
482
|
+
attr_accessor :pickup_address
|
|
483
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
484
|
+
attr_accessor :pickup_at
|
|
485
|
+
# Name of the pickup location.
|
|
486
|
+
attr_accessor :pickup_location_name
|
|
487
|
+
# Rental rate.
|
|
488
|
+
attr_accessor :rate_amount
|
|
489
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
490
|
+
attr_accessor :rate_interval
|
|
491
|
+
# The name of the person or entity renting the car.
|
|
492
|
+
attr_accessor :renter_name
|
|
493
|
+
# Car return address.
|
|
494
|
+
attr_accessor :return_address
|
|
495
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
496
|
+
attr_accessor :return_at
|
|
497
|
+
# Name of the return location.
|
|
498
|
+
attr_accessor :return_location_name
|
|
499
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
500
|
+
attr_accessor :tax_exempt
|
|
501
|
+
# The vehicle identification number.
|
|
502
|
+
attr_accessor :vehicle_identification_number
|
|
503
|
+
|
|
504
|
+
def initialize(
|
|
505
|
+
affiliate: nil,
|
|
506
|
+
booking_number: nil,
|
|
507
|
+
car_class_code: nil,
|
|
508
|
+
car_make: nil,
|
|
509
|
+
car_model: nil,
|
|
510
|
+
company: nil,
|
|
511
|
+
customer_service_phone_number: nil,
|
|
512
|
+
days_rented: nil,
|
|
513
|
+
delivery: nil,
|
|
514
|
+
distance: nil,
|
|
515
|
+
drivers: nil,
|
|
516
|
+
extra_charges: nil,
|
|
517
|
+
no_show: nil,
|
|
518
|
+
pickup_address: nil,
|
|
519
|
+
pickup_at: nil,
|
|
520
|
+
pickup_location_name: nil,
|
|
521
|
+
rate_amount: nil,
|
|
522
|
+
rate_interval: nil,
|
|
523
|
+
renter_name: nil,
|
|
524
|
+
return_address: nil,
|
|
525
|
+
return_at: nil,
|
|
526
|
+
return_location_name: nil,
|
|
527
|
+
tax_exempt: nil,
|
|
528
|
+
vehicle_identification_number: nil
|
|
529
|
+
)
|
|
530
|
+
@affiliate = affiliate
|
|
531
|
+
@booking_number = booking_number
|
|
532
|
+
@car_class_code = car_class_code
|
|
533
|
+
@car_make = car_make
|
|
534
|
+
@car_model = car_model
|
|
535
|
+
@company = company
|
|
536
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
537
|
+
@days_rented = days_rented
|
|
538
|
+
@delivery = delivery
|
|
539
|
+
@distance = distance
|
|
540
|
+
@drivers = drivers
|
|
541
|
+
@extra_charges = extra_charges
|
|
542
|
+
@no_show = no_show
|
|
543
|
+
@pickup_address = pickup_address
|
|
544
|
+
@pickup_at = pickup_at
|
|
545
|
+
@pickup_location_name = pickup_location_name
|
|
546
|
+
@rate_amount = rate_amount
|
|
547
|
+
@rate_interval = rate_interval
|
|
548
|
+
@renter_name = renter_name
|
|
549
|
+
@return_address = return_address
|
|
550
|
+
@return_at = return_at
|
|
551
|
+
@return_location_name = return_location_name
|
|
552
|
+
@tax_exempt = tax_exempt
|
|
553
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
554
|
+
end
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
class CarRentalDatum < ::Stripe::RequestParams
|
|
558
|
+
class Affiliate < ::Stripe::RequestParams
|
|
559
|
+
# Affiliate partner code.
|
|
560
|
+
attr_accessor :code
|
|
561
|
+
# Name of affiliate partner.
|
|
562
|
+
attr_accessor :name
|
|
563
|
+
|
|
564
|
+
def initialize(code: nil, name: nil)
|
|
565
|
+
@code = code
|
|
566
|
+
@name = name
|
|
567
|
+
end
|
|
568
|
+
end
|
|
569
|
+
|
|
570
|
+
class Distance < ::Stripe::RequestParams
|
|
571
|
+
# Distance traveled.
|
|
572
|
+
attr_accessor :amount
|
|
573
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
574
|
+
attr_accessor :unit
|
|
575
|
+
|
|
576
|
+
def initialize(amount: nil, unit: nil)
|
|
577
|
+
@amount = amount
|
|
578
|
+
@unit = unit
|
|
579
|
+
end
|
|
580
|
+
end
|
|
581
|
+
|
|
582
|
+
class Driver < ::Stripe::RequestParams
|
|
583
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
584
|
+
# Day of birth (1-31).
|
|
585
|
+
attr_accessor :day
|
|
586
|
+
# Month of birth (1-12).
|
|
587
|
+
attr_accessor :month
|
|
588
|
+
# Year of birth (must be greater than 1900).
|
|
589
|
+
attr_accessor :year
|
|
590
|
+
|
|
591
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
592
|
+
@day = day
|
|
593
|
+
@month = month
|
|
594
|
+
@year = year
|
|
595
|
+
end
|
|
596
|
+
end
|
|
597
|
+
# Driver's date of birth.
|
|
598
|
+
attr_accessor :date_of_birth
|
|
599
|
+
# Driver's identification number.
|
|
600
|
+
attr_accessor :driver_identification_number
|
|
601
|
+
# Driver's tax number.
|
|
602
|
+
attr_accessor :driver_tax_number
|
|
603
|
+
# Driver's full name.
|
|
604
|
+
attr_accessor :name
|
|
605
|
+
|
|
606
|
+
def initialize(
|
|
607
|
+
date_of_birth: nil,
|
|
608
|
+
driver_identification_number: nil,
|
|
609
|
+
driver_tax_number: nil,
|
|
610
|
+
name: nil
|
|
611
|
+
)
|
|
612
|
+
@date_of_birth = date_of_birth
|
|
613
|
+
@driver_identification_number = driver_identification_number
|
|
614
|
+
@driver_tax_number = driver_tax_number
|
|
615
|
+
@name = name
|
|
616
|
+
end
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
class DropOff < ::Stripe::RequestParams
|
|
620
|
+
class Address < ::Stripe::RequestParams
|
|
621
|
+
# City, district, suburb, town, or village.
|
|
622
|
+
attr_accessor :city
|
|
623
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
624
|
+
attr_accessor :country
|
|
625
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
626
|
+
attr_accessor :line1
|
|
627
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
628
|
+
attr_accessor :line2
|
|
629
|
+
# ZIP or postal code.
|
|
630
|
+
attr_accessor :postal_code
|
|
631
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
632
|
+
attr_accessor :state
|
|
633
|
+
|
|
634
|
+
def initialize(
|
|
635
|
+
city: nil,
|
|
636
|
+
country: nil,
|
|
637
|
+
line1: nil,
|
|
638
|
+
line2: nil,
|
|
639
|
+
postal_code: nil,
|
|
640
|
+
state: nil
|
|
641
|
+
)
|
|
642
|
+
@city = city
|
|
643
|
+
@country = country
|
|
644
|
+
@line1 = line1
|
|
645
|
+
@line2 = line2
|
|
646
|
+
@postal_code = postal_code
|
|
647
|
+
@state = state
|
|
648
|
+
end
|
|
649
|
+
end
|
|
650
|
+
# Address of the rental location.
|
|
651
|
+
attr_accessor :address
|
|
652
|
+
# Location name.
|
|
653
|
+
attr_accessor :location_name
|
|
654
|
+
# Timestamp for the location.
|
|
655
|
+
attr_accessor :time
|
|
656
|
+
|
|
657
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
658
|
+
@address = address
|
|
659
|
+
@location_name = location_name
|
|
660
|
+
@time = time
|
|
661
|
+
end
|
|
662
|
+
end
|
|
663
|
+
|
|
664
|
+
class Insurance < ::Stripe::RequestParams
|
|
665
|
+
# Amount of the insurance coverage in cents.
|
|
666
|
+
attr_accessor :amount
|
|
667
|
+
# Currency of the insurance amount.
|
|
668
|
+
attr_accessor :currency
|
|
669
|
+
# Name of the insurance company.
|
|
670
|
+
attr_accessor :insurance_company_name
|
|
671
|
+
# Type of insurance coverage.
|
|
672
|
+
attr_accessor :insurance_type
|
|
673
|
+
|
|
674
|
+
def initialize(
|
|
675
|
+
amount: nil,
|
|
676
|
+
currency: nil,
|
|
677
|
+
insurance_company_name: nil,
|
|
678
|
+
insurance_type: nil
|
|
679
|
+
)
|
|
680
|
+
@amount = amount
|
|
681
|
+
@currency = currency
|
|
682
|
+
@insurance_company_name = insurance_company_name
|
|
683
|
+
@insurance_type = insurance_type
|
|
684
|
+
end
|
|
685
|
+
end
|
|
686
|
+
|
|
687
|
+
class Pickup < ::Stripe::RequestParams
|
|
688
|
+
class Address < ::Stripe::RequestParams
|
|
689
|
+
# City, district, suburb, town, or village.
|
|
690
|
+
attr_accessor :city
|
|
691
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
692
|
+
attr_accessor :country
|
|
693
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
694
|
+
attr_accessor :line1
|
|
695
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
696
|
+
attr_accessor :line2
|
|
697
|
+
# ZIP or postal code.
|
|
698
|
+
attr_accessor :postal_code
|
|
699
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
700
|
+
attr_accessor :state
|
|
701
|
+
|
|
702
|
+
def initialize(
|
|
703
|
+
city: nil,
|
|
704
|
+
country: nil,
|
|
705
|
+
line1: nil,
|
|
706
|
+
line2: nil,
|
|
707
|
+
postal_code: nil,
|
|
708
|
+
state: nil
|
|
709
|
+
)
|
|
710
|
+
@city = city
|
|
711
|
+
@country = country
|
|
712
|
+
@line1 = line1
|
|
713
|
+
@line2 = line2
|
|
714
|
+
@postal_code = postal_code
|
|
715
|
+
@state = state
|
|
716
|
+
end
|
|
717
|
+
end
|
|
718
|
+
# Address of the rental location.
|
|
719
|
+
attr_accessor :address
|
|
720
|
+
# Location name.
|
|
721
|
+
attr_accessor :location_name
|
|
722
|
+
# Timestamp for the location.
|
|
723
|
+
attr_accessor :time
|
|
724
|
+
|
|
725
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
726
|
+
@address = address
|
|
727
|
+
@location_name = location_name
|
|
728
|
+
@time = time
|
|
729
|
+
end
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
class Total < ::Stripe::RequestParams
|
|
733
|
+
class Discounts < ::Stripe::RequestParams
|
|
734
|
+
# Corporate client discount code.
|
|
735
|
+
attr_accessor :corporate_client_code
|
|
736
|
+
# Coupon code applied to the rental.
|
|
737
|
+
attr_accessor :coupon
|
|
738
|
+
# Maximum number of free miles or kilometers included.
|
|
739
|
+
attr_accessor :maximum_free_miles_or_kilometers
|
|
740
|
+
|
|
741
|
+
def initialize(
|
|
742
|
+
corporate_client_code: nil,
|
|
743
|
+
coupon: nil,
|
|
744
|
+
maximum_free_miles_or_kilometers: nil
|
|
745
|
+
)
|
|
746
|
+
@corporate_client_code = corporate_client_code
|
|
747
|
+
@coupon = coupon
|
|
748
|
+
@maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
|
|
749
|
+
end
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
753
|
+
# Amount of the extra charge in cents.
|
|
754
|
+
attr_accessor :amount
|
|
755
|
+
# Type of extra charge.
|
|
756
|
+
attr_accessor :type
|
|
757
|
+
|
|
758
|
+
def initialize(amount: nil, type: nil)
|
|
759
|
+
@amount = amount
|
|
760
|
+
@type = type
|
|
761
|
+
end
|
|
762
|
+
end
|
|
763
|
+
|
|
764
|
+
class Tax < ::Stripe::RequestParams
|
|
765
|
+
class Tax < ::Stripe::RequestParams
|
|
766
|
+
# Tax amount.
|
|
767
|
+
attr_accessor :amount
|
|
768
|
+
# Tax rate applied.
|
|
769
|
+
attr_accessor :rate
|
|
770
|
+
# Type of tax applied.
|
|
771
|
+
attr_accessor :type
|
|
772
|
+
|
|
773
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
774
|
+
@amount = amount
|
|
775
|
+
@rate = rate
|
|
776
|
+
@type = type
|
|
777
|
+
end
|
|
778
|
+
end
|
|
779
|
+
# Indicates if the transaction is tax exempt.
|
|
780
|
+
attr_accessor :tax_exempt_indicator
|
|
781
|
+
# Array of tax details.
|
|
782
|
+
attr_accessor :taxes
|
|
783
|
+
|
|
784
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
785
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
786
|
+
@taxes = taxes
|
|
787
|
+
end
|
|
788
|
+
end
|
|
789
|
+
# Total amount in cents.
|
|
790
|
+
attr_accessor :amount
|
|
791
|
+
# Currency of the amount.
|
|
792
|
+
attr_accessor :currency
|
|
793
|
+
# Discount details for the rental.
|
|
794
|
+
attr_accessor :discounts
|
|
795
|
+
# Additional charges for the rental.
|
|
796
|
+
attr_accessor :extra_charges
|
|
797
|
+
# Rate per unit for the rental.
|
|
798
|
+
attr_accessor :rate_per_unit
|
|
799
|
+
# Unit of measurement for the rate.
|
|
800
|
+
attr_accessor :rate_unit
|
|
801
|
+
# Tax breakdown for the rental.
|
|
802
|
+
attr_accessor :tax
|
|
803
|
+
|
|
804
|
+
def initialize(
|
|
805
|
+
amount: nil,
|
|
806
|
+
currency: nil,
|
|
807
|
+
discounts: nil,
|
|
808
|
+
extra_charges: nil,
|
|
809
|
+
rate_per_unit: nil,
|
|
810
|
+
rate_unit: nil,
|
|
811
|
+
tax: nil
|
|
812
|
+
)
|
|
813
|
+
@amount = amount
|
|
814
|
+
@currency = currency
|
|
815
|
+
@discounts = discounts
|
|
816
|
+
@extra_charges = extra_charges
|
|
817
|
+
@rate_per_unit = rate_per_unit
|
|
818
|
+
@rate_unit = rate_unit
|
|
819
|
+
@tax = tax
|
|
820
|
+
end
|
|
821
|
+
end
|
|
822
|
+
|
|
823
|
+
class Vehicle < ::Stripe::RequestParams
|
|
824
|
+
# Make of the rental vehicle.
|
|
825
|
+
attr_accessor :make
|
|
826
|
+
# Model of the rental vehicle.
|
|
827
|
+
attr_accessor :model
|
|
828
|
+
# Odometer reading at the time of rental.
|
|
829
|
+
attr_accessor :odometer
|
|
830
|
+
# Type of the rental vehicle.
|
|
831
|
+
attr_accessor :type
|
|
832
|
+
# Class of the rental vehicle.
|
|
833
|
+
attr_accessor :vehicle_class
|
|
834
|
+
# Vehicle identification number (VIN).
|
|
835
|
+
attr_accessor :vehicle_identification_number
|
|
836
|
+
|
|
837
|
+
def initialize(
|
|
838
|
+
make: nil,
|
|
839
|
+
model: nil,
|
|
840
|
+
odometer: nil,
|
|
841
|
+
type: nil,
|
|
842
|
+
vehicle_class: nil,
|
|
843
|
+
vehicle_identification_number: nil
|
|
844
|
+
)
|
|
845
|
+
@make = make
|
|
846
|
+
@model = model
|
|
847
|
+
@odometer = odometer
|
|
848
|
+
@type = type
|
|
849
|
+
@vehicle_class = vehicle_class
|
|
850
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
851
|
+
end
|
|
852
|
+
end
|
|
853
|
+
# Affiliate (such as travel agency) details for the rental.
|
|
854
|
+
attr_accessor :affiliate
|
|
855
|
+
# Booking confirmation number for the car rental.
|
|
856
|
+
attr_accessor :booking_number
|
|
857
|
+
# Name of the car rental company.
|
|
858
|
+
attr_accessor :carrier_name
|
|
859
|
+
# Customer service phone number for the car rental company.
|
|
860
|
+
attr_accessor :customer_service_phone_number
|
|
861
|
+
# Number of days the car is being rented.
|
|
862
|
+
attr_accessor :days_rented
|
|
863
|
+
# Distance details for the rental.
|
|
864
|
+
attr_accessor :distance
|
|
865
|
+
# List of drivers for the rental.
|
|
866
|
+
attr_accessor :drivers
|
|
867
|
+
# Drop-off location details.
|
|
868
|
+
attr_accessor :drop_off
|
|
869
|
+
# Insurance details for the rental.
|
|
870
|
+
attr_accessor :insurances
|
|
871
|
+
# Indicates if the customer was a no-show.
|
|
872
|
+
attr_accessor :no_show_indicator
|
|
873
|
+
# Pickup location details.
|
|
874
|
+
attr_accessor :pickup
|
|
875
|
+
# Name of the person renting the vehicle.
|
|
876
|
+
attr_accessor :renter_name
|
|
877
|
+
# Total cost breakdown for the rental.
|
|
878
|
+
attr_accessor :total
|
|
879
|
+
# Vehicle details for the rental.
|
|
880
|
+
attr_accessor :vehicle
|
|
881
|
+
|
|
882
|
+
def initialize(
|
|
883
|
+
affiliate: nil,
|
|
884
|
+
booking_number: nil,
|
|
885
|
+
carrier_name: nil,
|
|
886
|
+
customer_service_phone_number: nil,
|
|
887
|
+
days_rented: nil,
|
|
888
|
+
distance: nil,
|
|
889
|
+
drivers: nil,
|
|
890
|
+
drop_off: nil,
|
|
891
|
+
insurances: nil,
|
|
892
|
+
no_show_indicator: nil,
|
|
893
|
+
pickup: nil,
|
|
894
|
+
renter_name: nil,
|
|
895
|
+
total: nil,
|
|
896
|
+
vehicle: nil
|
|
897
|
+
)
|
|
898
|
+
@affiliate = affiliate
|
|
899
|
+
@booking_number = booking_number
|
|
900
|
+
@carrier_name = carrier_name
|
|
901
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
902
|
+
@days_rented = days_rented
|
|
903
|
+
@distance = distance
|
|
904
|
+
@drivers = drivers
|
|
905
|
+
@drop_off = drop_off
|
|
906
|
+
@insurances = insurances
|
|
907
|
+
@no_show_indicator = no_show_indicator
|
|
908
|
+
@pickup = pickup
|
|
909
|
+
@renter_name = renter_name
|
|
910
|
+
@total = total
|
|
911
|
+
@vehicle = vehicle
|
|
912
|
+
end
|
|
913
|
+
end
|
|
914
|
+
|
|
915
|
+
class EventDetails < ::Stripe::RequestParams
|
|
916
|
+
class Address < ::Stripe::RequestParams
|
|
917
|
+
# City, district, suburb, town, or village.
|
|
918
|
+
attr_accessor :city
|
|
919
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
920
|
+
attr_accessor :country
|
|
921
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
922
|
+
attr_accessor :line1
|
|
923
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
924
|
+
attr_accessor :line2
|
|
925
|
+
# ZIP or postal code.
|
|
926
|
+
attr_accessor :postal_code
|
|
927
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
928
|
+
attr_accessor :state
|
|
929
|
+
|
|
930
|
+
def initialize(
|
|
931
|
+
city: nil,
|
|
932
|
+
country: nil,
|
|
933
|
+
line1: nil,
|
|
934
|
+
line2: nil,
|
|
935
|
+
postal_code: nil,
|
|
936
|
+
state: nil
|
|
937
|
+
)
|
|
938
|
+
@city = city
|
|
939
|
+
@country = country
|
|
940
|
+
@line1 = line1
|
|
941
|
+
@line2 = line2
|
|
942
|
+
@postal_code = postal_code
|
|
943
|
+
@state = state
|
|
944
|
+
end
|
|
945
|
+
end
|
|
946
|
+
|
|
947
|
+
class Affiliate < ::Stripe::RequestParams
|
|
948
|
+
# The name of the affiliate that originated the purchase.
|
|
949
|
+
attr_accessor :name
|
|
950
|
+
|
|
951
|
+
def initialize(name: nil)
|
|
952
|
+
@name = name
|
|
953
|
+
end
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
class Delivery < ::Stripe::RequestParams
|
|
957
|
+
class Recipient < ::Stripe::RequestParams
|
|
958
|
+
# The email of the recipient the ticket is delivered to.
|
|
959
|
+
attr_accessor :email
|
|
960
|
+
# The name of the recipient the ticket is delivered to.
|
|
961
|
+
attr_accessor :name
|
|
962
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
963
|
+
attr_accessor :phone
|
|
964
|
+
|
|
965
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
966
|
+
@email = email
|
|
967
|
+
@name = name
|
|
968
|
+
@phone = phone
|
|
969
|
+
end
|
|
970
|
+
end
|
|
971
|
+
# The delivery method for the payment
|
|
972
|
+
attr_accessor :mode
|
|
973
|
+
# Details of the recipient.
|
|
974
|
+
attr_accessor :recipient
|
|
975
|
+
|
|
976
|
+
def initialize(mode: nil, recipient: nil)
|
|
977
|
+
@mode = mode
|
|
978
|
+
@recipient = recipient
|
|
979
|
+
end
|
|
980
|
+
end
|
|
981
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
982
|
+
attr_accessor :access_controlled_venue
|
|
983
|
+
# The event location's address.
|
|
984
|
+
attr_accessor :address
|
|
985
|
+
# Affiliate details for this purchase.
|
|
986
|
+
attr_accessor :affiliate
|
|
987
|
+
# The name of the company
|
|
988
|
+
attr_accessor :company
|
|
989
|
+
# Delivery details for this purchase.
|
|
990
|
+
attr_accessor :delivery
|
|
991
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
992
|
+
attr_accessor :ends_at
|
|
993
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
994
|
+
attr_accessor :genre
|
|
995
|
+
# The name of the event.
|
|
996
|
+
attr_accessor :name
|
|
997
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
998
|
+
attr_accessor :starts_at
|
|
999
|
+
|
|
1000
|
+
def initialize(
|
|
1001
|
+
access_controlled_venue: nil,
|
|
1002
|
+
address: nil,
|
|
1003
|
+
affiliate: nil,
|
|
1004
|
+
company: nil,
|
|
1005
|
+
delivery: nil,
|
|
1006
|
+
ends_at: nil,
|
|
1007
|
+
genre: nil,
|
|
1008
|
+
name: nil,
|
|
1009
|
+
starts_at: nil
|
|
1010
|
+
)
|
|
1011
|
+
@access_controlled_venue = access_controlled_venue
|
|
1012
|
+
@address = address
|
|
1013
|
+
@affiliate = affiliate
|
|
1014
|
+
@company = company
|
|
1015
|
+
@delivery = delivery
|
|
1016
|
+
@ends_at = ends_at
|
|
1017
|
+
@genre = genre
|
|
1018
|
+
@name = name
|
|
1019
|
+
@starts_at = starts_at
|
|
1020
|
+
end
|
|
1021
|
+
end
|
|
1022
|
+
|
|
1023
|
+
class FleetDatum < ::Stripe::RequestParams
|
|
1024
|
+
class PrimaryFuelFields < ::Stripe::RequestParams
|
|
1025
|
+
# The fuel brand.
|
|
1026
|
+
attr_accessor :brand
|
|
1027
|
+
|
|
1028
|
+
def initialize(brand: nil)
|
|
1029
|
+
@brand = brand
|
|
1030
|
+
end
|
|
1031
|
+
end
|
|
1032
|
+
|
|
1033
|
+
class Station < ::Stripe::RequestParams
|
|
1034
|
+
class ServiceLocation < ::Stripe::RequestParams
|
|
1035
|
+
# City, district, suburb, town, or village.
|
|
1036
|
+
attr_accessor :city
|
|
1037
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1038
|
+
attr_accessor :country
|
|
1039
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1040
|
+
attr_accessor :line1
|
|
1041
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1042
|
+
attr_accessor :line2
|
|
1043
|
+
# ZIP or postal code.
|
|
1044
|
+
attr_accessor :postal_code
|
|
1045
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1046
|
+
attr_accessor :state
|
|
1047
|
+
|
|
1048
|
+
def initialize(
|
|
1049
|
+
city: nil,
|
|
1050
|
+
country: nil,
|
|
1051
|
+
line1: nil,
|
|
1052
|
+
line2: nil,
|
|
1053
|
+
postal_code: nil,
|
|
1054
|
+
state: nil
|
|
1055
|
+
)
|
|
1056
|
+
@city = city
|
|
1057
|
+
@country = country
|
|
1058
|
+
@line1 = line1
|
|
1059
|
+
@line2 = line2
|
|
1060
|
+
@postal_code = postal_code
|
|
1061
|
+
@state = state
|
|
1062
|
+
end
|
|
1063
|
+
end
|
|
1064
|
+
# Additional contact information for the station.
|
|
1065
|
+
attr_accessor :additional_contact_info
|
|
1066
|
+
# The customer service phone number of the station.
|
|
1067
|
+
attr_accessor :customer_service_phone_number
|
|
1068
|
+
# The partner ID code of the station.
|
|
1069
|
+
attr_accessor :partner_id_code
|
|
1070
|
+
# The phone number of the station.
|
|
1071
|
+
attr_accessor :phone_number
|
|
1072
|
+
# The physical location of the station.
|
|
1073
|
+
attr_accessor :service_location
|
|
1074
|
+
# The URL of the station.
|
|
1075
|
+
attr_accessor :url
|
|
1076
|
+
|
|
1077
|
+
def initialize(
|
|
1078
|
+
additional_contact_info: nil,
|
|
1079
|
+
customer_service_phone_number: nil,
|
|
1080
|
+
partner_id_code: nil,
|
|
1081
|
+
phone_number: nil,
|
|
1082
|
+
service_location: nil,
|
|
1083
|
+
url: nil
|
|
1084
|
+
)
|
|
1085
|
+
@additional_contact_info = additional_contact_info
|
|
1086
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1087
|
+
@partner_id_code = partner_id_code
|
|
1088
|
+
@phone_number = phone_number
|
|
1089
|
+
@service_location = service_location
|
|
1090
|
+
@url = url
|
|
1091
|
+
end
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
class Vat < ::Stripe::RequestParams
|
|
1095
|
+
# Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
1096
|
+
attr_accessor :iob_indicator
|
|
1097
|
+
|
|
1098
|
+
def initialize(iob_indicator: nil)
|
|
1099
|
+
@iob_indicator = iob_indicator
|
|
1100
|
+
end
|
|
1101
|
+
end
|
|
1102
|
+
# Primary fuel fields for the transaction.
|
|
1103
|
+
attr_accessor :primary_fuel_fields
|
|
1104
|
+
# Station and acceptor location details.
|
|
1105
|
+
attr_accessor :station
|
|
1106
|
+
# VAT and Invoice on Behalf (IOB) details.
|
|
1107
|
+
attr_accessor :vat
|
|
1108
|
+
|
|
1109
|
+
def initialize(primary_fuel_fields: nil, station: nil, vat: nil)
|
|
1110
|
+
@primary_fuel_fields = primary_fuel_fields
|
|
1111
|
+
@station = station
|
|
1112
|
+
@vat = vat
|
|
1113
|
+
end
|
|
1114
|
+
end
|
|
1115
|
+
|
|
1116
|
+
class Flight < ::Stripe::RequestParams
|
|
1117
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1118
|
+
# The name of the affiliate that originated the purchase.
|
|
1119
|
+
attr_accessor :name
|
|
1120
|
+
|
|
1121
|
+
def initialize(name: nil)
|
|
1122
|
+
@name = name
|
|
1123
|
+
end
|
|
1124
|
+
end
|
|
1125
|
+
|
|
1126
|
+
class Delivery < ::Stripe::RequestParams
|
|
1127
|
+
class Recipient < ::Stripe::RequestParams
|
|
1128
|
+
# The email of the recipient the ticket is delivered to.
|
|
1129
|
+
attr_accessor :email
|
|
1130
|
+
# The name of the recipient the ticket is delivered to.
|
|
1131
|
+
attr_accessor :name
|
|
1132
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1133
|
+
attr_accessor :phone
|
|
1134
|
+
|
|
1135
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
1136
|
+
@email = email
|
|
1137
|
+
@name = name
|
|
1138
|
+
@phone = phone
|
|
1139
|
+
end
|
|
1140
|
+
end
|
|
1141
|
+
# The delivery method for the payment
|
|
1142
|
+
attr_accessor :mode
|
|
1143
|
+
# Details of the recipient.
|
|
1144
|
+
attr_accessor :recipient
|
|
1145
|
+
|
|
1146
|
+
def initialize(mode: nil, recipient: nil)
|
|
1147
|
+
@mode = mode
|
|
1148
|
+
@recipient = recipient
|
|
1149
|
+
end
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
class Passenger < ::Stripe::RequestParams
|
|
1153
|
+
# Full name of the person or entity on the flight reservation.
|
|
1154
|
+
attr_accessor :name
|
|
1155
|
+
|
|
1156
|
+
def initialize(name: nil)
|
|
1157
|
+
@name = name
|
|
1158
|
+
end
|
|
1159
|
+
end
|
|
1160
|
+
|
|
1161
|
+
class Segment < ::Stripe::RequestParams
|
|
1162
|
+
# The flight segment amount.
|
|
1163
|
+
attr_accessor :amount
|
|
1164
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
1165
|
+
attr_accessor :arrival_airport
|
|
1166
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1167
|
+
attr_accessor :arrives_at
|
|
1168
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
1169
|
+
attr_accessor :carrier
|
|
1170
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1171
|
+
attr_accessor :departs_at
|
|
1172
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
1173
|
+
attr_accessor :departure_airport
|
|
1174
|
+
# The flight number associated with the segment
|
|
1175
|
+
attr_accessor :flight_number
|
|
1176
|
+
# The fare class for the segment.
|
|
1177
|
+
attr_accessor :service_class
|
|
1178
|
+
|
|
1179
|
+
def initialize(
|
|
1180
|
+
amount: nil,
|
|
1181
|
+
arrival_airport: nil,
|
|
1182
|
+
arrives_at: nil,
|
|
1183
|
+
carrier: nil,
|
|
1184
|
+
departs_at: nil,
|
|
1185
|
+
departure_airport: nil,
|
|
1186
|
+
flight_number: nil,
|
|
1187
|
+
service_class: nil
|
|
1188
|
+
)
|
|
1189
|
+
@amount = amount
|
|
1190
|
+
@arrival_airport = arrival_airport
|
|
1191
|
+
@arrives_at = arrives_at
|
|
1192
|
+
@carrier = carrier
|
|
1193
|
+
@departs_at = departs_at
|
|
1194
|
+
@departure_airport = departure_airport
|
|
1195
|
+
@flight_number = flight_number
|
|
1196
|
+
@service_class = service_class
|
|
1197
|
+
end
|
|
1198
|
+
end
|
|
1199
|
+
# Affiliate details for this purchase.
|
|
1200
|
+
attr_accessor :affiliate
|
|
1201
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
1202
|
+
attr_accessor :agency_number
|
|
1203
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
1204
|
+
attr_accessor :carrier
|
|
1205
|
+
# Delivery details for this purchase.
|
|
1206
|
+
attr_accessor :delivery
|
|
1207
|
+
# The name of the person or entity on the reservation.
|
|
1208
|
+
attr_accessor :passenger_name
|
|
1209
|
+
# The details of the passengers in the travel reservation.
|
|
1210
|
+
attr_accessor :passengers
|
|
1211
|
+
# The individual flight segments associated with the trip.
|
|
1212
|
+
attr_accessor :segments
|
|
1213
|
+
# The ticket number associated with the travel reservation.
|
|
1214
|
+
attr_accessor :ticket_number
|
|
1215
|
+
|
|
1216
|
+
def initialize(
|
|
1217
|
+
affiliate: nil,
|
|
1218
|
+
agency_number: nil,
|
|
1219
|
+
carrier: nil,
|
|
1220
|
+
delivery: nil,
|
|
1221
|
+
passenger_name: nil,
|
|
1222
|
+
passengers: nil,
|
|
1223
|
+
segments: nil,
|
|
1224
|
+
ticket_number: nil
|
|
1225
|
+
)
|
|
1226
|
+
@affiliate = affiliate
|
|
1227
|
+
@agency_number = agency_number
|
|
1228
|
+
@carrier = carrier
|
|
1229
|
+
@delivery = delivery
|
|
1230
|
+
@passenger_name = passenger_name
|
|
1231
|
+
@passengers = passengers
|
|
1232
|
+
@segments = segments
|
|
1233
|
+
@ticket_number = ticket_number
|
|
1234
|
+
end
|
|
1235
|
+
end
|
|
1236
|
+
|
|
1237
|
+
class FlightDatum < ::Stripe::RequestParams
|
|
1238
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1239
|
+
# Affiliate partner code.
|
|
1240
|
+
attr_accessor :code
|
|
1241
|
+
# Name of affiliate partner.
|
|
1242
|
+
attr_accessor :name
|
|
1243
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1244
|
+
attr_accessor :travel_authorization_code
|
|
1245
|
+
|
|
1246
|
+
def initialize(code: nil, name: nil, travel_authorization_code: nil)
|
|
1247
|
+
@code = code
|
|
1248
|
+
@name = name
|
|
1249
|
+
@travel_authorization_code = travel_authorization_code
|
|
1250
|
+
end
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1253
|
+
class Insurance < ::Stripe::RequestParams
|
|
1254
|
+
# Insurance cost.
|
|
1255
|
+
attr_accessor :amount
|
|
1256
|
+
# Insurance currency.
|
|
1257
|
+
attr_accessor :currency
|
|
1258
|
+
# Insurance company name.
|
|
1259
|
+
attr_accessor :insurance_company_name
|
|
1260
|
+
# Type of insurance.
|
|
1261
|
+
attr_accessor :insurance_type
|
|
1262
|
+
|
|
1263
|
+
def initialize(
|
|
1264
|
+
amount: nil,
|
|
1265
|
+
currency: nil,
|
|
1266
|
+
insurance_company_name: nil,
|
|
1267
|
+
insurance_type: nil
|
|
1268
|
+
)
|
|
1269
|
+
@amount = amount
|
|
1270
|
+
@currency = currency
|
|
1271
|
+
@insurance_company_name = insurance_company_name
|
|
1272
|
+
@insurance_type = insurance_type
|
|
1273
|
+
end
|
|
1274
|
+
end
|
|
1275
|
+
|
|
1276
|
+
class Passenger < ::Stripe::RequestParams
|
|
1277
|
+
# Passenger's full name.
|
|
1278
|
+
attr_accessor :name
|
|
1279
|
+
|
|
1280
|
+
def initialize(name: nil)
|
|
1281
|
+
@name = name
|
|
1282
|
+
end
|
|
1283
|
+
end
|
|
1284
|
+
|
|
1285
|
+
class Segment < ::Stripe::RequestParams
|
|
1286
|
+
class Arrival < ::Stripe::RequestParams
|
|
1287
|
+
# Arrival airport IATA code.
|
|
1288
|
+
attr_accessor :airport
|
|
1289
|
+
# Arrival date/time.
|
|
1290
|
+
attr_accessor :arrives_at
|
|
1291
|
+
# Arrival city.
|
|
1292
|
+
attr_accessor :city
|
|
1293
|
+
# Arrival country.
|
|
1294
|
+
attr_accessor :country
|
|
1295
|
+
|
|
1296
|
+
def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
|
|
1297
|
+
@airport = airport
|
|
1298
|
+
@arrives_at = arrives_at
|
|
1299
|
+
@city = city
|
|
1300
|
+
@country = country
|
|
1301
|
+
end
|
|
1302
|
+
end
|
|
1303
|
+
|
|
1304
|
+
class Departure < ::Stripe::RequestParams
|
|
1305
|
+
# Departure airport IATA code.
|
|
1306
|
+
attr_accessor :airport
|
|
1307
|
+
# Departure city.
|
|
1308
|
+
attr_accessor :city
|
|
1309
|
+
# Departure country.
|
|
1310
|
+
attr_accessor :country
|
|
1311
|
+
# Departure date/time.
|
|
1312
|
+
attr_accessor :departs_at
|
|
1313
|
+
|
|
1314
|
+
def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
|
|
1315
|
+
@airport = airport
|
|
1316
|
+
@city = city
|
|
1317
|
+
@country = country
|
|
1318
|
+
@departs_at = departs_at
|
|
1319
|
+
end
|
|
1320
|
+
end
|
|
1321
|
+
# Segment fare amount.
|
|
1322
|
+
attr_accessor :amount
|
|
1323
|
+
# Arrival details.
|
|
1324
|
+
attr_accessor :arrival
|
|
1325
|
+
# Airline carrier code.
|
|
1326
|
+
attr_accessor :carrier_code
|
|
1327
|
+
# Carrier name.
|
|
1328
|
+
attr_accessor :carrier_name
|
|
1329
|
+
# Segment currency.
|
|
1330
|
+
attr_accessor :currency
|
|
1331
|
+
# Departure details.
|
|
1332
|
+
attr_accessor :departure
|
|
1333
|
+
# Exchange ticket number.
|
|
1334
|
+
attr_accessor :exchange_ticket_number
|
|
1335
|
+
# Fare basis code.
|
|
1336
|
+
attr_accessor :fare_basis_code
|
|
1337
|
+
# Additional fees.
|
|
1338
|
+
attr_accessor :fees
|
|
1339
|
+
# Flight number.
|
|
1340
|
+
attr_accessor :flight_number
|
|
1341
|
+
# Stopover indicator.
|
|
1342
|
+
attr_accessor :is_stop_over_indicator
|
|
1343
|
+
# Refundable ticket indicator.
|
|
1344
|
+
attr_accessor :refundable
|
|
1345
|
+
# Class of service.
|
|
1346
|
+
attr_accessor :service_class
|
|
1347
|
+
# Tax amount for segment.
|
|
1348
|
+
attr_accessor :tax_amount
|
|
1349
|
+
# Ticket number.
|
|
1350
|
+
attr_accessor :ticket_number
|
|
1351
|
+
|
|
1352
|
+
def initialize(
|
|
1353
|
+
amount: nil,
|
|
1354
|
+
arrival: nil,
|
|
1355
|
+
carrier_code: nil,
|
|
1356
|
+
carrier_name: nil,
|
|
1357
|
+
currency: nil,
|
|
1358
|
+
departure: nil,
|
|
1359
|
+
exchange_ticket_number: nil,
|
|
1360
|
+
fare_basis_code: nil,
|
|
1361
|
+
fees: nil,
|
|
1362
|
+
flight_number: nil,
|
|
1363
|
+
is_stop_over_indicator: nil,
|
|
1364
|
+
refundable: nil,
|
|
1365
|
+
service_class: nil,
|
|
1366
|
+
tax_amount: nil,
|
|
1367
|
+
ticket_number: nil
|
|
1368
|
+
)
|
|
1369
|
+
@amount = amount
|
|
1370
|
+
@arrival = arrival
|
|
1371
|
+
@carrier_code = carrier_code
|
|
1372
|
+
@carrier_name = carrier_name
|
|
1373
|
+
@currency = currency
|
|
1374
|
+
@departure = departure
|
|
1375
|
+
@exchange_ticket_number = exchange_ticket_number
|
|
1376
|
+
@fare_basis_code = fare_basis_code
|
|
1377
|
+
@fees = fees
|
|
1378
|
+
@flight_number = flight_number
|
|
1379
|
+
@is_stop_over_indicator = is_stop_over_indicator
|
|
1380
|
+
@refundable = refundable
|
|
1381
|
+
@service_class = service_class
|
|
1382
|
+
@tax_amount = tax_amount
|
|
1383
|
+
@ticket_number = ticket_number
|
|
1384
|
+
end
|
|
1385
|
+
end
|
|
1386
|
+
|
|
1387
|
+
class Total < ::Stripe::RequestParams
|
|
1388
|
+
class Discounts < ::Stripe::RequestParams
|
|
1389
|
+
# Corporate client discount code.
|
|
1390
|
+
attr_accessor :corporate_client_code
|
|
1391
|
+
|
|
1392
|
+
def initialize(corporate_client_code: nil)
|
|
1393
|
+
@corporate_client_code = corporate_client_code
|
|
1394
|
+
end
|
|
1395
|
+
end
|
|
1396
|
+
|
|
1397
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1398
|
+
# Amount of additional charges.
|
|
1399
|
+
attr_accessor :amount
|
|
1400
|
+
# Type of additional charges.
|
|
1401
|
+
attr_accessor :type
|
|
1402
|
+
|
|
1403
|
+
def initialize(amount: nil, type: nil)
|
|
1404
|
+
@amount = amount
|
|
1405
|
+
@type = type
|
|
1406
|
+
end
|
|
1407
|
+
end
|
|
1408
|
+
|
|
1409
|
+
class Tax < ::Stripe::RequestParams
|
|
1410
|
+
class Tax < ::Stripe::RequestParams
|
|
1411
|
+
# Tax amount.
|
|
1412
|
+
attr_accessor :amount
|
|
1413
|
+
# Tax rate.
|
|
1414
|
+
attr_accessor :rate
|
|
1415
|
+
# Type of tax.
|
|
1416
|
+
attr_accessor :type
|
|
1417
|
+
|
|
1418
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1419
|
+
@amount = amount
|
|
1420
|
+
@rate = rate
|
|
1421
|
+
@type = type
|
|
1422
|
+
end
|
|
1423
|
+
end
|
|
1424
|
+
# Array of tax details.
|
|
1425
|
+
attr_accessor :taxes
|
|
1426
|
+
|
|
1427
|
+
def initialize(taxes: nil)
|
|
1428
|
+
@taxes = taxes
|
|
1429
|
+
end
|
|
1430
|
+
end
|
|
1431
|
+
# Total flight amount.
|
|
1432
|
+
attr_accessor :amount
|
|
1433
|
+
# Reason for credit.
|
|
1434
|
+
attr_accessor :credit_reason
|
|
1435
|
+
# Total currency.
|
|
1436
|
+
attr_accessor :currency
|
|
1437
|
+
# Discount details.
|
|
1438
|
+
attr_accessor :discounts
|
|
1439
|
+
# Additional charges.
|
|
1440
|
+
attr_accessor :extra_charges
|
|
1441
|
+
# Tax breakdown.
|
|
1442
|
+
attr_accessor :tax
|
|
1443
|
+
|
|
1444
|
+
def initialize(
|
|
1445
|
+
amount: nil,
|
|
1446
|
+
credit_reason: nil,
|
|
1447
|
+
currency: nil,
|
|
1448
|
+
discounts: nil,
|
|
1449
|
+
extra_charges: nil,
|
|
1450
|
+
tax: nil
|
|
1451
|
+
)
|
|
1452
|
+
@amount = amount
|
|
1453
|
+
@credit_reason = credit_reason
|
|
1454
|
+
@currency = currency
|
|
1455
|
+
@discounts = discounts
|
|
1456
|
+
@extra_charges = extra_charges
|
|
1457
|
+
@tax = tax
|
|
1458
|
+
end
|
|
1459
|
+
end
|
|
1460
|
+
# Affiliate details if applicable.
|
|
1461
|
+
attr_accessor :affiliate
|
|
1462
|
+
# Reservation reference.
|
|
1463
|
+
attr_accessor :booking_number
|
|
1464
|
+
# Computerized reservation system used to make the reservation and purchase the ticket.
|
|
1465
|
+
attr_accessor :computerized_reservation_system
|
|
1466
|
+
# Ticket restrictions.
|
|
1467
|
+
attr_accessor :endorsements_and_restrictions
|
|
1468
|
+
# List of insurances.
|
|
1469
|
+
attr_accessor :insurances
|
|
1470
|
+
# List of passengers.
|
|
1471
|
+
attr_accessor :passengers
|
|
1472
|
+
# List of flight segments.
|
|
1473
|
+
attr_accessor :segments
|
|
1474
|
+
# Electronic ticket indicator.
|
|
1475
|
+
attr_accessor :ticket_electronically_issued_indicator
|
|
1476
|
+
# Total cost breakdown.
|
|
1477
|
+
attr_accessor :total
|
|
1478
|
+
# Type of flight transaction.
|
|
1479
|
+
attr_accessor :transaction_type
|
|
1480
|
+
|
|
1481
|
+
def initialize(
|
|
1482
|
+
affiliate: nil,
|
|
1483
|
+
booking_number: nil,
|
|
1484
|
+
computerized_reservation_system: nil,
|
|
1485
|
+
endorsements_and_restrictions: nil,
|
|
1486
|
+
insurances: nil,
|
|
1487
|
+
passengers: nil,
|
|
1488
|
+
segments: nil,
|
|
1489
|
+
ticket_electronically_issued_indicator: nil,
|
|
1490
|
+
total: nil,
|
|
1491
|
+
transaction_type: nil
|
|
1492
|
+
)
|
|
1493
|
+
@affiliate = affiliate
|
|
1494
|
+
@booking_number = booking_number
|
|
1495
|
+
@computerized_reservation_system = computerized_reservation_system
|
|
1496
|
+
@endorsements_and_restrictions = endorsements_and_restrictions
|
|
1497
|
+
@insurances = insurances
|
|
1498
|
+
@passengers = passengers
|
|
1499
|
+
@segments = segments
|
|
1500
|
+
@ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
|
|
1501
|
+
@total = total
|
|
1502
|
+
@transaction_type = transaction_type
|
|
1503
|
+
end
|
|
1504
|
+
end
|
|
1505
|
+
|
|
1506
|
+
class Lodging < ::Stripe::RequestParams
|
|
1507
|
+
class Address < ::Stripe::RequestParams
|
|
1508
|
+
# City, district, suburb, town, or village.
|
|
1509
|
+
attr_accessor :city
|
|
1510
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1511
|
+
attr_accessor :country
|
|
1512
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1513
|
+
attr_accessor :line1
|
|
1514
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1515
|
+
attr_accessor :line2
|
|
1516
|
+
# ZIP or postal code.
|
|
1517
|
+
attr_accessor :postal_code
|
|
1518
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1519
|
+
attr_accessor :state
|
|
1520
|
+
|
|
1521
|
+
def initialize(
|
|
1522
|
+
city: nil,
|
|
1523
|
+
country: nil,
|
|
1524
|
+
line1: nil,
|
|
1525
|
+
line2: nil,
|
|
1526
|
+
postal_code: nil,
|
|
1527
|
+
state: nil
|
|
1528
|
+
)
|
|
1529
|
+
@city = city
|
|
1530
|
+
@country = country
|
|
1531
|
+
@line1 = line1
|
|
1532
|
+
@line2 = line2
|
|
1533
|
+
@postal_code = postal_code
|
|
1534
|
+
@state = state
|
|
1535
|
+
end
|
|
1536
|
+
end
|
|
1537
|
+
|
|
1538
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1539
|
+
# The name of the affiliate that originated the purchase.
|
|
1540
|
+
attr_accessor :name
|
|
1541
|
+
|
|
1542
|
+
def initialize(name: nil)
|
|
1543
|
+
@name = name
|
|
1544
|
+
end
|
|
1545
|
+
end
|
|
1546
|
+
|
|
1547
|
+
class Delivery < ::Stripe::RequestParams
|
|
1548
|
+
class Recipient < ::Stripe::RequestParams
|
|
1549
|
+
# The email of the recipient the ticket is delivered to.
|
|
1550
|
+
attr_accessor :email
|
|
1551
|
+
# The name of the recipient the ticket is delivered to.
|
|
1552
|
+
attr_accessor :name
|
|
1553
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1554
|
+
attr_accessor :phone
|
|
1555
|
+
|
|
1556
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
1557
|
+
@email = email
|
|
1558
|
+
@name = name
|
|
1559
|
+
@phone = phone
|
|
1560
|
+
end
|
|
1561
|
+
end
|
|
1562
|
+
# The delivery method for the payment
|
|
1563
|
+
attr_accessor :mode
|
|
1564
|
+
# Details of the recipient.
|
|
1565
|
+
attr_accessor :recipient
|
|
1566
|
+
|
|
1567
|
+
def initialize(mode: nil, recipient: nil)
|
|
1568
|
+
@mode = mode
|
|
1569
|
+
@recipient = recipient
|
|
1570
|
+
end
|
|
1571
|
+
end
|
|
1572
|
+
|
|
1573
|
+
class Passenger < ::Stripe::RequestParams
|
|
1574
|
+
# Full name of the person or entity on the lodging reservation.
|
|
1575
|
+
attr_accessor :name
|
|
1576
|
+
|
|
1577
|
+
def initialize(name: nil)
|
|
1578
|
+
@name = name
|
|
1579
|
+
end
|
|
1580
|
+
end
|
|
1581
|
+
# The lodging location's address.
|
|
1582
|
+
attr_accessor :address
|
|
1583
|
+
# The number of adults on the booking
|
|
1584
|
+
attr_accessor :adults
|
|
1585
|
+
# Affiliate details for this purchase.
|
|
1586
|
+
attr_accessor :affiliate
|
|
1587
|
+
# The booking number associated with the lodging reservation.
|
|
1588
|
+
attr_accessor :booking_number
|
|
1589
|
+
# The lodging category
|
|
1590
|
+
attr_accessor :category
|
|
1591
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
1592
|
+
attr_accessor :checkin_at
|
|
1593
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
1594
|
+
attr_accessor :checkout_at
|
|
1595
|
+
# The customer service phone number of the lodging company.
|
|
1596
|
+
attr_accessor :customer_service_phone_number
|
|
1597
|
+
# The daily lodging room rate.
|
|
1598
|
+
attr_accessor :daily_room_rate_amount
|
|
1599
|
+
# Delivery details for this purchase.
|
|
1600
|
+
attr_accessor :delivery
|
|
1601
|
+
# List of additional charges being billed.
|
|
1602
|
+
attr_accessor :extra_charges
|
|
1603
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
1604
|
+
attr_accessor :fire_safety_act_compliance
|
|
1605
|
+
# The name of the lodging location.
|
|
1606
|
+
attr_accessor :name
|
|
1607
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
1608
|
+
attr_accessor :no_show
|
|
1609
|
+
# The number of rooms on the booking
|
|
1610
|
+
attr_accessor :number_of_rooms
|
|
1611
|
+
# The details of the passengers in the travel reservation
|
|
1612
|
+
attr_accessor :passengers
|
|
1613
|
+
# The phone number of the lodging location.
|
|
1614
|
+
attr_accessor :property_phone_number
|
|
1615
|
+
# The room class for this purchase.
|
|
1616
|
+
attr_accessor :room_class
|
|
1617
|
+
# The number of room nights
|
|
1618
|
+
attr_accessor :room_nights
|
|
1619
|
+
# The total tax amount associating with the room reservation.
|
|
1620
|
+
attr_accessor :total_room_tax_amount
|
|
1621
|
+
# The total tax amount
|
|
1622
|
+
attr_accessor :total_tax_amount
|
|
1623
|
+
|
|
1624
|
+
def initialize(
|
|
1625
|
+
address: nil,
|
|
1626
|
+
adults: nil,
|
|
1627
|
+
affiliate: nil,
|
|
1628
|
+
booking_number: nil,
|
|
1629
|
+
category: nil,
|
|
1630
|
+
checkin_at: nil,
|
|
1631
|
+
checkout_at: nil,
|
|
1632
|
+
customer_service_phone_number: nil,
|
|
1633
|
+
daily_room_rate_amount: nil,
|
|
1634
|
+
delivery: nil,
|
|
1635
|
+
extra_charges: nil,
|
|
1636
|
+
fire_safety_act_compliance: nil,
|
|
1637
|
+
name: nil,
|
|
1638
|
+
no_show: nil,
|
|
1639
|
+
number_of_rooms: nil,
|
|
1640
|
+
passengers: nil,
|
|
1641
|
+
property_phone_number: nil,
|
|
1642
|
+
room_class: nil,
|
|
1643
|
+
room_nights: nil,
|
|
1644
|
+
total_room_tax_amount: nil,
|
|
1645
|
+
total_tax_amount: nil
|
|
1646
|
+
)
|
|
1647
|
+
@address = address
|
|
1648
|
+
@adults = adults
|
|
1649
|
+
@affiliate = affiliate
|
|
1650
|
+
@booking_number = booking_number
|
|
1651
|
+
@category = category
|
|
1652
|
+
@checkin_at = checkin_at
|
|
1653
|
+
@checkout_at = checkout_at
|
|
1654
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1655
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
|
1656
|
+
@delivery = delivery
|
|
1657
|
+
@extra_charges = extra_charges
|
|
1658
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
1659
|
+
@name = name
|
|
1660
|
+
@no_show = no_show
|
|
1661
|
+
@number_of_rooms = number_of_rooms
|
|
1662
|
+
@passengers = passengers
|
|
1663
|
+
@property_phone_number = property_phone_number
|
|
1664
|
+
@room_class = room_class
|
|
1665
|
+
@room_nights = room_nights
|
|
1666
|
+
@total_room_tax_amount = total_room_tax_amount
|
|
1667
|
+
@total_tax_amount = total_tax_amount
|
|
1668
|
+
end
|
|
1669
|
+
end
|
|
1670
|
+
|
|
1671
|
+
class LodgingDatum < ::Stripe::RequestParams
|
|
1672
|
+
class Accommodation < ::Stripe::RequestParams
|
|
1673
|
+
# Type of accommodation.
|
|
1674
|
+
attr_accessor :accommodation_type
|
|
1675
|
+
# Bed type.
|
|
1676
|
+
attr_accessor :bed_type
|
|
1677
|
+
# Daily accommodation rate in cents.
|
|
1678
|
+
attr_accessor :daily_rate_amount
|
|
1679
|
+
# Number of nights.
|
|
1680
|
+
attr_accessor :nights
|
|
1681
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
1682
|
+
attr_accessor :number_of_rooms
|
|
1683
|
+
# Rate type.
|
|
1684
|
+
attr_accessor :rate_type
|
|
1685
|
+
# Whether smoking is allowed.
|
|
1686
|
+
attr_accessor :smoking_indicator
|
|
1687
|
+
|
|
1688
|
+
def initialize(
|
|
1689
|
+
accommodation_type: nil,
|
|
1690
|
+
bed_type: nil,
|
|
1691
|
+
daily_rate_amount: nil,
|
|
1692
|
+
nights: nil,
|
|
1693
|
+
number_of_rooms: nil,
|
|
1694
|
+
rate_type: nil,
|
|
1695
|
+
smoking_indicator: nil
|
|
1696
|
+
)
|
|
1697
|
+
@accommodation_type = accommodation_type
|
|
1698
|
+
@bed_type = bed_type
|
|
1699
|
+
@daily_rate_amount = daily_rate_amount
|
|
1700
|
+
@nights = nights
|
|
1701
|
+
@number_of_rooms = number_of_rooms
|
|
1702
|
+
@rate_type = rate_type
|
|
1703
|
+
@smoking_indicator = smoking_indicator
|
|
1704
|
+
end
|
|
1705
|
+
end
|
|
1706
|
+
|
|
1707
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1708
|
+
# Affiliate partner code.
|
|
1709
|
+
attr_accessor :code
|
|
1710
|
+
# Affiliate partner name.
|
|
1711
|
+
attr_accessor :name
|
|
1712
|
+
|
|
1713
|
+
def initialize(code: nil, name: nil)
|
|
1714
|
+
@code = code
|
|
1715
|
+
@name = name
|
|
1716
|
+
end
|
|
1717
|
+
end
|
|
1718
|
+
|
|
1719
|
+
class Guest < ::Stripe::RequestParams
|
|
1720
|
+
# Guest's full name.
|
|
1721
|
+
attr_accessor :name
|
|
1722
|
+
|
|
1723
|
+
def initialize(name: nil)
|
|
1724
|
+
@name = name
|
|
1725
|
+
end
|
|
1726
|
+
end
|
|
1727
|
+
|
|
1728
|
+
class Host < ::Stripe::RequestParams
|
|
1729
|
+
class Address < ::Stripe::RequestParams
|
|
1730
|
+
# City, district, suburb, town, or village.
|
|
1731
|
+
attr_accessor :city
|
|
1732
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1733
|
+
attr_accessor :country
|
|
1734
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1735
|
+
attr_accessor :line1
|
|
1736
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1737
|
+
attr_accessor :line2
|
|
1738
|
+
# ZIP or postal code.
|
|
1739
|
+
attr_accessor :postal_code
|
|
1740
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1741
|
+
attr_accessor :state
|
|
1742
|
+
|
|
1743
|
+
def initialize(
|
|
1744
|
+
city: nil,
|
|
1745
|
+
country: nil,
|
|
1746
|
+
line1: nil,
|
|
1747
|
+
line2: nil,
|
|
1748
|
+
postal_code: nil,
|
|
1749
|
+
state: nil
|
|
1750
|
+
)
|
|
1751
|
+
@city = city
|
|
1752
|
+
@country = country
|
|
1753
|
+
@line1 = line1
|
|
1754
|
+
@line2 = line2
|
|
1755
|
+
@postal_code = postal_code
|
|
1756
|
+
@state = state
|
|
1757
|
+
end
|
|
1758
|
+
end
|
|
1759
|
+
# Address of the host.
|
|
1760
|
+
attr_accessor :address
|
|
1761
|
+
# Host's country of domicile.
|
|
1762
|
+
attr_accessor :country_of_domicile
|
|
1763
|
+
# Reference number for the host.
|
|
1764
|
+
attr_accessor :host_reference
|
|
1765
|
+
# Type of host.
|
|
1766
|
+
attr_accessor :host_type
|
|
1767
|
+
# Name of the lodging property or host.
|
|
1768
|
+
attr_accessor :name
|
|
1769
|
+
# Total number of reservations for the host.
|
|
1770
|
+
attr_accessor :number_of_reservations
|
|
1771
|
+
# Property phone number.
|
|
1772
|
+
attr_accessor :property_phone_number
|
|
1773
|
+
# Host's registration date.
|
|
1774
|
+
attr_accessor :registered_at
|
|
1775
|
+
|
|
1776
|
+
def initialize(
|
|
1777
|
+
address: nil,
|
|
1778
|
+
country_of_domicile: nil,
|
|
1779
|
+
host_reference: nil,
|
|
1780
|
+
host_type: nil,
|
|
1781
|
+
name: nil,
|
|
1782
|
+
number_of_reservations: nil,
|
|
1783
|
+
property_phone_number: nil,
|
|
1784
|
+
registered_at: nil
|
|
1785
|
+
)
|
|
1786
|
+
@address = address
|
|
1787
|
+
@country_of_domicile = country_of_domicile
|
|
1788
|
+
@host_reference = host_reference
|
|
1789
|
+
@host_type = host_type
|
|
1790
|
+
@name = name
|
|
1791
|
+
@number_of_reservations = number_of_reservations
|
|
1792
|
+
@property_phone_number = property_phone_number
|
|
1793
|
+
@registered_at = registered_at
|
|
1794
|
+
end
|
|
1795
|
+
end
|
|
1796
|
+
|
|
1797
|
+
class Insurance < ::Stripe::RequestParams
|
|
1798
|
+
# Price of the insurance coverage in cents.
|
|
1799
|
+
attr_accessor :amount
|
|
1800
|
+
# Currency of the insurance amount.
|
|
1801
|
+
attr_accessor :currency
|
|
1802
|
+
# Name of the insurance company.
|
|
1803
|
+
attr_accessor :insurance_company_name
|
|
1804
|
+
# Type of insurance coverage.
|
|
1805
|
+
attr_accessor :insurance_type
|
|
1806
|
+
|
|
1807
|
+
def initialize(
|
|
1808
|
+
amount: nil,
|
|
1809
|
+
currency: nil,
|
|
1810
|
+
insurance_company_name: nil,
|
|
1811
|
+
insurance_type: nil
|
|
1812
|
+
)
|
|
1813
|
+
@amount = amount
|
|
1814
|
+
@currency = currency
|
|
1815
|
+
@insurance_company_name = insurance_company_name
|
|
1816
|
+
@insurance_type = insurance_type
|
|
1817
|
+
end
|
|
1818
|
+
end
|
|
1819
|
+
|
|
1820
|
+
class Total < ::Stripe::RequestParams
|
|
1821
|
+
class Discounts < ::Stripe::RequestParams
|
|
1822
|
+
# Corporate client discount code.
|
|
1823
|
+
attr_accessor :corporate_client_code
|
|
1824
|
+
# Coupon code.
|
|
1825
|
+
attr_accessor :coupon
|
|
1826
|
+
|
|
1827
|
+
def initialize(corporate_client_code: nil, coupon: nil)
|
|
1828
|
+
@corporate_client_code = corporate_client_code
|
|
1829
|
+
@coupon = coupon
|
|
1830
|
+
end
|
|
1831
|
+
end
|
|
1832
|
+
|
|
1833
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1834
|
+
# Amount of the extra charge in cents.
|
|
1835
|
+
attr_accessor :amount
|
|
1836
|
+
# Type of extra charge.
|
|
1837
|
+
attr_accessor :type
|
|
1838
|
+
|
|
1839
|
+
def initialize(amount: nil, type: nil)
|
|
1840
|
+
@amount = amount
|
|
1841
|
+
@type = type
|
|
1842
|
+
end
|
|
1843
|
+
end
|
|
1844
|
+
|
|
1845
|
+
class Tax < ::Stripe::RequestParams
|
|
1846
|
+
class Tax < ::Stripe::RequestParams
|
|
1847
|
+
# Tax amount in cents.
|
|
1848
|
+
attr_accessor :amount
|
|
1849
|
+
# Tax rate.
|
|
1850
|
+
attr_accessor :rate
|
|
1851
|
+
# Type of tax applied.
|
|
1852
|
+
attr_accessor :type
|
|
1853
|
+
|
|
1854
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1855
|
+
@amount = amount
|
|
1856
|
+
@rate = rate
|
|
1857
|
+
@type = type
|
|
1858
|
+
end
|
|
1859
|
+
end
|
|
1860
|
+
# Indicates whether the transaction is tax exempt.
|
|
1861
|
+
attr_accessor :tax_exempt_indicator
|
|
1862
|
+
# Tax details.
|
|
1863
|
+
attr_accessor :taxes
|
|
1864
|
+
|
|
1865
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
1866
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
1867
|
+
@taxes = taxes
|
|
1868
|
+
end
|
|
1869
|
+
end
|
|
1870
|
+
# Total price of the lodging reservation in cents.
|
|
1871
|
+
attr_accessor :amount
|
|
1872
|
+
# Cash advances in cents.
|
|
1873
|
+
attr_accessor :cash_advances
|
|
1874
|
+
# Currency of the total amount.
|
|
1875
|
+
attr_accessor :currency
|
|
1876
|
+
# Discount details for the lodging.
|
|
1877
|
+
attr_accessor :discounts
|
|
1878
|
+
# Additional charges for the lodging.
|
|
1879
|
+
attr_accessor :extra_charges
|
|
1880
|
+
# Prepaid amount in cents.
|
|
1881
|
+
attr_accessor :prepaid_amount
|
|
1882
|
+
# Tax breakdown for the lodging reservation.
|
|
1883
|
+
attr_accessor :tax
|
|
1884
|
+
|
|
1885
|
+
def initialize(
|
|
1886
|
+
amount: nil,
|
|
1887
|
+
cash_advances: nil,
|
|
1888
|
+
currency: nil,
|
|
1889
|
+
discounts: nil,
|
|
1890
|
+
extra_charges: nil,
|
|
1891
|
+
prepaid_amount: nil,
|
|
1892
|
+
tax: nil
|
|
1893
|
+
)
|
|
1894
|
+
@amount = amount
|
|
1895
|
+
@cash_advances = cash_advances
|
|
1896
|
+
@currency = currency
|
|
1897
|
+
@discounts = discounts
|
|
1898
|
+
@extra_charges = extra_charges
|
|
1899
|
+
@prepaid_amount = prepaid_amount
|
|
1900
|
+
@tax = tax
|
|
1901
|
+
end
|
|
1902
|
+
end
|
|
1903
|
+
# Accommodation details for the lodging.
|
|
1904
|
+
attr_accessor :accommodation
|
|
1905
|
+
# Affiliate details if applicable.
|
|
1906
|
+
attr_accessor :affiliate
|
|
1907
|
+
# Booking confirmation number for the lodging.
|
|
1908
|
+
attr_accessor :booking_number
|
|
1909
|
+
# Check-in date.
|
|
1910
|
+
attr_accessor :checkin_at
|
|
1911
|
+
# Check-out date.
|
|
1912
|
+
attr_accessor :checkout_at
|
|
1913
|
+
# Customer service phone number for the lodging company.
|
|
1914
|
+
attr_accessor :customer_service_phone_number
|
|
1915
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
1916
|
+
attr_accessor :fire_safety_act_compliance_indicator
|
|
1917
|
+
# List of guests for the lodging.
|
|
1918
|
+
attr_accessor :guests
|
|
1919
|
+
# Host details for the lodging.
|
|
1920
|
+
attr_accessor :host
|
|
1921
|
+
# List of insurances for the lodging.
|
|
1922
|
+
attr_accessor :insurances
|
|
1923
|
+
# Whether the renter is a no-show.
|
|
1924
|
+
attr_accessor :no_show_indicator
|
|
1925
|
+
# Renter ID number for the lodging.
|
|
1926
|
+
attr_accessor :renter_id_number
|
|
1927
|
+
# Renter name for the lodging.
|
|
1928
|
+
attr_accessor :renter_name
|
|
1929
|
+
# Total details for the lodging.
|
|
1930
|
+
attr_accessor :total
|
|
1931
|
+
|
|
1932
|
+
def initialize(
|
|
1933
|
+
accommodation: nil,
|
|
1934
|
+
affiliate: nil,
|
|
1935
|
+
booking_number: nil,
|
|
1936
|
+
checkin_at: nil,
|
|
1937
|
+
checkout_at: nil,
|
|
1938
|
+
customer_service_phone_number: nil,
|
|
1939
|
+
fire_safety_act_compliance_indicator: nil,
|
|
1940
|
+
guests: nil,
|
|
1941
|
+
host: nil,
|
|
1942
|
+
insurances: nil,
|
|
1943
|
+
no_show_indicator: nil,
|
|
1944
|
+
renter_id_number: nil,
|
|
1945
|
+
renter_name: nil,
|
|
1946
|
+
total: nil
|
|
121
1947
|
)
|
|
122
|
-
@
|
|
123
|
-
@
|
|
124
|
-
@
|
|
125
|
-
@
|
|
126
|
-
@
|
|
127
|
-
@
|
|
128
|
-
@
|
|
129
|
-
@
|
|
1948
|
+
@accommodation = accommodation
|
|
1949
|
+
@affiliate = affiliate
|
|
1950
|
+
@booking_number = booking_number
|
|
1951
|
+
@checkin_at = checkin_at
|
|
1952
|
+
@checkout_at = checkout_at
|
|
1953
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1954
|
+
@fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
|
|
1955
|
+
@guests = guests
|
|
1956
|
+
@host = host
|
|
1957
|
+
@insurances = insurances
|
|
1958
|
+
@no_show_indicator = no_show_indicator
|
|
1959
|
+
@renter_id_number = renter_id_number
|
|
1960
|
+
@renter_name = renter_name
|
|
1961
|
+
@total = total
|
|
130
1962
|
end
|
|
131
1963
|
end
|
|
132
1964
|
|
|
133
|
-
class
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
1965
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
1966
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
1967
|
+
class SenderDetails < ::Stripe::RequestParams
|
|
1968
|
+
class Address < ::Stripe::RequestParams
|
|
1969
|
+
# City, district, suburb, town, or village.
|
|
1970
|
+
attr_accessor :city
|
|
1971
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1972
|
+
attr_accessor :country
|
|
1973
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1974
|
+
attr_accessor :line1
|
|
1975
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1976
|
+
attr_accessor :line2
|
|
1977
|
+
# ZIP or postal code.
|
|
1978
|
+
attr_accessor :postal_code
|
|
1979
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1980
|
+
attr_accessor :state
|
|
1981
|
+
|
|
1982
|
+
def initialize(
|
|
1983
|
+
city: nil,
|
|
1984
|
+
country: nil,
|
|
1985
|
+
line1: nil,
|
|
1986
|
+
line2: nil,
|
|
1987
|
+
postal_code: nil,
|
|
1988
|
+
state: nil
|
|
1989
|
+
)
|
|
1990
|
+
@city = city
|
|
1991
|
+
@country = country
|
|
1992
|
+
@line1 = line1
|
|
1993
|
+
@line2 = line2
|
|
1994
|
+
@postal_code = postal_code
|
|
1995
|
+
@state = state
|
|
1996
|
+
end
|
|
1997
|
+
end
|
|
140
1998
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
1999
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
2000
|
+
# Day of birth, between 1 and 31.
|
|
2001
|
+
attr_accessor :day
|
|
2002
|
+
# Month of birth, between 1 and 12.
|
|
2003
|
+
attr_accessor :month
|
|
2004
|
+
# Four-digit year of birth.
|
|
2005
|
+
attr_accessor :year
|
|
2006
|
+
|
|
2007
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2008
|
+
@day = day
|
|
2009
|
+
@month = month
|
|
2010
|
+
@year = year
|
|
2011
|
+
end
|
|
2012
|
+
end
|
|
2013
|
+
# Address.
|
|
2014
|
+
attr_accessor :address
|
|
2015
|
+
# Date of birth.
|
|
2016
|
+
attr_accessor :date_of_birth
|
|
2017
|
+
# Email address.
|
|
2018
|
+
attr_accessor :email
|
|
2019
|
+
# Given (first) name.
|
|
2020
|
+
attr_accessor :given_name
|
|
2021
|
+
# Phone number.
|
|
2022
|
+
attr_accessor :phone
|
|
2023
|
+
# Surname (family name).
|
|
2024
|
+
attr_accessor :surname
|
|
147
2025
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
2026
|
+
def initialize(
|
|
2027
|
+
address: nil,
|
|
2028
|
+
date_of_birth: nil,
|
|
2029
|
+
email: nil,
|
|
2030
|
+
given_name: nil,
|
|
2031
|
+
phone: nil,
|
|
2032
|
+
surname: nil
|
|
2033
|
+
)
|
|
2034
|
+
@address = address
|
|
2035
|
+
@date_of_birth = date_of_birth
|
|
2036
|
+
@email = email
|
|
2037
|
+
@given_name = given_name
|
|
2038
|
+
@phone = phone
|
|
2039
|
+
@surname = surname
|
|
2040
|
+
end
|
|
2041
|
+
end
|
|
2042
|
+
# Inline identity details for the sender of this account funding transaction.
|
|
2043
|
+
attr_accessor :sender_details
|
|
153
2044
|
|
|
154
|
-
|
|
155
|
-
|
|
2045
|
+
def initialize(sender_details: nil)
|
|
2046
|
+
@sender_details = sender_details
|
|
2047
|
+
end
|
|
156
2048
|
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
2049
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
2050
|
+
class BeneficiaryDetails < ::Stripe::RequestParams
|
|
2051
|
+
class Address < ::Stripe::RequestParams
|
|
2052
|
+
# City, district, suburb, town, or village.
|
|
2053
|
+
attr_accessor :city
|
|
2054
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2055
|
+
attr_accessor :country
|
|
2056
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2057
|
+
attr_accessor :line1
|
|
2058
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2059
|
+
attr_accessor :line2
|
|
2060
|
+
# ZIP or postal code.
|
|
2061
|
+
attr_accessor :postal_code
|
|
2062
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2063
|
+
attr_accessor :state
|
|
189
2064
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
2065
|
+
def initialize(
|
|
2066
|
+
city: nil,
|
|
2067
|
+
country: nil,
|
|
2068
|
+
line1: nil,
|
|
2069
|
+
line2: nil,
|
|
2070
|
+
postal_code: nil,
|
|
2071
|
+
state: nil
|
|
2072
|
+
)
|
|
2073
|
+
@city = city
|
|
2074
|
+
@country = country
|
|
2075
|
+
@line1 = line1
|
|
2076
|
+
@line2 = line2
|
|
2077
|
+
@postal_code = postal_code
|
|
2078
|
+
@state = state
|
|
2079
|
+
end
|
|
2080
|
+
end
|
|
195
2081
|
|
|
196
|
-
|
|
197
|
-
|
|
2082
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
2083
|
+
# Day of birth, between 1 and 31.
|
|
2084
|
+
attr_accessor :day
|
|
2085
|
+
# Month of birth, between 1 and 12.
|
|
2086
|
+
attr_accessor :month
|
|
2087
|
+
# Four-digit year of birth.
|
|
2088
|
+
attr_accessor :year
|
|
2089
|
+
|
|
2090
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2091
|
+
@day = day
|
|
2092
|
+
@month = month
|
|
2093
|
+
@year = year
|
|
2094
|
+
end
|
|
198
2095
|
end
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
2096
|
+
# An opaque identifier for the beneficiary's account (e.g. bank account number, card first6+last4, or other unique identifier).
|
|
2097
|
+
attr_accessor :account_reference
|
|
2098
|
+
# Address.
|
|
2099
|
+
attr_accessor :address
|
|
2100
|
+
# Date of birth.
|
|
2101
|
+
attr_accessor :date_of_birth
|
|
2102
|
+
# Email address.
|
|
2103
|
+
attr_accessor :email
|
|
2104
|
+
# Given (first) name.
|
|
2105
|
+
attr_accessor :given_name
|
|
2106
|
+
# Phone number.
|
|
2107
|
+
attr_accessor :phone
|
|
2108
|
+
# Surname (family name).
|
|
2109
|
+
attr_accessor :surname
|
|
202
2110
|
|
|
203
|
-
|
|
204
|
-
|
|
2111
|
+
def initialize(
|
|
2112
|
+
account_reference: nil,
|
|
2113
|
+
address: nil,
|
|
2114
|
+
date_of_birth: nil,
|
|
2115
|
+
email: nil,
|
|
2116
|
+
given_name: nil,
|
|
2117
|
+
phone: nil,
|
|
2118
|
+
surname: nil
|
|
2119
|
+
)
|
|
2120
|
+
@account_reference = account_reference
|
|
2121
|
+
@address = address
|
|
2122
|
+
@date_of_birth = date_of_birth
|
|
2123
|
+
@email = email
|
|
2124
|
+
@given_name = given_name
|
|
2125
|
+
@phone = phone
|
|
2126
|
+
@surname = surname
|
|
2127
|
+
end
|
|
2128
|
+
end
|
|
2129
|
+
# Account funding transaction details including sender information.
|
|
2130
|
+
attr_accessor :account_funding
|
|
2131
|
+
# Inline identity details for the beneficiary of this transaction.
|
|
2132
|
+
attr_accessor :beneficiary_details
|
|
2133
|
+
# The type of money services transaction.
|
|
2134
|
+
attr_accessor :transaction_type
|
|
2135
|
+
|
|
2136
|
+
def initialize(account_funding: nil, beneficiary_details: nil, transaction_type: nil)
|
|
2137
|
+
@account_funding = account_funding
|
|
2138
|
+
@beneficiary_details = beneficiary_details
|
|
2139
|
+
@transaction_type = transaction_type
|
|
205
2140
|
end
|
|
206
2141
|
end
|
|
207
|
-
# Arguments passed in automations
|
|
208
|
-
attr_accessor :inputs
|
|
209
2142
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
2143
|
+
class Subscription < ::Stripe::RequestParams
|
|
2144
|
+
class Affiliate < ::Stripe::RequestParams
|
|
2145
|
+
# The name of the affiliate that originated the purchase.
|
|
2146
|
+
attr_accessor :name
|
|
214
2147
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
2148
|
+
def initialize(name: nil)
|
|
2149
|
+
@name = name
|
|
2150
|
+
end
|
|
2151
|
+
end
|
|
218
2152
|
|
|
219
|
-
class
|
|
220
|
-
# The
|
|
221
|
-
attr_accessor :
|
|
222
|
-
#
|
|
223
|
-
attr_accessor :
|
|
2153
|
+
class BillingInterval < ::Stripe::RequestParams
|
|
2154
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2155
|
+
attr_accessor :count
|
|
2156
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2157
|
+
attr_accessor :interval
|
|
224
2158
|
|
|
225
|
-
def initialize(
|
|
226
|
-
@
|
|
227
|
-
@
|
|
2159
|
+
def initialize(count: nil, interval: nil)
|
|
2160
|
+
@count = count
|
|
2161
|
+
@interval = interval
|
|
228
2162
|
end
|
|
229
2163
|
end
|
|
230
|
-
#
|
|
231
|
-
attr_accessor :
|
|
232
|
-
#
|
|
233
|
-
attr_accessor :
|
|
234
|
-
#
|
|
235
|
-
attr_accessor :
|
|
236
|
-
#
|
|
237
|
-
attr_accessor :
|
|
2164
|
+
# Affiliate details for this purchase.
|
|
2165
|
+
attr_accessor :affiliate
|
|
2166
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
2167
|
+
attr_accessor :auto_renewal
|
|
2168
|
+
# Subscription billing details for this purchase.
|
|
2169
|
+
attr_accessor :billing_interval
|
|
2170
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2171
|
+
attr_accessor :ends_at
|
|
2172
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
2173
|
+
attr_accessor :name
|
|
2174
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2175
|
+
attr_accessor :starts_at
|
|
238
2176
|
|
|
239
|
-
def initialize(
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
2177
|
+
def initialize(
|
|
2178
|
+
affiliate: nil,
|
|
2179
|
+
auto_renewal: nil,
|
|
2180
|
+
billing_interval: nil,
|
|
2181
|
+
ends_at: nil,
|
|
2182
|
+
name: nil,
|
|
2183
|
+
starts_at: nil
|
|
2184
|
+
)
|
|
2185
|
+
@affiliate = affiliate
|
|
2186
|
+
@auto_renewal = auto_renewal
|
|
2187
|
+
@billing_interval = billing_interval
|
|
2188
|
+
@ends_at = ends_at
|
|
2189
|
+
@name = name
|
|
2190
|
+
@starts_at = starts_at
|
|
244
2191
|
end
|
|
245
2192
|
end
|
|
246
|
-
#
|
|
247
|
-
attr_accessor :
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
class PaymentDetails < ::Stripe::RequestParams
|
|
2193
|
+
# Benefit details for this PaymentIntent
|
|
2194
|
+
attr_accessor :benefit
|
|
2195
|
+
# Car rental details for this PaymentIntent.
|
|
2196
|
+
attr_accessor :car_rental
|
|
2197
|
+
# Car rental data for this PaymentIntent.
|
|
2198
|
+
attr_accessor :car_rental_data
|
|
255
2199
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
256
2200
|
#
|
|
257
2201
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
258
2202
|
attr_accessor :customer_reference
|
|
2203
|
+
# Event details for this PaymentIntent
|
|
2204
|
+
attr_accessor :event_details
|
|
2205
|
+
# Fleet data for this PaymentIntent.
|
|
2206
|
+
attr_accessor :fleet_data
|
|
2207
|
+
# Flight reservation details for this PaymentIntent
|
|
2208
|
+
attr_accessor :flight
|
|
2209
|
+
# Flight data for this PaymentIntent.
|
|
2210
|
+
attr_accessor :flight_data
|
|
2211
|
+
# The ID of the Payment Location for this PaymentIntent.
|
|
2212
|
+
attr_accessor :location
|
|
2213
|
+
# Lodging reservation details for this PaymentIntent
|
|
2214
|
+
attr_accessor :lodging
|
|
2215
|
+
# Lodging data for this PaymentIntent.
|
|
2216
|
+
attr_accessor :lodging_data
|
|
2217
|
+
# Money services details for this PaymentIntent.
|
|
2218
|
+
attr_accessor :money_services
|
|
259
2219
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
260
2220
|
#
|
|
261
2221
|
# 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.
|
|
262
2222
|
attr_accessor :order_reference
|
|
2223
|
+
# Subscription details for this PaymentIntent
|
|
2224
|
+
attr_accessor :subscription
|
|
263
2225
|
|
|
264
|
-
def initialize(
|
|
2226
|
+
def initialize(
|
|
2227
|
+
benefit: nil,
|
|
2228
|
+
car_rental: nil,
|
|
2229
|
+
car_rental_data: nil,
|
|
2230
|
+
customer_reference: nil,
|
|
2231
|
+
event_details: nil,
|
|
2232
|
+
fleet_data: nil,
|
|
2233
|
+
flight: nil,
|
|
2234
|
+
flight_data: nil,
|
|
2235
|
+
location: nil,
|
|
2236
|
+
lodging: nil,
|
|
2237
|
+
lodging_data: nil,
|
|
2238
|
+
money_services: nil,
|
|
2239
|
+
order_reference: nil,
|
|
2240
|
+
subscription: nil
|
|
2241
|
+
)
|
|
2242
|
+
@benefit = benefit
|
|
2243
|
+
@car_rental = car_rental
|
|
2244
|
+
@car_rental_data = car_rental_data
|
|
265
2245
|
@customer_reference = customer_reference
|
|
2246
|
+
@event_details = event_details
|
|
2247
|
+
@fleet_data = fleet_data
|
|
2248
|
+
@flight = flight
|
|
2249
|
+
@flight_data = flight_data
|
|
2250
|
+
@location = location
|
|
2251
|
+
@lodging = lodging
|
|
2252
|
+
@lodging_data = lodging_data
|
|
2253
|
+
@money_services = money_services
|
|
266
2254
|
@order_reference = order_reference
|
|
2255
|
+
@subscription = subscription
|
|
267
2256
|
end
|
|
268
2257
|
end
|
|
269
2258
|
|
|
@@ -404,9 +2393,28 @@ module Stripe
|
|
|
404
2393
|
end
|
|
405
2394
|
end
|
|
406
2395
|
|
|
2396
|
+
class GiftCard < ::Stripe::RequestParams
|
|
2397
|
+
# The gift card ID to redeem
|
|
2398
|
+
attr_accessor :gift_card
|
|
2399
|
+
|
|
2400
|
+
def initialize(gift_card: nil)
|
|
2401
|
+
@gift_card = gift_card
|
|
2402
|
+
end
|
|
2403
|
+
end
|
|
2404
|
+
|
|
407
2405
|
class Giropay < ::Stripe::RequestParams; end
|
|
2406
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
408
2407
|
class Grabpay < ::Stripe::RequestParams; end
|
|
409
2408
|
|
|
2409
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
2410
|
+
# Bank where the account is held.
|
|
2411
|
+
attr_accessor :bank
|
|
2412
|
+
|
|
2413
|
+
def initialize(bank: nil)
|
|
2414
|
+
@bank = bank
|
|
2415
|
+
end
|
|
2416
|
+
end
|
|
2417
|
+
|
|
410
2418
|
class Ideal < ::Stripe::RequestParams
|
|
411
2419
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
412
2420
|
attr_accessor :bank
|
|
@@ -504,6 +2512,7 @@ module Stripe
|
|
|
504
2512
|
class Payco < ::Stripe::RequestParams; end
|
|
505
2513
|
class Paynow < ::Stripe::RequestParams; end
|
|
506
2514
|
class Paypal < ::Stripe::RequestParams; end
|
|
2515
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
507
2516
|
|
|
508
2517
|
class Payto < ::Stripe::RequestParams
|
|
509
2518
|
# The account number for the bank account.
|
|
@@ -522,6 +2531,7 @@ module Stripe
|
|
|
522
2531
|
|
|
523
2532
|
class Pix < ::Stripe::RequestParams; end
|
|
524
2533
|
class Promptpay < ::Stripe::RequestParams; end
|
|
2534
|
+
class Qris < ::Stripe::RequestParams; end
|
|
525
2535
|
|
|
526
2536
|
class RadarOptions < ::Stripe::RequestParams
|
|
527
2537
|
# 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.
|
|
@@ -532,6 +2542,29 @@ module Stripe
|
|
|
532
2542
|
end
|
|
533
2543
|
end
|
|
534
2544
|
|
|
2545
|
+
class Rechnung < ::Stripe::RequestParams
|
|
2546
|
+
class Dob < ::Stripe::RequestParams
|
|
2547
|
+
# The day of birth, between 1 and 31.
|
|
2548
|
+
attr_accessor :day
|
|
2549
|
+
# The month of birth, between 1 and 12.
|
|
2550
|
+
attr_accessor :month
|
|
2551
|
+
# The four-digit year of birth.
|
|
2552
|
+
attr_accessor :year
|
|
2553
|
+
|
|
2554
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2555
|
+
@day = day
|
|
2556
|
+
@month = month
|
|
2557
|
+
@year = year
|
|
2558
|
+
end
|
|
2559
|
+
end
|
|
2560
|
+
# Customer's date of birth
|
|
2561
|
+
attr_accessor :dob
|
|
2562
|
+
|
|
2563
|
+
def initialize(dob: nil)
|
|
2564
|
+
@dob = dob
|
|
2565
|
+
end
|
|
2566
|
+
end
|
|
2567
|
+
|
|
535
2568
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
536
2569
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
537
2570
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -546,6 +2579,8 @@ module Stripe
|
|
|
546
2579
|
end
|
|
547
2580
|
end
|
|
548
2581
|
|
|
2582
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
2583
|
+
|
|
549
2584
|
class Sofort < ::Stripe::RequestParams
|
|
550
2585
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
551
2586
|
attr_accessor :country
|
|
@@ -555,8 +2590,18 @@ module Stripe
|
|
|
555
2590
|
end
|
|
556
2591
|
end
|
|
557
2592
|
|
|
2593
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
2594
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2595
|
+
attr_accessor :account
|
|
2596
|
+
|
|
2597
|
+
def initialize(account: nil)
|
|
2598
|
+
@account = account
|
|
2599
|
+
end
|
|
2600
|
+
end
|
|
2601
|
+
|
|
558
2602
|
class Sunbit < ::Stripe::RequestParams; end
|
|
559
2603
|
class Swish < ::Stripe::RequestParams; end
|
|
2604
|
+
class Tamara < ::Stripe::RequestParams; end
|
|
560
2605
|
class Twint < ::Stripe::RequestParams; end
|
|
561
2606
|
|
|
562
2607
|
class Upi < ::Stripe::RequestParams
|
|
@@ -654,10 +2699,16 @@ module Stripe
|
|
|
654
2699
|
attr_accessor :eps
|
|
655
2700
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
|
656
2701
|
attr_accessor :fpx
|
|
2702
|
+
# If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method.
|
|
2703
|
+
attr_accessor :gift_card
|
|
657
2704
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
658
2705
|
attr_accessor :giropay
|
|
2706
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2707
|
+
attr_accessor :gopay
|
|
659
2708
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
660
2709
|
attr_accessor :grabpay
|
|
2710
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2711
|
+
attr_accessor :id_bank_transfer
|
|
661
2712
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
662
2713
|
attr_accessor :ideal
|
|
663
2714
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -696,14 +2747,20 @@ module Stripe
|
|
|
696
2747
|
attr_accessor :paynow
|
|
697
2748
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
698
2749
|
attr_accessor :paypal
|
|
2750
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
2751
|
+
attr_accessor :paypay
|
|
699
2752
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
700
2753
|
attr_accessor :payto
|
|
701
2754
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
702
2755
|
attr_accessor :pix
|
|
703
2756
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
704
2757
|
attr_accessor :promptpay
|
|
2758
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2759
|
+
attr_accessor :qris
|
|
705
2760
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
706
2761
|
attr_accessor :radar_options
|
|
2762
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2763
|
+
attr_accessor :rechnung
|
|
707
2764
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
708
2765
|
attr_accessor :revolut_pay
|
|
709
2766
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -714,12 +2771,20 @@ module Stripe
|
|
|
714
2771
|
attr_accessor :scalapay
|
|
715
2772
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
716
2773
|
attr_accessor :sepa_debit
|
|
2774
|
+
# ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
2775
|
+
attr_accessor :shared_payment_granted_token
|
|
2776
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2777
|
+
attr_accessor :shopeepay
|
|
717
2778
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
718
2779
|
attr_accessor :sofort
|
|
2780
|
+
# This hash contains details about the Stripe balance payment method.
|
|
2781
|
+
attr_accessor :stripe_balance
|
|
719
2782
|
# If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
720
2783
|
attr_accessor :sunbit
|
|
721
2784
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
722
2785
|
attr_accessor :swish
|
|
2786
|
+
# If this is a `tamara` PaymentMethod, this hash contains details about the Tamara payment method.
|
|
2787
|
+
attr_accessor :tamara
|
|
723
2788
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
724
2789
|
attr_accessor :twint
|
|
725
2790
|
# 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.
|
|
@@ -754,8 +2819,11 @@ module Stripe
|
|
|
754
2819
|
customer_balance: nil,
|
|
755
2820
|
eps: nil,
|
|
756
2821
|
fpx: nil,
|
|
2822
|
+
gift_card: nil,
|
|
757
2823
|
giropay: nil,
|
|
2824
|
+
gopay: nil,
|
|
758
2825
|
grabpay: nil,
|
|
2826
|
+
id_bank_transfer: nil,
|
|
759
2827
|
ideal: nil,
|
|
760
2828
|
interac_present: nil,
|
|
761
2829
|
kakao_pay: nil,
|
|
@@ -775,18 +2843,25 @@ module Stripe
|
|
|
775
2843
|
payco: nil,
|
|
776
2844
|
paynow: nil,
|
|
777
2845
|
paypal: nil,
|
|
2846
|
+
paypay: nil,
|
|
778
2847
|
payto: nil,
|
|
779
2848
|
pix: nil,
|
|
780
2849
|
promptpay: nil,
|
|
2850
|
+
qris: nil,
|
|
781
2851
|
radar_options: nil,
|
|
2852
|
+
rechnung: nil,
|
|
782
2853
|
revolut_pay: nil,
|
|
783
2854
|
samsung_pay: nil,
|
|
784
2855
|
satispay: nil,
|
|
785
2856
|
scalapay: nil,
|
|
786
2857
|
sepa_debit: nil,
|
|
2858
|
+
shared_payment_granted_token: nil,
|
|
2859
|
+
shopeepay: nil,
|
|
787
2860
|
sofort: nil,
|
|
2861
|
+
stripe_balance: nil,
|
|
788
2862
|
sunbit: nil,
|
|
789
2863
|
swish: nil,
|
|
2864
|
+
tamara: nil,
|
|
790
2865
|
twint: nil,
|
|
791
2866
|
type: nil,
|
|
792
2867
|
upi: nil,
|
|
@@ -814,8 +2889,11 @@ module Stripe
|
|
|
814
2889
|
@customer_balance = customer_balance
|
|
815
2890
|
@eps = eps
|
|
816
2891
|
@fpx = fpx
|
|
2892
|
+
@gift_card = gift_card
|
|
817
2893
|
@giropay = giropay
|
|
2894
|
+
@gopay = gopay
|
|
818
2895
|
@grabpay = grabpay
|
|
2896
|
+
@id_bank_transfer = id_bank_transfer
|
|
819
2897
|
@ideal = ideal
|
|
820
2898
|
@interac_present = interac_present
|
|
821
2899
|
@kakao_pay = kakao_pay
|
|
@@ -835,18 +2913,25 @@ module Stripe
|
|
|
835
2913
|
@payco = payco
|
|
836
2914
|
@paynow = paynow
|
|
837
2915
|
@paypal = paypal
|
|
2916
|
+
@paypay = paypay
|
|
838
2917
|
@payto = payto
|
|
839
2918
|
@pix = pix
|
|
840
2919
|
@promptpay = promptpay
|
|
2920
|
+
@qris = qris
|
|
841
2921
|
@radar_options = radar_options
|
|
2922
|
+
@rechnung = rechnung
|
|
842
2923
|
@revolut_pay = revolut_pay
|
|
843
2924
|
@samsung_pay = samsung_pay
|
|
844
2925
|
@satispay = satispay
|
|
845
2926
|
@scalapay = scalapay
|
|
846
2927
|
@sepa_debit = sepa_debit
|
|
2928
|
+
@shared_payment_granted_token = shared_payment_granted_token
|
|
2929
|
+
@shopeepay = shopeepay
|
|
847
2930
|
@sofort = sofort
|
|
2931
|
+
@stripe_balance = stripe_balance
|
|
848
2932
|
@sunbit = sunbit
|
|
849
2933
|
@swish = swish
|
|
2934
|
+
@tamara = tamara
|
|
850
2935
|
@twint = twint
|
|
851
2936
|
@type = type
|
|
852
2937
|
@upi = upi
|
|
@@ -1146,6 +3231,18 @@ module Stripe
|
|
|
1146
3231
|
end
|
|
1147
3232
|
|
|
1148
3233
|
class Card < ::Stripe::RequestParams
|
|
3234
|
+
class CaptureDelay < ::Stripe::RequestParams
|
|
3235
|
+
# Attribute for param field days
|
|
3236
|
+
attr_accessor :days
|
|
3237
|
+
# Attribute for param field hours
|
|
3238
|
+
attr_accessor :hours
|
|
3239
|
+
|
|
3240
|
+
def initialize(days: nil, hours: nil)
|
|
3241
|
+
@days = days
|
|
3242
|
+
@hours = hours
|
|
3243
|
+
end
|
|
3244
|
+
end
|
|
3245
|
+
|
|
1149
3246
|
class Installments < ::Stripe::RequestParams
|
|
1150
3247
|
class Plan < ::Stripe::RequestParams
|
|
1151
3248
|
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
|
@@ -1219,6 +3316,73 @@ module Stripe
|
|
|
1219
3316
|
end
|
|
1220
3317
|
end
|
|
1221
3318
|
|
|
3319
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
3320
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
3321
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
3322
|
+
# The category of digital asset being acquired through this account funding transaction.
|
|
3323
|
+
attr_accessor :digital_asset_category
|
|
3324
|
+
|
|
3325
|
+
def initialize(digital_asset_category: nil)
|
|
3326
|
+
@digital_asset_category = digital_asset_category
|
|
3327
|
+
end
|
|
3328
|
+
end
|
|
3329
|
+
# Payment method specific account funding transaction details.
|
|
3330
|
+
attr_accessor :account_funding
|
|
3331
|
+
|
|
3332
|
+
def initialize(account_funding: nil)
|
|
3333
|
+
@account_funding = account_funding
|
|
3334
|
+
end
|
|
3335
|
+
end
|
|
3336
|
+
# Money services details for payment method specific funding fields.
|
|
3337
|
+
attr_accessor :money_services
|
|
3338
|
+
|
|
3339
|
+
def initialize(money_services: nil)
|
|
3340
|
+
@money_services = money_services
|
|
3341
|
+
end
|
|
3342
|
+
end
|
|
3343
|
+
|
|
3344
|
+
class StatementDetails < ::Stripe::RequestParams
|
|
3345
|
+
class Address < ::Stripe::RequestParams
|
|
3346
|
+
# City, district, suburb, town, or village.
|
|
3347
|
+
attr_accessor :city
|
|
3348
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3349
|
+
attr_accessor :country
|
|
3350
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
3351
|
+
attr_accessor :line1
|
|
3352
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
3353
|
+
attr_accessor :line2
|
|
3354
|
+
# ZIP or postal code.
|
|
3355
|
+
attr_accessor :postal_code
|
|
3356
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3357
|
+
attr_accessor :state
|
|
3358
|
+
|
|
3359
|
+
def initialize(
|
|
3360
|
+
city: nil,
|
|
3361
|
+
country: nil,
|
|
3362
|
+
line1: nil,
|
|
3363
|
+
line2: nil,
|
|
3364
|
+
postal_code: nil,
|
|
3365
|
+
state: nil
|
|
3366
|
+
)
|
|
3367
|
+
@city = city
|
|
3368
|
+
@country = country
|
|
3369
|
+
@line1 = line1
|
|
3370
|
+
@line2 = line2
|
|
3371
|
+
@postal_code = postal_code
|
|
3372
|
+
@state = state
|
|
3373
|
+
end
|
|
3374
|
+
end
|
|
3375
|
+
# Please pass in an address that is within your Stripe user account country
|
|
3376
|
+
attr_accessor :address
|
|
3377
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
|
3378
|
+
attr_accessor :phone
|
|
3379
|
+
|
|
3380
|
+
def initialize(address: nil, phone: nil)
|
|
3381
|
+
@address = address
|
|
3382
|
+
@phone = phone
|
|
3383
|
+
end
|
|
3384
|
+
end
|
|
3385
|
+
|
|
1222
3386
|
class ThreeDSecure < ::Stripe::RequestParams
|
|
1223
3387
|
class NetworkOptions < ::Stripe::RequestParams
|
|
1224
3388
|
class CartesBancaires < ::Stripe::RequestParams
|
|
@@ -1293,6 +3457,14 @@ module Stripe
|
|
|
1293
3457
|
@version = version
|
|
1294
3458
|
end
|
|
1295
3459
|
end
|
|
3460
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3461
|
+
#
|
|
3462
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3463
|
+
attr_accessor :capture_by
|
|
3464
|
+
# 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.
|
|
3465
|
+
#
|
|
3466
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3467
|
+
attr_accessor :capture_delay
|
|
1296
3468
|
# Controls when the funds are captured from the customer's account.
|
|
1297
3469
|
#
|
|
1298
3470
|
# 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.
|
|
@@ -1313,6 +3485,10 @@ module Stripe
|
|
|
1313
3485
|
attr_accessor :moto
|
|
1314
3486
|
# 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.
|
|
1315
3487
|
attr_accessor :network
|
|
3488
|
+
# Payment details for payment method specific funding fields.
|
|
3489
|
+
attr_accessor :payment_details
|
|
3490
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3491
|
+
attr_accessor :request_decremental_authorization
|
|
1316
3492
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
1317
3493
|
attr_accessor :request_extended_authorization
|
|
1318
3494
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1321,6 +3497,10 @@ module Stripe
|
|
|
1321
3497
|
attr_accessor :request_multicapture
|
|
1322
3498
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
1323
3499
|
attr_accessor :request_overcapture
|
|
3500
|
+
# Request partial authorization on this PaymentIntent.
|
|
3501
|
+
attr_accessor :request_partial_authorization
|
|
3502
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3503
|
+
attr_accessor :request_reauthorization
|
|
1324
3504
|
# 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.
|
|
1325
3505
|
attr_accessor :request_three_d_secure
|
|
1326
3506
|
# 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).
|
|
@@ -1339,48 +3519,101 @@ module Stripe
|
|
|
1339
3519
|
attr_accessor :statement_descriptor_suffix_kana
|
|
1340
3520
|
# 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.
|
|
1341
3521
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
3522
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
3523
|
+
attr_accessor :statement_details
|
|
1342
3524
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
1343
3525
|
# the authentication details to use for this payment.
|
|
1344
3526
|
attr_accessor :three_d_secure
|
|
1345
3527
|
|
|
1346
3528
|
def initialize(
|
|
3529
|
+
capture_by: nil,
|
|
3530
|
+
capture_delay: nil,
|
|
1347
3531
|
capture_method: nil,
|
|
1348
3532
|
cvc_token: nil,
|
|
1349
3533
|
installments: nil,
|
|
1350
3534
|
mandate_options: nil,
|
|
1351
3535
|
moto: nil,
|
|
1352
3536
|
network: nil,
|
|
3537
|
+
payment_details: nil,
|
|
3538
|
+
request_decremental_authorization: nil,
|
|
1353
3539
|
request_extended_authorization: nil,
|
|
1354
3540
|
request_incremental_authorization: nil,
|
|
1355
3541
|
request_multicapture: nil,
|
|
1356
3542
|
request_overcapture: nil,
|
|
3543
|
+
request_partial_authorization: nil,
|
|
3544
|
+
request_reauthorization: nil,
|
|
1357
3545
|
request_three_d_secure: nil,
|
|
1358
3546
|
require_cvc_recollection: nil,
|
|
1359
3547
|
setup_future_usage: nil,
|
|
1360
3548
|
statement_descriptor_suffix_kana: nil,
|
|
1361
3549
|
statement_descriptor_suffix_kanji: nil,
|
|
3550
|
+
statement_details: nil,
|
|
1362
3551
|
three_d_secure: nil
|
|
1363
3552
|
)
|
|
3553
|
+
@capture_by = capture_by
|
|
3554
|
+
@capture_delay = capture_delay
|
|
1364
3555
|
@capture_method = capture_method
|
|
1365
3556
|
@cvc_token = cvc_token
|
|
1366
3557
|
@installments = installments
|
|
1367
3558
|
@mandate_options = mandate_options
|
|
1368
3559
|
@moto = moto
|
|
1369
3560
|
@network = network
|
|
3561
|
+
@payment_details = payment_details
|
|
3562
|
+
@request_decremental_authorization = request_decremental_authorization
|
|
1370
3563
|
@request_extended_authorization = request_extended_authorization
|
|
1371
3564
|
@request_incremental_authorization = request_incremental_authorization
|
|
1372
3565
|
@request_multicapture = request_multicapture
|
|
1373
3566
|
@request_overcapture = request_overcapture
|
|
3567
|
+
@request_partial_authorization = request_partial_authorization
|
|
3568
|
+
@request_reauthorization = request_reauthorization
|
|
1374
3569
|
@request_three_d_secure = request_three_d_secure
|
|
1375
3570
|
@require_cvc_recollection = require_cvc_recollection
|
|
1376
3571
|
@setup_future_usage = setup_future_usage
|
|
1377
3572
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
1378
3573
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
3574
|
+
@statement_details = statement_details
|
|
1379
3575
|
@three_d_secure = three_d_secure
|
|
1380
3576
|
end
|
|
1381
3577
|
end
|
|
1382
3578
|
|
|
1383
3579
|
class CardPresent < ::Stripe::RequestParams
|
|
3580
|
+
class CaptureDelay < ::Stripe::RequestParams
|
|
3581
|
+
# Attribute for param field days
|
|
3582
|
+
attr_accessor :days
|
|
3583
|
+
# Attribute for param field hours
|
|
3584
|
+
attr_accessor :hours
|
|
3585
|
+
|
|
3586
|
+
def initialize(days: nil, hours: nil)
|
|
3587
|
+
@days = days
|
|
3588
|
+
@hours = hours
|
|
3589
|
+
end
|
|
3590
|
+
end
|
|
3591
|
+
|
|
3592
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
3593
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
3594
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
3595
|
+
# The category of digital asset being acquired through this account funding transaction.
|
|
3596
|
+
attr_accessor :digital_asset_category
|
|
3597
|
+
|
|
3598
|
+
def initialize(digital_asset_category: nil)
|
|
3599
|
+
@digital_asset_category = digital_asset_category
|
|
3600
|
+
end
|
|
3601
|
+
end
|
|
3602
|
+
# Payment method specific account funding transaction details.
|
|
3603
|
+
attr_accessor :account_funding
|
|
3604
|
+
|
|
3605
|
+
def initialize(account_funding: nil)
|
|
3606
|
+
@account_funding = account_funding
|
|
3607
|
+
end
|
|
3608
|
+
end
|
|
3609
|
+
# Money services details for payment method specific funding fields.
|
|
3610
|
+
attr_accessor :money_services
|
|
3611
|
+
|
|
3612
|
+
def initialize(money_services: nil)
|
|
3613
|
+
@money_services = money_services
|
|
3614
|
+
end
|
|
3615
|
+
end
|
|
3616
|
+
|
|
1384
3617
|
class Routing < ::Stripe::RequestParams
|
|
1385
3618
|
# Routing requested priority
|
|
1386
3619
|
attr_accessor :requested_priority
|
|
@@ -1389,28 +3622,52 @@ module Stripe
|
|
|
1389
3622
|
@requested_priority = requested_priority
|
|
1390
3623
|
end
|
|
1391
3624
|
end
|
|
3625
|
+
# Controls when funds are captured from the customer's account when `capture_method` is `automatic_delayed`.
|
|
3626
|
+
#
|
|
3627
|
+
# If omitted, funds are captured before the authorization expires.
|
|
3628
|
+
attr_accessor :capture_by
|
|
3629
|
+
# 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.
|
|
3630
|
+
#
|
|
3631
|
+
# You can only set this if `capture_method` is `automatic_delayed` and `capture_by` is `target_delay`.
|
|
3632
|
+
attr_accessor :capture_delay
|
|
1392
3633
|
# Controls when the funds are captured from the customer's account.
|
|
1393
3634
|
#
|
|
1394
3635
|
# 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.
|
|
1395
3636
|
#
|
|
1396
3637
|
# 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.
|
|
1397
3638
|
attr_accessor :capture_method
|
|
3639
|
+
# Payment details for payment method specific funding transaction fields.
|
|
3640
|
+
attr_accessor :payment_details
|
|
1398
3641
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
1399
3642
|
attr_accessor :request_extended_authorization
|
|
1400
3643
|
# 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.
|
|
1401
3644
|
attr_accessor :request_incremental_authorization_support
|
|
3645
|
+
# Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
|
|
3646
|
+
attr_accessor :request_multicapture
|
|
3647
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3648
|
+
attr_accessor :request_reauthorization
|
|
1402
3649
|
# Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
|
|
1403
3650
|
attr_accessor :routing
|
|
1404
3651
|
|
|
1405
3652
|
def initialize(
|
|
3653
|
+
capture_by: nil,
|
|
3654
|
+
capture_delay: nil,
|
|
1406
3655
|
capture_method: nil,
|
|
3656
|
+
payment_details: nil,
|
|
1407
3657
|
request_extended_authorization: nil,
|
|
1408
3658
|
request_incremental_authorization_support: nil,
|
|
3659
|
+
request_multicapture: nil,
|
|
3660
|
+
request_reauthorization: nil,
|
|
1409
3661
|
routing: nil
|
|
1410
3662
|
)
|
|
3663
|
+
@capture_by = capture_by
|
|
3664
|
+
@capture_delay = capture_delay
|
|
1411
3665
|
@capture_method = capture_method
|
|
3666
|
+
@payment_details = payment_details
|
|
1412
3667
|
@request_extended_authorization = request_extended_authorization
|
|
1413
3668
|
@request_incremental_authorization_support = request_incremental_authorization_support
|
|
3669
|
+
@request_multicapture = request_multicapture
|
|
3670
|
+
@request_reauthorization = request_reauthorization
|
|
1414
3671
|
@routing = routing
|
|
1415
3672
|
end
|
|
1416
3673
|
end
|
|
@@ -1437,9 +3694,47 @@ module Stripe
|
|
|
1437
3694
|
@capture_method = capture_method
|
|
1438
3695
|
@setup_future_usage = setup_future_usage
|
|
1439
3696
|
end
|
|
1440
|
-
end
|
|
3697
|
+
end
|
|
3698
|
+
|
|
3699
|
+
class Crypto < ::Stripe::RequestParams
|
|
3700
|
+
class AmountReconciliation < ::Stripe::RequestParams
|
|
3701
|
+
# Controls how crypto funding amounts are reconciled for the PaymentIntent.
|
|
3702
|
+
attr_accessor :type
|
|
3703
|
+
|
|
3704
|
+
def initialize(type: nil)
|
|
3705
|
+
@type = type
|
|
3706
|
+
end
|
|
3707
|
+
end
|
|
3708
|
+
|
|
3709
|
+
class DepositOptions < ::Stripe::RequestParams
|
|
3710
|
+
# 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).
|
|
3711
|
+
attr_accessor :networks
|
|
3712
|
+
# If true, provisions a permanent per-customer deposit address reused across PaymentIntents.
|
|
3713
|
+
attr_accessor :static_address
|
|
3714
|
+
|
|
3715
|
+
def initialize(networks: nil, static_address: nil)
|
|
3716
|
+
@networks = networks
|
|
3717
|
+
@static_address = static_address
|
|
3718
|
+
end
|
|
3719
|
+
end
|
|
1441
3720
|
|
|
1442
|
-
|
|
3721
|
+
class TransactionVerificationOptions < ::Stripe::RequestParams
|
|
3722
|
+
# The network on which the transaction was submitted.
|
|
3723
|
+
attr_accessor :network
|
|
3724
|
+
# The hash of the onchain transaction to verify.
|
|
3725
|
+
attr_accessor :transaction_hash
|
|
3726
|
+
|
|
3727
|
+
def initialize(network: nil, transaction_hash: nil)
|
|
3728
|
+
@network = network
|
|
3729
|
+
@transaction_hash = transaction_hash
|
|
3730
|
+
end
|
|
3731
|
+
end
|
|
3732
|
+
# Controls how crypto funding amounts are reconciled for this PaymentIntent.
|
|
3733
|
+
attr_accessor :amount_reconciliation
|
|
3734
|
+
# Specific configuration for this PaymentIntent when the mode is `deposit`.
|
|
3735
|
+
attr_accessor :deposit_options
|
|
3736
|
+
# The mode of the crypto payment.
|
|
3737
|
+
attr_accessor :mode
|
|
1443
3738
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1444
3739
|
#
|
|
1445
3740
|
# 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.
|
|
@@ -1450,9 +3745,21 @@ module Stripe
|
|
|
1450
3745
|
#
|
|
1451
3746
|
# 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`.
|
|
1452
3747
|
attr_accessor :setup_future_usage
|
|
3748
|
+
# Specific configuration for this PaymentIntent when the mode is `transaction_verification`.
|
|
3749
|
+
attr_accessor :transaction_verification_options
|
|
1453
3750
|
|
|
1454
|
-
def initialize(
|
|
3751
|
+
def initialize(
|
|
3752
|
+
amount_reconciliation: nil,
|
|
3753
|
+
deposit_options: nil,
|
|
3754
|
+
mode: nil,
|
|
3755
|
+
setup_future_usage: nil,
|
|
3756
|
+
transaction_verification_options: nil
|
|
3757
|
+
)
|
|
3758
|
+
@amount_reconciliation = amount_reconciliation
|
|
3759
|
+
@deposit_options = deposit_options
|
|
3760
|
+
@mode = mode
|
|
1455
3761
|
@setup_future_usage = setup_future_usage
|
|
3762
|
+
@transaction_verification_options = transaction_verification_options
|
|
1456
3763
|
end
|
|
1457
3764
|
end
|
|
1458
3765
|
|
|
@@ -1537,6 +3844,25 @@ module Stripe
|
|
|
1537
3844
|
end
|
|
1538
3845
|
end
|
|
1539
3846
|
|
|
3847
|
+
class GiftCard < ::Stripe::RequestParams
|
|
3848
|
+
# Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card.
|
|
3849
|
+
attr_accessor :ignore_application_fee
|
|
3850
|
+
# Set to `yes` to ignore transfer data on the PaymentIntent when redeeming this gift card.
|
|
3851
|
+
attr_accessor :ignore_transfer_data
|
|
3852
|
+
# Request partial authorization on this PaymentIntent.
|
|
3853
|
+
attr_accessor :request_partial_authorization
|
|
3854
|
+
|
|
3855
|
+
def initialize(
|
|
3856
|
+
ignore_application_fee: nil,
|
|
3857
|
+
ignore_transfer_data: nil,
|
|
3858
|
+
request_partial_authorization: nil
|
|
3859
|
+
)
|
|
3860
|
+
@ignore_application_fee = ignore_application_fee
|
|
3861
|
+
@ignore_transfer_data = ignore_transfer_data
|
|
3862
|
+
@request_partial_authorization = request_partial_authorization
|
|
3863
|
+
end
|
|
3864
|
+
end
|
|
3865
|
+
|
|
1540
3866
|
class Giropay < ::Stripe::RequestParams
|
|
1541
3867
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1542
3868
|
#
|
|
@@ -1554,6 +3880,23 @@ module Stripe
|
|
|
1554
3880
|
end
|
|
1555
3881
|
end
|
|
1556
3882
|
|
|
3883
|
+
class Gopay < ::Stripe::RequestParams
|
|
3884
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3885
|
+
#
|
|
3886
|
+
# 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.
|
|
3887
|
+
#
|
|
3888
|
+
# 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.
|
|
3889
|
+
#
|
|
3890
|
+
# 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).
|
|
3891
|
+
#
|
|
3892
|
+
# 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`.
|
|
3893
|
+
attr_accessor :setup_future_usage
|
|
3894
|
+
|
|
3895
|
+
def initialize(setup_future_usage: nil)
|
|
3896
|
+
@setup_future_usage = setup_future_usage
|
|
3897
|
+
end
|
|
3898
|
+
end
|
|
3899
|
+
|
|
1557
3900
|
class Grabpay < ::Stripe::RequestParams
|
|
1558
3901
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1559
3902
|
#
|
|
@@ -1571,6 +3914,29 @@ module Stripe
|
|
|
1571
3914
|
end
|
|
1572
3915
|
end
|
|
1573
3916
|
|
|
3917
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
3918
|
+
# 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.
|
|
3919
|
+
attr_accessor :expires_after
|
|
3920
|
+
# 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.
|
|
3921
|
+
attr_accessor :expires_at
|
|
3922
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3923
|
+
#
|
|
3924
|
+
# 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.
|
|
3925
|
+
#
|
|
3926
|
+
# 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.
|
|
3927
|
+
#
|
|
3928
|
+
# 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).
|
|
3929
|
+
#
|
|
3930
|
+
# 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`.
|
|
3931
|
+
attr_accessor :setup_future_usage
|
|
3932
|
+
|
|
3933
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
3934
|
+
@expires_after = expires_after
|
|
3935
|
+
@expires_at = expires_at
|
|
3936
|
+
@setup_future_usage = setup_future_usage
|
|
3937
|
+
end
|
|
3938
|
+
end
|
|
3939
|
+
|
|
1574
3940
|
class Ideal < ::Stripe::RequestParams
|
|
1575
3941
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1576
3942
|
#
|
|
@@ -1677,6 +4043,939 @@ module Stripe
|
|
|
1677
4043
|
@reference = reference
|
|
1678
4044
|
end
|
|
1679
4045
|
end
|
|
4046
|
+
|
|
4047
|
+
class SupplementaryPurchaseData < ::Stripe::RequestParams
|
|
4048
|
+
class BusReservationDetail < ::Stripe::RequestParams
|
|
4049
|
+
class Arrival < ::Stripe::RequestParams
|
|
4050
|
+
class Address < ::Stripe::RequestParams
|
|
4051
|
+
# The city or town.
|
|
4052
|
+
attr_accessor :city
|
|
4053
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4054
|
+
attr_accessor :country
|
|
4055
|
+
# The postal code formatted according to country.
|
|
4056
|
+
attr_accessor :postal_code
|
|
4057
|
+
# The state, county, province, or region formatted according to country.
|
|
4058
|
+
attr_accessor :region
|
|
4059
|
+
# Line 1 of the street address.
|
|
4060
|
+
attr_accessor :street_address
|
|
4061
|
+
# Line 2 of the street address.
|
|
4062
|
+
attr_accessor :street_address2
|
|
4063
|
+
|
|
4064
|
+
def initialize(
|
|
4065
|
+
city: nil,
|
|
4066
|
+
country: nil,
|
|
4067
|
+
postal_code: nil,
|
|
4068
|
+
region: nil,
|
|
4069
|
+
street_address: nil,
|
|
4070
|
+
street_address2: nil
|
|
4071
|
+
)
|
|
4072
|
+
@city = city
|
|
4073
|
+
@country = country
|
|
4074
|
+
@postal_code = postal_code
|
|
4075
|
+
@region = region
|
|
4076
|
+
@street_address = street_address
|
|
4077
|
+
@street_address2 = street_address2
|
|
4078
|
+
end
|
|
4079
|
+
end
|
|
4080
|
+
# Address of the arrival location.
|
|
4081
|
+
attr_accessor :address
|
|
4082
|
+
# Identifier name or reference for the arrival location.
|
|
4083
|
+
attr_accessor :arrival_location
|
|
4084
|
+
|
|
4085
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4086
|
+
@address = address
|
|
4087
|
+
@arrival_location = arrival_location
|
|
4088
|
+
end
|
|
4089
|
+
end
|
|
4090
|
+
|
|
4091
|
+
class Departure < ::Stripe::RequestParams
|
|
4092
|
+
class Address < ::Stripe::RequestParams
|
|
4093
|
+
# The city or town.
|
|
4094
|
+
attr_accessor :city
|
|
4095
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4096
|
+
attr_accessor :country
|
|
4097
|
+
# The postal code formatted according to country.
|
|
4098
|
+
attr_accessor :postal_code
|
|
4099
|
+
# The state, county, province, or region formatted according to country.
|
|
4100
|
+
attr_accessor :region
|
|
4101
|
+
# Line 1 of the street address.
|
|
4102
|
+
attr_accessor :street_address
|
|
4103
|
+
# Line 2 of the street address.
|
|
4104
|
+
attr_accessor :street_address2
|
|
4105
|
+
|
|
4106
|
+
def initialize(
|
|
4107
|
+
city: nil,
|
|
4108
|
+
country: nil,
|
|
4109
|
+
postal_code: nil,
|
|
4110
|
+
region: nil,
|
|
4111
|
+
street_address: nil,
|
|
4112
|
+
street_address2: nil
|
|
4113
|
+
)
|
|
4114
|
+
@city = city
|
|
4115
|
+
@country = country
|
|
4116
|
+
@postal_code = postal_code
|
|
4117
|
+
@region = region
|
|
4118
|
+
@street_address = street_address
|
|
4119
|
+
@street_address2 = street_address2
|
|
4120
|
+
end
|
|
4121
|
+
end
|
|
4122
|
+
# Address of the departure location.
|
|
4123
|
+
attr_accessor :address
|
|
4124
|
+
# Timestamp of departure.
|
|
4125
|
+
attr_accessor :departs_at
|
|
4126
|
+
# Identifier name or reference for the origin location.
|
|
4127
|
+
attr_accessor :departure_location
|
|
4128
|
+
|
|
4129
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4130
|
+
@address = address
|
|
4131
|
+
@departs_at = departs_at
|
|
4132
|
+
@departure_location = departure_location
|
|
4133
|
+
end
|
|
4134
|
+
end
|
|
4135
|
+
|
|
4136
|
+
class Insurance < ::Stripe::RequestParams
|
|
4137
|
+
# Insurance currency.
|
|
4138
|
+
attr_accessor :currency
|
|
4139
|
+
# Name of the company providing the insurance.
|
|
4140
|
+
attr_accessor :insurance_company_name
|
|
4141
|
+
# Type of insurance.
|
|
4142
|
+
attr_accessor :insurance_type
|
|
4143
|
+
# Price of insurance in cents.
|
|
4144
|
+
attr_accessor :price
|
|
4145
|
+
|
|
4146
|
+
def initialize(
|
|
4147
|
+
currency: nil,
|
|
4148
|
+
insurance_company_name: nil,
|
|
4149
|
+
insurance_type: nil,
|
|
4150
|
+
price: nil
|
|
4151
|
+
)
|
|
4152
|
+
@currency = currency
|
|
4153
|
+
@insurance_company_name = insurance_company_name
|
|
4154
|
+
@insurance_type = insurance_type
|
|
4155
|
+
@price = price
|
|
4156
|
+
end
|
|
4157
|
+
end
|
|
4158
|
+
|
|
4159
|
+
class Passenger < ::Stripe::RequestParams
|
|
4160
|
+
# The family name of the person.
|
|
4161
|
+
attr_accessor :family_name
|
|
4162
|
+
# The given name of the person.
|
|
4163
|
+
attr_accessor :given_name
|
|
4164
|
+
|
|
4165
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4166
|
+
@family_name = family_name
|
|
4167
|
+
@given_name = given_name
|
|
4168
|
+
end
|
|
4169
|
+
end
|
|
4170
|
+
# Name of associated or partner company for the service.
|
|
4171
|
+
attr_accessor :affiliate_name
|
|
4172
|
+
# Arrival details.
|
|
4173
|
+
attr_accessor :arrival
|
|
4174
|
+
# Name of transportation company.
|
|
4175
|
+
attr_accessor :carrier_name
|
|
4176
|
+
# Currency.
|
|
4177
|
+
attr_accessor :currency
|
|
4178
|
+
# Departure details.
|
|
4179
|
+
attr_accessor :departure
|
|
4180
|
+
# List of insurances for this reservation.
|
|
4181
|
+
attr_accessor :insurances
|
|
4182
|
+
# List of passengers that this reservation applies to.
|
|
4183
|
+
attr_accessor :passengers
|
|
4184
|
+
# Price in cents.
|
|
4185
|
+
attr_accessor :price
|
|
4186
|
+
# Ticket class.
|
|
4187
|
+
attr_accessor :ticket_class
|
|
4188
|
+
|
|
4189
|
+
def initialize(
|
|
4190
|
+
affiliate_name: nil,
|
|
4191
|
+
arrival: nil,
|
|
4192
|
+
carrier_name: nil,
|
|
4193
|
+
currency: nil,
|
|
4194
|
+
departure: nil,
|
|
4195
|
+
insurances: nil,
|
|
4196
|
+
passengers: nil,
|
|
4197
|
+
price: nil,
|
|
4198
|
+
ticket_class: nil
|
|
4199
|
+
)
|
|
4200
|
+
@affiliate_name = affiliate_name
|
|
4201
|
+
@arrival = arrival
|
|
4202
|
+
@carrier_name = carrier_name
|
|
4203
|
+
@currency = currency
|
|
4204
|
+
@departure = departure
|
|
4205
|
+
@insurances = insurances
|
|
4206
|
+
@passengers = passengers
|
|
4207
|
+
@price = price
|
|
4208
|
+
@ticket_class = ticket_class
|
|
4209
|
+
end
|
|
4210
|
+
end
|
|
4211
|
+
|
|
4212
|
+
class EventReservationDetail < ::Stripe::RequestParams
|
|
4213
|
+
class Address < ::Stripe::RequestParams
|
|
4214
|
+
# The city or town.
|
|
4215
|
+
attr_accessor :city
|
|
4216
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4217
|
+
attr_accessor :country
|
|
4218
|
+
# The postal code formatted according to country.
|
|
4219
|
+
attr_accessor :postal_code
|
|
4220
|
+
# The state, county, province, or region formatted according to country.
|
|
4221
|
+
attr_accessor :region
|
|
4222
|
+
# Line 1 of the street address.
|
|
4223
|
+
attr_accessor :street_address
|
|
4224
|
+
# Line 2 of the street address.
|
|
4225
|
+
attr_accessor :street_address2
|
|
4226
|
+
|
|
4227
|
+
def initialize(
|
|
4228
|
+
city: nil,
|
|
4229
|
+
country: nil,
|
|
4230
|
+
postal_code: nil,
|
|
4231
|
+
region: nil,
|
|
4232
|
+
street_address: nil,
|
|
4233
|
+
street_address2: nil
|
|
4234
|
+
)
|
|
4235
|
+
@city = city
|
|
4236
|
+
@country = country
|
|
4237
|
+
@postal_code = postal_code
|
|
4238
|
+
@region = region
|
|
4239
|
+
@street_address = street_address
|
|
4240
|
+
@street_address2 = street_address2
|
|
4241
|
+
end
|
|
4242
|
+
end
|
|
4243
|
+
|
|
4244
|
+
class Insurance < ::Stripe::RequestParams
|
|
4245
|
+
# Insurance currency.
|
|
4246
|
+
attr_accessor :currency
|
|
4247
|
+
# Name of the company providing the insurance.
|
|
4248
|
+
attr_accessor :insurance_company_name
|
|
4249
|
+
# Type of insurance.
|
|
4250
|
+
attr_accessor :insurance_type
|
|
4251
|
+
# Price of insurance in cents.
|
|
4252
|
+
attr_accessor :price
|
|
4253
|
+
|
|
4254
|
+
def initialize(
|
|
4255
|
+
currency: nil,
|
|
4256
|
+
insurance_company_name: nil,
|
|
4257
|
+
insurance_type: nil,
|
|
4258
|
+
price: nil
|
|
4259
|
+
)
|
|
4260
|
+
@currency = currency
|
|
4261
|
+
@insurance_company_name = insurance_company_name
|
|
4262
|
+
@insurance_type = insurance_type
|
|
4263
|
+
@price = price
|
|
4264
|
+
end
|
|
4265
|
+
end
|
|
4266
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
4267
|
+
attr_accessor :access_controlled_venue
|
|
4268
|
+
# Address of the event.
|
|
4269
|
+
attr_accessor :address
|
|
4270
|
+
# Name of associated or partner company for the service.
|
|
4271
|
+
attr_accessor :affiliate_name
|
|
4272
|
+
# End timestamp of the event.
|
|
4273
|
+
attr_accessor :ends_at
|
|
4274
|
+
# Company selling the ticket.
|
|
4275
|
+
attr_accessor :event_company_name
|
|
4276
|
+
# Name of the event.
|
|
4277
|
+
attr_accessor :event_name
|
|
4278
|
+
# Type of the event.
|
|
4279
|
+
attr_accessor :event_type
|
|
4280
|
+
# List of insurances for this event.
|
|
4281
|
+
attr_accessor :insurances
|
|
4282
|
+
# Start timestamp of the event.
|
|
4283
|
+
attr_accessor :starts_at
|
|
4284
|
+
# Name of the venue where the event takes place.
|
|
4285
|
+
attr_accessor :venue_name
|
|
4286
|
+
|
|
4287
|
+
def initialize(
|
|
4288
|
+
access_controlled_venue: nil,
|
|
4289
|
+
address: nil,
|
|
4290
|
+
affiliate_name: nil,
|
|
4291
|
+
ends_at: nil,
|
|
4292
|
+
event_company_name: nil,
|
|
4293
|
+
event_name: nil,
|
|
4294
|
+
event_type: nil,
|
|
4295
|
+
insurances: nil,
|
|
4296
|
+
starts_at: nil,
|
|
4297
|
+
venue_name: nil
|
|
4298
|
+
)
|
|
4299
|
+
@access_controlled_venue = access_controlled_venue
|
|
4300
|
+
@address = address
|
|
4301
|
+
@affiliate_name = affiliate_name
|
|
4302
|
+
@ends_at = ends_at
|
|
4303
|
+
@event_company_name = event_company_name
|
|
4304
|
+
@event_name = event_name
|
|
4305
|
+
@event_type = event_type
|
|
4306
|
+
@insurances = insurances
|
|
4307
|
+
@starts_at = starts_at
|
|
4308
|
+
@venue_name = venue_name
|
|
4309
|
+
end
|
|
4310
|
+
end
|
|
4311
|
+
|
|
4312
|
+
class FerryReservationDetail < ::Stripe::RequestParams
|
|
4313
|
+
class Arrival < ::Stripe::RequestParams
|
|
4314
|
+
class Address < ::Stripe::RequestParams
|
|
4315
|
+
# The city or town.
|
|
4316
|
+
attr_accessor :city
|
|
4317
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4318
|
+
attr_accessor :country
|
|
4319
|
+
# The postal code formatted according to country.
|
|
4320
|
+
attr_accessor :postal_code
|
|
4321
|
+
# The state, county, province, or region formatted according to country.
|
|
4322
|
+
attr_accessor :region
|
|
4323
|
+
# Line 1 of the street address.
|
|
4324
|
+
attr_accessor :street_address
|
|
4325
|
+
# Line 2 of the street address.
|
|
4326
|
+
attr_accessor :street_address2
|
|
4327
|
+
|
|
4328
|
+
def initialize(
|
|
4329
|
+
city: nil,
|
|
4330
|
+
country: nil,
|
|
4331
|
+
postal_code: nil,
|
|
4332
|
+
region: nil,
|
|
4333
|
+
street_address: nil,
|
|
4334
|
+
street_address2: nil
|
|
4335
|
+
)
|
|
4336
|
+
@city = city
|
|
4337
|
+
@country = country
|
|
4338
|
+
@postal_code = postal_code
|
|
4339
|
+
@region = region
|
|
4340
|
+
@street_address = street_address
|
|
4341
|
+
@street_address2 = street_address2
|
|
4342
|
+
end
|
|
4343
|
+
end
|
|
4344
|
+
# Address of the arrival location.
|
|
4345
|
+
attr_accessor :address
|
|
4346
|
+
# Identifier name or reference for the arrival location.
|
|
4347
|
+
attr_accessor :arrival_location
|
|
4348
|
+
|
|
4349
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4350
|
+
@address = address
|
|
4351
|
+
@arrival_location = arrival_location
|
|
4352
|
+
end
|
|
4353
|
+
end
|
|
4354
|
+
|
|
4355
|
+
class Departure < ::Stripe::RequestParams
|
|
4356
|
+
class Address < ::Stripe::RequestParams
|
|
4357
|
+
# The city or town.
|
|
4358
|
+
attr_accessor :city
|
|
4359
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4360
|
+
attr_accessor :country
|
|
4361
|
+
# The postal code formatted according to country.
|
|
4362
|
+
attr_accessor :postal_code
|
|
4363
|
+
# The state, county, province, or region formatted according to country.
|
|
4364
|
+
attr_accessor :region
|
|
4365
|
+
# Line 1 of the street address.
|
|
4366
|
+
attr_accessor :street_address
|
|
4367
|
+
# Line 2 of the street address.
|
|
4368
|
+
attr_accessor :street_address2
|
|
4369
|
+
|
|
4370
|
+
def initialize(
|
|
4371
|
+
city: nil,
|
|
4372
|
+
country: nil,
|
|
4373
|
+
postal_code: nil,
|
|
4374
|
+
region: nil,
|
|
4375
|
+
street_address: nil,
|
|
4376
|
+
street_address2: nil
|
|
4377
|
+
)
|
|
4378
|
+
@city = city
|
|
4379
|
+
@country = country
|
|
4380
|
+
@postal_code = postal_code
|
|
4381
|
+
@region = region
|
|
4382
|
+
@street_address = street_address
|
|
4383
|
+
@street_address2 = street_address2
|
|
4384
|
+
end
|
|
4385
|
+
end
|
|
4386
|
+
# Address of the departure location.
|
|
4387
|
+
attr_accessor :address
|
|
4388
|
+
# Timestamp of departure.
|
|
4389
|
+
attr_accessor :departs_at
|
|
4390
|
+
# Identifier name or reference for the origin location.
|
|
4391
|
+
attr_accessor :departure_location
|
|
4392
|
+
|
|
4393
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4394
|
+
@address = address
|
|
4395
|
+
@departs_at = departs_at
|
|
4396
|
+
@departure_location = departure_location
|
|
4397
|
+
end
|
|
4398
|
+
end
|
|
4399
|
+
|
|
4400
|
+
class Insurance < ::Stripe::RequestParams
|
|
4401
|
+
# Insurance currency.
|
|
4402
|
+
attr_accessor :currency
|
|
4403
|
+
# Name of the company providing the insurance.
|
|
4404
|
+
attr_accessor :insurance_company_name
|
|
4405
|
+
# Type of insurance.
|
|
4406
|
+
attr_accessor :insurance_type
|
|
4407
|
+
# Price of insurance in cents.
|
|
4408
|
+
attr_accessor :price
|
|
4409
|
+
|
|
4410
|
+
def initialize(
|
|
4411
|
+
currency: nil,
|
|
4412
|
+
insurance_company_name: nil,
|
|
4413
|
+
insurance_type: nil,
|
|
4414
|
+
price: nil
|
|
4415
|
+
)
|
|
4416
|
+
@currency = currency
|
|
4417
|
+
@insurance_company_name = insurance_company_name
|
|
4418
|
+
@insurance_type = insurance_type
|
|
4419
|
+
@price = price
|
|
4420
|
+
end
|
|
4421
|
+
end
|
|
4422
|
+
|
|
4423
|
+
class Passenger < ::Stripe::RequestParams
|
|
4424
|
+
# The family name of the person.
|
|
4425
|
+
attr_accessor :family_name
|
|
4426
|
+
# The given name of the person.
|
|
4427
|
+
attr_accessor :given_name
|
|
4428
|
+
|
|
4429
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4430
|
+
@family_name = family_name
|
|
4431
|
+
@given_name = given_name
|
|
4432
|
+
end
|
|
4433
|
+
end
|
|
4434
|
+
# Name of associated or partner company for the service.
|
|
4435
|
+
attr_accessor :affiliate_name
|
|
4436
|
+
# Arrival details.
|
|
4437
|
+
attr_accessor :arrival
|
|
4438
|
+
# Name of transportation company.
|
|
4439
|
+
attr_accessor :carrier_name
|
|
4440
|
+
# Currency.
|
|
4441
|
+
attr_accessor :currency
|
|
4442
|
+
# Departure details.
|
|
4443
|
+
attr_accessor :departure
|
|
4444
|
+
# List of insurances for this reservation.
|
|
4445
|
+
attr_accessor :insurances
|
|
4446
|
+
# List of passengers that this reservation applies to.
|
|
4447
|
+
attr_accessor :passengers
|
|
4448
|
+
# Price in cents.
|
|
4449
|
+
attr_accessor :price
|
|
4450
|
+
# Ticket class.
|
|
4451
|
+
attr_accessor :ticket_class
|
|
4452
|
+
|
|
4453
|
+
def initialize(
|
|
4454
|
+
affiliate_name: nil,
|
|
4455
|
+
arrival: nil,
|
|
4456
|
+
carrier_name: nil,
|
|
4457
|
+
currency: nil,
|
|
4458
|
+
departure: nil,
|
|
4459
|
+
insurances: nil,
|
|
4460
|
+
passengers: nil,
|
|
4461
|
+
price: nil,
|
|
4462
|
+
ticket_class: nil
|
|
4463
|
+
)
|
|
4464
|
+
@affiliate_name = affiliate_name
|
|
4465
|
+
@arrival = arrival
|
|
4466
|
+
@carrier_name = carrier_name
|
|
4467
|
+
@currency = currency
|
|
4468
|
+
@departure = departure
|
|
4469
|
+
@insurances = insurances
|
|
4470
|
+
@passengers = passengers
|
|
4471
|
+
@price = price
|
|
4472
|
+
@ticket_class = ticket_class
|
|
4473
|
+
end
|
|
4474
|
+
end
|
|
4475
|
+
|
|
4476
|
+
class Insurance < ::Stripe::RequestParams
|
|
4477
|
+
# Insurance currency.
|
|
4478
|
+
attr_accessor :currency
|
|
4479
|
+
# Name of the company providing the insurance.
|
|
4480
|
+
attr_accessor :insurance_company_name
|
|
4481
|
+
# Type of insurance
|
|
4482
|
+
attr_accessor :insurance_type
|
|
4483
|
+
# Price of insurance in cents.
|
|
4484
|
+
attr_accessor :price
|
|
4485
|
+
|
|
4486
|
+
def initialize(
|
|
4487
|
+
currency: nil,
|
|
4488
|
+
insurance_company_name: nil,
|
|
4489
|
+
insurance_type: nil,
|
|
4490
|
+
price: nil
|
|
4491
|
+
)
|
|
4492
|
+
@currency = currency
|
|
4493
|
+
@insurance_company_name = insurance_company_name
|
|
4494
|
+
@insurance_type = insurance_type
|
|
4495
|
+
@price = price
|
|
4496
|
+
end
|
|
4497
|
+
end
|
|
4498
|
+
|
|
4499
|
+
class MarketplaceSeller < ::Stripe::RequestParams
|
|
4500
|
+
class MarketplaceSellerAddress < ::Stripe::RequestParams
|
|
4501
|
+
# The city or town.
|
|
4502
|
+
attr_accessor :city
|
|
4503
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4504
|
+
attr_accessor :country
|
|
4505
|
+
# The postal code formatted according to country.
|
|
4506
|
+
attr_accessor :postal_code
|
|
4507
|
+
# The state, county, province, or region formatted according to country.
|
|
4508
|
+
attr_accessor :region
|
|
4509
|
+
# Line 1 of the street address.
|
|
4510
|
+
attr_accessor :street_address
|
|
4511
|
+
# Line 2 of the street address.
|
|
4512
|
+
attr_accessor :street_address2
|
|
4513
|
+
|
|
4514
|
+
def initialize(
|
|
4515
|
+
city: nil,
|
|
4516
|
+
country: nil,
|
|
4517
|
+
postal_code: nil,
|
|
4518
|
+
region: nil,
|
|
4519
|
+
street_address: nil,
|
|
4520
|
+
street_address2: nil
|
|
4521
|
+
)
|
|
4522
|
+
@city = city
|
|
4523
|
+
@country = country
|
|
4524
|
+
@postal_code = postal_code
|
|
4525
|
+
@region = region
|
|
4526
|
+
@street_address = street_address
|
|
4527
|
+
@street_address2 = street_address2
|
|
4528
|
+
end
|
|
4529
|
+
end
|
|
4530
|
+
# The references to line items for purchases with multiple associated sub-sellers.
|
|
4531
|
+
attr_accessor :line_item_references
|
|
4532
|
+
# The address of the selling or delivering merchant.
|
|
4533
|
+
attr_accessor :marketplace_seller_address
|
|
4534
|
+
# The name of the marketplace seller.
|
|
4535
|
+
attr_accessor :marketplace_seller_name
|
|
4536
|
+
# The unique identifier for the marketplace seller.
|
|
4537
|
+
attr_accessor :marketplace_seller_reference
|
|
4538
|
+
# The number of transactions the sub-seller completed in the last 12 months.
|
|
4539
|
+
attr_accessor :number_of_transactions
|
|
4540
|
+
# The category of the product.
|
|
4541
|
+
attr_accessor :product_category
|
|
4542
|
+
# The date when the seller's account with the marketplace was last logged in.
|
|
4543
|
+
attr_accessor :seller_last_login_at
|
|
4544
|
+
# The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
|
|
4545
|
+
attr_accessor :seller_rating
|
|
4546
|
+
# The date when the seller's account with the marketplace was created.
|
|
4547
|
+
attr_accessor :seller_registered_at
|
|
4548
|
+
# The date when the seller's account with the marketplace was last updated.
|
|
4549
|
+
attr_accessor :seller_updated_at
|
|
4550
|
+
# The references to shipping addresses for purchases with multiple associated sub-sellers.
|
|
4551
|
+
attr_accessor :shipping_references
|
|
4552
|
+
# 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.
|
|
4553
|
+
attr_accessor :volume_of_transactions
|
|
4554
|
+
|
|
4555
|
+
def initialize(
|
|
4556
|
+
line_item_references: nil,
|
|
4557
|
+
marketplace_seller_address: nil,
|
|
4558
|
+
marketplace_seller_name: nil,
|
|
4559
|
+
marketplace_seller_reference: nil,
|
|
4560
|
+
number_of_transactions: nil,
|
|
4561
|
+
product_category: nil,
|
|
4562
|
+
seller_last_login_at: nil,
|
|
4563
|
+
seller_rating: nil,
|
|
4564
|
+
seller_registered_at: nil,
|
|
4565
|
+
seller_updated_at: nil,
|
|
4566
|
+
shipping_references: nil,
|
|
4567
|
+
volume_of_transactions: nil
|
|
4568
|
+
)
|
|
4569
|
+
@line_item_references = line_item_references
|
|
4570
|
+
@marketplace_seller_address = marketplace_seller_address
|
|
4571
|
+
@marketplace_seller_name = marketplace_seller_name
|
|
4572
|
+
@marketplace_seller_reference = marketplace_seller_reference
|
|
4573
|
+
@number_of_transactions = number_of_transactions
|
|
4574
|
+
@product_category = product_category
|
|
4575
|
+
@seller_last_login_at = seller_last_login_at
|
|
4576
|
+
@seller_rating = seller_rating
|
|
4577
|
+
@seller_registered_at = seller_registered_at
|
|
4578
|
+
@seller_updated_at = seller_updated_at
|
|
4579
|
+
@shipping_references = shipping_references
|
|
4580
|
+
@volume_of_transactions = volume_of_transactions
|
|
4581
|
+
end
|
|
4582
|
+
end
|
|
4583
|
+
|
|
4584
|
+
class RoundTripReservationDetail < ::Stripe::RequestParams
|
|
4585
|
+
class Arrival < ::Stripe::RequestParams
|
|
4586
|
+
class Address < ::Stripe::RequestParams
|
|
4587
|
+
# The city or town.
|
|
4588
|
+
attr_accessor :city
|
|
4589
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4590
|
+
attr_accessor :country
|
|
4591
|
+
# The postal code formatted according to country.
|
|
4592
|
+
attr_accessor :postal_code
|
|
4593
|
+
# The state, county, province, or region formatted according to country.
|
|
4594
|
+
attr_accessor :region
|
|
4595
|
+
# Line 1 of the street address.
|
|
4596
|
+
attr_accessor :street_address
|
|
4597
|
+
# Line 2 of the street address.
|
|
4598
|
+
attr_accessor :street_address2
|
|
4599
|
+
|
|
4600
|
+
def initialize(
|
|
4601
|
+
city: nil,
|
|
4602
|
+
country: nil,
|
|
4603
|
+
postal_code: nil,
|
|
4604
|
+
region: nil,
|
|
4605
|
+
street_address: nil,
|
|
4606
|
+
street_address2: nil
|
|
4607
|
+
)
|
|
4608
|
+
@city = city
|
|
4609
|
+
@country = country
|
|
4610
|
+
@postal_code = postal_code
|
|
4611
|
+
@region = region
|
|
4612
|
+
@street_address = street_address
|
|
4613
|
+
@street_address2 = street_address2
|
|
4614
|
+
end
|
|
4615
|
+
end
|
|
4616
|
+
# Address of the arrival location.
|
|
4617
|
+
attr_accessor :address
|
|
4618
|
+
# Identifier name or reference for the arrival location.
|
|
4619
|
+
attr_accessor :arrival_location
|
|
4620
|
+
|
|
4621
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4622
|
+
@address = address
|
|
4623
|
+
@arrival_location = arrival_location
|
|
4624
|
+
end
|
|
4625
|
+
end
|
|
4626
|
+
|
|
4627
|
+
class Departure < ::Stripe::RequestParams
|
|
4628
|
+
class Address < ::Stripe::RequestParams
|
|
4629
|
+
# The city or town.
|
|
4630
|
+
attr_accessor :city
|
|
4631
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4632
|
+
attr_accessor :country
|
|
4633
|
+
# The postal code formatted according to country.
|
|
4634
|
+
attr_accessor :postal_code
|
|
4635
|
+
# The state, county, province, or region formatted according to country.
|
|
4636
|
+
attr_accessor :region
|
|
4637
|
+
# Line 1 of the street address.
|
|
4638
|
+
attr_accessor :street_address
|
|
4639
|
+
# Line 2 of the street address.
|
|
4640
|
+
attr_accessor :street_address2
|
|
4641
|
+
|
|
4642
|
+
def initialize(
|
|
4643
|
+
city: nil,
|
|
4644
|
+
country: nil,
|
|
4645
|
+
postal_code: nil,
|
|
4646
|
+
region: nil,
|
|
4647
|
+
street_address: nil,
|
|
4648
|
+
street_address2: nil
|
|
4649
|
+
)
|
|
4650
|
+
@city = city
|
|
4651
|
+
@country = country
|
|
4652
|
+
@postal_code = postal_code
|
|
4653
|
+
@region = region
|
|
4654
|
+
@street_address = street_address
|
|
4655
|
+
@street_address2 = street_address2
|
|
4656
|
+
end
|
|
4657
|
+
end
|
|
4658
|
+
# Address of the departure location.
|
|
4659
|
+
attr_accessor :address
|
|
4660
|
+
# Timestamp of departure.
|
|
4661
|
+
attr_accessor :departs_at
|
|
4662
|
+
# Identifier name or reference for the origin location.
|
|
4663
|
+
attr_accessor :departure_location
|
|
4664
|
+
|
|
4665
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4666
|
+
@address = address
|
|
4667
|
+
@departs_at = departs_at
|
|
4668
|
+
@departure_location = departure_location
|
|
4669
|
+
end
|
|
4670
|
+
end
|
|
4671
|
+
|
|
4672
|
+
class Insurance < ::Stripe::RequestParams
|
|
4673
|
+
# Insurance currency.
|
|
4674
|
+
attr_accessor :currency
|
|
4675
|
+
# Name of the company providing the insurance.
|
|
4676
|
+
attr_accessor :insurance_company_name
|
|
4677
|
+
# Type of insurance.
|
|
4678
|
+
attr_accessor :insurance_type
|
|
4679
|
+
# Price of insurance in cents.
|
|
4680
|
+
attr_accessor :price
|
|
4681
|
+
|
|
4682
|
+
def initialize(
|
|
4683
|
+
currency: nil,
|
|
4684
|
+
insurance_company_name: nil,
|
|
4685
|
+
insurance_type: nil,
|
|
4686
|
+
price: nil
|
|
4687
|
+
)
|
|
4688
|
+
@currency = currency
|
|
4689
|
+
@insurance_company_name = insurance_company_name
|
|
4690
|
+
@insurance_type = insurance_type
|
|
4691
|
+
@price = price
|
|
4692
|
+
end
|
|
4693
|
+
end
|
|
4694
|
+
|
|
4695
|
+
class Passenger < ::Stripe::RequestParams
|
|
4696
|
+
# The family name of the person.
|
|
4697
|
+
attr_accessor :family_name
|
|
4698
|
+
# The given name of the person.
|
|
4699
|
+
attr_accessor :given_name
|
|
4700
|
+
|
|
4701
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4702
|
+
@family_name = family_name
|
|
4703
|
+
@given_name = given_name
|
|
4704
|
+
end
|
|
4705
|
+
end
|
|
4706
|
+
# Name of associated or partner company for the service.
|
|
4707
|
+
attr_accessor :affiliate_name
|
|
4708
|
+
# Arrival details.
|
|
4709
|
+
attr_accessor :arrival
|
|
4710
|
+
# Name of transportation company.
|
|
4711
|
+
attr_accessor :carrier_name
|
|
4712
|
+
# Currency.
|
|
4713
|
+
attr_accessor :currency
|
|
4714
|
+
# Departure details.
|
|
4715
|
+
attr_accessor :departure
|
|
4716
|
+
# List of insurances for this reservation.
|
|
4717
|
+
attr_accessor :insurances
|
|
4718
|
+
# List of passengers that this reservation applies to.
|
|
4719
|
+
attr_accessor :passengers
|
|
4720
|
+
# Price in cents.
|
|
4721
|
+
attr_accessor :price
|
|
4722
|
+
# Ticket class.
|
|
4723
|
+
attr_accessor :ticket_class
|
|
4724
|
+
|
|
4725
|
+
def initialize(
|
|
4726
|
+
affiliate_name: nil,
|
|
4727
|
+
arrival: nil,
|
|
4728
|
+
carrier_name: nil,
|
|
4729
|
+
currency: nil,
|
|
4730
|
+
departure: nil,
|
|
4731
|
+
insurances: nil,
|
|
4732
|
+
passengers: nil,
|
|
4733
|
+
price: nil,
|
|
4734
|
+
ticket_class: nil
|
|
4735
|
+
)
|
|
4736
|
+
@affiliate_name = affiliate_name
|
|
4737
|
+
@arrival = arrival
|
|
4738
|
+
@carrier_name = carrier_name
|
|
4739
|
+
@currency = currency
|
|
4740
|
+
@departure = departure
|
|
4741
|
+
@insurances = insurances
|
|
4742
|
+
@passengers = passengers
|
|
4743
|
+
@price = price
|
|
4744
|
+
@ticket_class = ticket_class
|
|
4745
|
+
end
|
|
4746
|
+
end
|
|
4747
|
+
|
|
4748
|
+
class TrainReservationDetail < ::Stripe::RequestParams
|
|
4749
|
+
class Arrival < ::Stripe::RequestParams
|
|
4750
|
+
class Address < ::Stripe::RequestParams
|
|
4751
|
+
# The city or town.
|
|
4752
|
+
attr_accessor :city
|
|
4753
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4754
|
+
attr_accessor :country
|
|
4755
|
+
# The postal code formatted according to country.
|
|
4756
|
+
attr_accessor :postal_code
|
|
4757
|
+
# The state, county, province, or region formatted according to country.
|
|
4758
|
+
attr_accessor :region
|
|
4759
|
+
# Line 1 of the street address.
|
|
4760
|
+
attr_accessor :street_address
|
|
4761
|
+
# Line 2 of the street address.
|
|
4762
|
+
attr_accessor :street_address2
|
|
4763
|
+
|
|
4764
|
+
def initialize(
|
|
4765
|
+
city: nil,
|
|
4766
|
+
country: nil,
|
|
4767
|
+
postal_code: nil,
|
|
4768
|
+
region: nil,
|
|
4769
|
+
street_address: nil,
|
|
4770
|
+
street_address2: nil
|
|
4771
|
+
)
|
|
4772
|
+
@city = city
|
|
4773
|
+
@country = country
|
|
4774
|
+
@postal_code = postal_code
|
|
4775
|
+
@region = region
|
|
4776
|
+
@street_address = street_address
|
|
4777
|
+
@street_address2 = street_address2
|
|
4778
|
+
end
|
|
4779
|
+
end
|
|
4780
|
+
# Address of the arrival location.
|
|
4781
|
+
attr_accessor :address
|
|
4782
|
+
# Identifier name or reference for the arrival location.
|
|
4783
|
+
attr_accessor :arrival_location
|
|
4784
|
+
|
|
4785
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4786
|
+
@address = address
|
|
4787
|
+
@arrival_location = arrival_location
|
|
4788
|
+
end
|
|
4789
|
+
end
|
|
4790
|
+
|
|
4791
|
+
class Departure < ::Stripe::RequestParams
|
|
4792
|
+
class Address < ::Stripe::RequestParams
|
|
4793
|
+
# The city or town.
|
|
4794
|
+
attr_accessor :city
|
|
4795
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4796
|
+
attr_accessor :country
|
|
4797
|
+
# The postal code formatted according to country.
|
|
4798
|
+
attr_accessor :postal_code
|
|
4799
|
+
# The state, county, province, or region formatted according to country.
|
|
4800
|
+
attr_accessor :region
|
|
4801
|
+
# Line 1 of the street address.
|
|
4802
|
+
attr_accessor :street_address
|
|
4803
|
+
# Line 2 of the street address.
|
|
4804
|
+
attr_accessor :street_address2
|
|
4805
|
+
|
|
4806
|
+
def initialize(
|
|
4807
|
+
city: nil,
|
|
4808
|
+
country: nil,
|
|
4809
|
+
postal_code: nil,
|
|
4810
|
+
region: nil,
|
|
4811
|
+
street_address: nil,
|
|
4812
|
+
street_address2: nil
|
|
4813
|
+
)
|
|
4814
|
+
@city = city
|
|
4815
|
+
@country = country
|
|
4816
|
+
@postal_code = postal_code
|
|
4817
|
+
@region = region
|
|
4818
|
+
@street_address = street_address
|
|
4819
|
+
@street_address2 = street_address2
|
|
4820
|
+
end
|
|
4821
|
+
end
|
|
4822
|
+
# Address of the departure location.
|
|
4823
|
+
attr_accessor :address
|
|
4824
|
+
# Timestamp of departure.
|
|
4825
|
+
attr_accessor :departs_at
|
|
4826
|
+
# Identifier name or reference for the origin location.
|
|
4827
|
+
attr_accessor :departure_location
|
|
4828
|
+
|
|
4829
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4830
|
+
@address = address
|
|
4831
|
+
@departs_at = departs_at
|
|
4832
|
+
@departure_location = departure_location
|
|
4833
|
+
end
|
|
4834
|
+
end
|
|
4835
|
+
|
|
4836
|
+
class Insurance < ::Stripe::RequestParams
|
|
4837
|
+
# Insurance currency.
|
|
4838
|
+
attr_accessor :currency
|
|
4839
|
+
# Name of the company providing the insurance.
|
|
4840
|
+
attr_accessor :insurance_company_name
|
|
4841
|
+
# Type of insurance.
|
|
4842
|
+
attr_accessor :insurance_type
|
|
4843
|
+
# Price of insurance in cents.
|
|
4844
|
+
attr_accessor :price
|
|
4845
|
+
|
|
4846
|
+
def initialize(
|
|
4847
|
+
currency: nil,
|
|
4848
|
+
insurance_company_name: nil,
|
|
4849
|
+
insurance_type: nil,
|
|
4850
|
+
price: nil
|
|
4851
|
+
)
|
|
4852
|
+
@currency = currency
|
|
4853
|
+
@insurance_company_name = insurance_company_name
|
|
4854
|
+
@insurance_type = insurance_type
|
|
4855
|
+
@price = price
|
|
4856
|
+
end
|
|
4857
|
+
end
|
|
4858
|
+
|
|
4859
|
+
class Passenger < ::Stripe::RequestParams
|
|
4860
|
+
# The family name of the person.
|
|
4861
|
+
attr_accessor :family_name
|
|
4862
|
+
# The given name of the person.
|
|
4863
|
+
attr_accessor :given_name
|
|
4864
|
+
|
|
4865
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4866
|
+
@family_name = family_name
|
|
4867
|
+
@given_name = given_name
|
|
4868
|
+
end
|
|
4869
|
+
end
|
|
4870
|
+
# Name of associated or partner company for the service.
|
|
4871
|
+
attr_accessor :affiliate_name
|
|
4872
|
+
# Arrival details.
|
|
4873
|
+
attr_accessor :arrival
|
|
4874
|
+
# Name of transportation company.
|
|
4875
|
+
attr_accessor :carrier_name
|
|
4876
|
+
# Currency.
|
|
4877
|
+
attr_accessor :currency
|
|
4878
|
+
# Departure details.
|
|
4879
|
+
attr_accessor :departure
|
|
4880
|
+
# List of insurances for this reservation.
|
|
4881
|
+
attr_accessor :insurances
|
|
4882
|
+
# List of passengers that this reservation applies to.
|
|
4883
|
+
attr_accessor :passengers
|
|
4884
|
+
# Price in cents.
|
|
4885
|
+
attr_accessor :price
|
|
4886
|
+
# Ticket class.
|
|
4887
|
+
attr_accessor :ticket_class
|
|
4888
|
+
|
|
4889
|
+
def initialize(
|
|
4890
|
+
affiliate_name: nil,
|
|
4891
|
+
arrival: nil,
|
|
4892
|
+
carrier_name: nil,
|
|
4893
|
+
currency: nil,
|
|
4894
|
+
departure: nil,
|
|
4895
|
+
insurances: nil,
|
|
4896
|
+
passengers: nil,
|
|
4897
|
+
price: nil,
|
|
4898
|
+
ticket_class: nil
|
|
4899
|
+
)
|
|
4900
|
+
@affiliate_name = affiliate_name
|
|
4901
|
+
@arrival = arrival
|
|
4902
|
+
@carrier_name = carrier_name
|
|
4903
|
+
@currency = currency
|
|
4904
|
+
@departure = departure
|
|
4905
|
+
@insurances = insurances
|
|
4906
|
+
@passengers = passengers
|
|
4907
|
+
@price = price
|
|
4908
|
+
@ticket_class = ticket_class
|
|
4909
|
+
end
|
|
4910
|
+
end
|
|
4911
|
+
|
|
4912
|
+
class Voucher < ::Stripe::RequestParams
|
|
4913
|
+
# Name of associated or partner company for this voucher.
|
|
4914
|
+
attr_accessor :affiliate_name
|
|
4915
|
+
# The voucher validity end time.
|
|
4916
|
+
attr_accessor :ends_at
|
|
4917
|
+
# The voucher validity start time.
|
|
4918
|
+
attr_accessor :starts_at
|
|
4919
|
+
# The issuer or provider of this voucher.
|
|
4920
|
+
attr_accessor :voucher_company
|
|
4921
|
+
# The name or reference to identify the voucher.
|
|
4922
|
+
attr_accessor :voucher_name
|
|
4923
|
+
# The type of this voucher.
|
|
4924
|
+
attr_accessor :voucher_type
|
|
4925
|
+
|
|
4926
|
+
def initialize(
|
|
4927
|
+
affiliate_name: nil,
|
|
4928
|
+
ends_at: nil,
|
|
4929
|
+
starts_at: nil,
|
|
4930
|
+
voucher_company: nil,
|
|
4931
|
+
voucher_name: nil,
|
|
4932
|
+
voucher_type: nil
|
|
4933
|
+
)
|
|
4934
|
+
@affiliate_name = affiliate_name
|
|
4935
|
+
@ends_at = ends_at
|
|
4936
|
+
@starts_at = starts_at
|
|
4937
|
+
@voucher_company = voucher_company
|
|
4938
|
+
@voucher_name = voucher_name
|
|
4939
|
+
@voucher_type = voucher_type
|
|
4940
|
+
end
|
|
4941
|
+
end
|
|
4942
|
+
# Supplementary bus reservation details.
|
|
4943
|
+
attr_accessor :bus_reservation_details
|
|
4944
|
+
# Supplementary event reservation details.
|
|
4945
|
+
attr_accessor :event_reservation_details
|
|
4946
|
+
# Supplementary ferry reservation details.
|
|
4947
|
+
attr_accessor :ferry_reservation_details
|
|
4948
|
+
# Supplementary insurance details.
|
|
4949
|
+
attr_accessor :insurances
|
|
4950
|
+
# Supplementary marketplace seller details.
|
|
4951
|
+
attr_accessor :marketplace_sellers
|
|
4952
|
+
# Supplementary round trip reservation details.
|
|
4953
|
+
attr_accessor :round_trip_reservation_details
|
|
4954
|
+
# Supplementary train reservation details.
|
|
4955
|
+
attr_accessor :train_reservation_details
|
|
4956
|
+
# Voucher details, such as a gift card or discount code.
|
|
4957
|
+
attr_accessor :vouchers
|
|
4958
|
+
|
|
4959
|
+
def initialize(
|
|
4960
|
+
bus_reservation_details: nil,
|
|
4961
|
+
event_reservation_details: nil,
|
|
4962
|
+
ferry_reservation_details: nil,
|
|
4963
|
+
insurances: nil,
|
|
4964
|
+
marketplace_sellers: nil,
|
|
4965
|
+
round_trip_reservation_details: nil,
|
|
4966
|
+
train_reservation_details: nil,
|
|
4967
|
+
vouchers: nil
|
|
4968
|
+
)
|
|
4969
|
+
@bus_reservation_details = bus_reservation_details
|
|
4970
|
+
@event_reservation_details = event_reservation_details
|
|
4971
|
+
@ferry_reservation_details = ferry_reservation_details
|
|
4972
|
+
@insurances = insurances
|
|
4973
|
+
@marketplace_sellers = marketplace_sellers
|
|
4974
|
+
@round_trip_reservation_details = round_trip_reservation_details
|
|
4975
|
+
@train_reservation_details = train_reservation_details
|
|
4976
|
+
@vouchers = vouchers
|
|
4977
|
+
end
|
|
4978
|
+
end
|
|
1680
4979
|
# Controls when the funds are captured from the customer's account.
|
|
1681
4980
|
#
|
|
1682
4981
|
# 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.
|
|
@@ -1699,19 +4998,23 @@ module Stripe
|
|
|
1699
4998
|
attr_accessor :setup_future_usage
|
|
1700
4999
|
# Subscription details if setting up or charging a subscription.
|
|
1701
5000
|
attr_accessor :subscriptions
|
|
5001
|
+
# Supplementary Purchase Data for the corresponding Klarna payment
|
|
5002
|
+
attr_accessor :supplementary_purchase_data
|
|
1702
5003
|
|
|
1703
5004
|
def initialize(
|
|
1704
5005
|
capture_method: nil,
|
|
1705
5006
|
on_demand: nil,
|
|
1706
5007
|
preferred_locale: nil,
|
|
1707
5008
|
setup_future_usage: nil,
|
|
1708
|
-
subscriptions: nil
|
|
5009
|
+
subscriptions: nil,
|
|
5010
|
+
supplementary_purchase_data: nil
|
|
1709
5011
|
)
|
|
1710
5012
|
@capture_method = capture_method
|
|
1711
5013
|
@on_demand = on_demand
|
|
1712
5014
|
@preferred_locale = preferred_locale
|
|
1713
5015
|
@setup_future_usage = setup_future_usage
|
|
1714
5016
|
@subscriptions = subscriptions
|
|
5017
|
+
@supplementary_purchase_data = supplementary_purchase_data
|
|
1715
5018
|
end
|
|
1716
5019
|
end
|
|
1717
5020
|
|
|
@@ -1972,12 +5275,65 @@ module Stripe
|
|
|
1972
5275
|
end
|
|
1973
5276
|
|
|
1974
5277
|
class Paypal < ::Stripe::RequestParams
|
|
5278
|
+
class LineItem < ::Stripe::RequestParams
|
|
5279
|
+
class Tax < ::Stripe::RequestParams
|
|
5280
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
5281
|
+
attr_accessor :amount
|
|
5282
|
+
# The tax behavior for the line item.
|
|
5283
|
+
attr_accessor :behavior
|
|
5284
|
+
|
|
5285
|
+
def initialize(amount: nil, behavior: nil)
|
|
5286
|
+
@amount = amount
|
|
5287
|
+
@behavior = behavior
|
|
5288
|
+
end
|
|
5289
|
+
end
|
|
5290
|
+
# Type of the line item.
|
|
5291
|
+
attr_accessor :category
|
|
5292
|
+
# Description of the line item.
|
|
5293
|
+
attr_accessor :description
|
|
5294
|
+
# Descriptive name of the line item.
|
|
5295
|
+
attr_accessor :name
|
|
5296
|
+
# Quantity of the line item. Must be a positive number.
|
|
5297
|
+
attr_accessor :quantity
|
|
5298
|
+
# Client facing stock keeping unit, article number or similar.
|
|
5299
|
+
attr_accessor :sku
|
|
5300
|
+
# The Stripe account ID of the connected account that sells the item.
|
|
5301
|
+
attr_accessor :sold_by
|
|
5302
|
+
# The tax information for the line item.
|
|
5303
|
+
attr_accessor :tax
|
|
5304
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
5305
|
+
attr_accessor :unit_amount
|
|
5306
|
+
|
|
5307
|
+
def initialize(
|
|
5308
|
+
category: nil,
|
|
5309
|
+
description: nil,
|
|
5310
|
+
name: nil,
|
|
5311
|
+
quantity: nil,
|
|
5312
|
+
sku: nil,
|
|
5313
|
+
sold_by: nil,
|
|
5314
|
+
tax: nil,
|
|
5315
|
+
unit_amount: nil
|
|
5316
|
+
)
|
|
5317
|
+
@category = category
|
|
5318
|
+
@description = description
|
|
5319
|
+
@name = name
|
|
5320
|
+
@quantity = quantity
|
|
5321
|
+
@sku = sku
|
|
5322
|
+
@sold_by = sold_by
|
|
5323
|
+
@tax = tax
|
|
5324
|
+
@unit_amount = unit_amount
|
|
5325
|
+
end
|
|
5326
|
+
end
|
|
1975
5327
|
# Controls when the funds will be captured from the customer's account.
|
|
1976
5328
|
attr_accessor :capture_method
|
|
5329
|
+
# The line items purchased by the customer.
|
|
5330
|
+
attr_accessor :line_items
|
|
1977
5331
|
# [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
1978
5332
|
attr_accessor :preferred_locale
|
|
1979
5333
|
# 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.
|
|
1980
5334
|
attr_accessor :reference
|
|
5335
|
+
# 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.
|
|
5336
|
+
attr_accessor :reference_id
|
|
1981
5337
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
1982
5338
|
attr_accessor :risk_correlation_id
|
|
1983
5339
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1990,19 +5346,40 @@ module Stripe
|
|
|
1990
5346
|
#
|
|
1991
5347
|
# 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`.
|
|
1992
5348
|
attr_accessor :setup_future_usage
|
|
5349
|
+
# 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.
|
|
5350
|
+
attr_accessor :subsellers
|
|
1993
5351
|
|
|
1994
5352
|
def initialize(
|
|
1995
5353
|
capture_method: nil,
|
|
5354
|
+
line_items: nil,
|
|
1996
5355
|
preferred_locale: nil,
|
|
1997
5356
|
reference: nil,
|
|
5357
|
+
reference_id: nil,
|
|
1998
5358
|
risk_correlation_id: nil,
|
|
1999
|
-
setup_future_usage: nil
|
|
5359
|
+
setup_future_usage: nil,
|
|
5360
|
+
subsellers: nil
|
|
2000
5361
|
)
|
|
2001
5362
|
@capture_method = capture_method
|
|
5363
|
+
@line_items = line_items
|
|
2002
5364
|
@preferred_locale = preferred_locale
|
|
2003
5365
|
@reference = reference
|
|
5366
|
+
@reference_id = reference_id
|
|
2004
5367
|
@risk_correlation_id = risk_correlation_id
|
|
2005
5368
|
@setup_future_usage = setup_future_usage
|
|
5369
|
+
@subsellers = subsellers
|
|
5370
|
+
end
|
|
5371
|
+
end
|
|
5372
|
+
|
|
5373
|
+
class Paypay < ::Stripe::RequestParams
|
|
5374
|
+
# Controls when the funds are captured from the customer's account.
|
|
5375
|
+
#
|
|
5376
|
+
# 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.
|
|
5377
|
+
#
|
|
5378
|
+
# 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.
|
|
5379
|
+
attr_accessor :capture_method
|
|
5380
|
+
|
|
5381
|
+
def initialize(capture_method: nil)
|
|
5382
|
+
@capture_method = capture_method
|
|
2006
5383
|
end
|
|
2007
5384
|
end
|
|
2008
5385
|
|
|
@@ -2144,6 +5521,25 @@ module Stripe
|
|
|
2144
5521
|
end
|
|
2145
5522
|
end
|
|
2146
5523
|
|
|
5524
|
+
class Qris < ::Stripe::RequestParams
|
|
5525
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5526
|
+
#
|
|
5527
|
+
# 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.
|
|
5528
|
+
#
|
|
5529
|
+
# 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.
|
|
5530
|
+
#
|
|
5531
|
+
# 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).
|
|
5532
|
+
#
|
|
5533
|
+
# 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`.
|
|
5534
|
+
attr_accessor :setup_future_usage
|
|
5535
|
+
|
|
5536
|
+
def initialize(setup_future_usage: nil)
|
|
5537
|
+
@setup_future_usage = setup_future_usage
|
|
5538
|
+
end
|
|
5539
|
+
end
|
|
5540
|
+
|
|
5541
|
+
class Rechnung < ::Stripe::RequestParams; end
|
|
5542
|
+
|
|
2147
5543
|
class RevolutPay < ::Stripe::RequestParams
|
|
2148
5544
|
# Controls when the funds are captured from the customer's account.
|
|
2149
5545
|
#
|
|
@@ -2245,6 +5641,23 @@ module Stripe
|
|
|
2245
5641
|
end
|
|
2246
5642
|
end
|
|
2247
5643
|
|
|
5644
|
+
class Shopeepay < ::Stripe::RequestParams
|
|
5645
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5646
|
+
#
|
|
5647
|
+
# 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.
|
|
5648
|
+
#
|
|
5649
|
+
# 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.
|
|
5650
|
+
#
|
|
5651
|
+
# 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).
|
|
5652
|
+
#
|
|
5653
|
+
# 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`.
|
|
5654
|
+
attr_accessor :setup_future_usage
|
|
5655
|
+
|
|
5656
|
+
def initialize(setup_future_usage: nil)
|
|
5657
|
+
@setup_future_usage = setup_future_usage
|
|
5658
|
+
end
|
|
5659
|
+
end
|
|
5660
|
+
|
|
2248
5661
|
class Sofort < ::Stripe::RequestParams
|
|
2249
5662
|
# Language shown to the payer on redirect.
|
|
2250
5663
|
attr_accessor :preferred_language
|
|
@@ -2265,6 +5678,34 @@ module Stripe
|
|
|
2265
5678
|
end
|
|
2266
5679
|
end
|
|
2267
5680
|
|
|
5681
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
5682
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
5683
|
+
# The ID of the Stripe Balance Debit Agreement used for this mandate.
|
|
5684
|
+
attr_accessor :stripe_balance_debit_agreement
|
|
5685
|
+
|
|
5686
|
+
def initialize(stripe_balance_debit_agreement: nil)
|
|
5687
|
+
@stripe_balance_debit_agreement = stripe_balance_debit_agreement
|
|
5688
|
+
end
|
|
5689
|
+
end
|
|
5690
|
+
# Additional fields for mandate creation.
|
|
5691
|
+
attr_accessor :mandate_options
|
|
5692
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5693
|
+
#
|
|
5694
|
+
# 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.
|
|
5695
|
+
#
|
|
5696
|
+
# 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.
|
|
5697
|
+
#
|
|
5698
|
+
# 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).
|
|
5699
|
+
#
|
|
5700
|
+
# 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`.
|
|
5701
|
+
attr_accessor :setup_future_usage
|
|
5702
|
+
|
|
5703
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
5704
|
+
@mandate_options = mandate_options
|
|
5705
|
+
@setup_future_usage = setup_future_usage
|
|
5706
|
+
end
|
|
5707
|
+
end
|
|
5708
|
+
|
|
2268
5709
|
class Sunbit < ::Stripe::RequestParams
|
|
2269
5710
|
# Controls when the funds are captured from the customer's account.
|
|
2270
5711
|
#
|
|
@@ -2358,13 +5799,27 @@ module Stripe
|
|
|
2358
5799
|
class Filters < ::Stripe::RequestParams
|
|
2359
5800
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2360
5801
|
attr_accessor :account_subcategories
|
|
5802
|
+
# ID of the institution to use to filter for selectable accounts.
|
|
5803
|
+
attr_accessor :institution
|
|
2361
5804
|
|
|
2362
|
-
def initialize(account_subcategories: nil)
|
|
5805
|
+
def initialize(account_subcategories: nil, institution: nil)
|
|
2363
5806
|
@account_subcategories = account_subcategories
|
|
5807
|
+
@institution = institution
|
|
5808
|
+
end
|
|
5809
|
+
end
|
|
5810
|
+
|
|
5811
|
+
class ManualEntry < ::Stripe::RequestParams
|
|
5812
|
+
# Settings for configuring manual entry of account details.
|
|
5813
|
+
attr_accessor :mode
|
|
5814
|
+
|
|
5815
|
+
def initialize(mode: nil)
|
|
5816
|
+
@mode = mode
|
|
2364
5817
|
end
|
|
2365
5818
|
end
|
|
2366
5819
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
2367
5820
|
attr_accessor :filters
|
|
5821
|
+
# Customize manual entry behavior
|
|
5822
|
+
attr_accessor :manual_entry
|
|
2368
5823
|
# 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`.
|
|
2369
5824
|
attr_accessor :permissions
|
|
2370
5825
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -2372,8 +5827,15 @@ module Stripe
|
|
|
2372
5827
|
# 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.
|
|
2373
5828
|
attr_accessor :return_url
|
|
2374
5829
|
|
|
2375
|
-
def initialize(
|
|
5830
|
+
def initialize(
|
|
5831
|
+
filters: nil,
|
|
5832
|
+
manual_entry: nil,
|
|
5833
|
+
permissions: nil,
|
|
5834
|
+
prefetch: nil,
|
|
5835
|
+
return_url: nil
|
|
5836
|
+
)
|
|
2376
5837
|
@filters = filters
|
|
5838
|
+
@manual_entry = manual_entry
|
|
2377
5839
|
@permissions = permissions
|
|
2378
5840
|
@prefetch = prefetch
|
|
2379
5841
|
@return_url = return_url
|
|
@@ -2442,6 +5904,8 @@ module Stripe
|
|
|
2442
5904
|
class WechatPay < ::Stripe::RequestParams
|
|
2443
5905
|
# The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.
|
|
2444
5906
|
attr_accessor :app_id
|
|
5907
|
+
# The unique buyer ID for the app ID registered with WeChat Pay. Only required when client is mini_program.
|
|
5908
|
+
attr_accessor :buyer_id
|
|
2445
5909
|
# The client type that the end customer will pay from
|
|
2446
5910
|
attr_accessor :client
|
|
2447
5911
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2455,8 +5919,9 @@ module Stripe
|
|
|
2455
5919
|
# 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`.
|
|
2456
5920
|
attr_accessor :setup_future_usage
|
|
2457
5921
|
|
|
2458
|
-
def initialize(app_id: nil, client: nil, setup_future_usage: nil)
|
|
5922
|
+
def initialize(app_id: nil, buyer_id: nil, client: nil, setup_future_usage: nil)
|
|
2459
5923
|
@app_id = app_id
|
|
5924
|
+
@buyer_id = buyer_id
|
|
2460
5925
|
@client = client
|
|
2461
5926
|
@setup_future_usage = setup_future_usage
|
|
2462
5927
|
end
|
|
@@ -2518,10 +5983,16 @@ module Stripe
|
|
|
2518
5983
|
attr_accessor :eps
|
|
2519
5984
|
# If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
|
|
2520
5985
|
attr_accessor :fpx
|
|
5986
|
+
# If this is a `gift_card` PaymentMethod, this sub-hash contains details about the gift card payment method options.
|
|
5987
|
+
attr_accessor :gift_card
|
|
2521
5988
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
2522
5989
|
attr_accessor :giropay
|
|
5990
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
5991
|
+
attr_accessor :gopay
|
|
2523
5992
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
2524
5993
|
attr_accessor :grabpay
|
|
5994
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
5995
|
+
attr_accessor :id_bank_transfer
|
|
2525
5996
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
2526
5997
|
attr_accessor :ideal
|
|
2527
5998
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -2558,12 +6029,18 @@ module Stripe
|
|
|
2558
6029
|
attr_accessor :paynow
|
|
2559
6030
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
2560
6031
|
attr_accessor :paypal
|
|
6032
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
6033
|
+
attr_accessor :paypay
|
|
2561
6034
|
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
2562
6035
|
attr_accessor :payto
|
|
2563
6036
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
2564
6037
|
attr_accessor :pix
|
|
2565
6038
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
2566
6039
|
attr_accessor :promptpay
|
|
6040
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
6041
|
+
attr_accessor :qris
|
|
6042
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
6043
|
+
attr_accessor :rechnung
|
|
2567
6044
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
2568
6045
|
attr_accessor :revolut_pay
|
|
2569
6046
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -2574,8 +6051,12 @@ module Stripe
|
|
|
2574
6051
|
attr_accessor :scalapay
|
|
2575
6052
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2576
6053
|
attr_accessor :sepa_debit
|
|
6054
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
6055
|
+
attr_accessor :shopeepay
|
|
2577
6056
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
2578
6057
|
attr_accessor :sofort
|
|
6058
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
6059
|
+
attr_accessor :stripe_balance
|
|
2579
6060
|
# If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit payment method options.
|
|
2580
6061
|
attr_accessor :sunbit
|
|
2581
6062
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
@@ -2612,8 +6093,11 @@ module Stripe
|
|
|
2612
6093
|
customer_balance: nil,
|
|
2613
6094
|
eps: nil,
|
|
2614
6095
|
fpx: nil,
|
|
6096
|
+
gift_card: nil,
|
|
2615
6097
|
giropay: nil,
|
|
6098
|
+
gopay: nil,
|
|
2616
6099
|
grabpay: nil,
|
|
6100
|
+
id_bank_transfer: nil,
|
|
2617
6101
|
ideal: nil,
|
|
2618
6102
|
interac_present: nil,
|
|
2619
6103
|
kakao_pay: nil,
|
|
@@ -2632,15 +6116,20 @@ module Stripe
|
|
|
2632
6116
|
payco: nil,
|
|
2633
6117
|
paynow: nil,
|
|
2634
6118
|
paypal: nil,
|
|
6119
|
+
paypay: nil,
|
|
2635
6120
|
payto: nil,
|
|
2636
6121
|
pix: nil,
|
|
2637
6122
|
promptpay: nil,
|
|
6123
|
+
qris: nil,
|
|
6124
|
+
rechnung: nil,
|
|
2638
6125
|
revolut_pay: nil,
|
|
2639
6126
|
samsung_pay: nil,
|
|
2640
6127
|
satispay: nil,
|
|
2641
6128
|
scalapay: nil,
|
|
2642
6129
|
sepa_debit: nil,
|
|
6130
|
+
shopeepay: nil,
|
|
2643
6131
|
sofort: nil,
|
|
6132
|
+
stripe_balance: nil,
|
|
2644
6133
|
sunbit: nil,
|
|
2645
6134
|
swish: nil,
|
|
2646
6135
|
twint: nil,
|
|
@@ -2669,8 +6158,11 @@ module Stripe
|
|
|
2669
6158
|
@customer_balance = customer_balance
|
|
2670
6159
|
@eps = eps
|
|
2671
6160
|
@fpx = fpx
|
|
6161
|
+
@gift_card = gift_card
|
|
2672
6162
|
@giropay = giropay
|
|
6163
|
+
@gopay = gopay
|
|
2673
6164
|
@grabpay = grabpay
|
|
6165
|
+
@id_bank_transfer = id_bank_transfer
|
|
2674
6166
|
@ideal = ideal
|
|
2675
6167
|
@interac_present = interac_present
|
|
2676
6168
|
@kakao_pay = kakao_pay
|
|
@@ -2689,15 +6181,20 @@ module Stripe
|
|
|
2689
6181
|
@payco = payco
|
|
2690
6182
|
@paynow = paynow
|
|
2691
6183
|
@paypal = paypal
|
|
6184
|
+
@paypay = paypay
|
|
2692
6185
|
@payto = payto
|
|
2693
6186
|
@pix = pix
|
|
2694
6187
|
@promptpay = promptpay
|
|
6188
|
+
@qris = qris
|
|
6189
|
+
@rechnung = rechnung
|
|
2695
6190
|
@revolut_pay = revolut_pay
|
|
2696
6191
|
@samsung_pay = samsung_pay
|
|
2697
6192
|
@satispay = satispay
|
|
2698
6193
|
@scalapay = scalapay
|
|
2699
6194
|
@sepa_debit = sepa_debit
|
|
6195
|
+
@shopeepay = shopeepay
|
|
2700
6196
|
@sofort = sofort
|
|
6197
|
+
@stripe_balance = stripe_balance
|
|
2701
6198
|
@sunbit = sunbit
|
|
2702
6199
|
@swish = swish
|
|
2703
6200
|
@twint = twint
|
|
@@ -2767,10 +6264,16 @@ module Stripe
|
|
|
2767
6264
|
@tracking_number = tracking_number
|
|
2768
6265
|
end
|
|
2769
6266
|
end
|
|
6267
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
6268
|
+
attr_accessor :allocated_funds
|
|
6269
|
+
# 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`.
|
|
6270
|
+
attr_accessor :allowed_payment_method_types
|
|
2770
6271
|
# Provides industry-specific information about the amount.
|
|
2771
6272
|
attr_accessor :amount_details
|
|
2772
6273
|
# Amount to confirm on the PaymentIntent. Defaults to `amount` if not provided.
|
|
2773
6274
|
attr_accessor :amount_to_confirm
|
|
6275
|
+
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
6276
|
+
attr_accessor :application_fee_amount
|
|
2774
6277
|
# Controls when the funds will be captured from the customer's account.
|
|
2775
6278
|
attr_accessor :capture_method
|
|
2776
6279
|
# ID of the ConfirmationToken used to confirm this PaymentIntent.
|
|
@@ -2783,6 +6286,8 @@ module Stripe
|
|
|
2783
6286
|
attr_accessor :excluded_payment_method_types
|
|
2784
6287
|
# Specifies which fields in the response should be expanded.
|
|
2785
6288
|
attr_accessor :expand
|
|
6289
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
6290
|
+
attr_accessor :fx_quote
|
|
2786
6291
|
# Automations to be run during the PaymentIntent lifecycle
|
|
2787
6292
|
attr_accessor :hooks
|
|
2788
6293
|
# ID of the mandate that's used for this payment.
|
|
@@ -2828,13 +6333,17 @@ module Stripe
|
|
|
2828
6333
|
attr_accessor :use_stripe_sdk
|
|
2829
6334
|
|
|
2830
6335
|
def initialize(
|
|
6336
|
+
allocated_funds: nil,
|
|
6337
|
+
allowed_payment_method_types: nil,
|
|
2831
6338
|
amount_details: nil,
|
|
2832
6339
|
amount_to_confirm: nil,
|
|
6340
|
+
application_fee_amount: nil,
|
|
2833
6341
|
capture_method: nil,
|
|
2834
6342
|
confirmation_token: nil,
|
|
2835
6343
|
error_on_requires_action: nil,
|
|
2836
6344
|
excluded_payment_method_types: nil,
|
|
2837
6345
|
expand: nil,
|
|
6346
|
+
fx_quote: nil,
|
|
2838
6347
|
hooks: nil,
|
|
2839
6348
|
mandate: nil,
|
|
2840
6349
|
mandate_data: nil,
|
|
@@ -2851,13 +6360,17 @@ module Stripe
|
|
|
2851
6360
|
shipping: nil,
|
|
2852
6361
|
use_stripe_sdk: nil
|
|
2853
6362
|
)
|
|
6363
|
+
@allocated_funds = allocated_funds
|
|
6364
|
+
@allowed_payment_method_types = allowed_payment_method_types
|
|
2854
6365
|
@amount_details = amount_details
|
|
2855
6366
|
@amount_to_confirm = amount_to_confirm
|
|
6367
|
+
@application_fee_amount = application_fee_amount
|
|
2856
6368
|
@capture_method = capture_method
|
|
2857
6369
|
@confirmation_token = confirmation_token
|
|
2858
6370
|
@error_on_requires_action = error_on_requires_action
|
|
2859
6371
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
2860
6372
|
@expand = expand
|
|
6373
|
+
@fx_quote = fx_quote
|
|
2861
6374
|
@hooks = hooks
|
|
2862
6375
|
@mandate = mandate
|
|
2863
6376
|
@mandate_data = mandate_data
|