stripe 19.2.0 → 19.3.0.pre.alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +38 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +90 -0
- data/lib/stripe/event_types.rb +1308 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v1_account_application_authorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_application_deauthorized_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_created_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_deleted_event.rb +20 -0
- data/lib/stripe/events/v1_account_external_account_updated_event.rb +20 -0
- data/lib/stripe/events/v1_account_signals_including_delinquency_created_event.rb +68 -0
- data/lib/stripe/events/v1_account_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_balance_available_event.rb +44 -0
- data/lib/stripe/events/v1_billing_alert_triggered_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_session_created_event.rb +20 -0
- data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
- data/lib/stripe/events/v1_cash_balance_funds_available_event.rb +44 -0
- data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
- data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
- data/lib/stripe/events/v1_customer_cash_balance_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v1_entitlements_active_entitlement_summary_updated_event.rb +20 -0
- data/lib/stripe/events/v1_file_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payout_created_event.rb +44 -0
- data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
- data/lib/stripe/events/v1_person_created_event.rb +44 -0
- data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_person_updated_event.rb +44 -0
- data/lib/stripe/events/v1_plan_created_event.rb +44 -0
- data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v1_price_created_event.rb +44 -0
- data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_price_updated_event.rb +44 -0
- data/lib/stripe/events/v1_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_product_updated_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
- data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
- data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_quote_created_event.rb +44 -0
- data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
- data/lib/stripe/events/v1_refund_created_event.rb +44 -0
- data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
- data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_review_closed_event.rb +44 -0
- data/lib/stripe/events/v1_review_opened_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
- data/lib/stripe/events/v1_source_failed_event.rb +44 -0
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_settings_updated_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
- data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_topup_created_event.rb +44 -0
- data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_custom_pricing_unit_overage_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_signals_fraudulent_website_ready_event.rb +48 -0
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +117 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +115 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +96 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +98 -0
- data/lib/stripe/events/v2_core_health_elements_error_firing_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_elements_error_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_firing_event.rb +75 -0
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_resolved_event.rb +77 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +111 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +113 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +70 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +72 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_extension_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +40 -0
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_approved_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_canceled_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_denied_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_removed_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_requested_event.rb +38 -0
- data/lib/stripe/events/v2_iam_stripe_access_grant_updated_event.rb +38 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_financial_account_statement_restated_event.rb +71 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +63 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +61 -0
- data/lib/stripe/events/v2_payments_off_session_payment_paused_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_resumed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +88 -0
- data/lib/stripe/events/v2_signals_account_signal_merchant_delinquency_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +125 -0
- data/lib/stripe/params/account_create_params.rb +461 -2
- data/lib/stripe/params/account_link_create_params.rb +4 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_person_create_params.rb +60 -0
- data/lib/stripe/params/account_person_update_params.rb +60 -0
- data/lib/stripe/params/account_session_create_params.rb +301 -1
- data/lib/stripe/params/account_signals_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_update_params.rb +423 -1
- data/lib/stripe/params/balance_settings_update_params.rb +9 -1
- data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
- data/lib/stripe/params/billing/alert_create_params.rb +264 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +48 -2
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +20 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1912 -0
- data/lib/stripe/params/charge_update_params.rb +1912 -0
- data/lib/stripe/params/checkout/session_approve_params.rb +52 -0
- data/lib/stripe/params/checkout/session_create_params.rb +255 -4
- data/lib/stripe/params/checkout/session_update_params.rb +176 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +91 -0
- data/lib/stripe/params/coupon_create_params.rb +47 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- data/lib/stripe/params/delegated_checkout/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +168 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +230 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_list_orders_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_order_list_params.rb +24 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +216 -0
- data/lib/stripe/params/dispute_update_params.rb +14 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +64 -2
- data/lib/stripe/params/fr_meal_vouchers_onboarding_create_params.rb +25 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +22 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +13 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +16 -0
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +11 -1
- data/lib/stripe/params/invoice_add_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +98 -3
- data/lib/stripe/params/invoice_create_preview_params.rb +1314 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +33 -1
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +48 -1
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_update_params.rb +98 -3
- data/lib/stripe/params/issuing/authorization_create_params.rb +8 -0
- data/lib/stripe/params/issuing/card_list_params.rb +34 -1
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_close_params.rb +18 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +26 -0
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +26 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_create_params.rb +21 -0
- data/lib/stripe/params/issuing/program_list_params.rb +24 -0
- data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_update_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +8 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +8 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/orchestration/payment_attempt_retrieve_params.rb +15 -0
- data/lib/stripe/params/order_create_params.rb +2114 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2118 -0
- data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +19 -0
- data/lib/stripe/params/payment_attempt_record_report_authorized_params.rb +41 -0
- data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +22 -0
- data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +54 -0
- data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +50 -0
- data/lib/stripe/params/payment_attempt_record_report_informational_params.rb +93 -0
- data/lib/stripe/params/payment_attempt_record_report_refund_params.rb +79 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1928 -2
- data/lib/stripe/params/payment_intent_confirm_params.rb +3659 -158
- data/lib/stripe/params/payment_intent_create_params.rb +3639 -122
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +315 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +56 -1
- data/lib/stripe/params/payment_intent_reauthorize_params.rb +19 -0
- data/lib/stripe/params/payment_intent_simulate_crypto_deposit_params.rb +31 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3680 -148
- data/lib/stripe/params/payment_link_create_params.rb +34 -0
- data/lib/stripe/params/payment_location_capability_list_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_retrieve_params.rb +16 -0
- data/lib/stripe/params/payment_location_capability_update_params.rb +19 -0
- data/lib/stripe/params/payment_location_create_params.rb +54 -0
- data/lib/stripe/params/payment_location_delete_params.rb +6 -0
- data/lib/stripe/params/payment_location_list_params.rb +22 -0
- data/lib/stripe/params/payment_location_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_location_update_params.rb +63 -0
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +87 -0
- data/lib/stripe/params/payment_method_update_params.rb +16 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +4 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +36 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +32 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +60 -2
- data/lib/stripe/params/payment_record_report_payment_params.rb +60 -2
- data/lib/stripe/params/plan_create_params.rb +15 -0
- data/lib/stripe/params/price_create_params.rb +19 -0
- data/lib/stripe/params/price_update_params.rb +23 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_create_params.rb +47 -0
- data/lib/stripe/params/product_update_params.rb +47 -0
- data/lib/stripe/params/quote_create_params.rb +1217 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +1225 -4
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +81 -0
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +72 -0
- data/lib/stripe/params/radar/customer_evaluation_create_params.rb +69 -0
- data/lib/stripe/params/radar/customer_evaluation_update_params.rb +21 -0
- data/lib/stripe/params/radar/issuing_authorization_evaluation_create_params.rb +197 -0
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +30 -1
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +177 -3
- data/lib/stripe/params/setup_intent_create_params.rb +177 -3
- data/lib/stripe/params/setup_intent_update_params.rb +178 -4
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +50 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +70 -0
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_create_params.rb +325 -7
- data/lib/stripe/params/subscription_item_create_params.rb +114 -2
- data/lib/stripe/params/subscription_item_update_params.rb +97 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_pause_params.rb +50 -0
- data/lib/stripe/params/subscription_resume_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +805 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +335 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +335 -5
- data/lib/stripe/params/subscription_update_params.rb +308 -6
- data/lib/stripe/params/tax/calculation_create_params.rb +4 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +117 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +91 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +8 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_close_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +28 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +8 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +8 -0
- data/lib/stripe/params/test_helpers/payment_intent_simulate_crypto_deposit_params.rb +33 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +52 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/token_create_params.rb +134 -0
- data/lib/stripe/params/transfer_create_params.rb +8 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/contract_activate_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_cancel_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_create_params.rb +831 -0
- data/lib/stripe/params/v2/billing/contract_list_params.rb +20 -0
- data/lib/stripe/params/v2/billing/contract_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/contract_update_params.rb +522 -0
- data/lib/stripe/params/v2/billing/contracts/license_pricing/quantity_change_list_quantity_changes_params.rb +21 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +899 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +121 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +102 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +54 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_remove_discounts_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_modify_rates_params.rb +177 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +22 -0
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +109 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +315 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +1687 -6
- data/lib/stripe/params/v2/core/account_evaluation_create_params.rb +73 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +81 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +250 -2
- data/lib/stripe/params/v2/core/account_update_params.rb +1667 -7
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_execute_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +17 -0
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_submit_params.rb +17 -0
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +59 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +28 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/connection_session_create_params.rb +23 -0
- data/lib/stripe/params/v2/core/connection_session_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
- data/lib/stripe/params/v2/core/fee_batch_list_params.rb +43 -0
- data/lib/stripe/params/v2/core/fee_batch_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/fee_entry_list_params.rb +51 -0
- data/lib/stripe/params/v2/core/fee_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/data/analytics/metric_query_create_params.rb +68 -0
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +19 -0
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_create_params.rb +51 -0
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +49 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/debit_dispute_create_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/debit_dispute_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/debit_dispute_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +26 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +33 -0
- data/lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb +22 -0
- data/lib/stripe/params/v2/money_management/financial_accounts/statement_retrieve_params.rb +19 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +130 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +70 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +110 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +88 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +85 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +178 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +362 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_pause_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_resume_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +35 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_list_params.rb +47 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +20 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +28 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_list_params.rb +22 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +35 -0
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +124 -0
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +124 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +909 -0
- data/lib/stripe/resources/account.rb +271 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +302 -0
- data/lib/stripe/resources/account_signals.rb +104 -0
- data/lib/stripe/resources/application_fee.rb +24 -1
- data/lib/stripe/resources/balance.rb +166 -0
- data/lib/stripe/resources/balance_settings.rb +4 -0
- data/lib/stripe/resources/balance_transfer.rb +139 -0
- data/lib/stripe/resources/billing/alert.rb +274 -1
- data/lib/stripe/resources/billing/alert_recovered.rb +44 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +48 -1
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +172 -3
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +145 -2
- data/lib/stripe/resources/billing/credit_grant.rb +77 -2
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/capability.rb +36 -1
- data/lib/stripe/resources/capital/financing_offer.rb +183 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +20 -1
- data/lib/stripe/resources/charge.rb +328 -2
- data/lib/stripe/resources/checkout/session.rb +529 -3
- data/lib/stripe/resources/confirmation_token.rb +200 -1
- data/lib/stripe/resources/coupon.rb +60 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/delegated_checkout/order.rb +142 -0
- data/lib/stripe/resources/delegated_checkout/order_event.rb +118 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +895 -0
- data/lib/stripe/resources/discount.rb +20 -1
- data/lib/stripe/resources/dispute.rb +24 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +57 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +82 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +125 -1
- data/lib/stripe/resources/fr_meal_vouchers_onboarding.rb +153 -0
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +24 -1
- data/lib/stripe/resources/invoice.rb +195 -1
- data/lib/stripe/resources/invoice_item.rb +126 -2
- data/lib/stripe/resources/invoice_line_item.rb +195 -1
- data/lib/stripe/resources/issuing/authorization.rb +268 -0
- data/lib/stripe/resources/issuing/card.rb +4 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +289 -1
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/program.rb +69 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +8 -0
- data/lib/stripe/resources/issuing/transaction.rb +124 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +12 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/orchestration/payment_attempt.rb +31 -0
- data/lib/stripe/resources/order.rb +927 -0
- data/lib/stripe/resources/payment_attempt_record.rb +382 -2
- data/lib/stripe/resources/payment_intent.rb +2269 -47
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +19 -1
- data/lib/stripe/resources/payment_link.rb +22 -0
- data/lib/stripe/resources/payment_location.rb +165 -0
- data/lib/stripe/resources/payment_location_capability.rb +94 -0
- data/lib/stripe/resources/payment_method.rb +228 -1
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_record.rb +242 -2
- data/lib/stripe/resources/person.rb +62 -0
- data/lib/stripe/resources/price.rb +22 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +46 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +106 -0
- data/lib/stripe/resources/profile.rb +80 -0
- data/lib/stripe/resources/quote.rb +806 -2
- data/lib/stripe/resources/quote_line.rb +731 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1261 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +911 -0
- data/lib/stripe/resources/radar/account_evaluation.rb +180 -0
- data/lib/stripe/resources/radar/customer_evaluation.rb +155 -0
- data/lib/stripe/resources/radar/issuing_authorization_evaluation.rb +245 -0
- data/lib/stripe/resources/radar/payment_evaluation.rb +23 -1
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +7 -0
- data/lib/stripe/resources/reserve/release.rb +12 -0
- data/lib/stripe/resources/risk_signals.rb +24 -0
- data/lib/stripe/resources/setup_attempt.rb +35 -0
- data/lib/stripe/resources/setup_intent.rb +92 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +1822 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +293 -0
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +250 -0
- data/lib/stripe/resources/subscription_item.rb +41 -1
- data/lib/stripe/resources/subscription_schedule.rb +373 -3
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/location.rb +72 -0
- data/lib/stripe/resources/tax/registration.rb +144 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +773 -0
- data/lib/stripe/resources/v2/billing/cadence_spend_modifier.rb +103 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/contract.rb +978 -0
- data/lib/stripe/resources/v2/billing/contract_license_pricing_quantity_change.rb +43 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +354 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +711 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +140 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +101 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/one_time_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +97 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +719 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +41 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +71 -0
- data/lib/stripe/resources/v2/billing/rate_card_custom_pricing_unit_overage_rate.rb +48 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +131 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +97 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +37 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +306 -0
- data/lib/stripe/resources/v2/core/account.rb +2668 -20
- data/lib/stripe/resources/v2/core/account_evaluation.rb +106 -0
- data/lib/stripe/resources/v2/core/account_link.rb +72 -0
- data/lib/stripe/resources/v2/core/approval_request.rb +337 -0
- data/lib/stripe/resources/v2/core/batch_job.rb +567 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +146 -0
- data/lib/stripe/resources/v2/core/connection_session.rb +58 -0
- data/lib/stripe/resources/v2/core/event.rb +66 -1
- data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
- data/lib/stripe/resources/v2/core/fee_batch.rb +142 -0
- data/lib/stripe/resources/v2/core/fee_entry.rb +135 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
- data/lib/stripe/resources/v2/data/analytics/metric_query_result.rb +106 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +159 -0
- data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
- data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +29 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +31 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +187 -0
- data/lib/stripe/resources/v2/iam/api_key.rb +129 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +69 -0
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +66 -0
- data/lib/stripe/resources/v2/money_management/debit_dispute.rb +113 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +284 -0
- data/lib/stripe/resources/v2/money_management/financial_account_statement.rb +101 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +225 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +303 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +146 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +198 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +169 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +402 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +243 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +177 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +147 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +288 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +77 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +65 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +159 -0
- data/lib/stripe/resources/v2/signals/account_signal.rb +144 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +145 -0
- data/lib/stripe/resources.rb +1729 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_service.rb +46 -1
- data/lib/stripe/services/account_signals_service.rb +17 -0
- data/lib/stripe/services/balance_transfer_service.rb +17 -0
- data/lib/stripe/services/billing/alert_service.rb +2 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +4 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/checkout/session_service.rb +11 -0
- data/lib/stripe/services/coupon_service.rb +44 -0
- data/lib/stripe/services/credit_note_service.rb +14 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +15 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +15 -0
- data/lib/stripe/services/customer_payment_source_service.rb +60 -0
- data/lib/stripe/services/customer_service.rb +59 -0
- data/lib/stripe/services/customer_session_service.rb +14 -0
- data/lib/stripe/services/customer_tax_id_service.rb +30 -0
- data/lib/stripe/services/delegated_checkout/order_service.rb +19 -0
- data/lib/stripe/services/delegated_checkout/requested_session_order_service.rb +19 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +70 -0
- data/lib/stripe/services/delegated_checkout_service.rb +14 -0
- data/lib/stripe/services/dispute_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fr_meal_vouchers_onboarding_service.rb +57 -0
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/invoice_item_service.rb +44 -0
- data/lib/stripe/services/invoice_line_item_service.rb +15 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +30 -0
- data/lib/stripe/services/invoice_service.rb +189 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing/program_service.rb +52 -0
- data/lib/stripe/services/issuing_service.rb +6 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/orchestration/payment_attempt_service.rb +19 -0
- data/lib/stripe/services/orchestration_service.rb +13 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +77 -0
- data/lib/stripe/services/payment_intent_service.rb +55 -0
- data/lib/stripe/services/payment_location_capability_service.rb +39 -0
- data/lib/stripe/services/payment_location_service.rb +61 -0
- data/lib/stripe/services/payment_method_service.rb +26 -0
- data/lib/stripe/services/price_service.rb +29 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/product_feature_service.rb +30 -0
- data/lib/stripe/services/product_service.rb +44 -0
- data/lib/stripe/services/promotion_code_service.rb +29 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar/customer_evaluation_service.rb +30 -0
- data/lib/stripe/services/radar/issuing_authorization_evaluation_service.rb +19 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +14 -0
- data/lib/stripe/services/radar_service.rb +5 -1
- data/lib/stripe/services/refund_service.rb +29 -0
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_item_service.rb +44 -0
- data/lib/stripe/services/subscription_schedule_service.rb +70 -0
- data/lib/stripe/services/subscription_service.rb +111 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax/registration_service.rb +29 -0
- data/lib/stripe/services/tax/settings_service.rb +14 -0
- data/lib/stripe/services/tax/transaction_service.rb +14 -0
- data/lib/stripe/services/tax_id_service.rb +14 -0
- data/lib/stripe/services/tax_rate_service.rb +29 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers/issuing/dispute_service.rb +54 -0
- data/lib/stripe/services/test_helpers/issuing_service.rb +2 -1
- data/lib/stripe/services/test_helpers/payment_intent_service.rb +19 -0
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +4 -1
- data/lib/stripe/services/v1_services.rb +17 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +73 -0
- data/lib/stripe/services/v2/billing/cadences/spend_modifier_rule_service.rb +34 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/contract_service.rb +91 -0
- data/lib/stripe/services/v2/billing/contracts/license_pricing/quantity_change_service.rb +25 -0
- data/lib/stripe/services/v2/billing/contracts/license_pricing_service.rb +20 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +98 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +69 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/one_time_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +79 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/custom_pricing_unit_overage_rate_service.rb +56 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +61 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +47 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_evaluation_service.rb +21 -0
- data/lib/stripe/services/v2/core/approval_request_service.rb +70 -0
- data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +47 -0
- data/lib/stripe/services/v2/core/connection_session_service.rb +32 -0
- data/lib/stripe/services/v2/core/fee_batch_service.rb +32 -0
- data/lib/stripe/services/v2/core/fee_entry_service.rb +32 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +9 -1
- data/lib/stripe/services/v2/data/analytics/metric_query_service.rb +23 -0
- data/lib/stripe/services/v2/data/analytics_service.rb +17 -0
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data_service.rb +16 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
- data/lib/stripe/services/v2/iam_service.rb +16 -0
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +78 -0
- data/lib/stripe/services/v2/money_management/financial_accounts/statement_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +66 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +36 -0
- data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +87 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +83 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +56 -0
- data/lib/stripe/services/v2/payments_service.rb +17 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/signals/account_signal_service.rb +32 -0
- data/lib/stripe/services/v2/signals_service.rb +15 -0
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +73 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +16 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +12 -1
- data/lib/stripe/services.rb +396 -0
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_event_notification_handler.rb +2520 -0
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +54 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +219739 -104589
- metadata +1029 -4
|
@@ -3,15 +3,38 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentUpdateParams < ::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
|
|
|
@@ -47,184 +70,2155 @@ module Stripe
|
|
|
47
70
|
end
|
|
48
71
|
end
|
|
49
72
|
|
|
50
|
-
class Paypal < ::Stripe::RequestParams
|
|
51
|
-
# Type of the line item.
|
|
52
|
-
attr_accessor :category
|
|
53
|
-
# Description of the line item.
|
|
54
|
-
attr_accessor :description
|
|
55
|
-
# The Stripe account ID of the connected account that sells the item.
|
|
56
|
-
attr_accessor :sold_by
|
|
73
|
+
class Paypal < ::Stripe::RequestParams
|
|
74
|
+
# Type of the line item.
|
|
75
|
+
attr_accessor :category
|
|
76
|
+
# Description of the line item.
|
|
77
|
+
attr_accessor :description
|
|
78
|
+
# The Stripe account ID of the connected account that sells the item.
|
|
79
|
+
attr_accessor :sold_by
|
|
80
|
+
|
|
81
|
+
def initialize(category: nil, description: nil, sold_by: nil)
|
|
82
|
+
@category = category
|
|
83
|
+
@description = description
|
|
84
|
+
@sold_by = sold_by
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
# This sub-hash contains line item details that are specific to the `card` payment method.
|
|
88
|
+
attr_accessor :card
|
|
89
|
+
# This sub-hash contains line item details that are specific to the `card_present` payment method.
|
|
90
|
+
attr_accessor :card_present
|
|
91
|
+
# This sub-hash contains line item details that are specific to the `klarna` payment method.
|
|
92
|
+
attr_accessor :klarna
|
|
93
|
+
# This sub-hash contains line item details that are specific to the `paypal` payment method.
|
|
94
|
+
attr_accessor :paypal
|
|
95
|
+
|
|
96
|
+
def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
|
|
97
|
+
@card = card
|
|
98
|
+
@card_present = card_present
|
|
99
|
+
@klarna = klarna
|
|
100
|
+
@paypal = paypal
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
class Tax < ::Stripe::RequestParams
|
|
105
|
+
# The total amount of tax on a single 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.
|
|
106
|
+
#
|
|
107
|
+
# This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
|
|
108
|
+
attr_accessor :total_tax_amount
|
|
109
|
+
|
|
110
|
+
def initialize(total_tax_amount: nil)
|
|
111
|
+
@total_tax_amount = total_tax_amount
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
# The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
115
|
+
#
|
|
116
|
+
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
117
|
+
attr_accessor :discount_amount
|
|
118
|
+
# Payment method-specific information for line items.
|
|
119
|
+
attr_accessor :payment_method_options
|
|
120
|
+
# The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
|
|
121
|
+
attr_accessor :product_code
|
|
122
|
+
# The product name of the line item. Required for L3 rates. At most 1024 characters long.
|
|
123
|
+
#
|
|
124
|
+
# For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters.
|
|
125
|
+
attr_accessor :product_name
|
|
126
|
+
# The quantity of items. Required for L3 rates. An integer greater than 0.
|
|
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
|
|
130
|
+
# Contains information about the tax on the item.
|
|
131
|
+
attr_accessor :tax
|
|
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.
|
|
133
|
+
attr_accessor :unit_cost
|
|
134
|
+
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
135
|
+
attr_accessor :unit_of_measure
|
|
136
|
+
|
|
137
|
+
def initialize(
|
|
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
|
+
# 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.
|
|
198
|
+
#
|
|
199
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
200
|
+
attr_accessor :discount_amount
|
|
201
|
+
# 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.
|
|
202
|
+
#
|
|
203
|
+
# 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.
|
|
204
|
+
#
|
|
205
|
+
# For card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error.
|
|
206
|
+
attr_accessor :enforce_arithmetic_validation
|
|
207
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
|
|
208
|
+
attr_accessor :line_items
|
|
209
|
+
# Contains information about the shipping portion of the amount.
|
|
210
|
+
attr_accessor :shipping
|
|
211
|
+
# Contains information about the surcharge portion of the amount.
|
|
212
|
+
attr_accessor :surcharge
|
|
213
|
+
# Contains information about the tax portion of the amount.
|
|
214
|
+
attr_accessor :tax
|
|
215
|
+
|
|
216
|
+
def initialize(
|
|
217
|
+
discount_amount: nil,
|
|
218
|
+
enforce_arithmetic_validation: nil,
|
|
219
|
+
line_items: nil,
|
|
220
|
+
shipping: nil,
|
|
221
|
+
surcharge: nil,
|
|
222
|
+
tax: nil
|
|
223
|
+
)
|
|
224
|
+
@discount_amount = discount_amount
|
|
225
|
+
@enforce_arithmetic_validation = enforce_arithmetic_validation
|
|
226
|
+
@line_items = line_items
|
|
227
|
+
@shipping = shipping
|
|
228
|
+
@surcharge = surcharge
|
|
229
|
+
@tax = tax
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
class Hooks < ::Stripe::RequestParams
|
|
234
|
+
class Inputs < ::Stripe::RequestParams
|
|
235
|
+
class Tax < ::Stripe::RequestParams
|
|
236
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
237
|
+
attr_accessor :calculation
|
|
238
|
+
|
|
239
|
+
def initialize(calculation: nil)
|
|
240
|
+
@calculation = calculation
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
# Tax arguments for automations
|
|
244
|
+
attr_accessor :tax
|
|
245
|
+
|
|
246
|
+
def initialize(tax: nil)
|
|
247
|
+
@tax = tax
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
# Arguments passed in automations
|
|
251
|
+
attr_accessor :inputs
|
|
252
|
+
|
|
253
|
+
def initialize(inputs: nil)
|
|
254
|
+
@inputs = inputs
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
class MandateData < ::Stripe::RequestParams
|
|
259
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
|
260
|
+
class Online < ::Stripe::RequestParams
|
|
261
|
+
# The IP address from which the Mandate was accepted by the customer.
|
|
262
|
+
attr_accessor :ip_address
|
|
263
|
+
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
264
|
+
attr_accessor :user_agent
|
|
265
|
+
|
|
266
|
+
def initialize(ip_address: nil, user_agent: nil)
|
|
267
|
+
@ip_address = ip_address
|
|
268
|
+
@user_agent = user_agent
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
|
272
|
+
attr_accessor :online
|
|
273
|
+
# The type of customer acceptance information included with the Mandate.
|
|
274
|
+
attr_accessor :type
|
|
275
|
+
|
|
276
|
+
def initialize(online: nil, type: nil)
|
|
277
|
+
@online = online
|
|
278
|
+
@type = type
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
|
282
|
+
attr_accessor :customer_acceptance
|
|
283
|
+
|
|
284
|
+
def initialize(customer_acceptance: nil)
|
|
285
|
+
@customer_acceptance = customer_acceptance
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
290
|
+
class Benefit < ::Stripe::RequestParams
|
|
291
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
|
292
|
+
# Whether to enable meal voucher benefit for this payment.
|
|
293
|
+
attr_accessor :enabled
|
|
294
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
295
|
+
attr_accessor :siret
|
|
296
|
+
|
|
297
|
+
def initialize(enabled: nil, siret: nil)
|
|
298
|
+
@enabled = enabled
|
|
299
|
+
@siret = siret
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
# French meal voucher benefit details for this PaymentIntent.
|
|
303
|
+
attr_accessor :fr_meal_voucher
|
|
304
|
+
|
|
305
|
+
def initialize(fr_meal_voucher: nil)
|
|
306
|
+
@fr_meal_voucher = fr_meal_voucher
|
|
307
|
+
end
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
class CarRental < ::Stripe::RequestParams
|
|
311
|
+
class Affiliate < ::Stripe::RequestParams
|
|
312
|
+
# The name of the affiliate that originated the purchase.
|
|
313
|
+
attr_accessor :name
|
|
314
|
+
|
|
315
|
+
def initialize(name: nil)
|
|
316
|
+
@name = name
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
class Delivery < ::Stripe::RequestParams
|
|
321
|
+
class Recipient < ::Stripe::RequestParams
|
|
322
|
+
# The email of the recipient the ticket is delivered to.
|
|
323
|
+
attr_accessor :email
|
|
324
|
+
# The name of the recipient the ticket is delivered to.
|
|
325
|
+
attr_accessor :name
|
|
326
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
327
|
+
attr_accessor :phone
|
|
328
|
+
|
|
329
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
330
|
+
@email = email
|
|
331
|
+
@name = name
|
|
332
|
+
@phone = phone
|
|
333
|
+
end
|
|
334
|
+
end
|
|
335
|
+
# The delivery method for the payment
|
|
336
|
+
attr_accessor :mode
|
|
337
|
+
# Details of the recipient.
|
|
338
|
+
attr_accessor :recipient
|
|
339
|
+
|
|
340
|
+
def initialize(mode: nil, recipient: nil)
|
|
341
|
+
@mode = mode
|
|
342
|
+
@recipient = recipient
|
|
343
|
+
end
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
class Distance < ::Stripe::RequestParams
|
|
347
|
+
# Distance traveled.
|
|
348
|
+
attr_accessor :amount
|
|
349
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
350
|
+
attr_accessor :unit
|
|
351
|
+
|
|
352
|
+
def initialize(amount: nil, unit: nil)
|
|
353
|
+
@amount = amount
|
|
354
|
+
@unit = unit
|
|
355
|
+
end
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
class Driver < ::Stripe::RequestParams
|
|
359
|
+
# Driver's identification number.
|
|
360
|
+
attr_accessor :driver_identification_number
|
|
361
|
+
# Driver's tax number.
|
|
362
|
+
attr_accessor :driver_tax_number
|
|
363
|
+
# Full name of the person or entity on the car reservation.
|
|
364
|
+
attr_accessor :name
|
|
365
|
+
|
|
366
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
367
|
+
@driver_identification_number = driver_identification_number
|
|
368
|
+
@driver_tax_number = driver_tax_number
|
|
369
|
+
@name = name
|
|
370
|
+
end
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
class PickupAddress < ::Stripe::RequestParams
|
|
374
|
+
# City, district, suburb, town, or village.
|
|
375
|
+
attr_accessor :city
|
|
376
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
377
|
+
attr_accessor :country
|
|
378
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
379
|
+
attr_accessor :line1
|
|
380
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
381
|
+
attr_accessor :line2
|
|
382
|
+
# ZIP or postal code.
|
|
383
|
+
attr_accessor :postal_code
|
|
384
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
385
|
+
attr_accessor :state
|
|
386
|
+
|
|
387
|
+
def initialize(
|
|
388
|
+
city: nil,
|
|
389
|
+
country: nil,
|
|
390
|
+
line1: nil,
|
|
391
|
+
line2: nil,
|
|
392
|
+
postal_code: nil,
|
|
393
|
+
state: nil
|
|
394
|
+
)
|
|
395
|
+
@city = city
|
|
396
|
+
@country = country
|
|
397
|
+
@line1 = line1
|
|
398
|
+
@line2 = line2
|
|
399
|
+
@postal_code = postal_code
|
|
400
|
+
@state = state
|
|
401
|
+
end
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
class ReturnAddress < ::Stripe::RequestParams
|
|
405
|
+
# City, district, suburb, town, or village.
|
|
406
|
+
attr_accessor :city
|
|
407
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
408
|
+
attr_accessor :country
|
|
409
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
410
|
+
attr_accessor :line1
|
|
411
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
412
|
+
attr_accessor :line2
|
|
413
|
+
# ZIP or postal code.
|
|
414
|
+
attr_accessor :postal_code
|
|
415
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
416
|
+
attr_accessor :state
|
|
417
|
+
|
|
418
|
+
def initialize(
|
|
419
|
+
city: nil,
|
|
420
|
+
country: nil,
|
|
421
|
+
line1: nil,
|
|
422
|
+
line2: nil,
|
|
423
|
+
postal_code: nil,
|
|
424
|
+
state: nil
|
|
425
|
+
)
|
|
426
|
+
@city = city
|
|
427
|
+
@country = country
|
|
428
|
+
@line1 = line1
|
|
429
|
+
@line2 = line2
|
|
430
|
+
@postal_code = postal_code
|
|
431
|
+
@state = state
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
# Affiliate details for this purchase.
|
|
435
|
+
attr_accessor :affiliate
|
|
436
|
+
# The booking number associated with the car rental.
|
|
437
|
+
attr_accessor :booking_number
|
|
438
|
+
# Class code of the car.
|
|
439
|
+
attr_accessor :car_class_code
|
|
440
|
+
# Make of the car.
|
|
441
|
+
attr_accessor :car_make
|
|
442
|
+
# Model of the car.
|
|
443
|
+
attr_accessor :car_model
|
|
444
|
+
# The name of the rental car company.
|
|
445
|
+
attr_accessor :company
|
|
446
|
+
# The customer service phone number of the car rental company.
|
|
447
|
+
attr_accessor :customer_service_phone_number
|
|
448
|
+
# Number of days the car is being rented.
|
|
449
|
+
attr_accessor :days_rented
|
|
450
|
+
# Delivery details for this purchase.
|
|
451
|
+
attr_accessor :delivery
|
|
452
|
+
# The details of the distance traveled during the rental period.
|
|
453
|
+
attr_accessor :distance
|
|
454
|
+
# The details of the passengers in the travel reservation
|
|
455
|
+
attr_accessor :drivers
|
|
456
|
+
# List of additional charges being billed.
|
|
457
|
+
attr_accessor :extra_charges
|
|
458
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
459
|
+
attr_accessor :no_show
|
|
460
|
+
# Car pick-up address.
|
|
461
|
+
attr_accessor :pickup_address
|
|
462
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
463
|
+
attr_accessor :pickup_at
|
|
464
|
+
# Name of the pickup location.
|
|
465
|
+
attr_accessor :pickup_location_name
|
|
466
|
+
# Rental rate.
|
|
467
|
+
attr_accessor :rate_amount
|
|
468
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
469
|
+
attr_accessor :rate_interval
|
|
470
|
+
# The name of the person or entity renting the car.
|
|
471
|
+
attr_accessor :renter_name
|
|
472
|
+
# Car return address.
|
|
473
|
+
attr_accessor :return_address
|
|
474
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
475
|
+
attr_accessor :return_at
|
|
476
|
+
# Name of the return location.
|
|
477
|
+
attr_accessor :return_location_name
|
|
478
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
479
|
+
attr_accessor :tax_exempt
|
|
480
|
+
# The vehicle identification number.
|
|
481
|
+
attr_accessor :vehicle_identification_number
|
|
482
|
+
|
|
483
|
+
def initialize(
|
|
484
|
+
affiliate: nil,
|
|
485
|
+
booking_number: nil,
|
|
486
|
+
car_class_code: nil,
|
|
487
|
+
car_make: nil,
|
|
488
|
+
car_model: nil,
|
|
489
|
+
company: nil,
|
|
490
|
+
customer_service_phone_number: nil,
|
|
491
|
+
days_rented: nil,
|
|
492
|
+
delivery: nil,
|
|
493
|
+
distance: nil,
|
|
494
|
+
drivers: nil,
|
|
495
|
+
extra_charges: nil,
|
|
496
|
+
no_show: nil,
|
|
497
|
+
pickup_address: nil,
|
|
498
|
+
pickup_at: nil,
|
|
499
|
+
pickup_location_name: nil,
|
|
500
|
+
rate_amount: nil,
|
|
501
|
+
rate_interval: nil,
|
|
502
|
+
renter_name: nil,
|
|
503
|
+
return_address: nil,
|
|
504
|
+
return_at: nil,
|
|
505
|
+
return_location_name: nil,
|
|
506
|
+
tax_exempt: nil,
|
|
507
|
+
vehicle_identification_number: nil
|
|
508
|
+
)
|
|
509
|
+
@affiliate = affiliate
|
|
510
|
+
@booking_number = booking_number
|
|
511
|
+
@car_class_code = car_class_code
|
|
512
|
+
@car_make = car_make
|
|
513
|
+
@car_model = car_model
|
|
514
|
+
@company = company
|
|
515
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
516
|
+
@days_rented = days_rented
|
|
517
|
+
@delivery = delivery
|
|
518
|
+
@distance = distance
|
|
519
|
+
@drivers = drivers
|
|
520
|
+
@extra_charges = extra_charges
|
|
521
|
+
@no_show = no_show
|
|
522
|
+
@pickup_address = pickup_address
|
|
523
|
+
@pickup_at = pickup_at
|
|
524
|
+
@pickup_location_name = pickup_location_name
|
|
525
|
+
@rate_amount = rate_amount
|
|
526
|
+
@rate_interval = rate_interval
|
|
527
|
+
@renter_name = renter_name
|
|
528
|
+
@return_address = return_address
|
|
529
|
+
@return_at = return_at
|
|
530
|
+
@return_location_name = return_location_name
|
|
531
|
+
@tax_exempt = tax_exempt
|
|
532
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
533
|
+
end
|
|
534
|
+
end
|
|
535
|
+
|
|
536
|
+
class CarRentalDatum < ::Stripe::RequestParams
|
|
537
|
+
class Affiliate < ::Stripe::RequestParams
|
|
538
|
+
# Affiliate partner code.
|
|
539
|
+
attr_accessor :code
|
|
540
|
+
# Name of affiliate partner.
|
|
541
|
+
attr_accessor :name
|
|
542
|
+
|
|
543
|
+
def initialize(code: nil, name: nil)
|
|
544
|
+
@code = code
|
|
545
|
+
@name = name
|
|
546
|
+
end
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
class Distance < ::Stripe::RequestParams
|
|
550
|
+
# Distance traveled.
|
|
551
|
+
attr_accessor :amount
|
|
552
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
553
|
+
attr_accessor :unit
|
|
554
|
+
|
|
555
|
+
def initialize(amount: nil, unit: nil)
|
|
556
|
+
@amount = amount
|
|
557
|
+
@unit = unit
|
|
558
|
+
end
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
class Driver < ::Stripe::RequestParams
|
|
562
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
563
|
+
# Day of birth (1-31).
|
|
564
|
+
attr_accessor :day
|
|
565
|
+
# Month of birth (1-12).
|
|
566
|
+
attr_accessor :month
|
|
567
|
+
# Year of birth (must be greater than 1900).
|
|
568
|
+
attr_accessor :year
|
|
569
|
+
|
|
570
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
571
|
+
@day = day
|
|
572
|
+
@month = month
|
|
573
|
+
@year = year
|
|
574
|
+
end
|
|
575
|
+
end
|
|
576
|
+
# Driver's date of birth.
|
|
577
|
+
attr_accessor :date_of_birth
|
|
578
|
+
# Driver's identification number.
|
|
579
|
+
attr_accessor :driver_identification_number
|
|
580
|
+
# Driver's tax number.
|
|
581
|
+
attr_accessor :driver_tax_number
|
|
582
|
+
# Driver's full name.
|
|
583
|
+
attr_accessor :name
|
|
584
|
+
|
|
585
|
+
def initialize(
|
|
586
|
+
date_of_birth: nil,
|
|
587
|
+
driver_identification_number: nil,
|
|
588
|
+
driver_tax_number: nil,
|
|
589
|
+
name: nil
|
|
590
|
+
)
|
|
591
|
+
@date_of_birth = date_of_birth
|
|
592
|
+
@driver_identification_number = driver_identification_number
|
|
593
|
+
@driver_tax_number = driver_tax_number
|
|
594
|
+
@name = name
|
|
595
|
+
end
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
class DropOff < ::Stripe::RequestParams
|
|
599
|
+
class Address < ::Stripe::RequestParams
|
|
600
|
+
# City, district, suburb, town, or village.
|
|
601
|
+
attr_accessor :city
|
|
602
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
603
|
+
attr_accessor :country
|
|
604
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
605
|
+
attr_accessor :line1
|
|
606
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
607
|
+
attr_accessor :line2
|
|
608
|
+
# ZIP or postal code.
|
|
609
|
+
attr_accessor :postal_code
|
|
610
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
611
|
+
attr_accessor :state
|
|
612
|
+
|
|
613
|
+
def initialize(
|
|
614
|
+
city: nil,
|
|
615
|
+
country: nil,
|
|
616
|
+
line1: nil,
|
|
617
|
+
line2: nil,
|
|
618
|
+
postal_code: nil,
|
|
619
|
+
state: nil
|
|
620
|
+
)
|
|
621
|
+
@city = city
|
|
622
|
+
@country = country
|
|
623
|
+
@line1 = line1
|
|
624
|
+
@line2 = line2
|
|
625
|
+
@postal_code = postal_code
|
|
626
|
+
@state = state
|
|
627
|
+
end
|
|
628
|
+
end
|
|
629
|
+
# Address of the rental location.
|
|
630
|
+
attr_accessor :address
|
|
631
|
+
# Location name.
|
|
632
|
+
attr_accessor :location_name
|
|
633
|
+
# Timestamp for the location.
|
|
634
|
+
attr_accessor :time
|
|
635
|
+
|
|
636
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
637
|
+
@address = address
|
|
638
|
+
@location_name = location_name
|
|
639
|
+
@time = time
|
|
640
|
+
end
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
class Insurance < ::Stripe::RequestParams
|
|
644
|
+
# Amount of the insurance coverage in cents.
|
|
645
|
+
attr_accessor :amount
|
|
646
|
+
# Currency of the insurance amount.
|
|
647
|
+
attr_accessor :currency
|
|
648
|
+
# Name of the insurance company.
|
|
649
|
+
attr_accessor :insurance_company_name
|
|
650
|
+
# Type of insurance coverage.
|
|
651
|
+
attr_accessor :insurance_type
|
|
652
|
+
|
|
653
|
+
def initialize(
|
|
654
|
+
amount: nil,
|
|
655
|
+
currency: nil,
|
|
656
|
+
insurance_company_name: nil,
|
|
657
|
+
insurance_type: nil
|
|
658
|
+
)
|
|
659
|
+
@amount = amount
|
|
660
|
+
@currency = currency
|
|
661
|
+
@insurance_company_name = insurance_company_name
|
|
662
|
+
@insurance_type = insurance_type
|
|
663
|
+
end
|
|
664
|
+
end
|
|
665
|
+
|
|
666
|
+
class Pickup < ::Stripe::RequestParams
|
|
667
|
+
class Address < ::Stripe::RequestParams
|
|
668
|
+
# City, district, suburb, town, or village.
|
|
669
|
+
attr_accessor :city
|
|
670
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
671
|
+
attr_accessor :country
|
|
672
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
673
|
+
attr_accessor :line1
|
|
674
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
675
|
+
attr_accessor :line2
|
|
676
|
+
# ZIP or postal code.
|
|
677
|
+
attr_accessor :postal_code
|
|
678
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
679
|
+
attr_accessor :state
|
|
680
|
+
|
|
681
|
+
def initialize(
|
|
682
|
+
city: nil,
|
|
683
|
+
country: nil,
|
|
684
|
+
line1: nil,
|
|
685
|
+
line2: nil,
|
|
686
|
+
postal_code: nil,
|
|
687
|
+
state: nil
|
|
688
|
+
)
|
|
689
|
+
@city = city
|
|
690
|
+
@country = country
|
|
691
|
+
@line1 = line1
|
|
692
|
+
@line2 = line2
|
|
693
|
+
@postal_code = postal_code
|
|
694
|
+
@state = state
|
|
695
|
+
end
|
|
696
|
+
end
|
|
697
|
+
# Address of the rental location.
|
|
698
|
+
attr_accessor :address
|
|
699
|
+
# Location name.
|
|
700
|
+
attr_accessor :location_name
|
|
701
|
+
# Timestamp for the location.
|
|
702
|
+
attr_accessor :time
|
|
703
|
+
|
|
704
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
705
|
+
@address = address
|
|
706
|
+
@location_name = location_name
|
|
707
|
+
@time = time
|
|
708
|
+
end
|
|
709
|
+
end
|
|
710
|
+
|
|
711
|
+
class Total < ::Stripe::RequestParams
|
|
712
|
+
class Discounts < ::Stripe::RequestParams
|
|
713
|
+
# Corporate client discount code.
|
|
714
|
+
attr_accessor :corporate_client_code
|
|
715
|
+
# Coupon code applied to the rental.
|
|
716
|
+
attr_accessor :coupon
|
|
717
|
+
# Maximum number of free miles or kilometers included.
|
|
718
|
+
attr_accessor :maximum_free_miles_or_kilometers
|
|
719
|
+
|
|
720
|
+
def initialize(
|
|
721
|
+
corporate_client_code: nil,
|
|
722
|
+
coupon: nil,
|
|
723
|
+
maximum_free_miles_or_kilometers: nil
|
|
724
|
+
)
|
|
725
|
+
@corporate_client_code = corporate_client_code
|
|
726
|
+
@coupon = coupon
|
|
727
|
+
@maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
|
|
728
|
+
end
|
|
729
|
+
end
|
|
730
|
+
|
|
731
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
732
|
+
# Amount of the extra charge in cents.
|
|
733
|
+
attr_accessor :amount
|
|
734
|
+
# Type of extra charge.
|
|
735
|
+
attr_accessor :type
|
|
736
|
+
|
|
737
|
+
def initialize(amount: nil, type: nil)
|
|
738
|
+
@amount = amount
|
|
739
|
+
@type = type
|
|
740
|
+
end
|
|
741
|
+
end
|
|
742
|
+
|
|
743
|
+
class Tax < ::Stripe::RequestParams
|
|
744
|
+
class Tax < ::Stripe::RequestParams
|
|
745
|
+
# Tax amount.
|
|
746
|
+
attr_accessor :amount
|
|
747
|
+
# Tax rate applied.
|
|
748
|
+
attr_accessor :rate
|
|
749
|
+
# Type of tax applied.
|
|
750
|
+
attr_accessor :type
|
|
751
|
+
|
|
752
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
753
|
+
@amount = amount
|
|
754
|
+
@rate = rate
|
|
755
|
+
@type = type
|
|
756
|
+
end
|
|
757
|
+
end
|
|
758
|
+
# Indicates if the transaction is tax exempt.
|
|
759
|
+
attr_accessor :tax_exempt_indicator
|
|
760
|
+
# Array of tax details.
|
|
761
|
+
attr_accessor :taxes
|
|
762
|
+
|
|
763
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
764
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
765
|
+
@taxes = taxes
|
|
766
|
+
end
|
|
767
|
+
end
|
|
768
|
+
# Total amount in cents.
|
|
769
|
+
attr_accessor :amount
|
|
770
|
+
# Currency of the amount.
|
|
771
|
+
attr_accessor :currency
|
|
772
|
+
# Discount details for the rental.
|
|
773
|
+
attr_accessor :discounts
|
|
774
|
+
# Additional charges for the rental.
|
|
775
|
+
attr_accessor :extra_charges
|
|
776
|
+
# Rate per unit for the rental.
|
|
777
|
+
attr_accessor :rate_per_unit
|
|
778
|
+
# Unit of measurement for the rate.
|
|
779
|
+
attr_accessor :rate_unit
|
|
780
|
+
# Tax breakdown for the rental.
|
|
781
|
+
attr_accessor :tax
|
|
782
|
+
|
|
783
|
+
def initialize(
|
|
784
|
+
amount: nil,
|
|
785
|
+
currency: nil,
|
|
786
|
+
discounts: nil,
|
|
787
|
+
extra_charges: nil,
|
|
788
|
+
rate_per_unit: nil,
|
|
789
|
+
rate_unit: nil,
|
|
790
|
+
tax: nil
|
|
791
|
+
)
|
|
792
|
+
@amount = amount
|
|
793
|
+
@currency = currency
|
|
794
|
+
@discounts = discounts
|
|
795
|
+
@extra_charges = extra_charges
|
|
796
|
+
@rate_per_unit = rate_per_unit
|
|
797
|
+
@rate_unit = rate_unit
|
|
798
|
+
@tax = tax
|
|
799
|
+
end
|
|
800
|
+
end
|
|
801
|
+
|
|
802
|
+
class Vehicle < ::Stripe::RequestParams
|
|
803
|
+
# Make of the rental vehicle.
|
|
804
|
+
attr_accessor :make
|
|
805
|
+
# Model of the rental vehicle.
|
|
806
|
+
attr_accessor :model
|
|
807
|
+
# Odometer reading at the time of rental.
|
|
808
|
+
attr_accessor :odometer
|
|
809
|
+
# Type of the rental vehicle.
|
|
810
|
+
attr_accessor :type
|
|
811
|
+
# Class of the rental vehicle.
|
|
812
|
+
attr_accessor :vehicle_class
|
|
813
|
+
# Vehicle identification number (VIN).
|
|
814
|
+
attr_accessor :vehicle_identification_number
|
|
815
|
+
|
|
816
|
+
def initialize(
|
|
817
|
+
make: nil,
|
|
818
|
+
model: nil,
|
|
819
|
+
odometer: nil,
|
|
820
|
+
type: nil,
|
|
821
|
+
vehicle_class: nil,
|
|
822
|
+
vehicle_identification_number: nil
|
|
823
|
+
)
|
|
824
|
+
@make = make
|
|
825
|
+
@model = model
|
|
826
|
+
@odometer = odometer
|
|
827
|
+
@type = type
|
|
828
|
+
@vehicle_class = vehicle_class
|
|
829
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
830
|
+
end
|
|
831
|
+
end
|
|
832
|
+
# Affiliate (such as travel agency) details for the rental.
|
|
833
|
+
attr_accessor :affiliate
|
|
834
|
+
# Booking confirmation number for the car rental.
|
|
835
|
+
attr_accessor :booking_number
|
|
836
|
+
# Name of the car rental company.
|
|
837
|
+
attr_accessor :carrier_name
|
|
838
|
+
# Customer service phone number for the car rental company.
|
|
839
|
+
attr_accessor :customer_service_phone_number
|
|
840
|
+
# Number of days the car is being rented.
|
|
841
|
+
attr_accessor :days_rented
|
|
842
|
+
# Distance details for the rental.
|
|
843
|
+
attr_accessor :distance
|
|
844
|
+
# List of drivers for the rental.
|
|
845
|
+
attr_accessor :drivers
|
|
846
|
+
# Drop-off location details.
|
|
847
|
+
attr_accessor :drop_off
|
|
848
|
+
# Insurance details for the rental.
|
|
849
|
+
attr_accessor :insurances
|
|
850
|
+
# Indicates if the customer was a no-show.
|
|
851
|
+
attr_accessor :no_show_indicator
|
|
852
|
+
# Pickup location details.
|
|
853
|
+
attr_accessor :pickup
|
|
854
|
+
# Name of the person renting the vehicle.
|
|
855
|
+
attr_accessor :renter_name
|
|
856
|
+
# Total cost breakdown for the rental.
|
|
857
|
+
attr_accessor :total
|
|
858
|
+
# Vehicle details for the rental.
|
|
859
|
+
attr_accessor :vehicle
|
|
860
|
+
|
|
861
|
+
def initialize(
|
|
862
|
+
affiliate: nil,
|
|
863
|
+
booking_number: nil,
|
|
864
|
+
carrier_name: nil,
|
|
865
|
+
customer_service_phone_number: nil,
|
|
866
|
+
days_rented: nil,
|
|
867
|
+
distance: nil,
|
|
868
|
+
drivers: nil,
|
|
869
|
+
drop_off: nil,
|
|
870
|
+
insurances: nil,
|
|
871
|
+
no_show_indicator: nil,
|
|
872
|
+
pickup: nil,
|
|
873
|
+
renter_name: nil,
|
|
874
|
+
total: nil,
|
|
875
|
+
vehicle: nil
|
|
876
|
+
)
|
|
877
|
+
@affiliate = affiliate
|
|
878
|
+
@booking_number = booking_number
|
|
879
|
+
@carrier_name = carrier_name
|
|
880
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
881
|
+
@days_rented = days_rented
|
|
882
|
+
@distance = distance
|
|
883
|
+
@drivers = drivers
|
|
884
|
+
@drop_off = drop_off
|
|
885
|
+
@insurances = insurances
|
|
886
|
+
@no_show_indicator = no_show_indicator
|
|
887
|
+
@pickup = pickup
|
|
888
|
+
@renter_name = renter_name
|
|
889
|
+
@total = total
|
|
890
|
+
@vehicle = vehicle
|
|
891
|
+
end
|
|
892
|
+
end
|
|
893
|
+
|
|
894
|
+
class EventDetails < ::Stripe::RequestParams
|
|
895
|
+
class Address < ::Stripe::RequestParams
|
|
896
|
+
# City, district, suburb, town, or village.
|
|
897
|
+
attr_accessor :city
|
|
898
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
899
|
+
attr_accessor :country
|
|
900
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
901
|
+
attr_accessor :line1
|
|
902
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
903
|
+
attr_accessor :line2
|
|
904
|
+
# ZIP or postal code.
|
|
905
|
+
attr_accessor :postal_code
|
|
906
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
907
|
+
attr_accessor :state
|
|
908
|
+
|
|
909
|
+
def initialize(
|
|
910
|
+
city: nil,
|
|
911
|
+
country: nil,
|
|
912
|
+
line1: nil,
|
|
913
|
+
line2: nil,
|
|
914
|
+
postal_code: nil,
|
|
915
|
+
state: nil
|
|
916
|
+
)
|
|
917
|
+
@city = city
|
|
918
|
+
@country = country
|
|
919
|
+
@line1 = line1
|
|
920
|
+
@line2 = line2
|
|
921
|
+
@postal_code = postal_code
|
|
922
|
+
@state = state
|
|
923
|
+
end
|
|
924
|
+
end
|
|
925
|
+
|
|
926
|
+
class Affiliate < ::Stripe::RequestParams
|
|
927
|
+
# The name of the affiliate that originated the purchase.
|
|
928
|
+
attr_accessor :name
|
|
929
|
+
|
|
930
|
+
def initialize(name: nil)
|
|
931
|
+
@name = name
|
|
932
|
+
end
|
|
933
|
+
end
|
|
934
|
+
|
|
935
|
+
class Delivery < ::Stripe::RequestParams
|
|
936
|
+
class Recipient < ::Stripe::RequestParams
|
|
937
|
+
# The email of the recipient the ticket is delivered to.
|
|
938
|
+
attr_accessor :email
|
|
939
|
+
# The name of the recipient the ticket is delivered to.
|
|
940
|
+
attr_accessor :name
|
|
941
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
942
|
+
attr_accessor :phone
|
|
943
|
+
|
|
944
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
945
|
+
@email = email
|
|
946
|
+
@name = name
|
|
947
|
+
@phone = phone
|
|
948
|
+
end
|
|
949
|
+
end
|
|
950
|
+
# The delivery method for the payment
|
|
951
|
+
attr_accessor :mode
|
|
952
|
+
# Details of the recipient.
|
|
953
|
+
attr_accessor :recipient
|
|
954
|
+
|
|
955
|
+
def initialize(mode: nil, recipient: nil)
|
|
956
|
+
@mode = mode
|
|
957
|
+
@recipient = recipient
|
|
958
|
+
end
|
|
959
|
+
end
|
|
960
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
961
|
+
attr_accessor :access_controlled_venue
|
|
962
|
+
# The event location's address.
|
|
963
|
+
attr_accessor :address
|
|
964
|
+
# Affiliate details for this purchase.
|
|
965
|
+
attr_accessor :affiliate
|
|
966
|
+
# The name of the company
|
|
967
|
+
attr_accessor :company
|
|
968
|
+
# Delivery details for this purchase.
|
|
969
|
+
attr_accessor :delivery
|
|
970
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
971
|
+
attr_accessor :ends_at
|
|
972
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
973
|
+
attr_accessor :genre
|
|
974
|
+
# The name of the event.
|
|
975
|
+
attr_accessor :name
|
|
976
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
977
|
+
attr_accessor :starts_at
|
|
978
|
+
|
|
979
|
+
def initialize(
|
|
980
|
+
access_controlled_venue: nil,
|
|
981
|
+
address: nil,
|
|
982
|
+
affiliate: nil,
|
|
983
|
+
company: nil,
|
|
984
|
+
delivery: nil,
|
|
985
|
+
ends_at: nil,
|
|
986
|
+
genre: nil,
|
|
987
|
+
name: nil,
|
|
988
|
+
starts_at: nil
|
|
989
|
+
)
|
|
990
|
+
@access_controlled_venue = access_controlled_venue
|
|
991
|
+
@address = address
|
|
992
|
+
@affiliate = affiliate
|
|
993
|
+
@company = company
|
|
994
|
+
@delivery = delivery
|
|
995
|
+
@ends_at = ends_at
|
|
996
|
+
@genre = genre
|
|
997
|
+
@name = name
|
|
998
|
+
@starts_at = starts_at
|
|
999
|
+
end
|
|
1000
|
+
end
|
|
1001
|
+
|
|
1002
|
+
class FleetDatum < ::Stripe::RequestParams
|
|
1003
|
+
class PrimaryFuelFields < ::Stripe::RequestParams
|
|
1004
|
+
# The fuel brand.
|
|
1005
|
+
attr_accessor :brand
|
|
1006
|
+
|
|
1007
|
+
def initialize(brand: nil)
|
|
1008
|
+
@brand = brand
|
|
1009
|
+
end
|
|
1010
|
+
end
|
|
1011
|
+
|
|
1012
|
+
class Station < ::Stripe::RequestParams
|
|
1013
|
+
class ServiceLocation < ::Stripe::RequestParams
|
|
1014
|
+
# City, district, suburb, town, or village.
|
|
1015
|
+
attr_accessor :city
|
|
1016
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1017
|
+
attr_accessor :country
|
|
1018
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1019
|
+
attr_accessor :line1
|
|
1020
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1021
|
+
attr_accessor :line2
|
|
1022
|
+
# ZIP or postal code.
|
|
1023
|
+
attr_accessor :postal_code
|
|
1024
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1025
|
+
attr_accessor :state
|
|
1026
|
+
|
|
1027
|
+
def initialize(
|
|
1028
|
+
city: nil,
|
|
1029
|
+
country: nil,
|
|
1030
|
+
line1: nil,
|
|
1031
|
+
line2: nil,
|
|
1032
|
+
postal_code: nil,
|
|
1033
|
+
state: nil
|
|
1034
|
+
)
|
|
1035
|
+
@city = city
|
|
1036
|
+
@country = country
|
|
1037
|
+
@line1 = line1
|
|
1038
|
+
@line2 = line2
|
|
1039
|
+
@postal_code = postal_code
|
|
1040
|
+
@state = state
|
|
1041
|
+
end
|
|
1042
|
+
end
|
|
1043
|
+
# Additional contact information for the station.
|
|
1044
|
+
attr_accessor :additional_contact_info
|
|
1045
|
+
# The customer service phone number of the station.
|
|
1046
|
+
attr_accessor :customer_service_phone_number
|
|
1047
|
+
# The partner ID code of the station.
|
|
1048
|
+
attr_accessor :partner_id_code
|
|
1049
|
+
# The phone number of the station.
|
|
1050
|
+
attr_accessor :phone_number
|
|
1051
|
+
# The physical location of the station.
|
|
1052
|
+
attr_accessor :service_location
|
|
1053
|
+
# The URL of the station.
|
|
1054
|
+
attr_accessor :url
|
|
1055
|
+
|
|
1056
|
+
def initialize(
|
|
1057
|
+
additional_contact_info: nil,
|
|
1058
|
+
customer_service_phone_number: nil,
|
|
1059
|
+
partner_id_code: nil,
|
|
1060
|
+
phone_number: nil,
|
|
1061
|
+
service_location: nil,
|
|
1062
|
+
url: nil
|
|
1063
|
+
)
|
|
1064
|
+
@additional_contact_info = additional_contact_info
|
|
1065
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1066
|
+
@partner_id_code = partner_id_code
|
|
1067
|
+
@phone_number = phone_number
|
|
1068
|
+
@service_location = service_location
|
|
1069
|
+
@url = url
|
|
1070
|
+
end
|
|
1071
|
+
end
|
|
1072
|
+
|
|
1073
|
+
class Vat < ::Stripe::RequestParams
|
|
1074
|
+
# Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
1075
|
+
attr_accessor :iob_indicator
|
|
1076
|
+
|
|
1077
|
+
def initialize(iob_indicator: nil)
|
|
1078
|
+
@iob_indicator = iob_indicator
|
|
1079
|
+
end
|
|
1080
|
+
end
|
|
1081
|
+
# Primary fuel fields for the transaction.
|
|
1082
|
+
attr_accessor :primary_fuel_fields
|
|
1083
|
+
# Station and acceptor location details.
|
|
1084
|
+
attr_accessor :station
|
|
1085
|
+
# VAT and Invoice on Behalf (IOB) details.
|
|
1086
|
+
attr_accessor :vat
|
|
1087
|
+
|
|
1088
|
+
def initialize(primary_fuel_fields: nil, station: nil, vat: nil)
|
|
1089
|
+
@primary_fuel_fields = primary_fuel_fields
|
|
1090
|
+
@station = station
|
|
1091
|
+
@vat = vat
|
|
1092
|
+
end
|
|
1093
|
+
end
|
|
1094
|
+
|
|
1095
|
+
class Flight < ::Stripe::RequestParams
|
|
1096
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1097
|
+
# The name of the affiliate that originated the purchase.
|
|
1098
|
+
attr_accessor :name
|
|
1099
|
+
|
|
1100
|
+
def initialize(name: nil)
|
|
1101
|
+
@name = name
|
|
1102
|
+
end
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1105
|
+
class Delivery < ::Stripe::RequestParams
|
|
1106
|
+
class Recipient < ::Stripe::RequestParams
|
|
1107
|
+
# The email of the recipient the ticket is delivered to.
|
|
1108
|
+
attr_accessor :email
|
|
1109
|
+
# The name of the recipient the ticket is delivered to.
|
|
1110
|
+
attr_accessor :name
|
|
1111
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1112
|
+
attr_accessor :phone
|
|
1113
|
+
|
|
1114
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
1115
|
+
@email = email
|
|
1116
|
+
@name = name
|
|
1117
|
+
@phone = phone
|
|
1118
|
+
end
|
|
1119
|
+
end
|
|
1120
|
+
# The delivery method for the payment
|
|
1121
|
+
attr_accessor :mode
|
|
1122
|
+
# Details of the recipient.
|
|
1123
|
+
attr_accessor :recipient
|
|
1124
|
+
|
|
1125
|
+
def initialize(mode: nil, recipient: nil)
|
|
1126
|
+
@mode = mode
|
|
1127
|
+
@recipient = recipient
|
|
1128
|
+
end
|
|
1129
|
+
end
|
|
1130
|
+
|
|
1131
|
+
class Passenger < ::Stripe::RequestParams
|
|
1132
|
+
# Full name of the person or entity on the flight reservation.
|
|
1133
|
+
attr_accessor :name
|
|
1134
|
+
|
|
1135
|
+
def initialize(name: nil)
|
|
1136
|
+
@name = name
|
|
1137
|
+
end
|
|
1138
|
+
end
|
|
1139
|
+
|
|
1140
|
+
class Segment < ::Stripe::RequestParams
|
|
1141
|
+
# The flight segment amount.
|
|
1142
|
+
attr_accessor :amount
|
|
1143
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
1144
|
+
attr_accessor :arrival_airport
|
|
1145
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1146
|
+
attr_accessor :arrives_at
|
|
1147
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
1148
|
+
attr_accessor :carrier
|
|
1149
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1150
|
+
attr_accessor :departs_at
|
|
1151
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
1152
|
+
attr_accessor :departure_airport
|
|
1153
|
+
# The flight number associated with the segment
|
|
1154
|
+
attr_accessor :flight_number
|
|
1155
|
+
# The fare class for the segment.
|
|
1156
|
+
attr_accessor :service_class
|
|
1157
|
+
|
|
1158
|
+
def initialize(
|
|
1159
|
+
amount: nil,
|
|
1160
|
+
arrival_airport: nil,
|
|
1161
|
+
arrives_at: nil,
|
|
1162
|
+
carrier: nil,
|
|
1163
|
+
departs_at: nil,
|
|
1164
|
+
departure_airport: nil,
|
|
1165
|
+
flight_number: nil,
|
|
1166
|
+
service_class: nil
|
|
1167
|
+
)
|
|
1168
|
+
@amount = amount
|
|
1169
|
+
@arrival_airport = arrival_airport
|
|
1170
|
+
@arrives_at = arrives_at
|
|
1171
|
+
@carrier = carrier
|
|
1172
|
+
@departs_at = departs_at
|
|
1173
|
+
@departure_airport = departure_airport
|
|
1174
|
+
@flight_number = flight_number
|
|
1175
|
+
@service_class = service_class
|
|
1176
|
+
end
|
|
1177
|
+
end
|
|
1178
|
+
# Affiliate details for this purchase.
|
|
1179
|
+
attr_accessor :affiliate
|
|
1180
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
1181
|
+
attr_accessor :agency_number
|
|
1182
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
1183
|
+
attr_accessor :carrier
|
|
1184
|
+
# Delivery details for this purchase.
|
|
1185
|
+
attr_accessor :delivery
|
|
1186
|
+
# The name of the person or entity on the reservation.
|
|
1187
|
+
attr_accessor :passenger_name
|
|
1188
|
+
# The details of the passengers in the travel reservation.
|
|
1189
|
+
attr_accessor :passengers
|
|
1190
|
+
# The individual flight segments associated with the trip.
|
|
1191
|
+
attr_accessor :segments
|
|
1192
|
+
# The ticket number associated with the travel reservation.
|
|
1193
|
+
attr_accessor :ticket_number
|
|
1194
|
+
|
|
1195
|
+
def initialize(
|
|
1196
|
+
affiliate: nil,
|
|
1197
|
+
agency_number: nil,
|
|
1198
|
+
carrier: nil,
|
|
1199
|
+
delivery: nil,
|
|
1200
|
+
passenger_name: nil,
|
|
1201
|
+
passengers: nil,
|
|
1202
|
+
segments: nil,
|
|
1203
|
+
ticket_number: nil
|
|
1204
|
+
)
|
|
1205
|
+
@affiliate = affiliate
|
|
1206
|
+
@agency_number = agency_number
|
|
1207
|
+
@carrier = carrier
|
|
1208
|
+
@delivery = delivery
|
|
1209
|
+
@passenger_name = passenger_name
|
|
1210
|
+
@passengers = passengers
|
|
1211
|
+
@segments = segments
|
|
1212
|
+
@ticket_number = ticket_number
|
|
1213
|
+
end
|
|
1214
|
+
end
|
|
1215
|
+
|
|
1216
|
+
class FlightDatum < ::Stripe::RequestParams
|
|
1217
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1218
|
+
# Affiliate partner code.
|
|
1219
|
+
attr_accessor :code
|
|
1220
|
+
# Name of affiliate partner.
|
|
1221
|
+
attr_accessor :name
|
|
1222
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1223
|
+
attr_accessor :travel_authorization_code
|
|
1224
|
+
|
|
1225
|
+
def initialize(code: nil, name: nil, travel_authorization_code: nil)
|
|
1226
|
+
@code = code
|
|
1227
|
+
@name = name
|
|
1228
|
+
@travel_authorization_code = travel_authorization_code
|
|
1229
|
+
end
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1232
|
+
class Insurance < ::Stripe::RequestParams
|
|
1233
|
+
# Insurance cost.
|
|
1234
|
+
attr_accessor :amount
|
|
1235
|
+
# Insurance currency.
|
|
1236
|
+
attr_accessor :currency
|
|
1237
|
+
# Insurance company name.
|
|
1238
|
+
attr_accessor :insurance_company_name
|
|
1239
|
+
# Type of insurance.
|
|
1240
|
+
attr_accessor :insurance_type
|
|
1241
|
+
|
|
1242
|
+
def initialize(
|
|
1243
|
+
amount: nil,
|
|
1244
|
+
currency: nil,
|
|
1245
|
+
insurance_company_name: nil,
|
|
1246
|
+
insurance_type: nil
|
|
1247
|
+
)
|
|
1248
|
+
@amount = amount
|
|
1249
|
+
@currency = currency
|
|
1250
|
+
@insurance_company_name = insurance_company_name
|
|
1251
|
+
@insurance_type = insurance_type
|
|
1252
|
+
end
|
|
1253
|
+
end
|
|
1254
|
+
|
|
1255
|
+
class Passenger < ::Stripe::RequestParams
|
|
1256
|
+
# Passenger's full name.
|
|
1257
|
+
attr_accessor :name
|
|
1258
|
+
|
|
1259
|
+
def initialize(name: nil)
|
|
1260
|
+
@name = name
|
|
1261
|
+
end
|
|
1262
|
+
end
|
|
1263
|
+
|
|
1264
|
+
class Segment < ::Stripe::RequestParams
|
|
1265
|
+
class Arrival < ::Stripe::RequestParams
|
|
1266
|
+
# Arrival airport IATA code.
|
|
1267
|
+
attr_accessor :airport
|
|
1268
|
+
# Arrival date/time.
|
|
1269
|
+
attr_accessor :arrives_at
|
|
1270
|
+
# Arrival city.
|
|
1271
|
+
attr_accessor :city
|
|
1272
|
+
# Arrival country.
|
|
1273
|
+
attr_accessor :country
|
|
1274
|
+
|
|
1275
|
+
def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
|
|
1276
|
+
@airport = airport
|
|
1277
|
+
@arrives_at = arrives_at
|
|
1278
|
+
@city = city
|
|
1279
|
+
@country = country
|
|
1280
|
+
end
|
|
1281
|
+
end
|
|
1282
|
+
|
|
1283
|
+
class Departure < ::Stripe::RequestParams
|
|
1284
|
+
# Departure airport IATA code.
|
|
1285
|
+
attr_accessor :airport
|
|
1286
|
+
# Departure city.
|
|
1287
|
+
attr_accessor :city
|
|
1288
|
+
# Departure country.
|
|
1289
|
+
attr_accessor :country
|
|
1290
|
+
# Departure date/time.
|
|
1291
|
+
attr_accessor :departs_at
|
|
1292
|
+
|
|
1293
|
+
def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
|
|
1294
|
+
@airport = airport
|
|
1295
|
+
@city = city
|
|
1296
|
+
@country = country
|
|
1297
|
+
@departs_at = departs_at
|
|
1298
|
+
end
|
|
1299
|
+
end
|
|
1300
|
+
# Segment fare amount.
|
|
1301
|
+
attr_accessor :amount
|
|
1302
|
+
# Arrival details.
|
|
1303
|
+
attr_accessor :arrival
|
|
1304
|
+
# Airline carrier code.
|
|
1305
|
+
attr_accessor :carrier_code
|
|
1306
|
+
# Carrier name.
|
|
1307
|
+
attr_accessor :carrier_name
|
|
1308
|
+
# Segment currency.
|
|
1309
|
+
attr_accessor :currency
|
|
1310
|
+
# Departure details.
|
|
1311
|
+
attr_accessor :departure
|
|
1312
|
+
# Exchange ticket number.
|
|
1313
|
+
attr_accessor :exchange_ticket_number
|
|
1314
|
+
# Fare basis code.
|
|
1315
|
+
attr_accessor :fare_basis_code
|
|
1316
|
+
# Additional fees.
|
|
1317
|
+
attr_accessor :fees
|
|
1318
|
+
# Flight number.
|
|
1319
|
+
attr_accessor :flight_number
|
|
1320
|
+
# Stopover indicator.
|
|
1321
|
+
attr_accessor :is_stop_over_indicator
|
|
1322
|
+
# Refundable ticket indicator.
|
|
1323
|
+
attr_accessor :refundable
|
|
1324
|
+
# Class of service.
|
|
1325
|
+
attr_accessor :service_class
|
|
1326
|
+
# Tax amount for segment.
|
|
1327
|
+
attr_accessor :tax_amount
|
|
1328
|
+
# Ticket number.
|
|
1329
|
+
attr_accessor :ticket_number
|
|
1330
|
+
|
|
1331
|
+
def initialize(
|
|
1332
|
+
amount: nil,
|
|
1333
|
+
arrival: nil,
|
|
1334
|
+
carrier_code: nil,
|
|
1335
|
+
carrier_name: nil,
|
|
1336
|
+
currency: nil,
|
|
1337
|
+
departure: nil,
|
|
1338
|
+
exchange_ticket_number: nil,
|
|
1339
|
+
fare_basis_code: nil,
|
|
1340
|
+
fees: nil,
|
|
1341
|
+
flight_number: nil,
|
|
1342
|
+
is_stop_over_indicator: nil,
|
|
1343
|
+
refundable: nil,
|
|
1344
|
+
service_class: nil,
|
|
1345
|
+
tax_amount: nil,
|
|
1346
|
+
ticket_number: nil
|
|
1347
|
+
)
|
|
1348
|
+
@amount = amount
|
|
1349
|
+
@arrival = arrival
|
|
1350
|
+
@carrier_code = carrier_code
|
|
1351
|
+
@carrier_name = carrier_name
|
|
1352
|
+
@currency = currency
|
|
1353
|
+
@departure = departure
|
|
1354
|
+
@exchange_ticket_number = exchange_ticket_number
|
|
1355
|
+
@fare_basis_code = fare_basis_code
|
|
1356
|
+
@fees = fees
|
|
1357
|
+
@flight_number = flight_number
|
|
1358
|
+
@is_stop_over_indicator = is_stop_over_indicator
|
|
1359
|
+
@refundable = refundable
|
|
1360
|
+
@service_class = service_class
|
|
1361
|
+
@tax_amount = tax_amount
|
|
1362
|
+
@ticket_number = ticket_number
|
|
1363
|
+
end
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1366
|
+
class Total < ::Stripe::RequestParams
|
|
1367
|
+
class Discounts < ::Stripe::RequestParams
|
|
1368
|
+
# Corporate client discount code.
|
|
1369
|
+
attr_accessor :corporate_client_code
|
|
1370
|
+
|
|
1371
|
+
def initialize(corporate_client_code: nil)
|
|
1372
|
+
@corporate_client_code = corporate_client_code
|
|
1373
|
+
end
|
|
1374
|
+
end
|
|
1375
|
+
|
|
1376
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1377
|
+
# Amount of additional charges.
|
|
1378
|
+
attr_accessor :amount
|
|
1379
|
+
# Type of additional charges.
|
|
1380
|
+
attr_accessor :type
|
|
1381
|
+
|
|
1382
|
+
def initialize(amount: nil, type: nil)
|
|
1383
|
+
@amount = amount
|
|
1384
|
+
@type = type
|
|
1385
|
+
end
|
|
1386
|
+
end
|
|
1387
|
+
|
|
1388
|
+
class Tax < ::Stripe::RequestParams
|
|
1389
|
+
class Tax < ::Stripe::RequestParams
|
|
1390
|
+
# Tax amount.
|
|
1391
|
+
attr_accessor :amount
|
|
1392
|
+
# Tax rate.
|
|
1393
|
+
attr_accessor :rate
|
|
1394
|
+
# Type of tax.
|
|
1395
|
+
attr_accessor :type
|
|
1396
|
+
|
|
1397
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1398
|
+
@amount = amount
|
|
1399
|
+
@rate = rate
|
|
1400
|
+
@type = type
|
|
1401
|
+
end
|
|
1402
|
+
end
|
|
1403
|
+
# Array of tax details.
|
|
1404
|
+
attr_accessor :taxes
|
|
1405
|
+
|
|
1406
|
+
def initialize(taxes: nil)
|
|
1407
|
+
@taxes = taxes
|
|
1408
|
+
end
|
|
1409
|
+
end
|
|
1410
|
+
# Total flight amount.
|
|
1411
|
+
attr_accessor :amount
|
|
1412
|
+
# Reason for credit.
|
|
1413
|
+
attr_accessor :credit_reason
|
|
1414
|
+
# Total currency.
|
|
1415
|
+
attr_accessor :currency
|
|
1416
|
+
# Discount details.
|
|
1417
|
+
attr_accessor :discounts
|
|
1418
|
+
# Additional charges.
|
|
1419
|
+
attr_accessor :extra_charges
|
|
1420
|
+
# Tax breakdown.
|
|
1421
|
+
attr_accessor :tax
|
|
1422
|
+
|
|
1423
|
+
def initialize(
|
|
1424
|
+
amount: nil,
|
|
1425
|
+
credit_reason: nil,
|
|
1426
|
+
currency: nil,
|
|
1427
|
+
discounts: nil,
|
|
1428
|
+
extra_charges: nil,
|
|
1429
|
+
tax: nil
|
|
1430
|
+
)
|
|
1431
|
+
@amount = amount
|
|
1432
|
+
@credit_reason = credit_reason
|
|
1433
|
+
@currency = currency
|
|
1434
|
+
@discounts = discounts
|
|
1435
|
+
@extra_charges = extra_charges
|
|
1436
|
+
@tax = tax
|
|
1437
|
+
end
|
|
1438
|
+
end
|
|
1439
|
+
# Affiliate details if applicable.
|
|
1440
|
+
attr_accessor :affiliate
|
|
1441
|
+
# Reservation reference.
|
|
1442
|
+
attr_accessor :booking_number
|
|
1443
|
+
# Computerized reservation system used to make the reservation and purchase the ticket.
|
|
1444
|
+
attr_accessor :computerized_reservation_system
|
|
1445
|
+
# Ticket restrictions.
|
|
1446
|
+
attr_accessor :endorsements_and_restrictions
|
|
1447
|
+
# List of insurances.
|
|
1448
|
+
attr_accessor :insurances
|
|
1449
|
+
# List of passengers.
|
|
1450
|
+
attr_accessor :passengers
|
|
1451
|
+
# List of flight segments.
|
|
1452
|
+
attr_accessor :segments
|
|
1453
|
+
# Electronic ticket indicator.
|
|
1454
|
+
attr_accessor :ticket_electronically_issued_indicator
|
|
1455
|
+
# Total cost breakdown.
|
|
1456
|
+
attr_accessor :total
|
|
1457
|
+
# Type of flight transaction.
|
|
1458
|
+
attr_accessor :transaction_type
|
|
1459
|
+
|
|
1460
|
+
def initialize(
|
|
1461
|
+
affiliate: nil,
|
|
1462
|
+
booking_number: nil,
|
|
1463
|
+
computerized_reservation_system: nil,
|
|
1464
|
+
endorsements_and_restrictions: nil,
|
|
1465
|
+
insurances: nil,
|
|
1466
|
+
passengers: nil,
|
|
1467
|
+
segments: nil,
|
|
1468
|
+
ticket_electronically_issued_indicator: nil,
|
|
1469
|
+
total: nil,
|
|
1470
|
+
transaction_type: nil
|
|
1471
|
+
)
|
|
1472
|
+
@affiliate = affiliate
|
|
1473
|
+
@booking_number = booking_number
|
|
1474
|
+
@computerized_reservation_system = computerized_reservation_system
|
|
1475
|
+
@endorsements_and_restrictions = endorsements_and_restrictions
|
|
1476
|
+
@insurances = insurances
|
|
1477
|
+
@passengers = passengers
|
|
1478
|
+
@segments = segments
|
|
1479
|
+
@ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
|
|
1480
|
+
@total = total
|
|
1481
|
+
@transaction_type = transaction_type
|
|
1482
|
+
end
|
|
1483
|
+
end
|
|
1484
|
+
|
|
1485
|
+
class Lodging < ::Stripe::RequestParams
|
|
1486
|
+
class Address < ::Stripe::RequestParams
|
|
1487
|
+
# City, district, suburb, town, or village.
|
|
1488
|
+
attr_accessor :city
|
|
1489
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1490
|
+
attr_accessor :country
|
|
1491
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1492
|
+
attr_accessor :line1
|
|
1493
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1494
|
+
attr_accessor :line2
|
|
1495
|
+
# ZIP or postal code.
|
|
1496
|
+
attr_accessor :postal_code
|
|
1497
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1498
|
+
attr_accessor :state
|
|
1499
|
+
|
|
1500
|
+
def initialize(
|
|
1501
|
+
city: nil,
|
|
1502
|
+
country: nil,
|
|
1503
|
+
line1: nil,
|
|
1504
|
+
line2: nil,
|
|
1505
|
+
postal_code: nil,
|
|
1506
|
+
state: nil
|
|
1507
|
+
)
|
|
1508
|
+
@city = city
|
|
1509
|
+
@country = country
|
|
1510
|
+
@line1 = line1
|
|
1511
|
+
@line2 = line2
|
|
1512
|
+
@postal_code = postal_code
|
|
1513
|
+
@state = state
|
|
1514
|
+
end
|
|
1515
|
+
end
|
|
1516
|
+
|
|
1517
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1518
|
+
# The name of the affiliate that originated the purchase.
|
|
1519
|
+
attr_accessor :name
|
|
1520
|
+
|
|
1521
|
+
def initialize(name: nil)
|
|
1522
|
+
@name = name
|
|
1523
|
+
end
|
|
1524
|
+
end
|
|
1525
|
+
|
|
1526
|
+
class Delivery < ::Stripe::RequestParams
|
|
1527
|
+
class Recipient < ::Stripe::RequestParams
|
|
1528
|
+
# The email of the recipient the ticket is delivered to.
|
|
1529
|
+
attr_accessor :email
|
|
1530
|
+
# The name of the recipient the ticket is delivered to.
|
|
1531
|
+
attr_accessor :name
|
|
1532
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1533
|
+
attr_accessor :phone
|
|
1534
|
+
|
|
1535
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
1536
|
+
@email = email
|
|
1537
|
+
@name = name
|
|
1538
|
+
@phone = phone
|
|
1539
|
+
end
|
|
1540
|
+
end
|
|
1541
|
+
# The delivery method for the payment
|
|
1542
|
+
attr_accessor :mode
|
|
1543
|
+
# Details of the recipient.
|
|
1544
|
+
attr_accessor :recipient
|
|
1545
|
+
|
|
1546
|
+
def initialize(mode: nil, recipient: nil)
|
|
1547
|
+
@mode = mode
|
|
1548
|
+
@recipient = recipient
|
|
1549
|
+
end
|
|
1550
|
+
end
|
|
1551
|
+
|
|
1552
|
+
class Passenger < ::Stripe::RequestParams
|
|
1553
|
+
# Full name of the person or entity on the lodging reservation.
|
|
1554
|
+
attr_accessor :name
|
|
1555
|
+
|
|
1556
|
+
def initialize(name: nil)
|
|
1557
|
+
@name = name
|
|
1558
|
+
end
|
|
1559
|
+
end
|
|
1560
|
+
# The lodging location's address.
|
|
1561
|
+
attr_accessor :address
|
|
1562
|
+
# The number of adults on the booking
|
|
1563
|
+
attr_accessor :adults
|
|
1564
|
+
# Affiliate details for this purchase.
|
|
1565
|
+
attr_accessor :affiliate
|
|
1566
|
+
# The booking number associated with the lodging reservation.
|
|
1567
|
+
attr_accessor :booking_number
|
|
1568
|
+
# The lodging category
|
|
1569
|
+
attr_accessor :category
|
|
1570
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
1571
|
+
attr_accessor :checkin_at
|
|
1572
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
1573
|
+
attr_accessor :checkout_at
|
|
1574
|
+
# The customer service phone number of the lodging company.
|
|
1575
|
+
attr_accessor :customer_service_phone_number
|
|
1576
|
+
# The daily lodging room rate.
|
|
1577
|
+
attr_accessor :daily_room_rate_amount
|
|
1578
|
+
# Delivery details for this purchase.
|
|
1579
|
+
attr_accessor :delivery
|
|
1580
|
+
# List of additional charges being billed.
|
|
1581
|
+
attr_accessor :extra_charges
|
|
1582
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
1583
|
+
attr_accessor :fire_safety_act_compliance
|
|
1584
|
+
# The name of the lodging location.
|
|
1585
|
+
attr_accessor :name
|
|
1586
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
1587
|
+
attr_accessor :no_show
|
|
1588
|
+
# The number of rooms on the booking
|
|
1589
|
+
attr_accessor :number_of_rooms
|
|
1590
|
+
# The details of the passengers in the travel reservation
|
|
1591
|
+
attr_accessor :passengers
|
|
1592
|
+
# The phone number of the lodging location.
|
|
1593
|
+
attr_accessor :property_phone_number
|
|
1594
|
+
# The room class for this purchase.
|
|
1595
|
+
attr_accessor :room_class
|
|
1596
|
+
# The number of room nights
|
|
1597
|
+
attr_accessor :room_nights
|
|
1598
|
+
# The total tax amount associating with the room reservation.
|
|
1599
|
+
attr_accessor :total_room_tax_amount
|
|
1600
|
+
# The total tax amount
|
|
1601
|
+
attr_accessor :total_tax_amount
|
|
1602
|
+
|
|
1603
|
+
def initialize(
|
|
1604
|
+
address: nil,
|
|
1605
|
+
adults: nil,
|
|
1606
|
+
affiliate: nil,
|
|
1607
|
+
booking_number: nil,
|
|
1608
|
+
category: nil,
|
|
1609
|
+
checkin_at: nil,
|
|
1610
|
+
checkout_at: nil,
|
|
1611
|
+
customer_service_phone_number: nil,
|
|
1612
|
+
daily_room_rate_amount: nil,
|
|
1613
|
+
delivery: nil,
|
|
1614
|
+
extra_charges: nil,
|
|
1615
|
+
fire_safety_act_compliance: nil,
|
|
1616
|
+
name: nil,
|
|
1617
|
+
no_show: nil,
|
|
1618
|
+
number_of_rooms: nil,
|
|
1619
|
+
passengers: nil,
|
|
1620
|
+
property_phone_number: nil,
|
|
1621
|
+
room_class: nil,
|
|
1622
|
+
room_nights: nil,
|
|
1623
|
+
total_room_tax_amount: nil,
|
|
1624
|
+
total_tax_amount: nil
|
|
1625
|
+
)
|
|
1626
|
+
@address = address
|
|
1627
|
+
@adults = adults
|
|
1628
|
+
@affiliate = affiliate
|
|
1629
|
+
@booking_number = booking_number
|
|
1630
|
+
@category = category
|
|
1631
|
+
@checkin_at = checkin_at
|
|
1632
|
+
@checkout_at = checkout_at
|
|
1633
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1634
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
|
1635
|
+
@delivery = delivery
|
|
1636
|
+
@extra_charges = extra_charges
|
|
1637
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
1638
|
+
@name = name
|
|
1639
|
+
@no_show = no_show
|
|
1640
|
+
@number_of_rooms = number_of_rooms
|
|
1641
|
+
@passengers = passengers
|
|
1642
|
+
@property_phone_number = property_phone_number
|
|
1643
|
+
@room_class = room_class
|
|
1644
|
+
@room_nights = room_nights
|
|
1645
|
+
@total_room_tax_amount = total_room_tax_amount
|
|
1646
|
+
@total_tax_amount = total_tax_amount
|
|
1647
|
+
end
|
|
1648
|
+
end
|
|
1649
|
+
|
|
1650
|
+
class LodgingDatum < ::Stripe::RequestParams
|
|
1651
|
+
class Accommodation < ::Stripe::RequestParams
|
|
1652
|
+
# Type of accommodation.
|
|
1653
|
+
attr_accessor :accommodation_type
|
|
1654
|
+
# Bed type.
|
|
1655
|
+
attr_accessor :bed_type
|
|
1656
|
+
# Daily accommodation rate in cents.
|
|
1657
|
+
attr_accessor :daily_rate_amount
|
|
1658
|
+
# Number of nights.
|
|
1659
|
+
attr_accessor :nights
|
|
1660
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
1661
|
+
attr_accessor :number_of_rooms
|
|
1662
|
+
# Rate type.
|
|
1663
|
+
attr_accessor :rate_type
|
|
1664
|
+
# Whether smoking is allowed.
|
|
1665
|
+
attr_accessor :smoking_indicator
|
|
1666
|
+
|
|
1667
|
+
def initialize(
|
|
1668
|
+
accommodation_type: nil,
|
|
1669
|
+
bed_type: nil,
|
|
1670
|
+
daily_rate_amount: nil,
|
|
1671
|
+
nights: nil,
|
|
1672
|
+
number_of_rooms: nil,
|
|
1673
|
+
rate_type: nil,
|
|
1674
|
+
smoking_indicator: nil
|
|
1675
|
+
)
|
|
1676
|
+
@accommodation_type = accommodation_type
|
|
1677
|
+
@bed_type = bed_type
|
|
1678
|
+
@daily_rate_amount = daily_rate_amount
|
|
1679
|
+
@nights = nights
|
|
1680
|
+
@number_of_rooms = number_of_rooms
|
|
1681
|
+
@rate_type = rate_type
|
|
1682
|
+
@smoking_indicator = smoking_indicator
|
|
1683
|
+
end
|
|
1684
|
+
end
|
|
1685
|
+
|
|
1686
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1687
|
+
# Affiliate partner code.
|
|
1688
|
+
attr_accessor :code
|
|
1689
|
+
# Affiliate partner name.
|
|
1690
|
+
attr_accessor :name
|
|
1691
|
+
|
|
1692
|
+
def initialize(code: nil, name: nil)
|
|
1693
|
+
@code = code
|
|
1694
|
+
@name = name
|
|
1695
|
+
end
|
|
1696
|
+
end
|
|
1697
|
+
|
|
1698
|
+
class Guest < ::Stripe::RequestParams
|
|
1699
|
+
# Guest's full name.
|
|
1700
|
+
attr_accessor :name
|
|
1701
|
+
|
|
1702
|
+
def initialize(name: nil)
|
|
1703
|
+
@name = name
|
|
1704
|
+
end
|
|
1705
|
+
end
|
|
1706
|
+
|
|
1707
|
+
class Host < ::Stripe::RequestParams
|
|
1708
|
+
class Address < ::Stripe::RequestParams
|
|
1709
|
+
# City, district, suburb, town, or village.
|
|
1710
|
+
attr_accessor :city
|
|
1711
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1712
|
+
attr_accessor :country
|
|
1713
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1714
|
+
attr_accessor :line1
|
|
1715
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1716
|
+
attr_accessor :line2
|
|
1717
|
+
# ZIP or postal code.
|
|
1718
|
+
attr_accessor :postal_code
|
|
1719
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1720
|
+
attr_accessor :state
|
|
1721
|
+
|
|
1722
|
+
def initialize(
|
|
1723
|
+
city: nil,
|
|
1724
|
+
country: nil,
|
|
1725
|
+
line1: nil,
|
|
1726
|
+
line2: nil,
|
|
1727
|
+
postal_code: nil,
|
|
1728
|
+
state: nil
|
|
1729
|
+
)
|
|
1730
|
+
@city = city
|
|
1731
|
+
@country = country
|
|
1732
|
+
@line1 = line1
|
|
1733
|
+
@line2 = line2
|
|
1734
|
+
@postal_code = postal_code
|
|
1735
|
+
@state = state
|
|
1736
|
+
end
|
|
1737
|
+
end
|
|
1738
|
+
# Address of the host.
|
|
1739
|
+
attr_accessor :address
|
|
1740
|
+
# Host's country of domicile.
|
|
1741
|
+
attr_accessor :country_of_domicile
|
|
1742
|
+
# Reference number for the host.
|
|
1743
|
+
attr_accessor :host_reference
|
|
1744
|
+
# Type of host.
|
|
1745
|
+
attr_accessor :host_type
|
|
1746
|
+
# Name of the lodging property or host.
|
|
1747
|
+
attr_accessor :name
|
|
1748
|
+
# Total number of reservations for the host.
|
|
1749
|
+
attr_accessor :number_of_reservations
|
|
1750
|
+
# Property phone number.
|
|
1751
|
+
attr_accessor :property_phone_number
|
|
1752
|
+
# Host's registration date.
|
|
1753
|
+
attr_accessor :registered_at
|
|
1754
|
+
|
|
1755
|
+
def initialize(
|
|
1756
|
+
address: nil,
|
|
1757
|
+
country_of_domicile: nil,
|
|
1758
|
+
host_reference: nil,
|
|
1759
|
+
host_type: nil,
|
|
1760
|
+
name: nil,
|
|
1761
|
+
number_of_reservations: nil,
|
|
1762
|
+
property_phone_number: nil,
|
|
1763
|
+
registered_at: nil
|
|
1764
|
+
)
|
|
1765
|
+
@address = address
|
|
1766
|
+
@country_of_domicile = country_of_domicile
|
|
1767
|
+
@host_reference = host_reference
|
|
1768
|
+
@host_type = host_type
|
|
1769
|
+
@name = name
|
|
1770
|
+
@number_of_reservations = number_of_reservations
|
|
1771
|
+
@property_phone_number = property_phone_number
|
|
1772
|
+
@registered_at = registered_at
|
|
1773
|
+
end
|
|
1774
|
+
end
|
|
1775
|
+
|
|
1776
|
+
class Insurance < ::Stripe::RequestParams
|
|
1777
|
+
# Price of the insurance coverage in cents.
|
|
1778
|
+
attr_accessor :amount
|
|
1779
|
+
# Currency of the insurance amount.
|
|
1780
|
+
attr_accessor :currency
|
|
1781
|
+
# Name of the insurance company.
|
|
1782
|
+
attr_accessor :insurance_company_name
|
|
1783
|
+
# Type of insurance coverage.
|
|
1784
|
+
attr_accessor :insurance_type
|
|
1785
|
+
|
|
1786
|
+
def initialize(
|
|
1787
|
+
amount: nil,
|
|
1788
|
+
currency: nil,
|
|
1789
|
+
insurance_company_name: nil,
|
|
1790
|
+
insurance_type: nil
|
|
1791
|
+
)
|
|
1792
|
+
@amount = amount
|
|
1793
|
+
@currency = currency
|
|
1794
|
+
@insurance_company_name = insurance_company_name
|
|
1795
|
+
@insurance_type = insurance_type
|
|
1796
|
+
end
|
|
1797
|
+
end
|
|
1798
|
+
|
|
1799
|
+
class Total < ::Stripe::RequestParams
|
|
1800
|
+
class Discounts < ::Stripe::RequestParams
|
|
1801
|
+
# Corporate client discount code.
|
|
1802
|
+
attr_accessor :corporate_client_code
|
|
1803
|
+
# Coupon code.
|
|
1804
|
+
attr_accessor :coupon
|
|
57
1805
|
|
|
58
|
-
def initialize(
|
|
59
|
-
@
|
|
60
|
-
@
|
|
61
|
-
@sold_by = sold_by
|
|
1806
|
+
def initialize(corporate_client_code: nil, coupon: nil)
|
|
1807
|
+
@corporate_client_code = corporate_client_code
|
|
1808
|
+
@coupon = coupon
|
|
62
1809
|
end
|
|
63
1810
|
end
|
|
64
|
-
# This sub-hash contains line item details that are specific to the `card` payment method.
|
|
65
|
-
attr_accessor :card
|
|
66
|
-
# This sub-hash contains line item details that are specific to the `card_present` payment method.
|
|
67
|
-
attr_accessor :card_present
|
|
68
|
-
# This sub-hash contains line item details that are specific to the `klarna` payment method.
|
|
69
|
-
attr_accessor :klarna
|
|
70
|
-
# This sub-hash contains line item details that are specific to the `paypal` payment method.
|
|
71
|
-
attr_accessor :paypal
|
|
72
1811
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
1812
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1813
|
+
# Amount of the extra charge in cents.
|
|
1814
|
+
attr_accessor :amount
|
|
1815
|
+
# Type of extra charge.
|
|
1816
|
+
attr_accessor :type
|
|
1817
|
+
|
|
1818
|
+
def initialize(amount: nil, type: nil)
|
|
1819
|
+
@amount = amount
|
|
1820
|
+
@type = type
|
|
1821
|
+
end
|
|
78
1822
|
end
|
|
79
|
-
end
|
|
80
1823
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
1824
|
+
class Tax < ::Stripe::RequestParams
|
|
1825
|
+
class Tax < ::Stripe::RequestParams
|
|
1826
|
+
# Tax amount in cents.
|
|
1827
|
+
attr_accessor :amount
|
|
1828
|
+
# Tax rate.
|
|
1829
|
+
attr_accessor :rate
|
|
1830
|
+
# Type of tax applied.
|
|
1831
|
+
attr_accessor :type
|
|
1832
|
+
|
|
1833
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1834
|
+
@amount = amount
|
|
1835
|
+
@rate = rate
|
|
1836
|
+
@type = type
|
|
1837
|
+
end
|
|
1838
|
+
end
|
|
1839
|
+
# Indicates whether the transaction is tax exempt.
|
|
1840
|
+
attr_accessor :tax_exempt_indicator
|
|
1841
|
+
# Tax details.
|
|
1842
|
+
attr_accessor :taxes
|
|
1843
|
+
|
|
1844
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
1845
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
1846
|
+
@taxes = taxes
|
|
1847
|
+
end
|
|
1848
|
+
end
|
|
1849
|
+
# Total price of the lodging reservation in cents.
|
|
1850
|
+
attr_accessor :amount
|
|
1851
|
+
# Cash advances in cents.
|
|
1852
|
+
attr_accessor :cash_advances
|
|
1853
|
+
# Currency of the total amount.
|
|
1854
|
+
attr_accessor :currency
|
|
1855
|
+
# Discount details for the lodging.
|
|
1856
|
+
attr_accessor :discounts
|
|
1857
|
+
# Additional charges for the lodging.
|
|
1858
|
+
attr_accessor :extra_charges
|
|
1859
|
+
# Prepaid amount in cents.
|
|
1860
|
+
attr_accessor :prepaid_amount
|
|
1861
|
+
# Tax breakdown for the lodging reservation.
|
|
1862
|
+
attr_accessor :tax
|
|
86
1863
|
|
|
87
|
-
def initialize(
|
|
88
|
-
|
|
1864
|
+
def initialize(
|
|
1865
|
+
amount: nil,
|
|
1866
|
+
cash_advances: nil,
|
|
1867
|
+
currency: nil,
|
|
1868
|
+
discounts: nil,
|
|
1869
|
+
extra_charges: nil,
|
|
1870
|
+
prepaid_amount: nil,
|
|
1871
|
+
tax: nil
|
|
1872
|
+
)
|
|
1873
|
+
@amount = amount
|
|
1874
|
+
@cash_advances = cash_advances
|
|
1875
|
+
@currency = currency
|
|
1876
|
+
@discounts = discounts
|
|
1877
|
+
@extra_charges = extra_charges
|
|
1878
|
+
@prepaid_amount = prepaid_amount
|
|
1879
|
+
@tax = tax
|
|
89
1880
|
end
|
|
90
1881
|
end
|
|
91
|
-
#
|
|
92
|
-
|
|
93
|
-
#
|
|
94
|
-
attr_accessor :
|
|
95
|
-
#
|
|
96
|
-
attr_accessor :
|
|
97
|
-
#
|
|
98
|
-
attr_accessor :
|
|
99
|
-
#
|
|
100
|
-
|
|
101
|
-
#
|
|
102
|
-
attr_accessor :
|
|
103
|
-
#
|
|
104
|
-
attr_accessor :
|
|
105
|
-
#
|
|
106
|
-
attr_accessor :
|
|
107
|
-
#
|
|
108
|
-
attr_accessor :
|
|
109
|
-
#
|
|
110
|
-
attr_accessor :
|
|
1882
|
+
# Accommodation details for the lodging.
|
|
1883
|
+
attr_accessor :accommodation
|
|
1884
|
+
# Affiliate details if applicable.
|
|
1885
|
+
attr_accessor :affiliate
|
|
1886
|
+
# Booking confirmation number for the lodging.
|
|
1887
|
+
attr_accessor :booking_number
|
|
1888
|
+
# Check-in date.
|
|
1889
|
+
attr_accessor :checkin_at
|
|
1890
|
+
# Check-out date.
|
|
1891
|
+
attr_accessor :checkout_at
|
|
1892
|
+
# Customer service phone number for the lodging company.
|
|
1893
|
+
attr_accessor :customer_service_phone_number
|
|
1894
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
1895
|
+
attr_accessor :fire_safety_act_compliance_indicator
|
|
1896
|
+
# List of guests for the lodging.
|
|
1897
|
+
attr_accessor :guests
|
|
1898
|
+
# Host details for the lodging.
|
|
1899
|
+
attr_accessor :host
|
|
1900
|
+
# List of insurances for the lodging.
|
|
1901
|
+
attr_accessor :insurances
|
|
1902
|
+
# Whether the renter is a no-show.
|
|
1903
|
+
attr_accessor :no_show_indicator
|
|
1904
|
+
# Renter ID number for the lodging.
|
|
1905
|
+
attr_accessor :renter_id_number
|
|
1906
|
+
# Renter name for the lodging.
|
|
1907
|
+
attr_accessor :renter_name
|
|
1908
|
+
# Total details for the lodging.
|
|
1909
|
+
attr_accessor :total
|
|
111
1910
|
|
|
112
1911
|
def initialize(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
1912
|
+
accommodation: nil,
|
|
1913
|
+
affiliate: nil,
|
|
1914
|
+
booking_number: nil,
|
|
1915
|
+
checkin_at: nil,
|
|
1916
|
+
checkout_at: nil,
|
|
1917
|
+
customer_service_phone_number: nil,
|
|
1918
|
+
fire_safety_act_compliance_indicator: nil,
|
|
1919
|
+
guests: nil,
|
|
1920
|
+
host: nil,
|
|
1921
|
+
insurances: nil,
|
|
1922
|
+
no_show_indicator: nil,
|
|
1923
|
+
renter_id_number: nil,
|
|
1924
|
+
renter_name: nil,
|
|
1925
|
+
total: nil
|
|
121
1926
|
)
|
|
122
|
-
@
|
|
123
|
-
@
|
|
124
|
-
@
|
|
125
|
-
@
|
|
126
|
-
@
|
|
127
|
-
@
|
|
128
|
-
@
|
|
129
|
-
@
|
|
1927
|
+
@accommodation = accommodation
|
|
1928
|
+
@affiliate = affiliate
|
|
1929
|
+
@booking_number = booking_number
|
|
1930
|
+
@checkin_at = checkin_at
|
|
1931
|
+
@checkout_at = checkout_at
|
|
1932
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1933
|
+
@fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
|
|
1934
|
+
@guests = guests
|
|
1935
|
+
@host = host
|
|
1936
|
+
@insurances = insurances
|
|
1937
|
+
@no_show_indicator = no_show_indicator
|
|
1938
|
+
@renter_id_number = renter_id_number
|
|
1939
|
+
@renter_name = renter_name
|
|
1940
|
+
@total = total
|
|
130
1941
|
end
|
|
131
1942
|
end
|
|
132
1943
|
|
|
133
|
-
class
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
1944
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
1945
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
1946
|
+
class BeneficiaryDetails < ::Stripe::RequestParams
|
|
1947
|
+
class Address < ::Stripe::RequestParams
|
|
1948
|
+
# City, district, suburb, town, or village.
|
|
1949
|
+
attr_accessor :city
|
|
1950
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1951
|
+
attr_accessor :country
|
|
1952
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1953
|
+
attr_accessor :line1
|
|
1954
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1955
|
+
attr_accessor :line2
|
|
1956
|
+
# ZIP or postal code.
|
|
1957
|
+
attr_accessor :postal_code
|
|
1958
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1959
|
+
attr_accessor :state
|
|
1960
|
+
|
|
1961
|
+
def initialize(
|
|
1962
|
+
city: nil,
|
|
1963
|
+
country: nil,
|
|
1964
|
+
line1: nil,
|
|
1965
|
+
line2: nil,
|
|
1966
|
+
postal_code: nil,
|
|
1967
|
+
state: nil
|
|
1968
|
+
)
|
|
1969
|
+
@city = city
|
|
1970
|
+
@country = country
|
|
1971
|
+
@line1 = line1
|
|
1972
|
+
@line2 = line2
|
|
1973
|
+
@postal_code = postal_code
|
|
1974
|
+
@state = state
|
|
1975
|
+
end
|
|
1976
|
+
end
|
|
140
1977
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
1978
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
1979
|
+
# Day of birth, between 1 and 31.
|
|
1980
|
+
attr_accessor :day
|
|
1981
|
+
# Month of birth, between 1 and 12.
|
|
1982
|
+
attr_accessor :month
|
|
1983
|
+
# Four-digit year of birth.
|
|
1984
|
+
attr_accessor :year
|
|
1985
|
+
|
|
1986
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
1987
|
+
@day = day
|
|
1988
|
+
@month = month
|
|
1989
|
+
@year = year
|
|
1990
|
+
end
|
|
1991
|
+
end
|
|
1992
|
+
# Address.
|
|
1993
|
+
attr_accessor :address
|
|
1994
|
+
# Date of birth.
|
|
1995
|
+
attr_accessor :date_of_birth
|
|
1996
|
+
# Email address.
|
|
1997
|
+
attr_accessor :email
|
|
1998
|
+
# Full name.
|
|
1999
|
+
attr_accessor :name
|
|
2000
|
+
# Phone number.
|
|
2001
|
+
attr_accessor :phone
|
|
2002
|
+
|
|
2003
|
+
def initialize(address: nil, date_of_birth: nil, email: nil, name: nil, phone: nil)
|
|
2004
|
+
@address = address
|
|
2005
|
+
@date_of_birth = date_of_birth
|
|
2006
|
+
@email = email
|
|
2007
|
+
@name = name
|
|
2008
|
+
@phone = phone
|
|
2009
|
+
end
|
|
2010
|
+
end
|
|
147
2011
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
2012
|
+
class SenderDetails < ::Stripe::RequestParams
|
|
2013
|
+
class Address < ::Stripe::RequestParams
|
|
2014
|
+
# City, district, suburb, town, or village.
|
|
2015
|
+
attr_accessor :city
|
|
2016
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2017
|
+
attr_accessor :country
|
|
2018
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2019
|
+
attr_accessor :line1
|
|
2020
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2021
|
+
attr_accessor :line2
|
|
2022
|
+
# ZIP or postal code.
|
|
2023
|
+
attr_accessor :postal_code
|
|
2024
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2025
|
+
attr_accessor :state
|
|
2026
|
+
|
|
2027
|
+
def initialize(
|
|
2028
|
+
city: nil,
|
|
2029
|
+
country: nil,
|
|
2030
|
+
line1: nil,
|
|
2031
|
+
line2: nil,
|
|
2032
|
+
postal_code: nil,
|
|
2033
|
+
state: nil
|
|
2034
|
+
)
|
|
2035
|
+
@city = city
|
|
2036
|
+
@country = country
|
|
2037
|
+
@line1 = line1
|
|
2038
|
+
@line2 = line2
|
|
2039
|
+
@postal_code = postal_code
|
|
2040
|
+
@state = state
|
|
2041
|
+
end
|
|
2042
|
+
end
|
|
153
2043
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
2044
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
2045
|
+
# Day of birth, between 1 and 31.
|
|
2046
|
+
attr_accessor :day
|
|
2047
|
+
# Month of birth, between 1 and 12.
|
|
2048
|
+
attr_accessor :month
|
|
2049
|
+
# Four-digit year of birth.
|
|
2050
|
+
attr_accessor :year
|
|
2051
|
+
|
|
2052
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2053
|
+
@day = day
|
|
2054
|
+
@month = month
|
|
2055
|
+
@year = year
|
|
2056
|
+
end
|
|
2057
|
+
end
|
|
2058
|
+
# Address.
|
|
2059
|
+
attr_accessor :address
|
|
2060
|
+
# Date of birth.
|
|
2061
|
+
attr_accessor :date_of_birth
|
|
2062
|
+
# Email address.
|
|
2063
|
+
attr_accessor :email
|
|
2064
|
+
# Full name.
|
|
2065
|
+
attr_accessor :name
|
|
2066
|
+
# Phone number.
|
|
2067
|
+
attr_accessor :phone
|
|
2068
|
+
|
|
2069
|
+
def initialize(address: nil, date_of_birth: nil, email: nil, name: nil, phone: nil)
|
|
2070
|
+
@address = address
|
|
2071
|
+
@date_of_birth = date_of_birth
|
|
2072
|
+
@email = email
|
|
2073
|
+
@name = name
|
|
2074
|
+
@phone = phone
|
|
2075
|
+
end
|
|
2076
|
+
end
|
|
2077
|
+
# ID of the Account representing the beneficiary in this account funding transaction.
|
|
2078
|
+
attr_accessor :beneficiary_account
|
|
2079
|
+
# Inline identity details for the beneficiary of this account funding transaction.
|
|
2080
|
+
attr_accessor :beneficiary_details
|
|
2081
|
+
# ID of the Account representing the sender in this account funding transaction.
|
|
2082
|
+
attr_accessor :sender_account
|
|
2083
|
+
# Inline identity details for the sender of this account funding transaction.
|
|
2084
|
+
attr_accessor :sender_details
|
|
174
2085
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
2086
|
+
def initialize(
|
|
2087
|
+
beneficiary_account: nil,
|
|
2088
|
+
beneficiary_details: nil,
|
|
2089
|
+
sender_account: nil,
|
|
2090
|
+
sender_details: nil
|
|
2091
|
+
)
|
|
2092
|
+
@beneficiary_account = beneficiary_account
|
|
2093
|
+
@beneficiary_details = beneficiary_details
|
|
2094
|
+
@sender_account = sender_account
|
|
2095
|
+
@sender_details = sender_details
|
|
2096
|
+
end
|
|
2097
|
+
end
|
|
2098
|
+
# Account funding transaction details including sender and beneficiary information.
|
|
2099
|
+
attr_accessor :account_funding
|
|
2100
|
+
# The type of money services transaction.
|
|
2101
|
+
attr_accessor :transaction_type
|
|
2102
|
+
|
|
2103
|
+
def initialize(account_funding: nil, transaction_type: nil)
|
|
2104
|
+
@account_funding = account_funding
|
|
2105
|
+
@transaction_type = transaction_type
|
|
2106
|
+
end
|
|
187
2107
|
end
|
|
188
|
-
end
|
|
189
2108
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
attr_accessor :calculation
|
|
2109
|
+
class Subscription < ::Stripe::RequestParams
|
|
2110
|
+
class Affiliate < ::Stripe::RequestParams
|
|
2111
|
+
# The name of the affiliate that originated the purchase.
|
|
2112
|
+
attr_accessor :name
|
|
195
2113
|
|
|
196
|
-
def initialize(
|
|
197
|
-
@
|
|
2114
|
+
def initialize(name: nil)
|
|
2115
|
+
@name = name
|
|
198
2116
|
end
|
|
199
2117
|
end
|
|
200
|
-
# Tax arguments for automations
|
|
201
|
-
attr_accessor :tax
|
|
202
2118
|
|
|
203
|
-
|
|
204
|
-
|
|
2119
|
+
class BillingInterval < ::Stripe::RequestParams
|
|
2120
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2121
|
+
attr_accessor :count
|
|
2122
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2123
|
+
attr_accessor :interval
|
|
2124
|
+
|
|
2125
|
+
def initialize(count: nil, interval: nil)
|
|
2126
|
+
@count = count
|
|
2127
|
+
@interval = interval
|
|
2128
|
+
end
|
|
205
2129
|
end
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
2130
|
+
# Affiliate details for this purchase.
|
|
2131
|
+
attr_accessor :affiliate
|
|
2132
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
2133
|
+
attr_accessor :auto_renewal
|
|
2134
|
+
# Subscription billing details for this purchase.
|
|
2135
|
+
attr_accessor :billing_interval
|
|
2136
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2137
|
+
attr_accessor :ends_at
|
|
2138
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
2139
|
+
attr_accessor :name
|
|
2140
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2141
|
+
attr_accessor :starts_at
|
|
209
2142
|
|
|
210
|
-
|
|
211
|
-
|
|
2143
|
+
def initialize(
|
|
2144
|
+
affiliate: nil,
|
|
2145
|
+
auto_renewal: nil,
|
|
2146
|
+
billing_interval: nil,
|
|
2147
|
+
ends_at: nil,
|
|
2148
|
+
name: nil,
|
|
2149
|
+
starts_at: nil
|
|
2150
|
+
)
|
|
2151
|
+
@affiliate = affiliate
|
|
2152
|
+
@auto_renewal = auto_renewal
|
|
2153
|
+
@billing_interval = billing_interval
|
|
2154
|
+
@ends_at = ends_at
|
|
2155
|
+
@name = name
|
|
2156
|
+
@starts_at = starts_at
|
|
2157
|
+
end
|
|
212
2158
|
end
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
2159
|
+
# Benefit details for this PaymentIntent
|
|
2160
|
+
attr_accessor :benefit
|
|
2161
|
+
# Car rental details for this PaymentIntent.
|
|
2162
|
+
attr_accessor :car_rental
|
|
2163
|
+
# Car rental data for this PaymentIntent.
|
|
2164
|
+
attr_accessor :car_rental_data
|
|
216
2165
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
217
2166
|
#
|
|
218
2167
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
219
2168
|
attr_accessor :customer_reference
|
|
2169
|
+
# Event details for this PaymentIntent
|
|
2170
|
+
attr_accessor :event_details
|
|
2171
|
+
# Fleet data for this PaymentIntent.
|
|
2172
|
+
attr_accessor :fleet_data
|
|
2173
|
+
# Flight reservation details for this PaymentIntent
|
|
2174
|
+
attr_accessor :flight
|
|
2175
|
+
# Flight data for this PaymentIntent.
|
|
2176
|
+
attr_accessor :flight_data
|
|
2177
|
+
# The ID of the Payment Location for this PaymentIntent.
|
|
2178
|
+
attr_accessor :location
|
|
2179
|
+
# Lodging reservation details for this PaymentIntent
|
|
2180
|
+
attr_accessor :lodging
|
|
2181
|
+
# Lodging data for this PaymentIntent.
|
|
2182
|
+
attr_accessor :lodging_data
|
|
2183
|
+
# Money services details for this PaymentIntent.
|
|
2184
|
+
attr_accessor :money_services
|
|
220
2185
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
221
2186
|
#
|
|
222
2187
|
# 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.
|
|
223
2188
|
attr_accessor :order_reference
|
|
2189
|
+
# Subscription details for this PaymentIntent
|
|
2190
|
+
attr_accessor :subscription
|
|
224
2191
|
|
|
225
|
-
def initialize(
|
|
2192
|
+
def initialize(
|
|
2193
|
+
benefit: nil,
|
|
2194
|
+
car_rental: nil,
|
|
2195
|
+
car_rental_data: nil,
|
|
2196
|
+
customer_reference: nil,
|
|
2197
|
+
event_details: nil,
|
|
2198
|
+
fleet_data: nil,
|
|
2199
|
+
flight: nil,
|
|
2200
|
+
flight_data: nil,
|
|
2201
|
+
location: nil,
|
|
2202
|
+
lodging: nil,
|
|
2203
|
+
lodging_data: nil,
|
|
2204
|
+
money_services: nil,
|
|
2205
|
+
order_reference: nil,
|
|
2206
|
+
subscription: nil
|
|
2207
|
+
)
|
|
2208
|
+
@benefit = benefit
|
|
2209
|
+
@car_rental = car_rental
|
|
2210
|
+
@car_rental_data = car_rental_data
|
|
226
2211
|
@customer_reference = customer_reference
|
|
2212
|
+
@event_details = event_details
|
|
2213
|
+
@fleet_data = fleet_data
|
|
2214
|
+
@flight = flight
|
|
2215
|
+
@flight_data = flight_data
|
|
2216
|
+
@location = location
|
|
2217
|
+
@lodging = lodging
|
|
2218
|
+
@lodging_data = lodging_data
|
|
2219
|
+
@money_services = money_services
|
|
227
2220
|
@order_reference = order_reference
|
|
2221
|
+
@subscription = subscription
|
|
228
2222
|
end
|
|
229
2223
|
end
|
|
230
2224
|
|
|
@@ -365,9 +2359,28 @@ module Stripe
|
|
|
365
2359
|
end
|
|
366
2360
|
end
|
|
367
2361
|
|
|
2362
|
+
class GiftCard < ::Stripe::RequestParams
|
|
2363
|
+
# The gift card ID to redeem
|
|
2364
|
+
attr_accessor :gift_card
|
|
2365
|
+
|
|
2366
|
+
def initialize(gift_card: nil)
|
|
2367
|
+
@gift_card = gift_card
|
|
2368
|
+
end
|
|
2369
|
+
end
|
|
2370
|
+
|
|
368
2371
|
class Giropay < ::Stripe::RequestParams; end
|
|
2372
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
369
2373
|
class Grabpay < ::Stripe::RequestParams; end
|
|
370
2374
|
|
|
2375
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
2376
|
+
# Bank where the account is held.
|
|
2377
|
+
attr_accessor :bank
|
|
2378
|
+
|
|
2379
|
+
def initialize(bank: nil)
|
|
2380
|
+
@bank = bank
|
|
2381
|
+
end
|
|
2382
|
+
end
|
|
2383
|
+
|
|
371
2384
|
class Ideal < ::Stripe::RequestParams
|
|
372
2385
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
373
2386
|
attr_accessor :bank
|
|
@@ -465,6 +2478,7 @@ module Stripe
|
|
|
465
2478
|
class Payco < ::Stripe::RequestParams; end
|
|
466
2479
|
class Paynow < ::Stripe::RequestParams; end
|
|
467
2480
|
class Paypal < ::Stripe::RequestParams; end
|
|
2481
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
468
2482
|
|
|
469
2483
|
class Payto < ::Stripe::RequestParams
|
|
470
2484
|
# The account number for the bank account.
|
|
@@ -483,6 +2497,7 @@ module Stripe
|
|
|
483
2497
|
|
|
484
2498
|
class Pix < ::Stripe::RequestParams; end
|
|
485
2499
|
class Promptpay < ::Stripe::RequestParams; end
|
|
2500
|
+
class Qris < ::Stripe::RequestParams; end
|
|
486
2501
|
|
|
487
2502
|
class RadarOptions < ::Stripe::RequestParams
|
|
488
2503
|
# 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.
|
|
@@ -493,6 +2508,29 @@ module Stripe
|
|
|
493
2508
|
end
|
|
494
2509
|
end
|
|
495
2510
|
|
|
2511
|
+
class Rechnung < ::Stripe::RequestParams
|
|
2512
|
+
class Dob < ::Stripe::RequestParams
|
|
2513
|
+
# The day of birth, between 1 and 31.
|
|
2514
|
+
attr_accessor :day
|
|
2515
|
+
# The month of birth, between 1 and 12.
|
|
2516
|
+
attr_accessor :month
|
|
2517
|
+
# The four-digit year of birth.
|
|
2518
|
+
attr_accessor :year
|
|
2519
|
+
|
|
2520
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2521
|
+
@day = day
|
|
2522
|
+
@month = month
|
|
2523
|
+
@year = year
|
|
2524
|
+
end
|
|
2525
|
+
end
|
|
2526
|
+
# Customer's date of birth
|
|
2527
|
+
attr_accessor :dob
|
|
2528
|
+
|
|
2529
|
+
def initialize(dob: nil)
|
|
2530
|
+
@dob = dob
|
|
2531
|
+
end
|
|
2532
|
+
end
|
|
2533
|
+
|
|
496
2534
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
497
2535
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
498
2536
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -507,6 +2545,8 @@ module Stripe
|
|
|
507
2545
|
end
|
|
508
2546
|
end
|
|
509
2547
|
|
|
2548
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
2549
|
+
|
|
510
2550
|
class Sofort < ::Stripe::RequestParams
|
|
511
2551
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
512
2552
|
attr_accessor :country
|
|
@@ -516,6 +2556,15 @@ module Stripe
|
|
|
516
2556
|
end
|
|
517
2557
|
end
|
|
518
2558
|
|
|
2559
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
2560
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2561
|
+
attr_accessor :account
|
|
2562
|
+
|
|
2563
|
+
def initialize(account: nil)
|
|
2564
|
+
@account = account
|
|
2565
|
+
end
|
|
2566
|
+
end
|
|
2567
|
+
|
|
519
2568
|
class Sunbit < ::Stripe::RequestParams; end
|
|
520
2569
|
class Swish < ::Stripe::RequestParams; end
|
|
521
2570
|
class Twint < ::Stripe::RequestParams; end
|
|
@@ -615,10 +2664,16 @@ module Stripe
|
|
|
615
2664
|
attr_accessor :eps
|
|
616
2665
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
|
617
2666
|
attr_accessor :fpx
|
|
2667
|
+
# If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method.
|
|
2668
|
+
attr_accessor :gift_card
|
|
618
2669
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
619
2670
|
attr_accessor :giropay
|
|
2671
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2672
|
+
attr_accessor :gopay
|
|
620
2673
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
621
2674
|
attr_accessor :grabpay
|
|
2675
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2676
|
+
attr_accessor :id_bank_transfer
|
|
622
2677
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
623
2678
|
attr_accessor :ideal
|
|
624
2679
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -657,14 +2712,20 @@ module Stripe
|
|
|
657
2712
|
attr_accessor :paynow
|
|
658
2713
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
659
2714
|
attr_accessor :paypal
|
|
2715
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
2716
|
+
attr_accessor :paypay
|
|
660
2717
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
661
2718
|
attr_accessor :payto
|
|
662
2719
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
663
2720
|
attr_accessor :pix
|
|
664
2721
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
665
2722
|
attr_accessor :promptpay
|
|
2723
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2724
|
+
attr_accessor :qris
|
|
666
2725
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
667
2726
|
attr_accessor :radar_options
|
|
2727
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2728
|
+
attr_accessor :rechnung
|
|
668
2729
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
669
2730
|
attr_accessor :revolut_pay
|
|
670
2731
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -675,8 +2736,14 @@ module Stripe
|
|
|
675
2736
|
attr_accessor :scalapay
|
|
676
2737
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
677
2738
|
attr_accessor :sepa_debit
|
|
2739
|
+
# ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
2740
|
+
attr_accessor :shared_payment_granted_token
|
|
2741
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2742
|
+
attr_accessor :shopeepay
|
|
678
2743
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
679
2744
|
attr_accessor :sofort
|
|
2745
|
+
# This hash contains details about the Stripe balance payment method.
|
|
2746
|
+
attr_accessor :stripe_balance
|
|
680
2747
|
# If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
681
2748
|
attr_accessor :sunbit
|
|
682
2749
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
@@ -715,8 +2782,11 @@ module Stripe
|
|
|
715
2782
|
customer_balance: nil,
|
|
716
2783
|
eps: nil,
|
|
717
2784
|
fpx: nil,
|
|
2785
|
+
gift_card: nil,
|
|
718
2786
|
giropay: nil,
|
|
2787
|
+
gopay: nil,
|
|
719
2788
|
grabpay: nil,
|
|
2789
|
+
id_bank_transfer: nil,
|
|
720
2790
|
ideal: nil,
|
|
721
2791
|
interac_present: nil,
|
|
722
2792
|
kakao_pay: nil,
|
|
@@ -736,16 +2806,22 @@ module Stripe
|
|
|
736
2806
|
payco: nil,
|
|
737
2807
|
paynow: nil,
|
|
738
2808
|
paypal: nil,
|
|
2809
|
+
paypay: nil,
|
|
739
2810
|
payto: nil,
|
|
740
2811
|
pix: nil,
|
|
741
2812
|
promptpay: nil,
|
|
2813
|
+
qris: nil,
|
|
742
2814
|
radar_options: nil,
|
|
2815
|
+
rechnung: nil,
|
|
743
2816
|
revolut_pay: nil,
|
|
744
2817
|
samsung_pay: nil,
|
|
745
2818
|
satispay: nil,
|
|
746
2819
|
scalapay: nil,
|
|
747
2820
|
sepa_debit: nil,
|
|
2821
|
+
shared_payment_granted_token: nil,
|
|
2822
|
+
shopeepay: nil,
|
|
748
2823
|
sofort: nil,
|
|
2824
|
+
stripe_balance: nil,
|
|
749
2825
|
sunbit: nil,
|
|
750
2826
|
swish: nil,
|
|
751
2827
|
twint: nil,
|
|
@@ -775,8 +2851,11 @@ module Stripe
|
|
|
775
2851
|
@customer_balance = customer_balance
|
|
776
2852
|
@eps = eps
|
|
777
2853
|
@fpx = fpx
|
|
2854
|
+
@gift_card = gift_card
|
|
778
2855
|
@giropay = giropay
|
|
2856
|
+
@gopay = gopay
|
|
779
2857
|
@grabpay = grabpay
|
|
2858
|
+
@id_bank_transfer = id_bank_transfer
|
|
780
2859
|
@ideal = ideal
|
|
781
2860
|
@interac_present = interac_present
|
|
782
2861
|
@kakao_pay = kakao_pay
|
|
@@ -796,16 +2875,22 @@ module Stripe
|
|
|
796
2875
|
@payco = payco
|
|
797
2876
|
@paynow = paynow
|
|
798
2877
|
@paypal = paypal
|
|
2878
|
+
@paypay = paypay
|
|
799
2879
|
@payto = payto
|
|
800
2880
|
@pix = pix
|
|
801
2881
|
@promptpay = promptpay
|
|
2882
|
+
@qris = qris
|
|
802
2883
|
@radar_options = radar_options
|
|
2884
|
+
@rechnung = rechnung
|
|
803
2885
|
@revolut_pay = revolut_pay
|
|
804
2886
|
@samsung_pay = samsung_pay
|
|
805
2887
|
@satispay = satispay
|
|
806
2888
|
@scalapay = scalapay
|
|
807
2889
|
@sepa_debit = sepa_debit
|
|
2890
|
+
@shared_payment_granted_token = shared_payment_granted_token
|
|
2891
|
+
@shopeepay = shopeepay
|
|
808
2892
|
@sofort = sofort
|
|
2893
|
+
@stripe_balance = stripe_balance
|
|
809
2894
|
@sunbit = sunbit
|
|
810
2895
|
@swish = swish
|
|
811
2896
|
@twint = twint
|
|
@@ -1180,6 +3265,135 @@ module Stripe
|
|
|
1180
3265
|
end
|
|
1181
3266
|
end
|
|
1182
3267
|
|
|
3268
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
3269
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
3270
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
3271
|
+
class LiquidAsset < ::Stripe::RequestParams
|
|
3272
|
+
class Crypto < ::Stripe::RequestParams
|
|
3273
|
+
# The cryptocurrency currency code (e.g. BTC, ETH).
|
|
3274
|
+
attr_accessor :currency_code
|
|
3275
|
+
|
|
3276
|
+
def initialize(currency_code: nil)
|
|
3277
|
+
@currency_code = currency_code
|
|
3278
|
+
end
|
|
3279
|
+
end
|
|
3280
|
+
|
|
3281
|
+
class Security < ::Stripe::RequestParams
|
|
3282
|
+
# The security's ticker symbol (e.g. AAPL).
|
|
3283
|
+
attr_accessor :ticker_symbol
|
|
3284
|
+
|
|
3285
|
+
def initialize(ticker_symbol: nil)
|
|
3286
|
+
@ticker_symbol = ticker_symbol
|
|
3287
|
+
end
|
|
3288
|
+
end
|
|
3289
|
+
# Details for a cryptocurrency liquid asset funding transaction.
|
|
3290
|
+
attr_accessor :crypto
|
|
3291
|
+
# Details for a security liquid asset funding transaction.
|
|
3292
|
+
attr_accessor :security
|
|
3293
|
+
|
|
3294
|
+
def initialize(crypto: nil, security: nil)
|
|
3295
|
+
@crypto = crypto
|
|
3296
|
+
@security = security
|
|
3297
|
+
end
|
|
3298
|
+
end
|
|
3299
|
+
|
|
3300
|
+
class Wallet < ::Stripe::RequestParams
|
|
3301
|
+
class StagedPurchase < ::Stripe::RequestParams
|
|
3302
|
+
class Merchant < ::Stripe::RequestParams
|
|
3303
|
+
# The merchant category code of the merchant.
|
|
3304
|
+
attr_accessor :mcc
|
|
3305
|
+
# The merchant's name.
|
|
3306
|
+
attr_accessor :name
|
|
3307
|
+
|
|
3308
|
+
def initialize(mcc: nil, name: nil)
|
|
3309
|
+
@mcc = mcc
|
|
3310
|
+
@name = name
|
|
3311
|
+
end
|
|
3312
|
+
end
|
|
3313
|
+
# The merchant where the staged wallet purchase is made.
|
|
3314
|
+
attr_accessor :merchant
|
|
3315
|
+
|
|
3316
|
+
def initialize(merchant: nil)
|
|
3317
|
+
@merchant = merchant
|
|
3318
|
+
end
|
|
3319
|
+
end
|
|
3320
|
+
# Details for a staged purchase.
|
|
3321
|
+
attr_accessor :staged_purchase
|
|
3322
|
+
|
|
3323
|
+
def initialize(staged_purchase: nil)
|
|
3324
|
+
@staged_purchase = staged_purchase
|
|
3325
|
+
end
|
|
3326
|
+
end
|
|
3327
|
+
# The category of digital asset being acquired through this account funding transaction.
|
|
3328
|
+
attr_accessor :digital_asset_category
|
|
3329
|
+
# Details for a liquid asset (crypto or security) funding transaction.
|
|
3330
|
+
attr_accessor :liquid_asset
|
|
3331
|
+
# Details for a wallet funding transaction.
|
|
3332
|
+
attr_accessor :wallet
|
|
3333
|
+
|
|
3334
|
+
def initialize(digital_asset_category: nil, liquid_asset: nil, wallet: nil)
|
|
3335
|
+
@digital_asset_category = digital_asset_category
|
|
3336
|
+
@liquid_asset = liquid_asset
|
|
3337
|
+
@wallet = wallet
|
|
3338
|
+
end
|
|
3339
|
+
end
|
|
3340
|
+
# Payment method specific account funding transaction details.
|
|
3341
|
+
attr_accessor :account_funding
|
|
3342
|
+
|
|
3343
|
+
def initialize(account_funding: nil)
|
|
3344
|
+
@account_funding = account_funding
|
|
3345
|
+
end
|
|
3346
|
+
end
|
|
3347
|
+
# Money services details for payment method specific funding fields.
|
|
3348
|
+
attr_accessor :money_services
|
|
3349
|
+
|
|
3350
|
+
def initialize(money_services: nil)
|
|
3351
|
+
@money_services = money_services
|
|
3352
|
+
end
|
|
3353
|
+
end
|
|
3354
|
+
|
|
3355
|
+
class StatementDetails < ::Stripe::RequestParams
|
|
3356
|
+
class Address < ::Stripe::RequestParams
|
|
3357
|
+
# City, district, suburb, town, or village.
|
|
3358
|
+
attr_accessor :city
|
|
3359
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3360
|
+
attr_accessor :country
|
|
3361
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
3362
|
+
attr_accessor :line1
|
|
3363
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
3364
|
+
attr_accessor :line2
|
|
3365
|
+
# ZIP or postal code.
|
|
3366
|
+
attr_accessor :postal_code
|
|
3367
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3368
|
+
attr_accessor :state
|
|
3369
|
+
|
|
3370
|
+
def initialize(
|
|
3371
|
+
city: nil,
|
|
3372
|
+
country: nil,
|
|
3373
|
+
line1: nil,
|
|
3374
|
+
line2: nil,
|
|
3375
|
+
postal_code: nil,
|
|
3376
|
+
state: nil
|
|
3377
|
+
)
|
|
3378
|
+
@city = city
|
|
3379
|
+
@country = country
|
|
3380
|
+
@line1 = line1
|
|
3381
|
+
@line2 = line2
|
|
3382
|
+
@postal_code = postal_code
|
|
3383
|
+
@state = state
|
|
3384
|
+
end
|
|
3385
|
+
end
|
|
3386
|
+
# Please pass in an address that is within your Stripe user account country
|
|
3387
|
+
attr_accessor :address
|
|
3388
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
|
3389
|
+
attr_accessor :phone
|
|
3390
|
+
|
|
3391
|
+
def initialize(address: nil, phone: nil)
|
|
3392
|
+
@address = address
|
|
3393
|
+
@phone = phone
|
|
3394
|
+
end
|
|
3395
|
+
end
|
|
3396
|
+
|
|
1183
3397
|
class ThreeDSecure < ::Stripe::RequestParams
|
|
1184
3398
|
class NetworkOptions < ::Stripe::RequestParams
|
|
1185
3399
|
class CartesBancaires < ::Stripe::RequestParams
|
|
@@ -1274,6 +3488,10 @@ module Stripe
|
|
|
1274
3488
|
attr_accessor :moto
|
|
1275
3489
|
# 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.
|
|
1276
3490
|
attr_accessor :network
|
|
3491
|
+
# Payment details for payment method specific funding fields.
|
|
3492
|
+
attr_accessor :payment_details
|
|
3493
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3494
|
+
attr_accessor :request_decremental_authorization
|
|
1277
3495
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
1278
3496
|
attr_accessor :request_extended_authorization
|
|
1279
3497
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1282,6 +3500,10 @@ module Stripe
|
|
|
1282
3500
|
attr_accessor :request_multicapture
|
|
1283
3501
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
1284
3502
|
attr_accessor :request_overcapture
|
|
3503
|
+
# Request partial authorization on this PaymentIntent.
|
|
3504
|
+
attr_accessor :request_partial_authorization
|
|
3505
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3506
|
+
attr_accessor :request_reauthorization
|
|
1285
3507
|
# 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.
|
|
1286
3508
|
attr_accessor :request_three_d_secure
|
|
1287
3509
|
# 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).
|
|
@@ -1300,6 +3522,8 @@ module Stripe
|
|
|
1300
3522
|
attr_accessor :statement_descriptor_suffix_kana
|
|
1301
3523
|
# 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.
|
|
1302
3524
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
3525
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
3526
|
+
attr_accessor :statement_details
|
|
1303
3527
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
1304
3528
|
# the authentication details to use for this payment.
|
|
1305
3529
|
attr_accessor :three_d_secure
|
|
@@ -1311,15 +3535,20 @@ module Stripe
|
|
|
1311
3535
|
mandate_options: nil,
|
|
1312
3536
|
moto: nil,
|
|
1313
3537
|
network: nil,
|
|
3538
|
+
payment_details: nil,
|
|
3539
|
+
request_decremental_authorization: nil,
|
|
1314
3540
|
request_extended_authorization: nil,
|
|
1315
3541
|
request_incremental_authorization: nil,
|
|
1316
3542
|
request_multicapture: nil,
|
|
1317
3543
|
request_overcapture: nil,
|
|
3544
|
+
request_partial_authorization: nil,
|
|
3545
|
+
request_reauthorization: nil,
|
|
1318
3546
|
request_three_d_secure: nil,
|
|
1319
3547
|
require_cvc_recollection: nil,
|
|
1320
3548
|
setup_future_usage: nil,
|
|
1321
3549
|
statement_descriptor_suffix_kana: nil,
|
|
1322
3550
|
statement_descriptor_suffix_kanji: nil,
|
|
3551
|
+
statement_details: nil,
|
|
1323
3552
|
three_d_secure: nil
|
|
1324
3553
|
)
|
|
1325
3554
|
@capture_method = capture_method
|
|
@@ -1328,20 +3557,112 @@ module Stripe
|
|
|
1328
3557
|
@mandate_options = mandate_options
|
|
1329
3558
|
@moto = moto
|
|
1330
3559
|
@network = network
|
|
3560
|
+
@payment_details = payment_details
|
|
3561
|
+
@request_decremental_authorization = request_decremental_authorization
|
|
1331
3562
|
@request_extended_authorization = request_extended_authorization
|
|
1332
3563
|
@request_incremental_authorization = request_incremental_authorization
|
|
1333
3564
|
@request_multicapture = request_multicapture
|
|
1334
3565
|
@request_overcapture = request_overcapture
|
|
3566
|
+
@request_partial_authorization = request_partial_authorization
|
|
3567
|
+
@request_reauthorization = request_reauthorization
|
|
1335
3568
|
@request_three_d_secure = request_three_d_secure
|
|
1336
3569
|
@require_cvc_recollection = require_cvc_recollection
|
|
1337
3570
|
@setup_future_usage = setup_future_usage
|
|
1338
3571
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
1339
3572
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
3573
|
+
@statement_details = statement_details
|
|
1340
3574
|
@three_d_secure = three_d_secure
|
|
1341
3575
|
end
|
|
1342
|
-
end
|
|
3576
|
+
end
|
|
3577
|
+
|
|
3578
|
+
class CardPresent < ::Stripe::RequestParams
|
|
3579
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
3580
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
3581
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
3582
|
+
class LiquidAsset < ::Stripe::RequestParams
|
|
3583
|
+
class Crypto < ::Stripe::RequestParams
|
|
3584
|
+
# The cryptocurrency currency code (e.g. BTC, ETH).
|
|
3585
|
+
attr_accessor :currency_code
|
|
3586
|
+
|
|
3587
|
+
def initialize(currency_code: nil)
|
|
3588
|
+
@currency_code = currency_code
|
|
3589
|
+
end
|
|
3590
|
+
end
|
|
3591
|
+
|
|
3592
|
+
class Security < ::Stripe::RequestParams
|
|
3593
|
+
# The security's ticker symbol (e.g. AAPL).
|
|
3594
|
+
attr_accessor :ticker_symbol
|
|
3595
|
+
|
|
3596
|
+
def initialize(ticker_symbol: nil)
|
|
3597
|
+
@ticker_symbol = ticker_symbol
|
|
3598
|
+
end
|
|
3599
|
+
end
|
|
3600
|
+
# Details for a cryptocurrency liquid asset funding transaction.
|
|
3601
|
+
attr_accessor :crypto
|
|
3602
|
+
# Details for a security liquid asset funding transaction.
|
|
3603
|
+
attr_accessor :security
|
|
3604
|
+
|
|
3605
|
+
def initialize(crypto: nil, security: nil)
|
|
3606
|
+
@crypto = crypto
|
|
3607
|
+
@security = security
|
|
3608
|
+
end
|
|
3609
|
+
end
|
|
3610
|
+
|
|
3611
|
+
class Wallet < ::Stripe::RequestParams
|
|
3612
|
+
class StagedPurchase < ::Stripe::RequestParams
|
|
3613
|
+
class Merchant < ::Stripe::RequestParams
|
|
3614
|
+
# The merchant category code of the merchant.
|
|
3615
|
+
attr_accessor :mcc
|
|
3616
|
+
# The merchant's name.
|
|
3617
|
+
attr_accessor :name
|
|
3618
|
+
|
|
3619
|
+
def initialize(mcc: nil, name: nil)
|
|
3620
|
+
@mcc = mcc
|
|
3621
|
+
@name = name
|
|
3622
|
+
end
|
|
3623
|
+
end
|
|
3624
|
+
# The merchant where the staged wallet purchase is made.
|
|
3625
|
+
attr_accessor :merchant
|
|
3626
|
+
|
|
3627
|
+
def initialize(merchant: nil)
|
|
3628
|
+
@merchant = merchant
|
|
3629
|
+
end
|
|
3630
|
+
end
|
|
3631
|
+
# Details for a staged purchase.
|
|
3632
|
+
attr_accessor :staged_purchase
|
|
3633
|
+
|
|
3634
|
+
def initialize(staged_purchase: nil)
|
|
3635
|
+
@staged_purchase = staged_purchase
|
|
3636
|
+
end
|
|
3637
|
+
end
|
|
3638
|
+
# The category of digital asset being acquired through this account funding transaction.
|
|
3639
|
+
attr_accessor :digital_asset_category
|
|
3640
|
+
# Details for a liquid asset (crypto or security) funding transaction.
|
|
3641
|
+
attr_accessor :liquid_asset
|
|
3642
|
+
# Details for a wallet funding transaction.
|
|
3643
|
+
attr_accessor :wallet
|
|
3644
|
+
|
|
3645
|
+
def initialize(digital_asset_category: nil, liquid_asset: nil, wallet: nil)
|
|
3646
|
+
@digital_asset_category = digital_asset_category
|
|
3647
|
+
@liquid_asset = liquid_asset
|
|
3648
|
+
@wallet = wallet
|
|
3649
|
+
end
|
|
3650
|
+
end
|
|
3651
|
+
# Payment method specific account funding transaction details.
|
|
3652
|
+
attr_accessor :account_funding
|
|
3653
|
+
|
|
3654
|
+
def initialize(account_funding: nil)
|
|
3655
|
+
@account_funding = account_funding
|
|
3656
|
+
end
|
|
3657
|
+
end
|
|
3658
|
+
# Money services details for payment method specific funding fields.
|
|
3659
|
+
attr_accessor :money_services
|
|
3660
|
+
|
|
3661
|
+
def initialize(money_services: nil)
|
|
3662
|
+
@money_services = money_services
|
|
3663
|
+
end
|
|
3664
|
+
end
|
|
1343
3665
|
|
|
1344
|
-
class CardPresent < ::Stripe::RequestParams
|
|
1345
3666
|
class Routing < ::Stripe::RequestParams
|
|
1346
3667
|
# Routing requested priority
|
|
1347
3668
|
attr_accessor :requested_priority
|
|
@@ -1356,22 +3677,30 @@ module Stripe
|
|
|
1356
3677
|
#
|
|
1357
3678
|
# 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.
|
|
1358
3679
|
attr_accessor :capture_method
|
|
3680
|
+
# Payment details for payment method specific funding transaction fields.
|
|
3681
|
+
attr_accessor :payment_details
|
|
1359
3682
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
1360
3683
|
attr_accessor :request_extended_authorization
|
|
1361
3684
|
# 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.
|
|
1362
3685
|
attr_accessor :request_incremental_authorization_support
|
|
3686
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3687
|
+
attr_accessor :request_reauthorization
|
|
1363
3688
|
# Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
|
|
1364
3689
|
attr_accessor :routing
|
|
1365
3690
|
|
|
1366
3691
|
def initialize(
|
|
1367
3692
|
capture_method: nil,
|
|
3693
|
+
payment_details: nil,
|
|
1368
3694
|
request_extended_authorization: nil,
|
|
1369
3695
|
request_incremental_authorization_support: nil,
|
|
3696
|
+
request_reauthorization: nil,
|
|
1370
3697
|
routing: nil
|
|
1371
3698
|
)
|
|
1372
3699
|
@capture_method = capture_method
|
|
3700
|
+
@payment_details = payment_details
|
|
1373
3701
|
@request_extended_authorization = request_extended_authorization
|
|
1374
3702
|
@request_incremental_authorization_support = request_incremental_authorization_support
|
|
3703
|
+
@request_reauthorization = request_reauthorization
|
|
1375
3704
|
@routing = routing
|
|
1376
3705
|
end
|
|
1377
3706
|
end
|
|
@@ -1401,6 +3730,21 @@ module Stripe
|
|
|
1401
3730
|
end
|
|
1402
3731
|
|
|
1403
3732
|
class Crypto < ::Stripe::RequestParams
|
|
3733
|
+
class DepositOptions < ::Stripe::RequestParams
|
|
3734
|
+
# The blockchain networks to support for deposits. Learn more about [supported networks and tokens](https://docs.stripe.com/payments/deposit-mode-stablecoin-payments#token-and-network-support).
|
|
3735
|
+
attr_accessor :networks
|
|
3736
|
+
# If true, provisions a permanent per-customer deposit address reused across PaymentIntents.
|
|
3737
|
+
attr_accessor :static_address
|
|
3738
|
+
|
|
3739
|
+
def initialize(networks: nil, static_address: nil)
|
|
3740
|
+
@networks = networks
|
|
3741
|
+
@static_address = static_address
|
|
3742
|
+
end
|
|
3743
|
+
end
|
|
3744
|
+
# Specific configuration for this PaymentIntent when the mode is `deposit`.
|
|
3745
|
+
attr_accessor :deposit_options
|
|
3746
|
+
# The mode of the crypto payment.
|
|
3747
|
+
attr_accessor :mode
|
|
1404
3748
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1405
3749
|
#
|
|
1406
3750
|
# 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.
|
|
@@ -1412,7 +3756,9 @@ module Stripe
|
|
|
1412
3756
|
# 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`.
|
|
1413
3757
|
attr_accessor :setup_future_usage
|
|
1414
3758
|
|
|
1415
|
-
def initialize(setup_future_usage: nil)
|
|
3759
|
+
def initialize(deposit_options: nil, mode: nil, setup_future_usage: nil)
|
|
3760
|
+
@deposit_options = deposit_options
|
|
3761
|
+
@mode = mode
|
|
1416
3762
|
@setup_future_usage = setup_future_usage
|
|
1417
3763
|
end
|
|
1418
3764
|
end
|
|
@@ -1498,6 +3844,8 @@ module Stripe
|
|
|
1498
3844
|
end
|
|
1499
3845
|
end
|
|
1500
3846
|
|
|
3847
|
+
class GiftCard < ::Stripe::RequestParams; end
|
|
3848
|
+
|
|
1501
3849
|
class Giropay < ::Stripe::RequestParams
|
|
1502
3850
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1503
3851
|
#
|
|
@@ -1515,6 +3863,23 @@ module Stripe
|
|
|
1515
3863
|
end
|
|
1516
3864
|
end
|
|
1517
3865
|
|
|
3866
|
+
class Gopay < ::Stripe::RequestParams
|
|
3867
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3868
|
+
#
|
|
3869
|
+
# 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.
|
|
3870
|
+
#
|
|
3871
|
+
# 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.
|
|
3872
|
+
#
|
|
3873
|
+
# 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).
|
|
3874
|
+
#
|
|
3875
|
+
# 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`.
|
|
3876
|
+
attr_accessor :setup_future_usage
|
|
3877
|
+
|
|
3878
|
+
def initialize(setup_future_usage: nil)
|
|
3879
|
+
@setup_future_usage = setup_future_usage
|
|
3880
|
+
end
|
|
3881
|
+
end
|
|
3882
|
+
|
|
1518
3883
|
class Grabpay < ::Stripe::RequestParams
|
|
1519
3884
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1520
3885
|
#
|
|
@@ -1532,6 +3897,29 @@ module Stripe
|
|
|
1532
3897
|
end
|
|
1533
3898
|
end
|
|
1534
3899
|
|
|
3900
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
3901
|
+
# 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.
|
|
3902
|
+
attr_accessor :expires_after
|
|
3903
|
+
# 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.
|
|
3904
|
+
attr_accessor :expires_at
|
|
3905
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3906
|
+
#
|
|
3907
|
+
# 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.
|
|
3908
|
+
#
|
|
3909
|
+
# 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.
|
|
3910
|
+
#
|
|
3911
|
+
# 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).
|
|
3912
|
+
#
|
|
3913
|
+
# 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`.
|
|
3914
|
+
attr_accessor :setup_future_usage
|
|
3915
|
+
|
|
3916
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
3917
|
+
@expires_after = expires_after
|
|
3918
|
+
@expires_at = expires_at
|
|
3919
|
+
@setup_future_usage = setup_future_usage
|
|
3920
|
+
end
|
|
3921
|
+
end
|
|
3922
|
+
|
|
1535
3923
|
class Ideal < ::Stripe::RequestParams
|
|
1536
3924
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1537
3925
|
#
|
|
@@ -1638,6 +4026,939 @@ module Stripe
|
|
|
1638
4026
|
@reference = reference
|
|
1639
4027
|
end
|
|
1640
4028
|
end
|
|
4029
|
+
|
|
4030
|
+
class SupplementaryPurchaseData < ::Stripe::RequestParams
|
|
4031
|
+
class BusReservationDetail < ::Stripe::RequestParams
|
|
4032
|
+
class Arrival < ::Stripe::RequestParams
|
|
4033
|
+
class Address < ::Stripe::RequestParams
|
|
4034
|
+
# The city or town.
|
|
4035
|
+
attr_accessor :city
|
|
4036
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4037
|
+
attr_accessor :country
|
|
4038
|
+
# The postal code formatted according to country.
|
|
4039
|
+
attr_accessor :postal_code
|
|
4040
|
+
# The state, county, province, or region formatted according to country.
|
|
4041
|
+
attr_accessor :region
|
|
4042
|
+
# Line 1 of the street address.
|
|
4043
|
+
attr_accessor :street_address
|
|
4044
|
+
# Line 2 of the street address.
|
|
4045
|
+
attr_accessor :street_address2
|
|
4046
|
+
|
|
4047
|
+
def initialize(
|
|
4048
|
+
city: nil,
|
|
4049
|
+
country: nil,
|
|
4050
|
+
postal_code: nil,
|
|
4051
|
+
region: nil,
|
|
4052
|
+
street_address: nil,
|
|
4053
|
+
street_address2: nil
|
|
4054
|
+
)
|
|
4055
|
+
@city = city
|
|
4056
|
+
@country = country
|
|
4057
|
+
@postal_code = postal_code
|
|
4058
|
+
@region = region
|
|
4059
|
+
@street_address = street_address
|
|
4060
|
+
@street_address2 = street_address2
|
|
4061
|
+
end
|
|
4062
|
+
end
|
|
4063
|
+
# Address of the arrival location.
|
|
4064
|
+
attr_accessor :address
|
|
4065
|
+
# Identifier name or reference for the arrival location.
|
|
4066
|
+
attr_accessor :arrival_location
|
|
4067
|
+
|
|
4068
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4069
|
+
@address = address
|
|
4070
|
+
@arrival_location = arrival_location
|
|
4071
|
+
end
|
|
4072
|
+
end
|
|
4073
|
+
|
|
4074
|
+
class Departure < ::Stripe::RequestParams
|
|
4075
|
+
class Address < ::Stripe::RequestParams
|
|
4076
|
+
# The city or town.
|
|
4077
|
+
attr_accessor :city
|
|
4078
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4079
|
+
attr_accessor :country
|
|
4080
|
+
# The postal code formatted according to country.
|
|
4081
|
+
attr_accessor :postal_code
|
|
4082
|
+
# The state, county, province, or region formatted according to country.
|
|
4083
|
+
attr_accessor :region
|
|
4084
|
+
# Line 1 of the street address.
|
|
4085
|
+
attr_accessor :street_address
|
|
4086
|
+
# Line 2 of the street address.
|
|
4087
|
+
attr_accessor :street_address2
|
|
4088
|
+
|
|
4089
|
+
def initialize(
|
|
4090
|
+
city: nil,
|
|
4091
|
+
country: nil,
|
|
4092
|
+
postal_code: nil,
|
|
4093
|
+
region: nil,
|
|
4094
|
+
street_address: nil,
|
|
4095
|
+
street_address2: nil
|
|
4096
|
+
)
|
|
4097
|
+
@city = city
|
|
4098
|
+
@country = country
|
|
4099
|
+
@postal_code = postal_code
|
|
4100
|
+
@region = region
|
|
4101
|
+
@street_address = street_address
|
|
4102
|
+
@street_address2 = street_address2
|
|
4103
|
+
end
|
|
4104
|
+
end
|
|
4105
|
+
# Address of the departure location.
|
|
4106
|
+
attr_accessor :address
|
|
4107
|
+
# Timestamp of departure.
|
|
4108
|
+
attr_accessor :departs_at
|
|
4109
|
+
# Identifier name or reference for the origin location.
|
|
4110
|
+
attr_accessor :departure_location
|
|
4111
|
+
|
|
4112
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4113
|
+
@address = address
|
|
4114
|
+
@departs_at = departs_at
|
|
4115
|
+
@departure_location = departure_location
|
|
4116
|
+
end
|
|
4117
|
+
end
|
|
4118
|
+
|
|
4119
|
+
class Insurance < ::Stripe::RequestParams
|
|
4120
|
+
# Insurance currency.
|
|
4121
|
+
attr_accessor :currency
|
|
4122
|
+
# Name of the company providing the insurance.
|
|
4123
|
+
attr_accessor :insurance_company_name
|
|
4124
|
+
# Type of insurance.
|
|
4125
|
+
attr_accessor :insurance_type
|
|
4126
|
+
# Price of insurance in cents.
|
|
4127
|
+
attr_accessor :price
|
|
4128
|
+
|
|
4129
|
+
def initialize(
|
|
4130
|
+
currency: nil,
|
|
4131
|
+
insurance_company_name: nil,
|
|
4132
|
+
insurance_type: nil,
|
|
4133
|
+
price: nil
|
|
4134
|
+
)
|
|
4135
|
+
@currency = currency
|
|
4136
|
+
@insurance_company_name = insurance_company_name
|
|
4137
|
+
@insurance_type = insurance_type
|
|
4138
|
+
@price = price
|
|
4139
|
+
end
|
|
4140
|
+
end
|
|
4141
|
+
|
|
4142
|
+
class Passenger < ::Stripe::RequestParams
|
|
4143
|
+
# The family name of the person.
|
|
4144
|
+
attr_accessor :family_name
|
|
4145
|
+
# The given name of the person.
|
|
4146
|
+
attr_accessor :given_name
|
|
4147
|
+
|
|
4148
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4149
|
+
@family_name = family_name
|
|
4150
|
+
@given_name = given_name
|
|
4151
|
+
end
|
|
4152
|
+
end
|
|
4153
|
+
# Name of associated or partner company for the service.
|
|
4154
|
+
attr_accessor :affiliate_name
|
|
4155
|
+
# Arrival details.
|
|
4156
|
+
attr_accessor :arrival
|
|
4157
|
+
# Name of transportation company.
|
|
4158
|
+
attr_accessor :carrier_name
|
|
4159
|
+
# Currency.
|
|
4160
|
+
attr_accessor :currency
|
|
4161
|
+
# Departure details.
|
|
4162
|
+
attr_accessor :departure
|
|
4163
|
+
# List of insurances for this reservation.
|
|
4164
|
+
attr_accessor :insurances
|
|
4165
|
+
# List of passengers that this reservation applies to.
|
|
4166
|
+
attr_accessor :passengers
|
|
4167
|
+
# Price in cents.
|
|
4168
|
+
attr_accessor :price
|
|
4169
|
+
# Ticket class.
|
|
4170
|
+
attr_accessor :ticket_class
|
|
4171
|
+
|
|
4172
|
+
def initialize(
|
|
4173
|
+
affiliate_name: nil,
|
|
4174
|
+
arrival: nil,
|
|
4175
|
+
carrier_name: nil,
|
|
4176
|
+
currency: nil,
|
|
4177
|
+
departure: nil,
|
|
4178
|
+
insurances: nil,
|
|
4179
|
+
passengers: nil,
|
|
4180
|
+
price: nil,
|
|
4181
|
+
ticket_class: nil
|
|
4182
|
+
)
|
|
4183
|
+
@affiliate_name = affiliate_name
|
|
4184
|
+
@arrival = arrival
|
|
4185
|
+
@carrier_name = carrier_name
|
|
4186
|
+
@currency = currency
|
|
4187
|
+
@departure = departure
|
|
4188
|
+
@insurances = insurances
|
|
4189
|
+
@passengers = passengers
|
|
4190
|
+
@price = price
|
|
4191
|
+
@ticket_class = ticket_class
|
|
4192
|
+
end
|
|
4193
|
+
end
|
|
4194
|
+
|
|
4195
|
+
class EventReservationDetail < ::Stripe::RequestParams
|
|
4196
|
+
class Address < ::Stripe::RequestParams
|
|
4197
|
+
# The city or town.
|
|
4198
|
+
attr_accessor :city
|
|
4199
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4200
|
+
attr_accessor :country
|
|
4201
|
+
# The postal code formatted according to country.
|
|
4202
|
+
attr_accessor :postal_code
|
|
4203
|
+
# The state, county, province, or region formatted according to country.
|
|
4204
|
+
attr_accessor :region
|
|
4205
|
+
# Line 1 of the street address.
|
|
4206
|
+
attr_accessor :street_address
|
|
4207
|
+
# Line 2 of the street address.
|
|
4208
|
+
attr_accessor :street_address2
|
|
4209
|
+
|
|
4210
|
+
def initialize(
|
|
4211
|
+
city: nil,
|
|
4212
|
+
country: nil,
|
|
4213
|
+
postal_code: nil,
|
|
4214
|
+
region: nil,
|
|
4215
|
+
street_address: nil,
|
|
4216
|
+
street_address2: nil
|
|
4217
|
+
)
|
|
4218
|
+
@city = city
|
|
4219
|
+
@country = country
|
|
4220
|
+
@postal_code = postal_code
|
|
4221
|
+
@region = region
|
|
4222
|
+
@street_address = street_address
|
|
4223
|
+
@street_address2 = street_address2
|
|
4224
|
+
end
|
|
4225
|
+
end
|
|
4226
|
+
|
|
4227
|
+
class Insurance < ::Stripe::RequestParams
|
|
4228
|
+
# Insurance currency.
|
|
4229
|
+
attr_accessor :currency
|
|
4230
|
+
# Name of the company providing the insurance.
|
|
4231
|
+
attr_accessor :insurance_company_name
|
|
4232
|
+
# Type of insurance.
|
|
4233
|
+
attr_accessor :insurance_type
|
|
4234
|
+
# Price of insurance in cents.
|
|
4235
|
+
attr_accessor :price
|
|
4236
|
+
|
|
4237
|
+
def initialize(
|
|
4238
|
+
currency: nil,
|
|
4239
|
+
insurance_company_name: nil,
|
|
4240
|
+
insurance_type: nil,
|
|
4241
|
+
price: nil
|
|
4242
|
+
)
|
|
4243
|
+
@currency = currency
|
|
4244
|
+
@insurance_company_name = insurance_company_name
|
|
4245
|
+
@insurance_type = insurance_type
|
|
4246
|
+
@price = price
|
|
4247
|
+
end
|
|
4248
|
+
end
|
|
4249
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
4250
|
+
attr_accessor :access_controlled_venue
|
|
4251
|
+
# Address of the event.
|
|
4252
|
+
attr_accessor :address
|
|
4253
|
+
# Name of associated or partner company for the service.
|
|
4254
|
+
attr_accessor :affiliate_name
|
|
4255
|
+
# End timestamp of the event.
|
|
4256
|
+
attr_accessor :ends_at
|
|
4257
|
+
# Company selling the ticket.
|
|
4258
|
+
attr_accessor :event_company_name
|
|
4259
|
+
# Name of the event.
|
|
4260
|
+
attr_accessor :event_name
|
|
4261
|
+
# Type of the event.
|
|
4262
|
+
attr_accessor :event_type
|
|
4263
|
+
# List of insurances for this event.
|
|
4264
|
+
attr_accessor :insurances
|
|
4265
|
+
# Start timestamp of the event.
|
|
4266
|
+
attr_accessor :starts_at
|
|
4267
|
+
# Name of the venue where the event takes place.
|
|
4268
|
+
attr_accessor :venue_name
|
|
4269
|
+
|
|
4270
|
+
def initialize(
|
|
4271
|
+
access_controlled_venue: nil,
|
|
4272
|
+
address: nil,
|
|
4273
|
+
affiliate_name: nil,
|
|
4274
|
+
ends_at: nil,
|
|
4275
|
+
event_company_name: nil,
|
|
4276
|
+
event_name: nil,
|
|
4277
|
+
event_type: nil,
|
|
4278
|
+
insurances: nil,
|
|
4279
|
+
starts_at: nil,
|
|
4280
|
+
venue_name: nil
|
|
4281
|
+
)
|
|
4282
|
+
@access_controlled_venue = access_controlled_venue
|
|
4283
|
+
@address = address
|
|
4284
|
+
@affiliate_name = affiliate_name
|
|
4285
|
+
@ends_at = ends_at
|
|
4286
|
+
@event_company_name = event_company_name
|
|
4287
|
+
@event_name = event_name
|
|
4288
|
+
@event_type = event_type
|
|
4289
|
+
@insurances = insurances
|
|
4290
|
+
@starts_at = starts_at
|
|
4291
|
+
@venue_name = venue_name
|
|
4292
|
+
end
|
|
4293
|
+
end
|
|
4294
|
+
|
|
4295
|
+
class FerryReservationDetail < ::Stripe::RequestParams
|
|
4296
|
+
class Arrival < ::Stripe::RequestParams
|
|
4297
|
+
class Address < ::Stripe::RequestParams
|
|
4298
|
+
# The city or town.
|
|
4299
|
+
attr_accessor :city
|
|
4300
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4301
|
+
attr_accessor :country
|
|
4302
|
+
# The postal code formatted according to country.
|
|
4303
|
+
attr_accessor :postal_code
|
|
4304
|
+
# The state, county, province, or region formatted according to country.
|
|
4305
|
+
attr_accessor :region
|
|
4306
|
+
# Line 1 of the street address.
|
|
4307
|
+
attr_accessor :street_address
|
|
4308
|
+
# Line 2 of the street address.
|
|
4309
|
+
attr_accessor :street_address2
|
|
4310
|
+
|
|
4311
|
+
def initialize(
|
|
4312
|
+
city: nil,
|
|
4313
|
+
country: nil,
|
|
4314
|
+
postal_code: nil,
|
|
4315
|
+
region: nil,
|
|
4316
|
+
street_address: nil,
|
|
4317
|
+
street_address2: nil
|
|
4318
|
+
)
|
|
4319
|
+
@city = city
|
|
4320
|
+
@country = country
|
|
4321
|
+
@postal_code = postal_code
|
|
4322
|
+
@region = region
|
|
4323
|
+
@street_address = street_address
|
|
4324
|
+
@street_address2 = street_address2
|
|
4325
|
+
end
|
|
4326
|
+
end
|
|
4327
|
+
# Address of the arrival location.
|
|
4328
|
+
attr_accessor :address
|
|
4329
|
+
# Identifier name or reference for the arrival location.
|
|
4330
|
+
attr_accessor :arrival_location
|
|
4331
|
+
|
|
4332
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4333
|
+
@address = address
|
|
4334
|
+
@arrival_location = arrival_location
|
|
4335
|
+
end
|
|
4336
|
+
end
|
|
4337
|
+
|
|
4338
|
+
class Departure < ::Stripe::RequestParams
|
|
4339
|
+
class Address < ::Stripe::RequestParams
|
|
4340
|
+
# The city or town.
|
|
4341
|
+
attr_accessor :city
|
|
4342
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4343
|
+
attr_accessor :country
|
|
4344
|
+
# The postal code formatted according to country.
|
|
4345
|
+
attr_accessor :postal_code
|
|
4346
|
+
# The state, county, province, or region formatted according to country.
|
|
4347
|
+
attr_accessor :region
|
|
4348
|
+
# Line 1 of the street address.
|
|
4349
|
+
attr_accessor :street_address
|
|
4350
|
+
# Line 2 of the street address.
|
|
4351
|
+
attr_accessor :street_address2
|
|
4352
|
+
|
|
4353
|
+
def initialize(
|
|
4354
|
+
city: nil,
|
|
4355
|
+
country: nil,
|
|
4356
|
+
postal_code: nil,
|
|
4357
|
+
region: nil,
|
|
4358
|
+
street_address: nil,
|
|
4359
|
+
street_address2: nil
|
|
4360
|
+
)
|
|
4361
|
+
@city = city
|
|
4362
|
+
@country = country
|
|
4363
|
+
@postal_code = postal_code
|
|
4364
|
+
@region = region
|
|
4365
|
+
@street_address = street_address
|
|
4366
|
+
@street_address2 = street_address2
|
|
4367
|
+
end
|
|
4368
|
+
end
|
|
4369
|
+
# Address of the departure location.
|
|
4370
|
+
attr_accessor :address
|
|
4371
|
+
# Timestamp of departure.
|
|
4372
|
+
attr_accessor :departs_at
|
|
4373
|
+
# Identifier name or reference for the origin location.
|
|
4374
|
+
attr_accessor :departure_location
|
|
4375
|
+
|
|
4376
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4377
|
+
@address = address
|
|
4378
|
+
@departs_at = departs_at
|
|
4379
|
+
@departure_location = departure_location
|
|
4380
|
+
end
|
|
4381
|
+
end
|
|
4382
|
+
|
|
4383
|
+
class Insurance < ::Stripe::RequestParams
|
|
4384
|
+
# Insurance currency.
|
|
4385
|
+
attr_accessor :currency
|
|
4386
|
+
# Name of the company providing the insurance.
|
|
4387
|
+
attr_accessor :insurance_company_name
|
|
4388
|
+
# Type of insurance.
|
|
4389
|
+
attr_accessor :insurance_type
|
|
4390
|
+
# Price of insurance in cents.
|
|
4391
|
+
attr_accessor :price
|
|
4392
|
+
|
|
4393
|
+
def initialize(
|
|
4394
|
+
currency: nil,
|
|
4395
|
+
insurance_company_name: nil,
|
|
4396
|
+
insurance_type: nil,
|
|
4397
|
+
price: nil
|
|
4398
|
+
)
|
|
4399
|
+
@currency = currency
|
|
4400
|
+
@insurance_company_name = insurance_company_name
|
|
4401
|
+
@insurance_type = insurance_type
|
|
4402
|
+
@price = price
|
|
4403
|
+
end
|
|
4404
|
+
end
|
|
4405
|
+
|
|
4406
|
+
class Passenger < ::Stripe::RequestParams
|
|
4407
|
+
# The family name of the person.
|
|
4408
|
+
attr_accessor :family_name
|
|
4409
|
+
# The given name of the person.
|
|
4410
|
+
attr_accessor :given_name
|
|
4411
|
+
|
|
4412
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4413
|
+
@family_name = family_name
|
|
4414
|
+
@given_name = given_name
|
|
4415
|
+
end
|
|
4416
|
+
end
|
|
4417
|
+
# Name of associated or partner company for the service.
|
|
4418
|
+
attr_accessor :affiliate_name
|
|
4419
|
+
# Arrival details.
|
|
4420
|
+
attr_accessor :arrival
|
|
4421
|
+
# Name of transportation company.
|
|
4422
|
+
attr_accessor :carrier_name
|
|
4423
|
+
# Currency.
|
|
4424
|
+
attr_accessor :currency
|
|
4425
|
+
# Departure details.
|
|
4426
|
+
attr_accessor :departure
|
|
4427
|
+
# List of insurances for this reservation.
|
|
4428
|
+
attr_accessor :insurances
|
|
4429
|
+
# List of passengers that this reservation applies to.
|
|
4430
|
+
attr_accessor :passengers
|
|
4431
|
+
# Price in cents.
|
|
4432
|
+
attr_accessor :price
|
|
4433
|
+
# Ticket class.
|
|
4434
|
+
attr_accessor :ticket_class
|
|
4435
|
+
|
|
4436
|
+
def initialize(
|
|
4437
|
+
affiliate_name: nil,
|
|
4438
|
+
arrival: nil,
|
|
4439
|
+
carrier_name: nil,
|
|
4440
|
+
currency: nil,
|
|
4441
|
+
departure: nil,
|
|
4442
|
+
insurances: nil,
|
|
4443
|
+
passengers: nil,
|
|
4444
|
+
price: nil,
|
|
4445
|
+
ticket_class: nil
|
|
4446
|
+
)
|
|
4447
|
+
@affiliate_name = affiliate_name
|
|
4448
|
+
@arrival = arrival
|
|
4449
|
+
@carrier_name = carrier_name
|
|
4450
|
+
@currency = currency
|
|
4451
|
+
@departure = departure
|
|
4452
|
+
@insurances = insurances
|
|
4453
|
+
@passengers = passengers
|
|
4454
|
+
@price = price
|
|
4455
|
+
@ticket_class = ticket_class
|
|
4456
|
+
end
|
|
4457
|
+
end
|
|
4458
|
+
|
|
4459
|
+
class Insurance < ::Stripe::RequestParams
|
|
4460
|
+
# Insurance currency.
|
|
4461
|
+
attr_accessor :currency
|
|
4462
|
+
# Name of the company providing the insurance.
|
|
4463
|
+
attr_accessor :insurance_company_name
|
|
4464
|
+
# Type of insurance
|
|
4465
|
+
attr_accessor :insurance_type
|
|
4466
|
+
# Price of insurance in cents.
|
|
4467
|
+
attr_accessor :price
|
|
4468
|
+
|
|
4469
|
+
def initialize(
|
|
4470
|
+
currency: nil,
|
|
4471
|
+
insurance_company_name: nil,
|
|
4472
|
+
insurance_type: nil,
|
|
4473
|
+
price: nil
|
|
4474
|
+
)
|
|
4475
|
+
@currency = currency
|
|
4476
|
+
@insurance_company_name = insurance_company_name
|
|
4477
|
+
@insurance_type = insurance_type
|
|
4478
|
+
@price = price
|
|
4479
|
+
end
|
|
4480
|
+
end
|
|
4481
|
+
|
|
4482
|
+
class MarketplaceSeller < ::Stripe::RequestParams
|
|
4483
|
+
class MarketplaceSellerAddress < ::Stripe::RequestParams
|
|
4484
|
+
# The city or town.
|
|
4485
|
+
attr_accessor :city
|
|
4486
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4487
|
+
attr_accessor :country
|
|
4488
|
+
# The postal code formatted according to country.
|
|
4489
|
+
attr_accessor :postal_code
|
|
4490
|
+
# The state, county, province, or region formatted according to country.
|
|
4491
|
+
attr_accessor :region
|
|
4492
|
+
# Line 1 of the street address.
|
|
4493
|
+
attr_accessor :street_address
|
|
4494
|
+
# Line 2 of the street address.
|
|
4495
|
+
attr_accessor :street_address2
|
|
4496
|
+
|
|
4497
|
+
def initialize(
|
|
4498
|
+
city: nil,
|
|
4499
|
+
country: nil,
|
|
4500
|
+
postal_code: nil,
|
|
4501
|
+
region: nil,
|
|
4502
|
+
street_address: nil,
|
|
4503
|
+
street_address2: nil
|
|
4504
|
+
)
|
|
4505
|
+
@city = city
|
|
4506
|
+
@country = country
|
|
4507
|
+
@postal_code = postal_code
|
|
4508
|
+
@region = region
|
|
4509
|
+
@street_address = street_address
|
|
4510
|
+
@street_address2 = street_address2
|
|
4511
|
+
end
|
|
4512
|
+
end
|
|
4513
|
+
# The references to line items for purchases with multiple associated sub-sellers.
|
|
4514
|
+
attr_accessor :line_item_references
|
|
4515
|
+
# The address of the selling or delivering merchant.
|
|
4516
|
+
attr_accessor :marketplace_seller_address
|
|
4517
|
+
# The name of the marketplace seller.
|
|
4518
|
+
attr_accessor :marketplace_seller_name
|
|
4519
|
+
# The unique identifier for the marketplace seller.
|
|
4520
|
+
attr_accessor :marketplace_seller_reference
|
|
4521
|
+
# The number of transactions the sub-seller completed in the last 12 months.
|
|
4522
|
+
attr_accessor :number_of_transactions
|
|
4523
|
+
# The category of the product.
|
|
4524
|
+
attr_accessor :product_category
|
|
4525
|
+
# The date when the seller's account with the marketplace was last logged in.
|
|
4526
|
+
attr_accessor :seller_last_login_at
|
|
4527
|
+
# The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
|
|
4528
|
+
attr_accessor :seller_rating
|
|
4529
|
+
# The date when the seller's account with the marketplace was created.
|
|
4530
|
+
attr_accessor :seller_registered_at
|
|
4531
|
+
# The date when the seller's account with the marketplace was last updated.
|
|
4532
|
+
attr_accessor :seller_updated_at
|
|
4533
|
+
# The references to shipping addresses for purchases with multiple associated sub-sellers.
|
|
4534
|
+
attr_accessor :shipping_references
|
|
4535
|
+
# 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.
|
|
4536
|
+
attr_accessor :volume_of_transactions
|
|
4537
|
+
|
|
4538
|
+
def initialize(
|
|
4539
|
+
line_item_references: nil,
|
|
4540
|
+
marketplace_seller_address: nil,
|
|
4541
|
+
marketplace_seller_name: nil,
|
|
4542
|
+
marketplace_seller_reference: nil,
|
|
4543
|
+
number_of_transactions: nil,
|
|
4544
|
+
product_category: nil,
|
|
4545
|
+
seller_last_login_at: nil,
|
|
4546
|
+
seller_rating: nil,
|
|
4547
|
+
seller_registered_at: nil,
|
|
4548
|
+
seller_updated_at: nil,
|
|
4549
|
+
shipping_references: nil,
|
|
4550
|
+
volume_of_transactions: nil
|
|
4551
|
+
)
|
|
4552
|
+
@line_item_references = line_item_references
|
|
4553
|
+
@marketplace_seller_address = marketplace_seller_address
|
|
4554
|
+
@marketplace_seller_name = marketplace_seller_name
|
|
4555
|
+
@marketplace_seller_reference = marketplace_seller_reference
|
|
4556
|
+
@number_of_transactions = number_of_transactions
|
|
4557
|
+
@product_category = product_category
|
|
4558
|
+
@seller_last_login_at = seller_last_login_at
|
|
4559
|
+
@seller_rating = seller_rating
|
|
4560
|
+
@seller_registered_at = seller_registered_at
|
|
4561
|
+
@seller_updated_at = seller_updated_at
|
|
4562
|
+
@shipping_references = shipping_references
|
|
4563
|
+
@volume_of_transactions = volume_of_transactions
|
|
4564
|
+
end
|
|
4565
|
+
end
|
|
4566
|
+
|
|
4567
|
+
class RoundTripReservationDetail < ::Stripe::RequestParams
|
|
4568
|
+
class Arrival < ::Stripe::RequestParams
|
|
4569
|
+
class Address < ::Stripe::RequestParams
|
|
4570
|
+
# The city or town.
|
|
4571
|
+
attr_accessor :city
|
|
4572
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4573
|
+
attr_accessor :country
|
|
4574
|
+
# The postal code formatted according to country.
|
|
4575
|
+
attr_accessor :postal_code
|
|
4576
|
+
# The state, county, province, or region formatted according to country.
|
|
4577
|
+
attr_accessor :region
|
|
4578
|
+
# Line 1 of the street address.
|
|
4579
|
+
attr_accessor :street_address
|
|
4580
|
+
# Line 2 of the street address.
|
|
4581
|
+
attr_accessor :street_address2
|
|
4582
|
+
|
|
4583
|
+
def initialize(
|
|
4584
|
+
city: nil,
|
|
4585
|
+
country: nil,
|
|
4586
|
+
postal_code: nil,
|
|
4587
|
+
region: nil,
|
|
4588
|
+
street_address: nil,
|
|
4589
|
+
street_address2: nil
|
|
4590
|
+
)
|
|
4591
|
+
@city = city
|
|
4592
|
+
@country = country
|
|
4593
|
+
@postal_code = postal_code
|
|
4594
|
+
@region = region
|
|
4595
|
+
@street_address = street_address
|
|
4596
|
+
@street_address2 = street_address2
|
|
4597
|
+
end
|
|
4598
|
+
end
|
|
4599
|
+
# Address of the arrival location.
|
|
4600
|
+
attr_accessor :address
|
|
4601
|
+
# Identifier name or reference for the arrival location.
|
|
4602
|
+
attr_accessor :arrival_location
|
|
4603
|
+
|
|
4604
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4605
|
+
@address = address
|
|
4606
|
+
@arrival_location = arrival_location
|
|
4607
|
+
end
|
|
4608
|
+
end
|
|
4609
|
+
|
|
4610
|
+
class Departure < ::Stripe::RequestParams
|
|
4611
|
+
class Address < ::Stripe::RequestParams
|
|
4612
|
+
# The city or town.
|
|
4613
|
+
attr_accessor :city
|
|
4614
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4615
|
+
attr_accessor :country
|
|
4616
|
+
# The postal code formatted according to country.
|
|
4617
|
+
attr_accessor :postal_code
|
|
4618
|
+
# The state, county, province, or region formatted according to country.
|
|
4619
|
+
attr_accessor :region
|
|
4620
|
+
# Line 1 of the street address.
|
|
4621
|
+
attr_accessor :street_address
|
|
4622
|
+
# Line 2 of the street address.
|
|
4623
|
+
attr_accessor :street_address2
|
|
4624
|
+
|
|
4625
|
+
def initialize(
|
|
4626
|
+
city: nil,
|
|
4627
|
+
country: nil,
|
|
4628
|
+
postal_code: nil,
|
|
4629
|
+
region: nil,
|
|
4630
|
+
street_address: nil,
|
|
4631
|
+
street_address2: nil
|
|
4632
|
+
)
|
|
4633
|
+
@city = city
|
|
4634
|
+
@country = country
|
|
4635
|
+
@postal_code = postal_code
|
|
4636
|
+
@region = region
|
|
4637
|
+
@street_address = street_address
|
|
4638
|
+
@street_address2 = street_address2
|
|
4639
|
+
end
|
|
4640
|
+
end
|
|
4641
|
+
# Address of the departure location.
|
|
4642
|
+
attr_accessor :address
|
|
4643
|
+
# Timestamp of departure.
|
|
4644
|
+
attr_accessor :departs_at
|
|
4645
|
+
# Identifier name or reference for the origin location.
|
|
4646
|
+
attr_accessor :departure_location
|
|
4647
|
+
|
|
4648
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4649
|
+
@address = address
|
|
4650
|
+
@departs_at = departs_at
|
|
4651
|
+
@departure_location = departure_location
|
|
4652
|
+
end
|
|
4653
|
+
end
|
|
4654
|
+
|
|
4655
|
+
class Insurance < ::Stripe::RequestParams
|
|
4656
|
+
# Insurance currency.
|
|
4657
|
+
attr_accessor :currency
|
|
4658
|
+
# Name of the company providing the insurance.
|
|
4659
|
+
attr_accessor :insurance_company_name
|
|
4660
|
+
# Type of insurance.
|
|
4661
|
+
attr_accessor :insurance_type
|
|
4662
|
+
# Price of insurance in cents.
|
|
4663
|
+
attr_accessor :price
|
|
4664
|
+
|
|
4665
|
+
def initialize(
|
|
4666
|
+
currency: nil,
|
|
4667
|
+
insurance_company_name: nil,
|
|
4668
|
+
insurance_type: nil,
|
|
4669
|
+
price: nil
|
|
4670
|
+
)
|
|
4671
|
+
@currency = currency
|
|
4672
|
+
@insurance_company_name = insurance_company_name
|
|
4673
|
+
@insurance_type = insurance_type
|
|
4674
|
+
@price = price
|
|
4675
|
+
end
|
|
4676
|
+
end
|
|
4677
|
+
|
|
4678
|
+
class Passenger < ::Stripe::RequestParams
|
|
4679
|
+
# The family name of the person.
|
|
4680
|
+
attr_accessor :family_name
|
|
4681
|
+
# The given name of the person.
|
|
4682
|
+
attr_accessor :given_name
|
|
4683
|
+
|
|
4684
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4685
|
+
@family_name = family_name
|
|
4686
|
+
@given_name = given_name
|
|
4687
|
+
end
|
|
4688
|
+
end
|
|
4689
|
+
# Name of associated or partner company for the service.
|
|
4690
|
+
attr_accessor :affiliate_name
|
|
4691
|
+
# Arrival details.
|
|
4692
|
+
attr_accessor :arrival
|
|
4693
|
+
# Name of transportation company.
|
|
4694
|
+
attr_accessor :carrier_name
|
|
4695
|
+
# Currency.
|
|
4696
|
+
attr_accessor :currency
|
|
4697
|
+
# Departure details.
|
|
4698
|
+
attr_accessor :departure
|
|
4699
|
+
# List of insurances for this reservation.
|
|
4700
|
+
attr_accessor :insurances
|
|
4701
|
+
# List of passengers that this reservation applies to.
|
|
4702
|
+
attr_accessor :passengers
|
|
4703
|
+
# Price in cents.
|
|
4704
|
+
attr_accessor :price
|
|
4705
|
+
# Ticket class.
|
|
4706
|
+
attr_accessor :ticket_class
|
|
4707
|
+
|
|
4708
|
+
def initialize(
|
|
4709
|
+
affiliate_name: nil,
|
|
4710
|
+
arrival: nil,
|
|
4711
|
+
carrier_name: nil,
|
|
4712
|
+
currency: nil,
|
|
4713
|
+
departure: nil,
|
|
4714
|
+
insurances: nil,
|
|
4715
|
+
passengers: nil,
|
|
4716
|
+
price: nil,
|
|
4717
|
+
ticket_class: nil
|
|
4718
|
+
)
|
|
4719
|
+
@affiliate_name = affiliate_name
|
|
4720
|
+
@arrival = arrival
|
|
4721
|
+
@carrier_name = carrier_name
|
|
4722
|
+
@currency = currency
|
|
4723
|
+
@departure = departure
|
|
4724
|
+
@insurances = insurances
|
|
4725
|
+
@passengers = passengers
|
|
4726
|
+
@price = price
|
|
4727
|
+
@ticket_class = ticket_class
|
|
4728
|
+
end
|
|
4729
|
+
end
|
|
4730
|
+
|
|
4731
|
+
class TrainReservationDetail < ::Stripe::RequestParams
|
|
4732
|
+
class Arrival < ::Stripe::RequestParams
|
|
4733
|
+
class Address < ::Stripe::RequestParams
|
|
4734
|
+
# The city or town.
|
|
4735
|
+
attr_accessor :city
|
|
4736
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4737
|
+
attr_accessor :country
|
|
4738
|
+
# The postal code formatted according to country.
|
|
4739
|
+
attr_accessor :postal_code
|
|
4740
|
+
# The state, county, province, or region formatted according to country.
|
|
4741
|
+
attr_accessor :region
|
|
4742
|
+
# Line 1 of the street address.
|
|
4743
|
+
attr_accessor :street_address
|
|
4744
|
+
# Line 2 of the street address.
|
|
4745
|
+
attr_accessor :street_address2
|
|
4746
|
+
|
|
4747
|
+
def initialize(
|
|
4748
|
+
city: nil,
|
|
4749
|
+
country: nil,
|
|
4750
|
+
postal_code: nil,
|
|
4751
|
+
region: nil,
|
|
4752
|
+
street_address: nil,
|
|
4753
|
+
street_address2: nil
|
|
4754
|
+
)
|
|
4755
|
+
@city = city
|
|
4756
|
+
@country = country
|
|
4757
|
+
@postal_code = postal_code
|
|
4758
|
+
@region = region
|
|
4759
|
+
@street_address = street_address
|
|
4760
|
+
@street_address2 = street_address2
|
|
4761
|
+
end
|
|
4762
|
+
end
|
|
4763
|
+
# Address of the arrival location.
|
|
4764
|
+
attr_accessor :address
|
|
4765
|
+
# Identifier name or reference for the arrival location.
|
|
4766
|
+
attr_accessor :arrival_location
|
|
4767
|
+
|
|
4768
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4769
|
+
@address = address
|
|
4770
|
+
@arrival_location = arrival_location
|
|
4771
|
+
end
|
|
4772
|
+
end
|
|
4773
|
+
|
|
4774
|
+
class Departure < ::Stripe::RequestParams
|
|
4775
|
+
class Address < ::Stripe::RequestParams
|
|
4776
|
+
# The city or town.
|
|
4777
|
+
attr_accessor :city
|
|
4778
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4779
|
+
attr_accessor :country
|
|
4780
|
+
# The postal code formatted according to country.
|
|
4781
|
+
attr_accessor :postal_code
|
|
4782
|
+
# The state, county, province, or region formatted according to country.
|
|
4783
|
+
attr_accessor :region
|
|
4784
|
+
# Line 1 of the street address.
|
|
4785
|
+
attr_accessor :street_address
|
|
4786
|
+
# Line 2 of the street address.
|
|
4787
|
+
attr_accessor :street_address2
|
|
4788
|
+
|
|
4789
|
+
def initialize(
|
|
4790
|
+
city: nil,
|
|
4791
|
+
country: nil,
|
|
4792
|
+
postal_code: nil,
|
|
4793
|
+
region: nil,
|
|
4794
|
+
street_address: nil,
|
|
4795
|
+
street_address2: nil
|
|
4796
|
+
)
|
|
4797
|
+
@city = city
|
|
4798
|
+
@country = country
|
|
4799
|
+
@postal_code = postal_code
|
|
4800
|
+
@region = region
|
|
4801
|
+
@street_address = street_address
|
|
4802
|
+
@street_address2 = street_address2
|
|
4803
|
+
end
|
|
4804
|
+
end
|
|
4805
|
+
# Address of the departure location.
|
|
4806
|
+
attr_accessor :address
|
|
4807
|
+
# Timestamp of departure.
|
|
4808
|
+
attr_accessor :departs_at
|
|
4809
|
+
# Identifier name or reference for the origin location.
|
|
4810
|
+
attr_accessor :departure_location
|
|
4811
|
+
|
|
4812
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4813
|
+
@address = address
|
|
4814
|
+
@departs_at = departs_at
|
|
4815
|
+
@departure_location = departure_location
|
|
4816
|
+
end
|
|
4817
|
+
end
|
|
4818
|
+
|
|
4819
|
+
class Insurance < ::Stripe::RequestParams
|
|
4820
|
+
# Insurance currency.
|
|
4821
|
+
attr_accessor :currency
|
|
4822
|
+
# Name of the company providing the insurance.
|
|
4823
|
+
attr_accessor :insurance_company_name
|
|
4824
|
+
# Type of insurance.
|
|
4825
|
+
attr_accessor :insurance_type
|
|
4826
|
+
# Price of insurance in cents.
|
|
4827
|
+
attr_accessor :price
|
|
4828
|
+
|
|
4829
|
+
def initialize(
|
|
4830
|
+
currency: nil,
|
|
4831
|
+
insurance_company_name: nil,
|
|
4832
|
+
insurance_type: nil,
|
|
4833
|
+
price: nil
|
|
4834
|
+
)
|
|
4835
|
+
@currency = currency
|
|
4836
|
+
@insurance_company_name = insurance_company_name
|
|
4837
|
+
@insurance_type = insurance_type
|
|
4838
|
+
@price = price
|
|
4839
|
+
end
|
|
4840
|
+
end
|
|
4841
|
+
|
|
4842
|
+
class Passenger < ::Stripe::RequestParams
|
|
4843
|
+
# The family name of the person.
|
|
4844
|
+
attr_accessor :family_name
|
|
4845
|
+
# The given name of the person.
|
|
4846
|
+
attr_accessor :given_name
|
|
4847
|
+
|
|
4848
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4849
|
+
@family_name = family_name
|
|
4850
|
+
@given_name = given_name
|
|
4851
|
+
end
|
|
4852
|
+
end
|
|
4853
|
+
# Name of associated or partner company for the service.
|
|
4854
|
+
attr_accessor :affiliate_name
|
|
4855
|
+
# Arrival details.
|
|
4856
|
+
attr_accessor :arrival
|
|
4857
|
+
# Name of transportation company.
|
|
4858
|
+
attr_accessor :carrier_name
|
|
4859
|
+
# Currency.
|
|
4860
|
+
attr_accessor :currency
|
|
4861
|
+
# Departure details.
|
|
4862
|
+
attr_accessor :departure
|
|
4863
|
+
# List of insurances for this reservation.
|
|
4864
|
+
attr_accessor :insurances
|
|
4865
|
+
# List of passengers that this reservation applies to.
|
|
4866
|
+
attr_accessor :passengers
|
|
4867
|
+
# Price in cents.
|
|
4868
|
+
attr_accessor :price
|
|
4869
|
+
# Ticket class.
|
|
4870
|
+
attr_accessor :ticket_class
|
|
4871
|
+
|
|
4872
|
+
def initialize(
|
|
4873
|
+
affiliate_name: nil,
|
|
4874
|
+
arrival: nil,
|
|
4875
|
+
carrier_name: nil,
|
|
4876
|
+
currency: nil,
|
|
4877
|
+
departure: nil,
|
|
4878
|
+
insurances: nil,
|
|
4879
|
+
passengers: nil,
|
|
4880
|
+
price: nil,
|
|
4881
|
+
ticket_class: nil
|
|
4882
|
+
)
|
|
4883
|
+
@affiliate_name = affiliate_name
|
|
4884
|
+
@arrival = arrival
|
|
4885
|
+
@carrier_name = carrier_name
|
|
4886
|
+
@currency = currency
|
|
4887
|
+
@departure = departure
|
|
4888
|
+
@insurances = insurances
|
|
4889
|
+
@passengers = passengers
|
|
4890
|
+
@price = price
|
|
4891
|
+
@ticket_class = ticket_class
|
|
4892
|
+
end
|
|
4893
|
+
end
|
|
4894
|
+
|
|
4895
|
+
class Voucher < ::Stripe::RequestParams
|
|
4896
|
+
# Name of associated or partner company for this voucher.
|
|
4897
|
+
attr_accessor :affiliate_name
|
|
4898
|
+
# The voucher validity end time.
|
|
4899
|
+
attr_accessor :ends_at
|
|
4900
|
+
# The voucher validity start time.
|
|
4901
|
+
attr_accessor :starts_at
|
|
4902
|
+
# The issuer or provider of this voucher.
|
|
4903
|
+
attr_accessor :voucher_company
|
|
4904
|
+
# The name or reference to identify the voucher.
|
|
4905
|
+
attr_accessor :voucher_name
|
|
4906
|
+
# The type of this voucher.
|
|
4907
|
+
attr_accessor :voucher_type
|
|
4908
|
+
|
|
4909
|
+
def initialize(
|
|
4910
|
+
affiliate_name: nil,
|
|
4911
|
+
ends_at: nil,
|
|
4912
|
+
starts_at: nil,
|
|
4913
|
+
voucher_company: nil,
|
|
4914
|
+
voucher_name: nil,
|
|
4915
|
+
voucher_type: nil
|
|
4916
|
+
)
|
|
4917
|
+
@affiliate_name = affiliate_name
|
|
4918
|
+
@ends_at = ends_at
|
|
4919
|
+
@starts_at = starts_at
|
|
4920
|
+
@voucher_company = voucher_company
|
|
4921
|
+
@voucher_name = voucher_name
|
|
4922
|
+
@voucher_type = voucher_type
|
|
4923
|
+
end
|
|
4924
|
+
end
|
|
4925
|
+
# Supplementary bus reservation details.
|
|
4926
|
+
attr_accessor :bus_reservation_details
|
|
4927
|
+
# Supplementary event reservation details.
|
|
4928
|
+
attr_accessor :event_reservation_details
|
|
4929
|
+
# Supplementary ferry reservation details.
|
|
4930
|
+
attr_accessor :ferry_reservation_details
|
|
4931
|
+
# Supplementary insurance details.
|
|
4932
|
+
attr_accessor :insurances
|
|
4933
|
+
# Supplementary marketplace seller details.
|
|
4934
|
+
attr_accessor :marketplace_sellers
|
|
4935
|
+
# Supplementary round trip reservation details.
|
|
4936
|
+
attr_accessor :round_trip_reservation_details
|
|
4937
|
+
# Supplementary train reservation details.
|
|
4938
|
+
attr_accessor :train_reservation_details
|
|
4939
|
+
# Voucher details, such as a gift card or discount code.
|
|
4940
|
+
attr_accessor :vouchers
|
|
4941
|
+
|
|
4942
|
+
def initialize(
|
|
4943
|
+
bus_reservation_details: nil,
|
|
4944
|
+
event_reservation_details: nil,
|
|
4945
|
+
ferry_reservation_details: nil,
|
|
4946
|
+
insurances: nil,
|
|
4947
|
+
marketplace_sellers: nil,
|
|
4948
|
+
round_trip_reservation_details: nil,
|
|
4949
|
+
train_reservation_details: nil,
|
|
4950
|
+
vouchers: nil
|
|
4951
|
+
)
|
|
4952
|
+
@bus_reservation_details = bus_reservation_details
|
|
4953
|
+
@event_reservation_details = event_reservation_details
|
|
4954
|
+
@ferry_reservation_details = ferry_reservation_details
|
|
4955
|
+
@insurances = insurances
|
|
4956
|
+
@marketplace_sellers = marketplace_sellers
|
|
4957
|
+
@round_trip_reservation_details = round_trip_reservation_details
|
|
4958
|
+
@train_reservation_details = train_reservation_details
|
|
4959
|
+
@vouchers = vouchers
|
|
4960
|
+
end
|
|
4961
|
+
end
|
|
1641
4962
|
# Controls when the funds are captured from the customer's account.
|
|
1642
4963
|
#
|
|
1643
4964
|
# 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.
|
|
@@ -1660,19 +4981,23 @@ module Stripe
|
|
|
1660
4981
|
attr_accessor :setup_future_usage
|
|
1661
4982
|
# Subscription details if setting up or charging a subscription.
|
|
1662
4983
|
attr_accessor :subscriptions
|
|
4984
|
+
# Supplementary Purchase Data for the corresponding Klarna payment
|
|
4985
|
+
attr_accessor :supplementary_purchase_data
|
|
1663
4986
|
|
|
1664
4987
|
def initialize(
|
|
1665
4988
|
capture_method: nil,
|
|
1666
4989
|
on_demand: nil,
|
|
1667
4990
|
preferred_locale: nil,
|
|
1668
4991
|
setup_future_usage: nil,
|
|
1669
|
-
subscriptions: nil
|
|
4992
|
+
subscriptions: nil,
|
|
4993
|
+
supplementary_purchase_data: nil
|
|
1670
4994
|
)
|
|
1671
4995
|
@capture_method = capture_method
|
|
1672
4996
|
@on_demand = on_demand
|
|
1673
4997
|
@preferred_locale = preferred_locale
|
|
1674
4998
|
@setup_future_usage = setup_future_usage
|
|
1675
4999
|
@subscriptions = subscriptions
|
|
5000
|
+
@supplementary_purchase_data = supplementary_purchase_data
|
|
1676
5001
|
end
|
|
1677
5002
|
end
|
|
1678
5003
|
|
|
@@ -1933,12 +5258,65 @@ module Stripe
|
|
|
1933
5258
|
end
|
|
1934
5259
|
|
|
1935
5260
|
class Paypal < ::Stripe::RequestParams
|
|
5261
|
+
class LineItem < ::Stripe::RequestParams
|
|
5262
|
+
class Tax < ::Stripe::RequestParams
|
|
5263
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
5264
|
+
attr_accessor :amount
|
|
5265
|
+
# The tax behavior for the line item.
|
|
5266
|
+
attr_accessor :behavior
|
|
5267
|
+
|
|
5268
|
+
def initialize(amount: nil, behavior: nil)
|
|
5269
|
+
@amount = amount
|
|
5270
|
+
@behavior = behavior
|
|
5271
|
+
end
|
|
5272
|
+
end
|
|
5273
|
+
# Type of the line item.
|
|
5274
|
+
attr_accessor :category
|
|
5275
|
+
# Description of the line item.
|
|
5276
|
+
attr_accessor :description
|
|
5277
|
+
# Descriptive name of the line item.
|
|
5278
|
+
attr_accessor :name
|
|
5279
|
+
# Quantity of the line item. Must be a positive number.
|
|
5280
|
+
attr_accessor :quantity
|
|
5281
|
+
# Client facing stock keeping unit, article number or similar.
|
|
5282
|
+
attr_accessor :sku
|
|
5283
|
+
# The Stripe account ID of the connected account that sells the item.
|
|
5284
|
+
attr_accessor :sold_by
|
|
5285
|
+
# The tax information for the line item.
|
|
5286
|
+
attr_accessor :tax
|
|
5287
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
5288
|
+
attr_accessor :unit_amount
|
|
5289
|
+
|
|
5290
|
+
def initialize(
|
|
5291
|
+
category: nil,
|
|
5292
|
+
description: nil,
|
|
5293
|
+
name: nil,
|
|
5294
|
+
quantity: nil,
|
|
5295
|
+
sku: nil,
|
|
5296
|
+
sold_by: nil,
|
|
5297
|
+
tax: nil,
|
|
5298
|
+
unit_amount: nil
|
|
5299
|
+
)
|
|
5300
|
+
@category = category
|
|
5301
|
+
@description = description
|
|
5302
|
+
@name = name
|
|
5303
|
+
@quantity = quantity
|
|
5304
|
+
@sku = sku
|
|
5305
|
+
@sold_by = sold_by
|
|
5306
|
+
@tax = tax
|
|
5307
|
+
@unit_amount = unit_amount
|
|
5308
|
+
end
|
|
5309
|
+
end
|
|
1936
5310
|
# Controls when the funds will be captured from the customer's account.
|
|
1937
5311
|
attr_accessor :capture_method
|
|
5312
|
+
# The line items purchased by the customer.
|
|
5313
|
+
attr_accessor :line_items
|
|
1938
5314
|
# [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
1939
5315
|
attr_accessor :preferred_locale
|
|
1940
5316
|
# 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.
|
|
1941
5317
|
attr_accessor :reference
|
|
5318
|
+
# 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.
|
|
5319
|
+
attr_accessor :reference_id
|
|
1942
5320
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
1943
5321
|
attr_accessor :risk_correlation_id
|
|
1944
5322
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1951,19 +5329,40 @@ module Stripe
|
|
|
1951
5329
|
#
|
|
1952
5330
|
# 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`.
|
|
1953
5331
|
attr_accessor :setup_future_usage
|
|
5332
|
+
# 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.
|
|
5333
|
+
attr_accessor :subsellers
|
|
1954
5334
|
|
|
1955
5335
|
def initialize(
|
|
1956
5336
|
capture_method: nil,
|
|
5337
|
+
line_items: nil,
|
|
1957
5338
|
preferred_locale: nil,
|
|
1958
5339
|
reference: nil,
|
|
5340
|
+
reference_id: nil,
|
|
1959
5341
|
risk_correlation_id: nil,
|
|
1960
|
-
setup_future_usage: nil
|
|
5342
|
+
setup_future_usage: nil,
|
|
5343
|
+
subsellers: nil
|
|
1961
5344
|
)
|
|
1962
5345
|
@capture_method = capture_method
|
|
5346
|
+
@line_items = line_items
|
|
1963
5347
|
@preferred_locale = preferred_locale
|
|
1964
5348
|
@reference = reference
|
|
5349
|
+
@reference_id = reference_id
|
|
1965
5350
|
@risk_correlation_id = risk_correlation_id
|
|
1966
5351
|
@setup_future_usage = setup_future_usage
|
|
5352
|
+
@subsellers = subsellers
|
|
5353
|
+
end
|
|
5354
|
+
end
|
|
5355
|
+
|
|
5356
|
+
class Paypay < ::Stripe::RequestParams
|
|
5357
|
+
# Controls when the funds are captured from the customer's account.
|
|
5358
|
+
#
|
|
5359
|
+
# 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.
|
|
5360
|
+
#
|
|
5361
|
+
# 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.
|
|
5362
|
+
attr_accessor :capture_method
|
|
5363
|
+
|
|
5364
|
+
def initialize(capture_method: nil)
|
|
5365
|
+
@capture_method = capture_method
|
|
1967
5366
|
end
|
|
1968
5367
|
end
|
|
1969
5368
|
|
|
@@ -2105,6 +5504,25 @@ module Stripe
|
|
|
2105
5504
|
end
|
|
2106
5505
|
end
|
|
2107
5506
|
|
|
5507
|
+
class Qris < ::Stripe::RequestParams
|
|
5508
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5509
|
+
#
|
|
5510
|
+
# 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.
|
|
5511
|
+
#
|
|
5512
|
+
# 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.
|
|
5513
|
+
#
|
|
5514
|
+
# 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).
|
|
5515
|
+
#
|
|
5516
|
+
# 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`.
|
|
5517
|
+
attr_accessor :setup_future_usage
|
|
5518
|
+
|
|
5519
|
+
def initialize(setup_future_usage: nil)
|
|
5520
|
+
@setup_future_usage = setup_future_usage
|
|
5521
|
+
end
|
|
5522
|
+
end
|
|
5523
|
+
|
|
5524
|
+
class Rechnung < ::Stripe::RequestParams; end
|
|
5525
|
+
|
|
2108
5526
|
class RevolutPay < ::Stripe::RequestParams
|
|
2109
5527
|
# Controls when the funds are captured from the customer's account.
|
|
2110
5528
|
#
|
|
@@ -2197,6 +5615,23 @@ module Stripe
|
|
|
2197
5615
|
end
|
|
2198
5616
|
end
|
|
2199
5617
|
|
|
5618
|
+
class Shopeepay < ::Stripe::RequestParams
|
|
5619
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5620
|
+
#
|
|
5621
|
+
# 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.
|
|
5622
|
+
#
|
|
5623
|
+
# 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.
|
|
5624
|
+
#
|
|
5625
|
+
# 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).
|
|
5626
|
+
#
|
|
5627
|
+
# 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`.
|
|
5628
|
+
attr_accessor :setup_future_usage
|
|
5629
|
+
|
|
5630
|
+
def initialize(setup_future_usage: nil)
|
|
5631
|
+
@setup_future_usage = setup_future_usage
|
|
5632
|
+
end
|
|
5633
|
+
end
|
|
5634
|
+
|
|
2200
5635
|
class Sofort < ::Stripe::RequestParams
|
|
2201
5636
|
# Language shown to the payer on redirect.
|
|
2202
5637
|
attr_accessor :preferred_language
|
|
@@ -2217,6 +5652,34 @@ module Stripe
|
|
|
2217
5652
|
end
|
|
2218
5653
|
end
|
|
2219
5654
|
|
|
5655
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
5656
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
5657
|
+
# The ID of the Stripe Balance Debit Agreement used for this mandate.
|
|
5658
|
+
attr_accessor :stripe_balance_debit_agreement
|
|
5659
|
+
|
|
5660
|
+
def initialize(stripe_balance_debit_agreement: nil)
|
|
5661
|
+
@stripe_balance_debit_agreement = stripe_balance_debit_agreement
|
|
5662
|
+
end
|
|
5663
|
+
end
|
|
5664
|
+
# Additional fields for mandate creation.
|
|
5665
|
+
attr_accessor :mandate_options
|
|
5666
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5667
|
+
#
|
|
5668
|
+
# 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.
|
|
5669
|
+
#
|
|
5670
|
+
# 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.
|
|
5671
|
+
#
|
|
5672
|
+
# 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).
|
|
5673
|
+
#
|
|
5674
|
+
# 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`.
|
|
5675
|
+
attr_accessor :setup_future_usage
|
|
5676
|
+
|
|
5677
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
5678
|
+
@mandate_options = mandate_options
|
|
5679
|
+
@setup_future_usage = setup_future_usage
|
|
5680
|
+
end
|
|
5681
|
+
end
|
|
5682
|
+
|
|
2220
5683
|
class Swish < ::Stripe::RequestParams
|
|
2221
5684
|
# A reference for this payment to be displayed in the Swish app.
|
|
2222
5685
|
attr_accessor :reference
|
|
@@ -2288,13 +5751,27 @@ module Stripe
|
|
|
2288
5751
|
class Filters < ::Stripe::RequestParams
|
|
2289
5752
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2290
5753
|
attr_accessor :account_subcategories
|
|
5754
|
+
# ID of the institution to use to filter for selectable accounts.
|
|
5755
|
+
attr_accessor :institution
|
|
2291
5756
|
|
|
2292
|
-
def initialize(account_subcategories: nil)
|
|
5757
|
+
def initialize(account_subcategories: nil, institution: nil)
|
|
2293
5758
|
@account_subcategories = account_subcategories
|
|
5759
|
+
@institution = institution
|
|
5760
|
+
end
|
|
5761
|
+
end
|
|
5762
|
+
|
|
5763
|
+
class ManualEntry < ::Stripe::RequestParams
|
|
5764
|
+
# Settings for configuring manual entry of account details.
|
|
5765
|
+
attr_accessor :mode
|
|
5766
|
+
|
|
5767
|
+
def initialize(mode: nil)
|
|
5768
|
+
@mode = mode
|
|
2294
5769
|
end
|
|
2295
5770
|
end
|
|
2296
5771
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
2297
5772
|
attr_accessor :filters
|
|
5773
|
+
# Customize manual entry behavior
|
|
5774
|
+
attr_accessor :manual_entry
|
|
2298
5775
|
# 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`.
|
|
2299
5776
|
attr_accessor :permissions
|
|
2300
5777
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -2302,8 +5779,15 @@ module Stripe
|
|
|
2302
5779
|
# 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.
|
|
2303
5780
|
attr_accessor :return_url
|
|
2304
5781
|
|
|
2305
|
-
def initialize(
|
|
5782
|
+
def initialize(
|
|
5783
|
+
filters: nil,
|
|
5784
|
+
manual_entry: nil,
|
|
5785
|
+
permissions: nil,
|
|
5786
|
+
prefetch: nil,
|
|
5787
|
+
return_url: nil
|
|
5788
|
+
)
|
|
2306
5789
|
@filters = filters
|
|
5790
|
+
@manual_entry = manual_entry
|
|
2307
5791
|
@permissions = permissions
|
|
2308
5792
|
@prefetch = prefetch
|
|
2309
5793
|
@return_url = return_url
|
|
@@ -2448,10 +5932,16 @@ module Stripe
|
|
|
2448
5932
|
attr_accessor :eps
|
|
2449
5933
|
# If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
|
|
2450
5934
|
attr_accessor :fpx
|
|
5935
|
+
# If this is a `gift_card` PaymentMethod, this sub-hash contains details about the gift card payment method options.
|
|
5936
|
+
attr_accessor :gift_card
|
|
2451
5937
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
2452
5938
|
attr_accessor :giropay
|
|
5939
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
5940
|
+
attr_accessor :gopay
|
|
2453
5941
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
2454
5942
|
attr_accessor :grabpay
|
|
5943
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
5944
|
+
attr_accessor :id_bank_transfer
|
|
2455
5945
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
2456
5946
|
attr_accessor :ideal
|
|
2457
5947
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -2488,12 +5978,18 @@ module Stripe
|
|
|
2488
5978
|
attr_accessor :paynow
|
|
2489
5979
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
2490
5980
|
attr_accessor :paypal
|
|
5981
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
5982
|
+
attr_accessor :paypay
|
|
2491
5983
|
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
2492
5984
|
attr_accessor :payto
|
|
2493
5985
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
2494
5986
|
attr_accessor :pix
|
|
2495
5987
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
2496
5988
|
attr_accessor :promptpay
|
|
5989
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
5990
|
+
attr_accessor :qris
|
|
5991
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
5992
|
+
attr_accessor :rechnung
|
|
2497
5993
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
2498
5994
|
attr_accessor :revolut_pay
|
|
2499
5995
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -2504,8 +6000,12 @@ module Stripe
|
|
|
2504
6000
|
attr_accessor :scalapay
|
|
2505
6001
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2506
6002
|
attr_accessor :sepa_debit
|
|
6003
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
6004
|
+
attr_accessor :shopeepay
|
|
2507
6005
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
2508
6006
|
attr_accessor :sofort
|
|
6007
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
6008
|
+
attr_accessor :stripe_balance
|
|
2509
6009
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
2510
6010
|
attr_accessor :swish
|
|
2511
6011
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -2540,8 +6040,11 @@ module Stripe
|
|
|
2540
6040
|
customer_balance: nil,
|
|
2541
6041
|
eps: nil,
|
|
2542
6042
|
fpx: nil,
|
|
6043
|
+
gift_card: nil,
|
|
2543
6044
|
giropay: nil,
|
|
6045
|
+
gopay: nil,
|
|
2544
6046
|
grabpay: nil,
|
|
6047
|
+
id_bank_transfer: nil,
|
|
2545
6048
|
ideal: nil,
|
|
2546
6049
|
interac_present: nil,
|
|
2547
6050
|
kakao_pay: nil,
|
|
@@ -2560,15 +6063,20 @@ module Stripe
|
|
|
2560
6063
|
payco: nil,
|
|
2561
6064
|
paynow: nil,
|
|
2562
6065
|
paypal: nil,
|
|
6066
|
+
paypay: nil,
|
|
2563
6067
|
payto: nil,
|
|
2564
6068
|
pix: nil,
|
|
2565
6069
|
promptpay: nil,
|
|
6070
|
+
qris: nil,
|
|
6071
|
+
rechnung: nil,
|
|
2566
6072
|
revolut_pay: nil,
|
|
2567
6073
|
samsung_pay: nil,
|
|
2568
6074
|
satispay: nil,
|
|
2569
6075
|
scalapay: nil,
|
|
2570
6076
|
sepa_debit: nil,
|
|
6077
|
+
shopeepay: nil,
|
|
2571
6078
|
sofort: nil,
|
|
6079
|
+
stripe_balance: nil,
|
|
2572
6080
|
swish: nil,
|
|
2573
6081
|
twint: nil,
|
|
2574
6082
|
upi: nil,
|
|
@@ -2596,8 +6104,11 @@ module Stripe
|
|
|
2596
6104
|
@customer_balance = customer_balance
|
|
2597
6105
|
@eps = eps
|
|
2598
6106
|
@fpx = fpx
|
|
6107
|
+
@gift_card = gift_card
|
|
2599
6108
|
@giropay = giropay
|
|
6109
|
+
@gopay = gopay
|
|
2600
6110
|
@grabpay = grabpay
|
|
6111
|
+
@id_bank_transfer = id_bank_transfer
|
|
2601
6112
|
@ideal = ideal
|
|
2602
6113
|
@interac_present = interac_present
|
|
2603
6114
|
@kakao_pay = kakao_pay
|
|
@@ -2616,15 +6127,20 @@ module Stripe
|
|
|
2616
6127
|
@payco = payco
|
|
2617
6128
|
@paynow = paynow
|
|
2618
6129
|
@paypal = paypal
|
|
6130
|
+
@paypay = paypay
|
|
2619
6131
|
@payto = payto
|
|
2620
6132
|
@pix = pix
|
|
2621
6133
|
@promptpay = promptpay
|
|
6134
|
+
@qris = qris
|
|
6135
|
+
@rechnung = rechnung
|
|
2622
6136
|
@revolut_pay = revolut_pay
|
|
2623
6137
|
@samsung_pay = samsung_pay
|
|
2624
6138
|
@satispay = satispay
|
|
2625
6139
|
@scalapay = scalapay
|
|
2626
6140
|
@sepa_debit = sepa_debit
|
|
6141
|
+
@shopeepay = shopeepay
|
|
2627
6142
|
@sofort = sofort
|
|
6143
|
+
@stripe_balance = stripe_balance
|
|
2628
6144
|
@swish = swish
|
|
2629
6145
|
@twint = twint
|
|
2630
6146
|
@upi = upi
|
|
@@ -2713,6 +6229,10 @@ module Stripe
|
|
|
2713
6229
|
@payment_data = payment_data
|
|
2714
6230
|
end
|
|
2715
6231
|
end
|
|
6232
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
6233
|
+
attr_accessor :allocated_funds
|
|
6234
|
+
# 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`.
|
|
6235
|
+
attr_accessor :allowed_payment_method_types
|
|
2716
6236
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
2717
6237
|
attr_accessor :amount
|
|
2718
6238
|
# Provides industry-specific information about the amount.
|
|
@@ -2741,13 +6261,17 @@ module Stripe
|
|
|
2741
6261
|
attr_accessor :excluded_payment_method_types
|
|
2742
6262
|
# Specifies which fields in the response should be expanded.
|
|
2743
6263
|
attr_accessor :expand
|
|
6264
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
6265
|
+
attr_accessor :fx_quote
|
|
2744
6266
|
# Automations to be run during the PaymentIntent lifecycle
|
|
2745
6267
|
attr_accessor :hooks
|
|
6268
|
+
# This hash contains details about the Mandate to create.
|
|
6269
|
+
attr_accessor :mandate_data
|
|
2746
6270
|
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2747
6271
|
attr_accessor :metadata
|
|
2748
6272
|
# Provides industry-specific information about the charge.
|
|
2749
6273
|
attr_accessor :payment_details
|
|
2750
|
-
#
|
|
6274
|
+
# Attribute for param field payment_method
|
|
2751
6275
|
attr_accessor :payment_method
|
|
2752
6276
|
# The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
|
|
2753
6277
|
attr_accessor :payment_method_configuration
|
|
@@ -2785,6 +6309,8 @@ module Stripe
|
|
|
2785
6309
|
attr_accessor :transfer_group
|
|
2786
6310
|
|
|
2787
6311
|
def initialize(
|
|
6312
|
+
allocated_funds: nil,
|
|
6313
|
+
allowed_payment_method_types: nil,
|
|
2788
6314
|
amount: nil,
|
|
2789
6315
|
amount_details: nil,
|
|
2790
6316
|
application_fee_amount: nil,
|
|
@@ -2795,7 +6321,9 @@ module Stripe
|
|
|
2795
6321
|
description: nil,
|
|
2796
6322
|
excluded_payment_method_types: nil,
|
|
2797
6323
|
expand: nil,
|
|
6324
|
+
fx_quote: nil,
|
|
2798
6325
|
hooks: nil,
|
|
6326
|
+
mandate_data: nil,
|
|
2799
6327
|
metadata: nil,
|
|
2800
6328
|
payment_details: nil,
|
|
2801
6329
|
payment_method: nil,
|
|
@@ -2811,6 +6339,8 @@ module Stripe
|
|
|
2811
6339
|
transfer_data: nil,
|
|
2812
6340
|
transfer_group: nil
|
|
2813
6341
|
)
|
|
6342
|
+
@allocated_funds = allocated_funds
|
|
6343
|
+
@allowed_payment_method_types = allowed_payment_method_types
|
|
2814
6344
|
@amount = amount
|
|
2815
6345
|
@amount_details = amount_details
|
|
2816
6346
|
@application_fee_amount = application_fee_amount
|
|
@@ -2821,7 +6351,9 @@ module Stripe
|
|
|
2821
6351
|
@description = description
|
|
2822
6352
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
2823
6353
|
@expand = expand
|
|
6354
|
+
@fx_quote = fx_quote
|
|
2824
6355
|
@hooks = hooks
|
|
6356
|
+
@mandate_data = mandate_data
|
|
2825
6357
|
@metadata = metadata
|
|
2826
6358
|
@payment_details = payment_details
|
|
2827
6359
|
@payment_method = payment_method
|