stripe 19.2.0 → 19.3.0.pre.alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +38 -3
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +90 -0
- data/lib/stripe/event_types.rb +1304 -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/object_types.rb +119 -0
- data/lib/stripe/params/account_create_params.rb +426 -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 +32 -0
- data/lib/stripe/params/account_person_update_params.rb +32 -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 +388 -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/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_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 +3650 -158
- data/lib/stripe/params/payment_intent_create_params.rb +3636 -120
- 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 +3671 -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 +13 -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 +64 -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/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 +1683 -5
- 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 +1663 -6
- 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 +12 -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 +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 +876 -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/requested_session.rb +875 -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 +262 -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/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 +2267 -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 +36 -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/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 +142 -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 +142 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +145 -0
- data/lib/stripe/resources.rb +1710 -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/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -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/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 +17 -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/payment_service.rb +17 -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/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/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 +11 -1
- data/lib/stripe/services.rb +372 -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 +2514 -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 +222384 -111505
- metadata +1003 -3
|
@@ -3,15 +3,38 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentCreateParams < ::Stripe::RequestParams
|
|
6
|
+
class AllocatedFunds < ::Stripe::RequestParams
|
|
7
|
+
# Whether Allocated Funds creation is enabled for this PaymentIntent.
|
|
8
|
+
attr_accessor :enabled
|
|
9
|
+
|
|
10
|
+
def initialize(enabled: nil)
|
|
11
|
+
@enabled = enabled
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
6
15
|
class AmountDetails < ::Stripe::RequestParams
|
|
7
16
|
class LineItem < ::Stripe::RequestParams
|
|
8
17
|
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
9
18
|
class Card < ::Stripe::RequestParams
|
|
19
|
+
class FleetData < ::Stripe::RequestParams
|
|
20
|
+
# The type of product being purchased at this line item.
|
|
21
|
+
attr_accessor :product_type
|
|
22
|
+
# The type of service received at the acceptor location.
|
|
23
|
+
attr_accessor :service_type
|
|
24
|
+
|
|
25
|
+
def initialize(product_type: nil, service_type: nil)
|
|
26
|
+
@product_type = product_type
|
|
27
|
+
@service_type = service_type
|
|
28
|
+
end
|
|
29
|
+
end
|
|
10
30
|
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
|
|
11
31
|
attr_accessor :commodity_code
|
|
32
|
+
# Fleet data for this line item.
|
|
33
|
+
attr_accessor :fleet_data
|
|
12
34
|
|
|
13
|
-
def initialize(commodity_code: nil)
|
|
35
|
+
def initialize(commodity_code: nil, fleet_data: nil)
|
|
14
36
|
@commodity_code = commodity_code
|
|
37
|
+
@fleet_data = fleet_data
|
|
15
38
|
end
|
|
16
39
|
end
|
|
17
40
|
|
|
@@ -102,6 +125,8 @@ module Stripe
|
|
|
102
125
|
attr_accessor :product_name
|
|
103
126
|
# The quantity of items. Required for L3 rates. An integer greater than 0.
|
|
104
127
|
attr_accessor :quantity
|
|
128
|
+
# The number of decimal places implied in the quantity. For example, if quantity is 10000 and quantity_precision is 2, the actual quantity is 100.00. Defaults to 0 if not provided.
|
|
129
|
+
attr_accessor :quantity_precision
|
|
105
130
|
# Contains information about the tax on the item.
|
|
106
131
|
attr_accessor :tax
|
|
107
132
|
# The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
@@ -115,6 +140,7 @@ module Stripe
|
|
|
115
140
|
product_code: nil,
|
|
116
141
|
product_name: nil,
|
|
117
142
|
quantity: nil,
|
|
143
|
+
quantity_precision: nil,
|
|
118
144
|
tax: nil,
|
|
119
145
|
unit_cost: nil,
|
|
120
146
|
unit_of_measure: nil
|
|
@@ -124,160 +150,2097 @@ module Stripe
|
|
|
124
150
|
@product_code = product_code
|
|
125
151
|
@product_name = product_name
|
|
126
152
|
@quantity = quantity
|
|
153
|
+
@quantity_precision = quantity_precision
|
|
127
154
|
@tax = tax
|
|
128
155
|
@unit_cost = unit_cost
|
|
129
156
|
@unit_of_measure = unit_of_measure
|
|
130
157
|
end
|
|
131
|
-
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 AutomaticPaymentMethods < ::Stripe::RequestParams
|
|
234
|
+
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
235
|
+
#
|
|
236
|
+
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
|
237
|
+
attr_accessor :allow_redirects
|
|
238
|
+
# Whether this feature is enabled.
|
|
239
|
+
attr_accessor :enabled
|
|
240
|
+
|
|
241
|
+
def initialize(allow_redirects: nil, enabled: nil)
|
|
242
|
+
@allow_redirects = allow_redirects
|
|
243
|
+
@enabled = enabled
|
|
244
|
+
end
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
class Hooks < ::Stripe::RequestParams
|
|
248
|
+
class Inputs < ::Stripe::RequestParams
|
|
249
|
+
class Tax < ::Stripe::RequestParams
|
|
250
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
251
|
+
attr_accessor :calculation
|
|
252
|
+
|
|
253
|
+
def initialize(calculation: nil)
|
|
254
|
+
@calculation = calculation
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
# Tax arguments for automations
|
|
258
|
+
attr_accessor :tax
|
|
259
|
+
|
|
260
|
+
def initialize(tax: nil)
|
|
261
|
+
@tax = tax
|
|
262
|
+
end
|
|
263
|
+
end
|
|
264
|
+
# Arguments passed in automations
|
|
265
|
+
attr_accessor :inputs
|
|
266
|
+
|
|
267
|
+
def initialize(inputs: nil)
|
|
268
|
+
@inputs = inputs
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
class MandateData < ::Stripe::RequestParams
|
|
273
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
|
274
|
+
class Offline < ::Stripe::RequestParams; end
|
|
275
|
+
|
|
276
|
+
class Online < ::Stripe::RequestParams
|
|
277
|
+
# The IP address from which the Mandate was accepted by the customer.
|
|
278
|
+
attr_accessor :ip_address
|
|
279
|
+
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
280
|
+
attr_accessor :user_agent
|
|
281
|
+
|
|
282
|
+
def initialize(ip_address: nil, user_agent: nil)
|
|
283
|
+
@ip_address = ip_address
|
|
284
|
+
@user_agent = user_agent
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
# The time at which the customer accepted the Mandate.
|
|
288
|
+
attr_accessor :accepted_at
|
|
289
|
+
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
|
290
|
+
attr_accessor :offline
|
|
291
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
|
292
|
+
attr_accessor :online
|
|
293
|
+
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
|
294
|
+
attr_accessor :type
|
|
295
|
+
|
|
296
|
+
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
|
297
|
+
@accepted_at = accepted_at
|
|
298
|
+
@offline = offline
|
|
299
|
+
@online = online
|
|
300
|
+
@type = type
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
|
304
|
+
attr_accessor :customer_acceptance
|
|
305
|
+
|
|
306
|
+
def initialize(customer_acceptance: nil)
|
|
307
|
+
@customer_acceptance = customer_acceptance
|
|
308
|
+
end
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
312
|
+
class Benefit < ::Stripe::RequestParams
|
|
313
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
|
314
|
+
# Whether to enable meal voucher benefit for this payment.
|
|
315
|
+
attr_accessor :enabled
|
|
316
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
317
|
+
attr_accessor :siret
|
|
318
|
+
|
|
319
|
+
def initialize(enabled: nil, siret: nil)
|
|
320
|
+
@enabled = enabled
|
|
321
|
+
@siret = siret
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
# French meal voucher benefit details for this PaymentIntent.
|
|
325
|
+
attr_accessor :fr_meal_voucher
|
|
326
|
+
|
|
327
|
+
def initialize(fr_meal_voucher: nil)
|
|
328
|
+
@fr_meal_voucher = fr_meal_voucher
|
|
329
|
+
end
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
class CarRental < ::Stripe::RequestParams
|
|
333
|
+
class Affiliate < ::Stripe::RequestParams
|
|
334
|
+
# The name of the affiliate that originated the purchase.
|
|
335
|
+
attr_accessor :name
|
|
336
|
+
|
|
337
|
+
def initialize(name: nil)
|
|
338
|
+
@name = name
|
|
339
|
+
end
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
class Delivery < ::Stripe::RequestParams
|
|
343
|
+
class Recipient < ::Stripe::RequestParams
|
|
344
|
+
# The email of the recipient the ticket is delivered to.
|
|
345
|
+
attr_accessor :email
|
|
346
|
+
# The name of the recipient the ticket is delivered to.
|
|
347
|
+
attr_accessor :name
|
|
348
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
349
|
+
attr_accessor :phone
|
|
350
|
+
|
|
351
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
352
|
+
@email = email
|
|
353
|
+
@name = name
|
|
354
|
+
@phone = phone
|
|
355
|
+
end
|
|
356
|
+
end
|
|
357
|
+
# The delivery method for the payment
|
|
358
|
+
attr_accessor :mode
|
|
359
|
+
# Details of the recipient.
|
|
360
|
+
attr_accessor :recipient
|
|
361
|
+
|
|
362
|
+
def initialize(mode: nil, recipient: nil)
|
|
363
|
+
@mode = mode
|
|
364
|
+
@recipient = recipient
|
|
365
|
+
end
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
class Distance < ::Stripe::RequestParams
|
|
369
|
+
# Distance traveled.
|
|
370
|
+
attr_accessor :amount
|
|
371
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
372
|
+
attr_accessor :unit
|
|
373
|
+
|
|
374
|
+
def initialize(amount: nil, unit: nil)
|
|
375
|
+
@amount = amount
|
|
376
|
+
@unit = unit
|
|
377
|
+
end
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
class Driver < ::Stripe::RequestParams
|
|
381
|
+
# Driver's identification number.
|
|
382
|
+
attr_accessor :driver_identification_number
|
|
383
|
+
# Driver's tax number.
|
|
384
|
+
attr_accessor :driver_tax_number
|
|
385
|
+
# Full name of the person or entity on the car reservation.
|
|
386
|
+
attr_accessor :name
|
|
387
|
+
|
|
388
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
389
|
+
@driver_identification_number = driver_identification_number
|
|
390
|
+
@driver_tax_number = driver_tax_number
|
|
391
|
+
@name = name
|
|
392
|
+
end
|
|
393
|
+
end
|
|
394
|
+
|
|
395
|
+
class PickupAddress < ::Stripe::RequestParams
|
|
396
|
+
# City, district, suburb, town, or village.
|
|
397
|
+
attr_accessor :city
|
|
398
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
399
|
+
attr_accessor :country
|
|
400
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
401
|
+
attr_accessor :line1
|
|
402
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
403
|
+
attr_accessor :line2
|
|
404
|
+
# ZIP or postal code.
|
|
405
|
+
attr_accessor :postal_code
|
|
406
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
407
|
+
attr_accessor :state
|
|
408
|
+
|
|
409
|
+
def initialize(
|
|
410
|
+
city: nil,
|
|
411
|
+
country: nil,
|
|
412
|
+
line1: nil,
|
|
413
|
+
line2: nil,
|
|
414
|
+
postal_code: nil,
|
|
415
|
+
state: nil
|
|
416
|
+
)
|
|
417
|
+
@city = city
|
|
418
|
+
@country = country
|
|
419
|
+
@line1 = line1
|
|
420
|
+
@line2 = line2
|
|
421
|
+
@postal_code = postal_code
|
|
422
|
+
@state = state
|
|
423
|
+
end
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
class ReturnAddress < ::Stripe::RequestParams
|
|
427
|
+
# City, district, suburb, town, or village.
|
|
428
|
+
attr_accessor :city
|
|
429
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
430
|
+
attr_accessor :country
|
|
431
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
432
|
+
attr_accessor :line1
|
|
433
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
434
|
+
attr_accessor :line2
|
|
435
|
+
# ZIP or postal code.
|
|
436
|
+
attr_accessor :postal_code
|
|
437
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
438
|
+
attr_accessor :state
|
|
439
|
+
|
|
440
|
+
def initialize(
|
|
441
|
+
city: nil,
|
|
442
|
+
country: nil,
|
|
443
|
+
line1: nil,
|
|
444
|
+
line2: nil,
|
|
445
|
+
postal_code: nil,
|
|
446
|
+
state: nil
|
|
447
|
+
)
|
|
448
|
+
@city = city
|
|
449
|
+
@country = country
|
|
450
|
+
@line1 = line1
|
|
451
|
+
@line2 = line2
|
|
452
|
+
@postal_code = postal_code
|
|
453
|
+
@state = state
|
|
454
|
+
end
|
|
455
|
+
end
|
|
456
|
+
# Affiliate details for this purchase.
|
|
457
|
+
attr_accessor :affiliate
|
|
458
|
+
# The booking number associated with the car rental.
|
|
459
|
+
attr_accessor :booking_number
|
|
460
|
+
# Class code of the car.
|
|
461
|
+
attr_accessor :car_class_code
|
|
462
|
+
# Make of the car.
|
|
463
|
+
attr_accessor :car_make
|
|
464
|
+
# Model of the car.
|
|
465
|
+
attr_accessor :car_model
|
|
466
|
+
# The name of the rental car company.
|
|
467
|
+
attr_accessor :company
|
|
468
|
+
# The customer service phone number of the car rental company.
|
|
469
|
+
attr_accessor :customer_service_phone_number
|
|
470
|
+
# Number of days the car is being rented.
|
|
471
|
+
attr_accessor :days_rented
|
|
472
|
+
# Delivery details for this purchase.
|
|
473
|
+
attr_accessor :delivery
|
|
474
|
+
# The details of the distance traveled during the rental period.
|
|
475
|
+
attr_accessor :distance
|
|
476
|
+
# The details of the passengers in the travel reservation
|
|
477
|
+
attr_accessor :drivers
|
|
478
|
+
# List of additional charges being billed.
|
|
479
|
+
attr_accessor :extra_charges
|
|
480
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
481
|
+
attr_accessor :no_show
|
|
482
|
+
# Car pick-up address.
|
|
483
|
+
attr_accessor :pickup_address
|
|
484
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
485
|
+
attr_accessor :pickup_at
|
|
486
|
+
# Name of the pickup location.
|
|
487
|
+
attr_accessor :pickup_location_name
|
|
488
|
+
# Rental rate.
|
|
489
|
+
attr_accessor :rate_amount
|
|
490
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
491
|
+
attr_accessor :rate_interval
|
|
492
|
+
# The name of the person or entity renting the car.
|
|
493
|
+
attr_accessor :renter_name
|
|
494
|
+
# Car return address.
|
|
495
|
+
attr_accessor :return_address
|
|
496
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
497
|
+
attr_accessor :return_at
|
|
498
|
+
# Name of the return location.
|
|
499
|
+
attr_accessor :return_location_name
|
|
500
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
501
|
+
attr_accessor :tax_exempt
|
|
502
|
+
# The vehicle identification number.
|
|
503
|
+
attr_accessor :vehicle_identification_number
|
|
504
|
+
|
|
505
|
+
def initialize(
|
|
506
|
+
affiliate: nil,
|
|
507
|
+
booking_number: nil,
|
|
508
|
+
car_class_code: nil,
|
|
509
|
+
car_make: nil,
|
|
510
|
+
car_model: nil,
|
|
511
|
+
company: nil,
|
|
512
|
+
customer_service_phone_number: nil,
|
|
513
|
+
days_rented: nil,
|
|
514
|
+
delivery: nil,
|
|
515
|
+
distance: nil,
|
|
516
|
+
drivers: nil,
|
|
517
|
+
extra_charges: nil,
|
|
518
|
+
no_show: nil,
|
|
519
|
+
pickup_address: nil,
|
|
520
|
+
pickup_at: nil,
|
|
521
|
+
pickup_location_name: nil,
|
|
522
|
+
rate_amount: nil,
|
|
523
|
+
rate_interval: nil,
|
|
524
|
+
renter_name: nil,
|
|
525
|
+
return_address: nil,
|
|
526
|
+
return_at: nil,
|
|
527
|
+
return_location_name: nil,
|
|
528
|
+
tax_exempt: nil,
|
|
529
|
+
vehicle_identification_number: nil
|
|
530
|
+
)
|
|
531
|
+
@affiliate = affiliate
|
|
532
|
+
@booking_number = booking_number
|
|
533
|
+
@car_class_code = car_class_code
|
|
534
|
+
@car_make = car_make
|
|
535
|
+
@car_model = car_model
|
|
536
|
+
@company = company
|
|
537
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
538
|
+
@days_rented = days_rented
|
|
539
|
+
@delivery = delivery
|
|
540
|
+
@distance = distance
|
|
541
|
+
@drivers = drivers
|
|
542
|
+
@extra_charges = extra_charges
|
|
543
|
+
@no_show = no_show
|
|
544
|
+
@pickup_address = pickup_address
|
|
545
|
+
@pickup_at = pickup_at
|
|
546
|
+
@pickup_location_name = pickup_location_name
|
|
547
|
+
@rate_amount = rate_amount
|
|
548
|
+
@rate_interval = rate_interval
|
|
549
|
+
@renter_name = renter_name
|
|
550
|
+
@return_address = return_address
|
|
551
|
+
@return_at = return_at
|
|
552
|
+
@return_location_name = return_location_name
|
|
553
|
+
@tax_exempt = tax_exempt
|
|
554
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
555
|
+
end
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
class CarRentalDatum < ::Stripe::RequestParams
|
|
559
|
+
class Affiliate < ::Stripe::RequestParams
|
|
560
|
+
# Affiliate partner code.
|
|
561
|
+
attr_accessor :code
|
|
562
|
+
# Name of affiliate partner.
|
|
563
|
+
attr_accessor :name
|
|
564
|
+
|
|
565
|
+
def initialize(code: nil, name: nil)
|
|
566
|
+
@code = code
|
|
567
|
+
@name = name
|
|
568
|
+
end
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
class Distance < ::Stripe::RequestParams
|
|
572
|
+
# Distance traveled.
|
|
573
|
+
attr_accessor :amount
|
|
574
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
575
|
+
attr_accessor :unit
|
|
576
|
+
|
|
577
|
+
def initialize(amount: nil, unit: nil)
|
|
578
|
+
@amount = amount
|
|
579
|
+
@unit = unit
|
|
580
|
+
end
|
|
581
|
+
end
|
|
582
|
+
|
|
583
|
+
class Driver < ::Stripe::RequestParams
|
|
584
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
585
|
+
# Day of birth (1-31).
|
|
586
|
+
attr_accessor :day
|
|
587
|
+
# Month of birth (1-12).
|
|
588
|
+
attr_accessor :month
|
|
589
|
+
# Year of birth (must be greater than 1900).
|
|
590
|
+
attr_accessor :year
|
|
591
|
+
|
|
592
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
593
|
+
@day = day
|
|
594
|
+
@month = month
|
|
595
|
+
@year = year
|
|
596
|
+
end
|
|
597
|
+
end
|
|
598
|
+
# Driver's date of birth.
|
|
599
|
+
attr_accessor :date_of_birth
|
|
600
|
+
# Driver's identification number.
|
|
601
|
+
attr_accessor :driver_identification_number
|
|
602
|
+
# Driver's tax number.
|
|
603
|
+
attr_accessor :driver_tax_number
|
|
604
|
+
# Driver's full name.
|
|
605
|
+
attr_accessor :name
|
|
606
|
+
|
|
607
|
+
def initialize(
|
|
608
|
+
date_of_birth: nil,
|
|
609
|
+
driver_identification_number: nil,
|
|
610
|
+
driver_tax_number: nil,
|
|
611
|
+
name: nil
|
|
612
|
+
)
|
|
613
|
+
@date_of_birth = date_of_birth
|
|
614
|
+
@driver_identification_number = driver_identification_number
|
|
615
|
+
@driver_tax_number = driver_tax_number
|
|
616
|
+
@name = name
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
class DropOff < ::Stripe::RequestParams
|
|
621
|
+
class Address < ::Stripe::RequestParams
|
|
622
|
+
# City, district, suburb, town, or village.
|
|
623
|
+
attr_accessor :city
|
|
624
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
625
|
+
attr_accessor :country
|
|
626
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
627
|
+
attr_accessor :line1
|
|
628
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
629
|
+
attr_accessor :line2
|
|
630
|
+
# ZIP or postal code.
|
|
631
|
+
attr_accessor :postal_code
|
|
632
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
633
|
+
attr_accessor :state
|
|
634
|
+
|
|
635
|
+
def initialize(
|
|
636
|
+
city: nil,
|
|
637
|
+
country: nil,
|
|
638
|
+
line1: nil,
|
|
639
|
+
line2: nil,
|
|
640
|
+
postal_code: nil,
|
|
641
|
+
state: nil
|
|
642
|
+
)
|
|
643
|
+
@city = city
|
|
644
|
+
@country = country
|
|
645
|
+
@line1 = line1
|
|
646
|
+
@line2 = line2
|
|
647
|
+
@postal_code = postal_code
|
|
648
|
+
@state = state
|
|
649
|
+
end
|
|
650
|
+
end
|
|
651
|
+
# Address of the rental location.
|
|
652
|
+
attr_accessor :address
|
|
653
|
+
# Location name.
|
|
654
|
+
attr_accessor :location_name
|
|
655
|
+
# Timestamp for the location.
|
|
656
|
+
attr_accessor :time
|
|
657
|
+
|
|
658
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
659
|
+
@address = address
|
|
660
|
+
@location_name = location_name
|
|
661
|
+
@time = time
|
|
662
|
+
end
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
class Insurance < ::Stripe::RequestParams
|
|
666
|
+
# Amount of the insurance coverage in cents.
|
|
667
|
+
attr_accessor :amount
|
|
668
|
+
# Currency of the insurance amount.
|
|
669
|
+
attr_accessor :currency
|
|
670
|
+
# Name of the insurance company.
|
|
671
|
+
attr_accessor :insurance_company_name
|
|
672
|
+
# Type of insurance coverage.
|
|
673
|
+
attr_accessor :insurance_type
|
|
674
|
+
|
|
675
|
+
def initialize(
|
|
676
|
+
amount: nil,
|
|
677
|
+
currency: nil,
|
|
678
|
+
insurance_company_name: nil,
|
|
679
|
+
insurance_type: nil
|
|
680
|
+
)
|
|
681
|
+
@amount = amount
|
|
682
|
+
@currency = currency
|
|
683
|
+
@insurance_company_name = insurance_company_name
|
|
684
|
+
@insurance_type = insurance_type
|
|
685
|
+
end
|
|
686
|
+
end
|
|
687
|
+
|
|
688
|
+
class Pickup < ::Stripe::RequestParams
|
|
689
|
+
class Address < ::Stripe::RequestParams
|
|
690
|
+
# City, district, suburb, town, or village.
|
|
691
|
+
attr_accessor :city
|
|
692
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
693
|
+
attr_accessor :country
|
|
694
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
695
|
+
attr_accessor :line1
|
|
696
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
697
|
+
attr_accessor :line2
|
|
698
|
+
# ZIP or postal code.
|
|
699
|
+
attr_accessor :postal_code
|
|
700
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
701
|
+
attr_accessor :state
|
|
702
|
+
|
|
703
|
+
def initialize(
|
|
704
|
+
city: nil,
|
|
705
|
+
country: nil,
|
|
706
|
+
line1: nil,
|
|
707
|
+
line2: nil,
|
|
708
|
+
postal_code: nil,
|
|
709
|
+
state: nil
|
|
710
|
+
)
|
|
711
|
+
@city = city
|
|
712
|
+
@country = country
|
|
713
|
+
@line1 = line1
|
|
714
|
+
@line2 = line2
|
|
715
|
+
@postal_code = postal_code
|
|
716
|
+
@state = state
|
|
717
|
+
end
|
|
718
|
+
end
|
|
719
|
+
# Address of the rental location.
|
|
720
|
+
attr_accessor :address
|
|
721
|
+
# Location name.
|
|
722
|
+
attr_accessor :location_name
|
|
723
|
+
# Timestamp for the location.
|
|
724
|
+
attr_accessor :time
|
|
725
|
+
|
|
726
|
+
def initialize(address: nil, location_name: nil, time: nil)
|
|
727
|
+
@address = address
|
|
728
|
+
@location_name = location_name
|
|
729
|
+
@time = time
|
|
730
|
+
end
|
|
731
|
+
end
|
|
732
|
+
|
|
733
|
+
class Total < ::Stripe::RequestParams
|
|
734
|
+
class Discounts < ::Stripe::RequestParams
|
|
735
|
+
# Corporate client discount code.
|
|
736
|
+
attr_accessor :corporate_client_code
|
|
737
|
+
# Coupon code applied to the rental.
|
|
738
|
+
attr_accessor :coupon
|
|
739
|
+
# Maximum number of free miles or kilometers included.
|
|
740
|
+
attr_accessor :maximum_free_miles_or_kilometers
|
|
741
|
+
|
|
742
|
+
def initialize(
|
|
743
|
+
corporate_client_code: nil,
|
|
744
|
+
coupon: nil,
|
|
745
|
+
maximum_free_miles_or_kilometers: nil
|
|
746
|
+
)
|
|
747
|
+
@corporate_client_code = corporate_client_code
|
|
748
|
+
@coupon = coupon
|
|
749
|
+
@maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
|
|
750
|
+
end
|
|
751
|
+
end
|
|
752
|
+
|
|
753
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
754
|
+
# Amount of the extra charge in cents.
|
|
755
|
+
attr_accessor :amount
|
|
756
|
+
# Type of extra charge.
|
|
757
|
+
attr_accessor :type
|
|
758
|
+
|
|
759
|
+
def initialize(amount: nil, type: nil)
|
|
760
|
+
@amount = amount
|
|
761
|
+
@type = type
|
|
762
|
+
end
|
|
763
|
+
end
|
|
764
|
+
|
|
765
|
+
class Tax < ::Stripe::RequestParams
|
|
766
|
+
class Tax < ::Stripe::RequestParams
|
|
767
|
+
# Tax amount.
|
|
768
|
+
attr_accessor :amount
|
|
769
|
+
# Tax rate applied.
|
|
770
|
+
attr_accessor :rate
|
|
771
|
+
# Type of tax applied.
|
|
772
|
+
attr_accessor :type
|
|
773
|
+
|
|
774
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
775
|
+
@amount = amount
|
|
776
|
+
@rate = rate
|
|
777
|
+
@type = type
|
|
778
|
+
end
|
|
779
|
+
end
|
|
780
|
+
# Indicates if the transaction is tax exempt.
|
|
781
|
+
attr_accessor :tax_exempt_indicator
|
|
782
|
+
# Array of tax details.
|
|
783
|
+
attr_accessor :taxes
|
|
784
|
+
|
|
785
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
786
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
787
|
+
@taxes = taxes
|
|
788
|
+
end
|
|
789
|
+
end
|
|
790
|
+
# Total amount in cents.
|
|
791
|
+
attr_accessor :amount
|
|
792
|
+
# Currency of the amount.
|
|
793
|
+
attr_accessor :currency
|
|
794
|
+
# Discount details for the rental.
|
|
795
|
+
attr_accessor :discounts
|
|
796
|
+
# Additional charges for the rental.
|
|
797
|
+
attr_accessor :extra_charges
|
|
798
|
+
# Rate per unit for the rental.
|
|
799
|
+
attr_accessor :rate_per_unit
|
|
800
|
+
# Unit of measurement for the rate.
|
|
801
|
+
attr_accessor :rate_unit
|
|
802
|
+
# Tax breakdown for the rental.
|
|
803
|
+
attr_accessor :tax
|
|
804
|
+
|
|
805
|
+
def initialize(
|
|
806
|
+
amount: nil,
|
|
807
|
+
currency: nil,
|
|
808
|
+
discounts: nil,
|
|
809
|
+
extra_charges: nil,
|
|
810
|
+
rate_per_unit: nil,
|
|
811
|
+
rate_unit: nil,
|
|
812
|
+
tax: nil
|
|
813
|
+
)
|
|
814
|
+
@amount = amount
|
|
815
|
+
@currency = currency
|
|
816
|
+
@discounts = discounts
|
|
817
|
+
@extra_charges = extra_charges
|
|
818
|
+
@rate_per_unit = rate_per_unit
|
|
819
|
+
@rate_unit = rate_unit
|
|
820
|
+
@tax = tax
|
|
821
|
+
end
|
|
822
|
+
end
|
|
823
|
+
|
|
824
|
+
class Vehicle < ::Stripe::RequestParams
|
|
825
|
+
# Make of the rental vehicle.
|
|
826
|
+
attr_accessor :make
|
|
827
|
+
# Model of the rental vehicle.
|
|
828
|
+
attr_accessor :model
|
|
829
|
+
# Odometer reading at the time of rental.
|
|
830
|
+
attr_accessor :odometer
|
|
831
|
+
# Type of the rental vehicle.
|
|
832
|
+
attr_accessor :type
|
|
833
|
+
# Class of the rental vehicle.
|
|
834
|
+
attr_accessor :vehicle_class
|
|
835
|
+
# Vehicle identification number (VIN).
|
|
836
|
+
attr_accessor :vehicle_identification_number
|
|
837
|
+
|
|
838
|
+
def initialize(
|
|
839
|
+
make: nil,
|
|
840
|
+
model: nil,
|
|
841
|
+
odometer: nil,
|
|
842
|
+
type: nil,
|
|
843
|
+
vehicle_class: nil,
|
|
844
|
+
vehicle_identification_number: nil
|
|
845
|
+
)
|
|
846
|
+
@make = make
|
|
847
|
+
@model = model
|
|
848
|
+
@odometer = odometer
|
|
849
|
+
@type = type
|
|
850
|
+
@vehicle_class = vehicle_class
|
|
851
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
852
|
+
end
|
|
853
|
+
end
|
|
854
|
+
# Affiliate (such as travel agency) details for the rental.
|
|
855
|
+
attr_accessor :affiliate
|
|
856
|
+
# Booking confirmation number for the car rental.
|
|
857
|
+
attr_accessor :booking_number
|
|
858
|
+
# Name of the car rental company.
|
|
859
|
+
attr_accessor :carrier_name
|
|
860
|
+
# Customer service phone number for the car rental company.
|
|
861
|
+
attr_accessor :customer_service_phone_number
|
|
862
|
+
# Number of days the car is being rented.
|
|
863
|
+
attr_accessor :days_rented
|
|
864
|
+
# Distance details for the rental.
|
|
865
|
+
attr_accessor :distance
|
|
866
|
+
# List of drivers for the rental.
|
|
867
|
+
attr_accessor :drivers
|
|
868
|
+
# Drop-off location details.
|
|
869
|
+
attr_accessor :drop_off
|
|
870
|
+
# Insurance details for the rental.
|
|
871
|
+
attr_accessor :insurances
|
|
872
|
+
# Indicates if the customer was a no-show.
|
|
873
|
+
attr_accessor :no_show_indicator
|
|
874
|
+
# Pickup location details.
|
|
875
|
+
attr_accessor :pickup
|
|
876
|
+
# Name of the person renting the vehicle.
|
|
877
|
+
attr_accessor :renter_name
|
|
878
|
+
# Total cost breakdown for the rental.
|
|
879
|
+
attr_accessor :total
|
|
880
|
+
# Vehicle details for the rental.
|
|
881
|
+
attr_accessor :vehicle
|
|
882
|
+
|
|
883
|
+
def initialize(
|
|
884
|
+
affiliate: nil,
|
|
885
|
+
booking_number: nil,
|
|
886
|
+
carrier_name: nil,
|
|
887
|
+
customer_service_phone_number: nil,
|
|
888
|
+
days_rented: nil,
|
|
889
|
+
distance: nil,
|
|
890
|
+
drivers: nil,
|
|
891
|
+
drop_off: nil,
|
|
892
|
+
insurances: nil,
|
|
893
|
+
no_show_indicator: nil,
|
|
894
|
+
pickup: nil,
|
|
895
|
+
renter_name: nil,
|
|
896
|
+
total: nil,
|
|
897
|
+
vehicle: nil
|
|
898
|
+
)
|
|
899
|
+
@affiliate = affiliate
|
|
900
|
+
@booking_number = booking_number
|
|
901
|
+
@carrier_name = carrier_name
|
|
902
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
903
|
+
@days_rented = days_rented
|
|
904
|
+
@distance = distance
|
|
905
|
+
@drivers = drivers
|
|
906
|
+
@drop_off = drop_off
|
|
907
|
+
@insurances = insurances
|
|
908
|
+
@no_show_indicator = no_show_indicator
|
|
909
|
+
@pickup = pickup
|
|
910
|
+
@renter_name = renter_name
|
|
911
|
+
@total = total
|
|
912
|
+
@vehicle = vehicle
|
|
913
|
+
end
|
|
914
|
+
end
|
|
915
|
+
|
|
916
|
+
class EventDetails < ::Stripe::RequestParams
|
|
917
|
+
class Address < ::Stripe::RequestParams
|
|
918
|
+
# City, district, suburb, town, or village.
|
|
919
|
+
attr_accessor :city
|
|
920
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
921
|
+
attr_accessor :country
|
|
922
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
923
|
+
attr_accessor :line1
|
|
924
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
925
|
+
attr_accessor :line2
|
|
926
|
+
# ZIP or postal code.
|
|
927
|
+
attr_accessor :postal_code
|
|
928
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
929
|
+
attr_accessor :state
|
|
930
|
+
|
|
931
|
+
def initialize(
|
|
932
|
+
city: nil,
|
|
933
|
+
country: nil,
|
|
934
|
+
line1: nil,
|
|
935
|
+
line2: nil,
|
|
936
|
+
postal_code: nil,
|
|
937
|
+
state: nil
|
|
938
|
+
)
|
|
939
|
+
@city = city
|
|
940
|
+
@country = country
|
|
941
|
+
@line1 = line1
|
|
942
|
+
@line2 = line2
|
|
943
|
+
@postal_code = postal_code
|
|
944
|
+
@state = state
|
|
945
|
+
end
|
|
946
|
+
end
|
|
947
|
+
|
|
948
|
+
class Affiliate < ::Stripe::RequestParams
|
|
949
|
+
# The name of the affiliate that originated the purchase.
|
|
950
|
+
attr_accessor :name
|
|
951
|
+
|
|
952
|
+
def initialize(name: nil)
|
|
953
|
+
@name = name
|
|
954
|
+
end
|
|
955
|
+
end
|
|
956
|
+
|
|
957
|
+
class Delivery < ::Stripe::RequestParams
|
|
958
|
+
class Recipient < ::Stripe::RequestParams
|
|
959
|
+
# The email of the recipient the ticket is delivered to.
|
|
960
|
+
attr_accessor :email
|
|
961
|
+
# The name of the recipient the ticket is delivered to.
|
|
962
|
+
attr_accessor :name
|
|
963
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
964
|
+
attr_accessor :phone
|
|
965
|
+
|
|
966
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
967
|
+
@email = email
|
|
968
|
+
@name = name
|
|
969
|
+
@phone = phone
|
|
970
|
+
end
|
|
971
|
+
end
|
|
972
|
+
# The delivery method for the payment
|
|
973
|
+
attr_accessor :mode
|
|
974
|
+
# Details of the recipient.
|
|
975
|
+
attr_accessor :recipient
|
|
976
|
+
|
|
977
|
+
def initialize(mode: nil, recipient: nil)
|
|
978
|
+
@mode = mode
|
|
979
|
+
@recipient = recipient
|
|
980
|
+
end
|
|
981
|
+
end
|
|
982
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
983
|
+
attr_accessor :access_controlled_venue
|
|
984
|
+
# The event location's address.
|
|
985
|
+
attr_accessor :address
|
|
986
|
+
# Affiliate details for this purchase.
|
|
987
|
+
attr_accessor :affiliate
|
|
988
|
+
# The name of the company
|
|
989
|
+
attr_accessor :company
|
|
990
|
+
# Delivery details for this purchase.
|
|
991
|
+
attr_accessor :delivery
|
|
992
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
993
|
+
attr_accessor :ends_at
|
|
994
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
995
|
+
attr_accessor :genre
|
|
996
|
+
# The name of the event.
|
|
997
|
+
attr_accessor :name
|
|
998
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
999
|
+
attr_accessor :starts_at
|
|
1000
|
+
|
|
1001
|
+
def initialize(
|
|
1002
|
+
access_controlled_venue: nil,
|
|
1003
|
+
address: nil,
|
|
1004
|
+
affiliate: nil,
|
|
1005
|
+
company: nil,
|
|
1006
|
+
delivery: nil,
|
|
1007
|
+
ends_at: nil,
|
|
1008
|
+
genre: nil,
|
|
1009
|
+
name: nil,
|
|
1010
|
+
starts_at: nil
|
|
1011
|
+
)
|
|
1012
|
+
@access_controlled_venue = access_controlled_venue
|
|
1013
|
+
@address = address
|
|
1014
|
+
@affiliate = affiliate
|
|
1015
|
+
@company = company
|
|
1016
|
+
@delivery = delivery
|
|
1017
|
+
@ends_at = ends_at
|
|
1018
|
+
@genre = genre
|
|
1019
|
+
@name = name
|
|
1020
|
+
@starts_at = starts_at
|
|
1021
|
+
end
|
|
1022
|
+
end
|
|
1023
|
+
|
|
1024
|
+
class FleetDatum < ::Stripe::RequestParams
|
|
1025
|
+
class PrimaryFuelFields < ::Stripe::RequestParams
|
|
1026
|
+
# The fuel brand.
|
|
1027
|
+
attr_accessor :brand
|
|
1028
|
+
|
|
1029
|
+
def initialize(brand: nil)
|
|
1030
|
+
@brand = brand
|
|
1031
|
+
end
|
|
1032
|
+
end
|
|
1033
|
+
|
|
1034
|
+
class Station < ::Stripe::RequestParams
|
|
1035
|
+
class ServiceLocation < ::Stripe::RequestParams
|
|
1036
|
+
# City, district, suburb, town, or village.
|
|
1037
|
+
attr_accessor :city
|
|
1038
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1039
|
+
attr_accessor :country
|
|
1040
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1041
|
+
attr_accessor :line1
|
|
1042
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1043
|
+
attr_accessor :line2
|
|
1044
|
+
# ZIP or postal code.
|
|
1045
|
+
attr_accessor :postal_code
|
|
1046
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1047
|
+
attr_accessor :state
|
|
1048
|
+
|
|
1049
|
+
def initialize(
|
|
1050
|
+
city: nil,
|
|
1051
|
+
country: nil,
|
|
1052
|
+
line1: nil,
|
|
1053
|
+
line2: nil,
|
|
1054
|
+
postal_code: nil,
|
|
1055
|
+
state: nil
|
|
1056
|
+
)
|
|
1057
|
+
@city = city
|
|
1058
|
+
@country = country
|
|
1059
|
+
@line1 = line1
|
|
1060
|
+
@line2 = line2
|
|
1061
|
+
@postal_code = postal_code
|
|
1062
|
+
@state = state
|
|
1063
|
+
end
|
|
1064
|
+
end
|
|
1065
|
+
# Additional contact information for the station.
|
|
1066
|
+
attr_accessor :additional_contact_info
|
|
1067
|
+
# The customer service phone number of the station.
|
|
1068
|
+
attr_accessor :customer_service_phone_number
|
|
1069
|
+
# The partner ID code of the station.
|
|
1070
|
+
attr_accessor :partner_id_code
|
|
1071
|
+
# The phone number of the station.
|
|
1072
|
+
attr_accessor :phone_number
|
|
1073
|
+
# The physical location of the station.
|
|
1074
|
+
attr_accessor :service_location
|
|
1075
|
+
# The URL of the station.
|
|
1076
|
+
attr_accessor :url
|
|
1077
|
+
|
|
1078
|
+
def initialize(
|
|
1079
|
+
additional_contact_info: nil,
|
|
1080
|
+
customer_service_phone_number: nil,
|
|
1081
|
+
partner_id_code: nil,
|
|
1082
|
+
phone_number: nil,
|
|
1083
|
+
service_location: nil,
|
|
1084
|
+
url: nil
|
|
1085
|
+
)
|
|
1086
|
+
@additional_contact_info = additional_contact_info
|
|
1087
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1088
|
+
@partner_id_code = partner_id_code
|
|
1089
|
+
@phone_number = phone_number
|
|
1090
|
+
@service_location = service_location
|
|
1091
|
+
@url = url
|
|
1092
|
+
end
|
|
1093
|
+
end
|
|
1094
|
+
|
|
1095
|
+
class Vat < ::Stripe::RequestParams
|
|
1096
|
+
# Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
1097
|
+
attr_accessor :iob_indicator
|
|
1098
|
+
|
|
1099
|
+
def initialize(iob_indicator: nil)
|
|
1100
|
+
@iob_indicator = iob_indicator
|
|
1101
|
+
end
|
|
1102
|
+
end
|
|
1103
|
+
# Primary fuel fields for the transaction.
|
|
1104
|
+
attr_accessor :primary_fuel_fields
|
|
1105
|
+
# Station and acceptor location details.
|
|
1106
|
+
attr_accessor :station
|
|
1107
|
+
# VAT and Invoice on Behalf (IOB) details.
|
|
1108
|
+
attr_accessor :vat
|
|
1109
|
+
|
|
1110
|
+
def initialize(primary_fuel_fields: nil, station: nil, vat: nil)
|
|
1111
|
+
@primary_fuel_fields = primary_fuel_fields
|
|
1112
|
+
@station = station
|
|
1113
|
+
@vat = vat
|
|
1114
|
+
end
|
|
1115
|
+
end
|
|
1116
|
+
|
|
1117
|
+
class Flight < ::Stripe::RequestParams
|
|
1118
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1119
|
+
# The name of the affiliate that originated the purchase.
|
|
1120
|
+
attr_accessor :name
|
|
1121
|
+
|
|
1122
|
+
def initialize(name: nil)
|
|
1123
|
+
@name = name
|
|
1124
|
+
end
|
|
1125
|
+
end
|
|
1126
|
+
|
|
1127
|
+
class Delivery < ::Stripe::RequestParams
|
|
1128
|
+
class Recipient < ::Stripe::RequestParams
|
|
1129
|
+
# The email of the recipient the ticket is delivered to.
|
|
1130
|
+
attr_accessor :email
|
|
1131
|
+
# The name of the recipient the ticket is delivered to.
|
|
1132
|
+
attr_accessor :name
|
|
1133
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1134
|
+
attr_accessor :phone
|
|
1135
|
+
|
|
1136
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
1137
|
+
@email = email
|
|
1138
|
+
@name = name
|
|
1139
|
+
@phone = phone
|
|
1140
|
+
end
|
|
1141
|
+
end
|
|
1142
|
+
# The delivery method for the payment
|
|
1143
|
+
attr_accessor :mode
|
|
1144
|
+
# Details of the recipient.
|
|
1145
|
+
attr_accessor :recipient
|
|
1146
|
+
|
|
1147
|
+
def initialize(mode: nil, recipient: nil)
|
|
1148
|
+
@mode = mode
|
|
1149
|
+
@recipient = recipient
|
|
1150
|
+
end
|
|
1151
|
+
end
|
|
1152
|
+
|
|
1153
|
+
class Passenger < ::Stripe::RequestParams
|
|
1154
|
+
# Full name of the person or entity on the flight reservation.
|
|
1155
|
+
attr_accessor :name
|
|
1156
|
+
|
|
1157
|
+
def initialize(name: nil)
|
|
1158
|
+
@name = name
|
|
1159
|
+
end
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
class Segment < ::Stripe::RequestParams
|
|
1163
|
+
# The flight segment amount.
|
|
1164
|
+
attr_accessor :amount
|
|
1165
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
1166
|
+
attr_accessor :arrival_airport
|
|
1167
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1168
|
+
attr_accessor :arrives_at
|
|
1169
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
1170
|
+
attr_accessor :carrier
|
|
1171
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1172
|
+
attr_accessor :departs_at
|
|
1173
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
1174
|
+
attr_accessor :departure_airport
|
|
1175
|
+
# The flight number associated with the segment
|
|
1176
|
+
attr_accessor :flight_number
|
|
1177
|
+
# The fare class for the segment.
|
|
1178
|
+
attr_accessor :service_class
|
|
1179
|
+
|
|
1180
|
+
def initialize(
|
|
1181
|
+
amount: nil,
|
|
1182
|
+
arrival_airport: nil,
|
|
1183
|
+
arrives_at: nil,
|
|
1184
|
+
carrier: nil,
|
|
1185
|
+
departs_at: nil,
|
|
1186
|
+
departure_airport: nil,
|
|
1187
|
+
flight_number: nil,
|
|
1188
|
+
service_class: nil
|
|
1189
|
+
)
|
|
1190
|
+
@amount = amount
|
|
1191
|
+
@arrival_airport = arrival_airport
|
|
1192
|
+
@arrives_at = arrives_at
|
|
1193
|
+
@carrier = carrier
|
|
1194
|
+
@departs_at = departs_at
|
|
1195
|
+
@departure_airport = departure_airport
|
|
1196
|
+
@flight_number = flight_number
|
|
1197
|
+
@service_class = service_class
|
|
1198
|
+
end
|
|
1199
|
+
end
|
|
1200
|
+
# Affiliate details for this purchase.
|
|
1201
|
+
attr_accessor :affiliate
|
|
1202
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
1203
|
+
attr_accessor :agency_number
|
|
1204
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
1205
|
+
attr_accessor :carrier
|
|
1206
|
+
# Delivery details for this purchase.
|
|
1207
|
+
attr_accessor :delivery
|
|
1208
|
+
# The name of the person or entity on the reservation.
|
|
1209
|
+
attr_accessor :passenger_name
|
|
1210
|
+
# The details of the passengers in the travel reservation.
|
|
1211
|
+
attr_accessor :passengers
|
|
1212
|
+
# The individual flight segments associated with the trip.
|
|
1213
|
+
attr_accessor :segments
|
|
1214
|
+
# The ticket number associated with the travel reservation.
|
|
1215
|
+
attr_accessor :ticket_number
|
|
1216
|
+
|
|
1217
|
+
def initialize(
|
|
1218
|
+
affiliate: nil,
|
|
1219
|
+
agency_number: nil,
|
|
1220
|
+
carrier: nil,
|
|
1221
|
+
delivery: nil,
|
|
1222
|
+
passenger_name: nil,
|
|
1223
|
+
passengers: nil,
|
|
1224
|
+
segments: nil,
|
|
1225
|
+
ticket_number: nil
|
|
1226
|
+
)
|
|
1227
|
+
@affiliate = affiliate
|
|
1228
|
+
@agency_number = agency_number
|
|
1229
|
+
@carrier = carrier
|
|
1230
|
+
@delivery = delivery
|
|
1231
|
+
@passenger_name = passenger_name
|
|
1232
|
+
@passengers = passengers
|
|
1233
|
+
@segments = segments
|
|
1234
|
+
@ticket_number = ticket_number
|
|
1235
|
+
end
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
class FlightDatum < ::Stripe::RequestParams
|
|
1239
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1240
|
+
# Affiliate partner code.
|
|
1241
|
+
attr_accessor :code
|
|
1242
|
+
# Name of affiliate partner.
|
|
1243
|
+
attr_accessor :name
|
|
1244
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1245
|
+
attr_accessor :travel_authorization_code
|
|
1246
|
+
|
|
1247
|
+
def initialize(code: nil, name: nil, travel_authorization_code: nil)
|
|
1248
|
+
@code = code
|
|
1249
|
+
@name = name
|
|
1250
|
+
@travel_authorization_code = travel_authorization_code
|
|
1251
|
+
end
|
|
1252
|
+
end
|
|
1253
|
+
|
|
1254
|
+
class Insurance < ::Stripe::RequestParams
|
|
1255
|
+
# Insurance cost.
|
|
1256
|
+
attr_accessor :amount
|
|
1257
|
+
# Insurance currency.
|
|
1258
|
+
attr_accessor :currency
|
|
1259
|
+
# Insurance company name.
|
|
1260
|
+
attr_accessor :insurance_company_name
|
|
1261
|
+
# Type of insurance.
|
|
1262
|
+
attr_accessor :insurance_type
|
|
1263
|
+
|
|
1264
|
+
def initialize(
|
|
1265
|
+
amount: nil,
|
|
1266
|
+
currency: nil,
|
|
1267
|
+
insurance_company_name: nil,
|
|
1268
|
+
insurance_type: nil
|
|
1269
|
+
)
|
|
1270
|
+
@amount = amount
|
|
1271
|
+
@currency = currency
|
|
1272
|
+
@insurance_company_name = insurance_company_name
|
|
1273
|
+
@insurance_type = insurance_type
|
|
1274
|
+
end
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1277
|
+
class Passenger < ::Stripe::RequestParams
|
|
1278
|
+
# Passenger's full name.
|
|
1279
|
+
attr_accessor :name
|
|
1280
|
+
|
|
1281
|
+
def initialize(name: nil)
|
|
1282
|
+
@name = name
|
|
1283
|
+
end
|
|
1284
|
+
end
|
|
1285
|
+
|
|
1286
|
+
class Segment < ::Stripe::RequestParams
|
|
1287
|
+
class Arrival < ::Stripe::RequestParams
|
|
1288
|
+
# Arrival airport IATA code.
|
|
1289
|
+
attr_accessor :airport
|
|
1290
|
+
# Arrival date/time.
|
|
1291
|
+
attr_accessor :arrives_at
|
|
1292
|
+
# Arrival city.
|
|
1293
|
+
attr_accessor :city
|
|
1294
|
+
# Arrival country.
|
|
1295
|
+
attr_accessor :country
|
|
1296
|
+
|
|
1297
|
+
def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
|
|
1298
|
+
@airport = airport
|
|
1299
|
+
@arrives_at = arrives_at
|
|
1300
|
+
@city = city
|
|
1301
|
+
@country = country
|
|
1302
|
+
end
|
|
1303
|
+
end
|
|
1304
|
+
|
|
1305
|
+
class Departure < ::Stripe::RequestParams
|
|
1306
|
+
# Departure airport IATA code.
|
|
1307
|
+
attr_accessor :airport
|
|
1308
|
+
# Departure city.
|
|
1309
|
+
attr_accessor :city
|
|
1310
|
+
# Departure country.
|
|
1311
|
+
attr_accessor :country
|
|
1312
|
+
# Departure date/time.
|
|
1313
|
+
attr_accessor :departs_at
|
|
1314
|
+
|
|
1315
|
+
def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
|
|
1316
|
+
@airport = airport
|
|
1317
|
+
@city = city
|
|
1318
|
+
@country = country
|
|
1319
|
+
@departs_at = departs_at
|
|
1320
|
+
end
|
|
1321
|
+
end
|
|
1322
|
+
# Segment fare amount.
|
|
1323
|
+
attr_accessor :amount
|
|
1324
|
+
# Arrival details.
|
|
1325
|
+
attr_accessor :arrival
|
|
1326
|
+
# Airline carrier code.
|
|
1327
|
+
attr_accessor :carrier_code
|
|
1328
|
+
# Carrier name.
|
|
1329
|
+
attr_accessor :carrier_name
|
|
1330
|
+
# Segment currency.
|
|
1331
|
+
attr_accessor :currency
|
|
1332
|
+
# Departure details.
|
|
1333
|
+
attr_accessor :departure
|
|
1334
|
+
# Exchange ticket number.
|
|
1335
|
+
attr_accessor :exchange_ticket_number
|
|
1336
|
+
# Fare basis code.
|
|
1337
|
+
attr_accessor :fare_basis_code
|
|
1338
|
+
# Additional fees.
|
|
1339
|
+
attr_accessor :fees
|
|
1340
|
+
# Flight number.
|
|
1341
|
+
attr_accessor :flight_number
|
|
1342
|
+
# Stopover indicator.
|
|
1343
|
+
attr_accessor :is_stop_over_indicator
|
|
1344
|
+
# Refundable ticket indicator.
|
|
1345
|
+
attr_accessor :refundable
|
|
1346
|
+
# Class of service.
|
|
1347
|
+
attr_accessor :service_class
|
|
1348
|
+
# Tax amount for segment.
|
|
1349
|
+
attr_accessor :tax_amount
|
|
1350
|
+
# Ticket number.
|
|
1351
|
+
attr_accessor :ticket_number
|
|
1352
|
+
|
|
1353
|
+
def initialize(
|
|
1354
|
+
amount: nil,
|
|
1355
|
+
arrival: nil,
|
|
1356
|
+
carrier_code: nil,
|
|
1357
|
+
carrier_name: nil,
|
|
1358
|
+
currency: nil,
|
|
1359
|
+
departure: nil,
|
|
1360
|
+
exchange_ticket_number: nil,
|
|
1361
|
+
fare_basis_code: nil,
|
|
1362
|
+
fees: nil,
|
|
1363
|
+
flight_number: nil,
|
|
1364
|
+
is_stop_over_indicator: nil,
|
|
1365
|
+
refundable: nil,
|
|
1366
|
+
service_class: nil,
|
|
1367
|
+
tax_amount: nil,
|
|
1368
|
+
ticket_number: nil
|
|
1369
|
+
)
|
|
1370
|
+
@amount = amount
|
|
1371
|
+
@arrival = arrival
|
|
1372
|
+
@carrier_code = carrier_code
|
|
1373
|
+
@carrier_name = carrier_name
|
|
1374
|
+
@currency = currency
|
|
1375
|
+
@departure = departure
|
|
1376
|
+
@exchange_ticket_number = exchange_ticket_number
|
|
1377
|
+
@fare_basis_code = fare_basis_code
|
|
1378
|
+
@fees = fees
|
|
1379
|
+
@flight_number = flight_number
|
|
1380
|
+
@is_stop_over_indicator = is_stop_over_indicator
|
|
1381
|
+
@refundable = refundable
|
|
1382
|
+
@service_class = service_class
|
|
1383
|
+
@tax_amount = tax_amount
|
|
1384
|
+
@ticket_number = ticket_number
|
|
1385
|
+
end
|
|
1386
|
+
end
|
|
1387
|
+
|
|
1388
|
+
class Total < ::Stripe::RequestParams
|
|
1389
|
+
class Discounts < ::Stripe::RequestParams
|
|
1390
|
+
# Corporate client discount code.
|
|
1391
|
+
attr_accessor :corporate_client_code
|
|
1392
|
+
|
|
1393
|
+
def initialize(corporate_client_code: nil)
|
|
1394
|
+
@corporate_client_code = corporate_client_code
|
|
1395
|
+
end
|
|
1396
|
+
end
|
|
1397
|
+
|
|
1398
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1399
|
+
# Amount of additional charges.
|
|
1400
|
+
attr_accessor :amount
|
|
1401
|
+
# Type of additional charges.
|
|
1402
|
+
attr_accessor :type
|
|
1403
|
+
|
|
1404
|
+
def initialize(amount: nil, type: nil)
|
|
1405
|
+
@amount = amount
|
|
1406
|
+
@type = type
|
|
1407
|
+
end
|
|
1408
|
+
end
|
|
1409
|
+
|
|
1410
|
+
class Tax < ::Stripe::RequestParams
|
|
1411
|
+
class Tax < ::Stripe::RequestParams
|
|
1412
|
+
# Tax amount.
|
|
1413
|
+
attr_accessor :amount
|
|
1414
|
+
# Tax rate.
|
|
1415
|
+
attr_accessor :rate
|
|
1416
|
+
# Type of tax.
|
|
1417
|
+
attr_accessor :type
|
|
1418
|
+
|
|
1419
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1420
|
+
@amount = amount
|
|
1421
|
+
@rate = rate
|
|
1422
|
+
@type = type
|
|
1423
|
+
end
|
|
1424
|
+
end
|
|
1425
|
+
# Array of tax details.
|
|
1426
|
+
attr_accessor :taxes
|
|
1427
|
+
|
|
1428
|
+
def initialize(taxes: nil)
|
|
1429
|
+
@taxes = taxes
|
|
1430
|
+
end
|
|
1431
|
+
end
|
|
1432
|
+
# Total flight amount.
|
|
1433
|
+
attr_accessor :amount
|
|
1434
|
+
# Reason for credit.
|
|
1435
|
+
attr_accessor :credit_reason
|
|
1436
|
+
# Total currency.
|
|
1437
|
+
attr_accessor :currency
|
|
1438
|
+
# Discount details.
|
|
1439
|
+
attr_accessor :discounts
|
|
1440
|
+
# Additional charges.
|
|
1441
|
+
attr_accessor :extra_charges
|
|
1442
|
+
# Tax breakdown.
|
|
1443
|
+
attr_accessor :tax
|
|
1444
|
+
|
|
1445
|
+
def initialize(
|
|
1446
|
+
amount: nil,
|
|
1447
|
+
credit_reason: nil,
|
|
1448
|
+
currency: nil,
|
|
1449
|
+
discounts: nil,
|
|
1450
|
+
extra_charges: nil,
|
|
1451
|
+
tax: nil
|
|
1452
|
+
)
|
|
1453
|
+
@amount = amount
|
|
1454
|
+
@credit_reason = credit_reason
|
|
1455
|
+
@currency = currency
|
|
1456
|
+
@discounts = discounts
|
|
1457
|
+
@extra_charges = extra_charges
|
|
1458
|
+
@tax = tax
|
|
1459
|
+
end
|
|
1460
|
+
end
|
|
1461
|
+
# Affiliate details if applicable.
|
|
1462
|
+
attr_accessor :affiliate
|
|
1463
|
+
# Reservation reference.
|
|
1464
|
+
attr_accessor :booking_number
|
|
1465
|
+
# Computerized reservation system used to make the reservation and purchase the ticket.
|
|
1466
|
+
attr_accessor :computerized_reservation_system
|
|
1467
|
+
# Ticket restrictions.
|
|
1468
|
+
attr_accessor :endorsements_and_restrictions
|
|
1469
|
+
# List of insurances.
|
|
1470
|
+
attr_accessor :insurances
|
|
1471
|
+
# List of passengers.
|
|
1472
|
+
attr_accessor :passengers
|
|
1473
|
+
# List of flight segments.
|
|
1474
|
+
attr_accessor :segments
|
|
1475
|
+
# Electronic ticket indicator.
|
|
1476
|
+
attr_accessor :ticket_electronically_issued_indicator
|
|
1477
|
+
# Total cost breakdown.
|
|
1478
|
+
attr_accessor :total
|
|
1479
|
+
# Type of flight transaction.
|
|
1480
|
+
attr_accessor :transaction_type
|
|
1481
|
+
|
|
1482
|
+
def initialize(
|
|
1483
|
+
affiliate: nil,
|
|
1484
|
+
booking_number: nil,
|
|
1485
|
+
computerized_reservation_system: nil,
|
|
1486
|
+
endorsements_and_restrictions: nil,
|
|
1487
|
+
insurances: nil,
|
|
1488
|
+
passengers: nil,
|
|
1489
|
+
segments: nil,
|
|
1490
|
+
ticket_electronically_issued_indicator: nil,
|
|
1491
|
+
total: nil,
|
|
1492
|
+
transaction_type: nil
|
|
1493
|
+
)
|
|
1494
|
+
@affiliate = affiliate
|
|
1495
|
+
@booking_number = booking_number
|
|
1496
|
+
@computerized_reservation_system = computerized_reservation_system
|
|
1497
|
+
@endorsements_and_restrictions = endorsements_and_restrictions
|
|
1498
|
+
@insurances = insurances
|
|
1499
|
+
@passengers = passengers
|
|
1500
|
+
@segments = segments
|
|
1501
|
+
@ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
|
|
1502
|
+
@total = total
|
|
1503
|
+
@transaction_type = transaction_type
|
|
1504
|
+
end
|
|
1505
|
+
end
|
|
1506
|
+
|
|
1507
|
+
class Lodging < ::Stripe::RequestParams
|
|
1508
|
+
class Address < ::Stripe::RequestParams
|
|
1509
|
+
# City, district, suburb, town, or village.
|
|
1510
|
+
attr_accessor :city
|
|
1511
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1512
|
+
attr_accessor :country
|
|
1513
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1514
|
+
attr_accessor :line1
|
|
1515
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1516
|
+
attr_accessor :line2
|
|
1517
|
+
# ZIP or postal code.
|
|
1518
|
+
attr_accessor :postal_code
|
|
1519
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1520
|
+
attr_accessor :state
|
|
1521
|
+
|
|
1522
|
+
def initialize(
|
|
1523
|
+
city: nil,
|
|
1524
|
+
country: nil,
|
|
1525
|
+
line1: nil,
|
|
1526
|
+
line2: nil,
|
|
1527
|
+
postal_code: nil,
|
|
1528
|
+
state: nil
|
|
1529
|
+
)
|
|
1530
|
+
@city = city
|
|
1531
|
+
@country = country
|
|
1532
|
+
@line1 = line1
|
|
1533
|
+
@line2 = line2
|
|
1534
|
+
@postal_code = postal_code
|
|
1535
|
+
@state = state
|
|
1536
|
+
end
|
|
1537
|
+
end
|
|
1538
|
+
|
|
1539
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1540
|
+
# The name of the affiliate that originated the purchase.
|
|
1541
|
+
attr_accessor :name
|
|
1542
|
+
|
|
1543
|
+
def initialize(name: nil)
|
|
1544
|
+
@name = name
|
|
1545
|
+
end
|
|
1546
|
+
end
|
|
1547
|
+
|
|
1548
|
+
class Delivery < ::Stripe::RequestParams
|
|
1549
|
+
class Recipient < ::Stripe::RequestParams
|
|
1550
|
+
# The email of the recipient the ticket is delivered to.
|
|
1551
|
+
attr_accessor :email
|
|
1552
|
+
# The name of the recipient the ticket is delivered to.
|
|
1553
|
+
attr_accessor :name
|
|
1554
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1555
|
+
attr_accessor :phone
|
|
1556
|
+
|
|
1557
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
1558
|
+
@email = email
|
|
1559
|
+
@name = name
|
|
1560
|
+
@phone = phone
|
|
1561
|
+
end
|
|
1562
|
+
end
|
|
1563
|
+
# The delivery method for the payment
|
|
1564
|
+
attr_accessor :mode
|
|
1565
|
+
# Details of the recipient.
|
|
1566
|
+
attr_accessor :recipient
|
|
1567
|
+
|
|
1568
|
+
def initialize(mode: nil, recipient: nil)
|
|
1569
|
+
@mode = mode
|
|
1570
|
+
@recipient = recipient
|
|
1571
|
+
end
|
|
1572
|
+
end
|
|
1573
|
+
|
|
1574
|
+
class Passenger < ::Stripe::RequestParams
|
|
1575
|
+
# Full name of the person or entity on the lodging reservation.
|
|
1576
|
+
attr_accessor :name
|
|
1577
|
+
|
|
1578
|
+
def initialize(name: nil)
|
|
1579
|
+
@name = name
|
|
1580
|
+
end
|
|
1581
|
+
end
|
|
1582
|
+
# The lodging location's address.
|
|
1583
|
+
attr_accessor :address
|
|
1584
|
+
# The number of adults on the booking
|
|
1585
|
+
attr_accessor :adults
|
|
1586
|
+
# Affiliate details for this purchase.
|
|
1587
|
+
attr_accessor :affiliate
|
|
1588
|
+
# The booking number associated with the lodging reservation.
|
|
1589
|
+
attr_accessor :booking_number
|
|
1590
|
+
# The lodging category
|
|
1591
|
+
attr_accessor :category
|
|
1592
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
1593
|
+
attr_accessor :checkin_at
|
|
1594
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
1595
|
+
attr_accessor :checkout_at
|
|
1596
|
+
# The customer service phone number of the lodging company.
|
|
1597
|
+
attr_accessor :customer_service_phone_number
|
|
1598
|
+
# The daily lodging room rate.
|
|
1599
|
+
attr_accessor :daily_room_rate_amount
|
|
1600
|
+
# Delivery details for this purchase.
|
|
1601
|
+
attr_accessor :delivery
|
|
1602
|
+
# List of additional charges being billed.
|
|
1603
|
+
attr_accessor :extra_charges
|
|
1604
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
1605
|
+
attr_accessor :fire_safety_act_compliance
|
|
1606
|
+
# The name of the lodging location.
|
|
1607
|
+
attr_accessor :name
|
|
1608
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
1609
|
+
attr_accessor :no_show
|
|
1610
|
+
# The number of rooms on the booking
|
|
1611
|
+
attr_accessor :number_of_rooms
|
|
1612
|
+
# The details of the passengers in the travel reservation
|
|
1613
|
+
attr_accessor :passengers
|
|
1614
|
+
# The phone number of the lodging location.
|
|
1615
|
+
attr_accessor :property_phone_number
|
|
1616
|
+
# The room class for this purchase.
|
|
1617
|
+
attr_accessor :room_class
|
|
1618
|
+
# The number of room nights
|
|
1619
|
+
attr_accessor :room_nights
|
|
1620
|
+
# The total tax amount associating with the room reservation.
|
|
1621
|
+
attr_accessor :total_room_tax_amount
|
|
1622
|
+
# The total tax amount
|
|
1623
|
+
attr_accessor :total_tax_amount
|
|
1624
|
+
|
|
1625
|
+
def initialize(
|
|
1626
|
+
address: nil,
|
|
1627
|
+
adults: nil,
|
|
1628
|
+
affiliate: nil,
|
|
1629
|
+
booking_number: nil,
|
|
1630
|
+
category: nil,
|
|
1631
|
+
checkin_at: nil,
|
|
1632
|
+
checkout_at: nil,
|
|
1633
|
+
customer_service_phone_number: nil,
|
|
1634
|
+
daily_room_rate_amount: nil,
|
|
1635
|
+
delivery: nil,
|
|
1636
|
+
extra_charges: nil,
|
|
1637
|
+
fire_safety_act_compliance: nil,
|
|
1638
|
+
name: nil,
|
|
1639
|
+
no_show: nil,
|
|
1640
|
+
number_of_rooms: nil,
|
|
1641
|
+
passengers: nil,
|
|
1642
|
+
property_phone_number: nil,
|
|
1643
|
+
room_class: nil,
|
|
1644
|
+
room_nights: nil,
|
|
1645
|
+
total_room_tax_amount: nil,
|
|
1646
|
+
total_tax_amount: nil
|
|
1647
|
+
)
|
|
1648
|
+
@address = address
|
|
1649
|
+
@adults = adults
|
|
1650
|
+
@affiliate = affiliate
|
|
1651
|
+
@booking_number = booking_number
|
|
1652
|
+
@category = category
|
|
1653
|
+
@checkin_at = checkin_at
|
|
1654
|
+
@checkout_at = checkout_at
|
|
1655
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1656
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
|
1657
|
+
@delivery = delivery
|
|
1658
|
+
@extra_charges = extra_charges
|
|
1659
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
1660
|
+
@name = name
|
|
1661
|
+
@no_show = no_show
|
|
1662
|
+
@number_of_rooms = number_of_rooms
|
|
1663
|
+
@passengers = passengers
|
|
1664
|
+
@property_phone_number = property_phone_number
|
|
1665
|
+
@room_class = room_class
|
|
1666
|
+
@room_nights = room_nights
|
|
1667
|
+
@total_room_tax_amount = total_room_tax_amount
|
|
1668
|
+
@total_tax_amount = total_tax_amount
|
|
1669
|
+
end
|
|
1670
|
+
end
|
|
1671
|
+
|
|
1672
|
+
class LodgingDatum < ::Stripe::RequestParams
|
|
1673
|
+
class Accommodation < ::Stripe::RequestParams
|
|
1674
|
+
# Type of accommodation.
|
|
1675
|
+
attr_accessor :accommodation_type
|
|
1676
|
+
# Bed type.
|
|
1677
|
+
attr_accessor :bed_type
|
|
1678
|
+
# Daily accommodation rate in cents.
|
|
1679
|
+
attr_accessor :daily_rate_amount
|
|
1680
|
+
# Number of nights.
|
|
1681
|
+
attr_accessor :nights
|
|
1682
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
1683
|
+
attr_accessor :number_of_rooms
|
|
1684
|
+
# Rate type.
|
|
1685
|
+
attr_accessor :rate_type
|
|
1686
|
+
# Whether smoking is allowed.
|
|
1687
|
+
attr_accessor :smoking_indicator
|
|
1688
|
+
|
|
1689
|
+
def initialize(
|
|
1690
|
+
accommodation_type: nil,
|
|
1691
|
+
bed_type: nil,
|
|
1692
|
+
daily_rate_amount: nil,
|
|
1693
|
+
nights: nil,
|
|
1694
|
+
number_of_rooms: nil,
|
|
1695
|
+
rate_type: nil,
|
|
1696
|
+
smoking_indicator: nil
|
|
1697
|
+
)
|
|
1698
|
+
@accommodation_type = accommodation_type
|
|
1699
|
+
@bed_type = bed_type
|
|
1700
|
+
@daily_rate_amount = daily_rate_amount
|
|
1701
|
+
@nights = nights
|
|
1702
|
+
@number_of_rooms = number_of_rooms
|
|
1703
|
+
@rate_type = rate_type
|
|
1704
|
+
@smoking_indicator = smoking_indicator
|
|
1705
|
+
end
|
|
1706
|
+
end
|
|
1707
|
+
|
|
1708
|
+
class Affiliate < ::Stripe::RequestParams
|
|
1709
|
+
# Affiliate partner code.
|
|
1710
|
+
attr_accessor :code
|
|
1711
|
+
# Affiliate partner name.
|
|
1712
|
+
attr_accessor :name
|
|
1713
|
+
|
|
1714
|
+
def initialize(code: nil, name: nil)
|
|
1715
|
+
@code = code
|
|
1716
|
+
@name = name
|
|
1717
|
+
end
|
|
1718
|
+
end
|
|
1719
|
+
|
|
1720
|
+
class Guest < ::Stripe::RequestParams
|
|
1721
|
+
# Guest's full name.
|
|
1722
|
+
attr_accessor :name
|
|
1723
|
+
|
|
1724
|
+
def initialize(name: nil)
|
|
1725
|
+
@name = name
|
|
1726
|
+
end
|
|
1727
|
+
end
|
|
1728
|
+
|
|
1729
|
+
class Host < ::Stripe::RequestParams
|
|
1730
|
+
class Address < ::Stripe::RequestParams
|
|
1731
|
+
# City, district, suburb, town, or village.
|
|
1732
|
+
attr_accessor :city
|
|
1733
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1734
|
+
attr_accessor :country
|
|
1735
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1736
|
+
attr_accessor :line1
|
|
1737
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1738
|
+
attr_accessor :line2
|
|
1739
|
+
# ZIP or postal code.
|
|
1740
|
+
attr_accessor :postal_code
|
|
1741
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1742
|
+
attr_accessor :state
|
|
1743
|
+
|
|
1744
|
+
def initialize(
|
|
1745
|
+
city: nil,
|
|
1746
|
+
country: nil,
|
|
1747
|
+
line1: nil,
|
|
1748
|
+
line2: nil,
|
|
1749
|
+
postal_code: nil,
|
|
1750
|
+
state: nil
|
|
1751
|
+
)
|
|
1752
|
+
@city = city
|
|
1753
|
+
@country = country
|
|
1754
|
+
@line1 = line1
|
|
1755
|
+
@line2 = line2
|
|
1756
|
+
@postal_code = postal_code
|
|
1757
|
+
@state = state
|
|
1758
|
+
end
|
|
1759
|
+
end
|
|
1760
|
+
# Address of the host.
|
|
1761
|
+
attr_accessor :address
|
|
1762
|
+
# Host's country of domicile.
|
|
1763
|
+
attr_accessor :country_of_domicile
|
|
1764
|
+
# Reference number for the host.
|
|
1765
|
+
attr_accessor :host_reference
|
|
1766
|
+
# Type of host.
|
|
1767
|
+
attr_accessor :host_type
|
|
1768
|
+
# Name of the lodging property or host.
|
|
1769
|
+
attr_accessor :name
|
|
1770
|
+
# Total number of reservations for the host.
|
|
1771
|
+
attr_accessor :number_of_reservations
|
|
1772
|
+
# Property phone number.
|
|
1773
|
+
attr_accessor :property_phone_number
|
|
1774
|
+
# Host's registration date.
|
|
1775
|
+
attr_accessor :registered_at
|
|
1776
|
+
|
|
1777
|
+
def initialize(
|
|
1778
|
+
address: nil,
|
|
1779
|
+
country_of_domicile: nil,
|
|
1780
|
+
host_reference: nil,
|
|
1781
|
+
host_type: nil,
|
|
1782
|
+
name: nil,
|
|
1783
|
+
number_of_reservations: nil,
|
|
1784
|
+
property_phone_number: nil,
|
|
1785
|
+
registered_at: nil
|
|
1786
|
+
)
|
|
1787
|
+
@address = address
|
|
1788
|
+
@country_of_domicile = country_of_domicile
|
|
1789
|
+
@host_reference = host_reference
|
|
1790
|
+
@host_type = host_type
|
|
1791
|
+
@name = name
|
|
1792
|
+
@number_of_reservations = number_of_reservations
|
|
1793
|
+
@property_phone_number = property_phone_number
|
|
1794
|
+
@registered_at = registered_at
|
|
1795
|
+
end
|
|
1796
|
+
end
|
|
132
1797
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
1798
|
+
class Insurance < ::Stripe::RequestParams
|
|
1799
|
+
# Price of the insurance coverage in cents.
|
|
1800
|
+
attr_accessor :amount
|
|
1801
|
+
# Currency of the insurance amount.
|
|
1802
|
+
attr_accessor :currency
|
|
1803
|
+
# Name of the insurance company.
|
|
1804
|
+
attr_accessor :insurance_company_name
|
|
1805
|
+
# Type of insurance coverage.
|
|
1806
|
+
attr_accessor :insurance_type
|
|
140
1807
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
1808
|
+
def initialize(
|
|
1809
|
+
amount: nil,
|
|
1810
|
+
currency: nil,
|
|
1811
|
+
insurance_company_name: nil,
|
|
1812
|
+
insurance_type: nil
|
|
1813
|
+
)
|
|
1814
|
+
@amount = amount
|
|
1815
|
+
@currency = currency
|
|
1816
|
+
@insurance_company_name = insurance_company_name
|
|
1817
|
+
@insurance_type = insurance_type
|
|
1818
|
+
end
|
|
145
1819
|
end
|
|
146
|
-
end
|
|
147
1820
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
1821
|
+
class Total < ::Stripe::RequestParams
|
|
1822
|
+
class Discounts < ::Stripe::RequestParams
|
|
1823
|
+
# Corporate client discount code.
|
|
1824
|
+
attr_accessor :corporate_client_code
|
|
1825
|
+
# Coupon code.
|
|
1826
|
+
attr_accessor :coupon
|
|
153
1827
|
|
|
154
|
-
|
|
155
|
-
|
|
1828
|
+
def initialize(corporate_client_code: nil, coupon: nil)
|
|
1829
|
+
@corporate_client_code = corporate_client_code
|
|
1830
|
+
@coupon = coupon
|
|
1831
|
+
end
|
|
1832
|
+
end
|
|
1833
|
+
|
|
1834
|
+
class ExtraCharge < ::Stripe::RequestParams
|
|
1835
|
+
# Amount of the extra charge in cents.
|
|
1836
|
+
attr_accessor :amount
|
|
1837
|
+
# Type of extra charge.
|
|
1838
|
+
attr_accessor :type
|
|
1839
|
+
|
|
1840
|
+
def initialize(amount: nil, type: nil)
|
|
1841
|
+
@amount = amount
|
|
1842
|
+
@type = type
|
|
1843
|
+
end
|
|
1844
|
+
end
|
|
1845
|
+
|
|
1846
|
+
class Tax < ::Stripe::RequestParams
|
|
1847
|
+
class Tax < ::Stripe::RequestParams
|
|
1848
|
+
# Tax amount in cents.
|
|
1849
|
+
attr_accessor :amount
|
|
1850
|
+
# Tax rate.
|
|
1851
|
+
attr_accessor :rate
|
|
1852
|
+
# Type of tax applied.
|
|
1853
|
+
attr_accessor :type
|
|
1854
|
+
|
|
1855
|
+
def initialize(amount: nil, rate: nil, type: nil)
|
|
1856
|
+
@amount = amount
|
|
1857
|
+
@rate = rate
|
|
1858
|
+
@type = type
|
|
1859
|
+
end
|
|
1860
|
+
end
|
|
1861
|
+
# Indicates whether the transaction is tax exempt.
|
|
1862
|
+
attr_accessor :tax_exempt_indicator
|
|
1863
|
+
# Tax details.
|
|
1864
|
+
attr_accessor :taxes
|
|
1865
|
+
|
|
1866
|
+
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
1867
|
+
@tax_exempt_indicator = tax_exempt_indicator
|
|
1868
|
+
@taxes = taxes
|
|
1869
|
+
end
|
|
1870
|
+
end
|
|
1871
|
+
# Total price of the lodging reservation in cents.
|
|
1872
|
+
attr_accessor :amount
|
|
1873
|
+
# Cash advances in cents.
|
|
1874
|
+
attr_accessor :cash_advances
|
|
1875
|
+
# Currency of the total amount.
|
|
1876
|
+
attr_accessor :currency
|
|
1877
|
+
# Discount details for the lodging.
|
|
1878
|
+
attr_accessor :discounts
|
|
1879
|
+
# Additional charges for the lodging.
|
|
1880
|
+
attr_accessor :extra_charges
|
|
1881
|
+
# Prepaid amount in cents.
|
|
1882
|
+
attr_accessor :prepaid_amount
|
|
1883
|
+
# Tax breakdown for the lodging reservation.
|
|
1884
|
+
attr_accessor :tax
|
|
1885
|
+
|
|
1886
|
+
def initialize(
|
|
1887
|
+
amount: nil,
|
|
1888
|
+
cash_advances: nil,
|
|
1889
|
+
currency: nil,
|
|
1890
|
+
discounts: nil,
|
|
1891
|
+
extra_charges: nil,
|
|
1892
|
+
prepaid_amount: nil,
|
|
1893
|
+
tax: nil
|
|
1894
|
+
)
|
|
1895
|
+
@amount = amount
|
|
1896
|
+
@cash_advances = cash_advances
|
|
1897
|
+
@currency = currency
|
|
1898
|
+
@discounts = discounts
|
|
1899
|
+
@extra_charges = extra_charges
|
|
1900
|
+
@prepaid_amount = prepaid_amount
|
|
1901
|
+
@tax = tax
|
|
1902
|
+
end
|
|
156
1903
|
end
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
1904
|
+
# Accommodation details for the lodging.
|
|
1905
|
+
attr_accessor :accommodation
|
|
1906
|
+
# Affiliate details if applicable.
|
|
1907
|
+
attr_accessor :affiliate
|
|
1908
|
+
# Booking confirmation number for the lodging.
|
|
1909
|
+
attr_accessor :booking_number
|
|
1910
|
+
# Check-in date.
|
|
1911
|
+
attr_accessor :checkin_at
|
|
1912
|
+
# Check-out date.
|
|
1913
|
+
attr_accessor :checkout_at
|
|
1914
|
+
# Customer service phone number for the lodging company.
|
|
1915
|
+
attr_accessor :customer_service_phone_number
|
|
1916
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
1917
|
+
attr_accessor :fire_safety_act_compliance_indicator
|
|
1918
|
+
# List of guests for the lodging.
|
|
1919
|
+
attr_accessor :guests
|
|
1920
|
+
# Host details for the lodging.
|
|
1921
|
+
attr_accessor :host
|
|
1922
|
+
# List of insurances for the lodging.
|
|
1923
|
+
attr_accessor :insurances
|
|
1924
|
+
# Whether the renter is a no-show.
|
|
1925
|
+
attr_accessor :no_show_indicator
|
|
1926
|
+
# Renter ID number for the lodging.
|
|
1927
|
+
attr_accessor :renter_id_number
|
|
1928
|
+
# Renter name for the lodging.
|
|
1929
|
+
attr_accessor :renter_name
|
|
1930
|
+
# Total details for the lodging.
|
|
1931
|
+
attr_accessor :total
|
|
174
1932
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
1933
|
+
def initialize(
|
|
1934
|
+
accommodation: nil,
|
|
1935
|
+
affiliate: nil,
|
|
1936
|
+
booking_number: nil,
|
|
1937
|
+
checkin_at: nil,
|
|
1938
|
+
checkout_at: nil,
|
|
1939
|
+
customer_service_phone_number: nil,
|
|
1940
|
+
fire_safety_act_compliance_indicator: nil,
|
|
1941
|
+
guests: nil,
|
|
1942
|
+
host: nil,
|
|
1943
|
+
insurances: nil,
|
|
1944
|
+
no_show_indicator: nil,
|
|
1945
|
+
renter_id_number: nil,
|
|
1946
|
+
renter_name: nil,
|
|
1947
|
+
total: nil
|
|
1948
|
+
)
|
|
1949
|
+
@accommodation = accommodation
|
|
1950
|
+
@affiliate = affiliate
|
|
1951
|
+
@booking_number = booking_number
|
|
1952
|
+
@checkin_at = checkin_at
|
|
1953
|
+
@checkout_at = checkout_at
|
|
1954
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
1955
|
+
@fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
|
|
1956
|
+
@guests = guests
|
|
1957
|
+
@host = host
|
|
1958
|
+
@insurances = insurances
|
|
1959
|
+
@no_show_indicator = no_show_indicator
|
|
1960
|
+
@renter_id_number = renter_id_number
|
|
1961
|
+
@renter_name = renter_name
|
|
1962
|
+
@total = total
|
|
1963
|
+
end
|
|
187
1964
|
end
|
|
188
|
-
end
|
|
189
1965
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
1966
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
1967
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
1968
|
+
class BeneficiaryDetails < ::Stripe::RequestParams
|
|
1969
|
+
class Address < ::Stripe::RequestParams
|
|
1970
|
+
# City, district, suburb, town, or village.
|
|
1971
|
+
attr_accessor :city
|
|
1972
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1973
|
+
attr_accessor :country
|
|
1974
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1975
|
+
attr_accessor :line1
|
|
1976
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1977
|
+
attr_accessor :line2
|
|
1978
|
+
# ZIP or postal code.
|
|
1979
|
+
attr_accessor :postal_code
|
|
1980
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1981
|
+
attr_accessor :state
|
|
1982
|
+
|
|
1983
|
+
def initialize(
|
|
1984
|
+
city: nil,
|
|
1985
|
+
country: nil,
|
|
1986
|
+
line1: nil,
|
|
1987
|
+
line2: nil,
|
|
1988
|
+
postal_code: nil,
|
|
1989
|
+
state: nil
|
|
1990
|
+
)
|
|
1991
|
+
@city = city
|
|
1992
|
+
@country = country
|
|
1993
|
+
@line1 = line1
|
|
1994
|
+
@line2 = line2
|
|
1995
|
+
@postal_code = postal_code
|
|
1996
|
+
@state = state
|
|
1997
|
+
end
|
|
1998
|
+
end
|
|
197
1999
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
2000
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
2001
|
+
# Day of birth, between 1 and 31.
|
|
2002
|
+
attr_accessor :day
|
|
2003
|
+
# Month of birth, between 1 and 12.
|
|
2004
|
+
attr_accessor :month
|
|
2005
|
+
# Four-digit year of birth.
|
|
2006
|
+
attr_accessor :year
|
|
2007
|
+
|
|
2008
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2009
|
+
@day = day
|
|
2010
|
+
@month = month
|
|
2011
|
+
@year = year
|
|
2012
|
+
end
|
|
2013
|
+
end
|
|
2014
|
+
# Address.
|
|
2015
|
+
attr_accessor :address
|
|
2016
|
+
# Date of birth.
|
|
2017
|
+
attr_accessor :date_of_birth
|
|
2018
|
+
# Email address.
|
|
2019
|
+
attr_accessor :email
|
|
2020
|
+
# Full name.
|
|
2021
|
+
attr_accessor :name
|
|
2022
|
+
# Phone number.
|
|
2023
|
+
attr_accessor :phone
|
|
2024
|
+
|
|
2025
|
+
def initialize(address: nil, date_of_birth: nil, email: nil, name: nil, phone: nil)
|
|
2026
|
+
@address = address
|
|
2027
|
+
@date_of_birth = date_of_birth
|
|
2028
|
+
@email = email
|
|
2029
|
+
@name = name
|
|
2030
|
+
@phone = phone
|
|
2031
|
+
end
|
|
2032
|
+
end
|
|
203
2033
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
2034
|
+
class SenderDetails < ::Stripe::RequestParams
|
|
2035
|
+
class Address < ::Stripe::RequestParams
|
|
2036
|
+
# City, district, suburb, town, or village.
|
|
2037
|
+
attr_accessor :city
|
|
2038
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2039
|
+
attr_accessor :country
|
|
2040
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2041
|
+
attr_accessor :line1
|
|
2042
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2043
|
+
attr_accessor :line2
|
|
2044
|
+
# ZIP or postal code.
|
|
2045
|
+
attr_accessor :postal_code
|
|
2046
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2047
|
+
attr_accessor :state
|
|
2048
|
+
|
|
2049
|
+
def initialize(
|
|
2050
|
+
city: nil,
|
|
2051
|
+
country: nil,
|
|
2052
|
+
line1: nil,
|
|
2053
|
+
line2: nil,
|
|
2054
|
+
postal_code: nil,
|
|
2055
|
+
state: nil
|
|
2056
|
+
)
|
|
2057
|
+
@city = city
|
|
2058
|
+
@country = country
|
|
2059
|
+
@line1 = line1
|
|
2060
|
+
@line2 = line2
|
|
2061
|
+
@postal_code = postal_code
|
|
2062
|
+
@state = state
|
|
2063
|
+
end
|
|
2064
|
+
end
|
|
209
2065
|
|
|
210
|
-
|
|
211
|
-
|
|
2066
|
+
class DateOfBirth < ::Stripe::RequestParams
|
|
2067
|
+
# Day of birth, between 1 and 31.
|
|
2068
|
+
attr_accessor :day
|
|
2069
|
+
# Month of birth, between 1 and 12.
|
|
2070
|
+
attr_accessor :month
|
|
2071
|
+
# Four-digit year of birth.
|
|
2072
|
+
attr_accessor :year
|
|
2073
|
+
|
|
2074
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2075
|
+
@day = day
|
|
2076
|
+
@month = month
|
|
2077
|
+
@year = year
|
|
2078
|
+
end
|
|
2079
|
+
end
|
|
2080
|
+
# Address.
|
|
2081
|
+
attr_accessor :address
|
|
2082
|
+
# Date of birth.
|
|
2083
|
+
attr_accessor :date_of_birth
|
|
2084
|
+
# Email address.
|
|
2085
|
+
attr_accessor :email
|
|
2086
|
+
# Full name.
|
|
2087
|
+
attr_accessor :name
|
|
2088
|
+
# Phone number.
|
|
2089
|
+
attr_accessor :phone
|
|
2090
|
+
|
|
2091
|
+
def initialize(address: nil, date_of_birth: nil, email: nil, name: nil, phone: nil)
|
|
2092
|
+
@address = address
|
|
2093
|
+
@date_of_birth = date_of_birth
|
|
2094
|
+
@email = email
|
|
2095
|
+
@name = name
|
|
2096
|
+
@phone = phone
|
|
2097
|
+
end
|
|
212
2098
|
end
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
2099
|
+
# ID of the Account representing the beneficiary in this account funding transaction.
|
|
2100
|
+
attr_accessor :beneficiary_account
|
|
2101
|
+
# Inline identity details for the beneficiary of this account funding transaction.
|
|
2102
|
+
attr_accessor :beneficiary_details
|
|
2103
|
+
# ID of the Account representing the sender in this account funding transaction.
|
|
2104
|
+
attr_accessor :sender_account
|
|
2105
|
+
# Inline identity details for the sender of this account funding transaction.
|
|
2106
|
+
attr_accessor :sender_details
|
|
216
2107
|
|
|
217
|
-
|
|
218
|
-
|
|
2108
|
+
def initialize(
|
|
2109
|
+
beneficiary_account: nil,
|
|
2110
|
+
beneficiary_details: nil,
|
|
2111
|
+
sender_account: nil,
|
|
2112
|
+
sender_details: nil
|
|
2113
|
+
)
|
|
2114
|
+
@beneficiary_account = beneficiary_account
|
|
2115
|
+
@beneficiary_details = beneficiary_details
|
|
2116
|
+
@sender_account = sender_account
|
|
2117
|
+
@sender_details = sender_details
|
|
2118
|
+
end
|
|
2119
|
+
end
|
|
2120
|
+
# Account funding transaction details including sender and beneficiary information.
|
|
2121
|
+
attr_accessor :account_funding
|
|
2122
|
+
# The type of money services transaction.
|
|
2123
|
+
attr_accessor :transaction_type
|
|
2124
|
+
|
|
2125
|
+
def initialize(account_funding: nil, transaction_type: nil)
|
|
2126
|
+
@account_funding = account_funding
|
|
2127
|
+
@transaction_type = transaction_type
|
|
219
2128
|
end
|
|
220
2129
|
end
|
|
221
|
-
# Arguments passed in automations
|
|
222
|
-
attr_accessor :inputs
|
|
223
2130
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
2131
|
+
class Subscription < ::Stripe::RequestParams
|
|
2132
|
+
class Affiliate < ::Stripe::RequestParams
|
|
2133
|
+
# The name of the affiliate that originated the purchase.
|
|
2134
|
+
attr_accessor :name
|
|
228
2135
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
2136
|
+
def initialize(name: nil)
|
|
2137
|
+
@name = name
|
|
2138
|
+
end
|
|
2139
|
+
end
|
|
232
2140
|
|
|
233
|
-
class
|
|
234
|
-
# The
|
|
235
|
-
attr_accessor :
|
|
236
|
-
#
|
|
237
|
-
attr_accessor :
|
|
2141
|
+
class BillingInterval < ::Stripe::RequestParams
|
|
2142
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2143
|
+
attr_accessor :count
|
|
2144
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2145
|
+
attr_accessor :interval
|
|
238
2146
|
|
|
239
|
-
def initialize(
|
|
240
|
-
@
|
|
241
|
-
@
|
|
2147
|
+
def initialize(count: nil, interval: nil)
|
|
2148
|
+
@count = count
|
|
2149
|
+
@interval = interval
|
|
242
2150
|
end
|
|
243
2151
|
end
|
|
244
|
-
#
|
|
245
|
-
attr_accessor :
|
|
246
|
-
#
|
|
247
|
-
attr_accessor :
|
|
248
|
-
#
|
|
249
|
-
attr_accessor :
|
|
250
|
-
#
|
|
251
|
-
attr_accessor :
|
|
2152
|
+
# Affiliate details for this purchase.
|
|
2153
|
+
attr_accessor :affiliate
|
|
2154
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
2155
|
+
attr_accessor :auto_renewal
|
|
2156
|
+
# Subscription billing details for this purchase.
|
|
2157
|
+
attr_accessor :billing_interval
|
|
2158
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2159
|
+
attr_accessor :ends_at
|
|
2160
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
2161
|
+
attr_accessor :name
|
|
2162
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2163
|
+
attr_accessor :starts_at
|
|
252
2164
|
|
|
253
|
-
def initialize(
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
2165
|
+
def initialize(
|
|
2166
|
+
affiliate: nil,
|
|
2167
|
+
auto_renewal: nil,
|
|
2168
|
+
billing_interval: nil,
|
|
2169
|
+
ends_at: nil,
|
|
2170
|
+
name: nil,
|
|
2171
|
+
starts_at: nil
|
|
2172
|
+
)
|
|
2173
|
+
@affiliate = affiliate
|
|
2174
|
+
@auto_renewal = auto_renewal
|
|
2175
|
+
@billing_interval = billing_interval
|
|
2176
|
+
@ends_at = ends_at
|
|
2177
|
+
@name = name
|
|
2178
|
+
@starts_at = starts_at
|
|
258
2179
|
end
|
|
259
2180
|
end
|
|
260
|
-
#
|
|
261
|
-
attr_accessor :
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
end
|
|
267
|
-
|
|
268
|
-
class PaymentDetails < ::Stripe::RequestParams
|
|
2181
|
+
# Benefit details for this PaymentIntent
|
|
2182
|
+
attr_accessor :benefit
|
|
2183
|
+
# Car rental details for this PaymentIntent.
|
|
2184
|
+
attr_accessor :car_rental
|
|
2185
|
+
# Car rental data for this PaymentIntent.
|
|
2186
|
+
attr_accessor :car_rental_data
|
|
269
2187
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
270
2188
|
#
|
|
271
2189
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
272
2190
|
attr_accessor :customer_reference
|
|
2191
|
+
# Event details for this PaymentIntent
|
|
2192
|
+
attr_accessor :event_details
|
|
2193
|
+
# Fleet data for this PaymentIntent.
|
|
2194
|
+
attr_accessor :fleet_data
|
|
2195
|
+
# Flight reservation details for this PaymentIntent
|
|
2196
|
+
attr_accessor :flight
|
|
2197
|
+
# Flight data for this PaymentIntent.
|
|
2198
|
+
attr_accessor :flight_data
|
|
2199
|
+
# The ID of the Payment Location for this PaymentIntent.
|
|
2200
|
+
attr_accessor :location
|
|
2201
|
+
# Lodging reservation details for this PaymentIntent
|
|
2202
|
+
attr_accessor :lodging
|
|
2203
|
+
# Lodging data for this PaymentIntent.
|
|
2204
|
+
attr_accessor :lodging_data
|
|
2205
|
+
# Money services details for this PaymentIntent.
|
|
2206
|
+
attr_accessor :money_services
|
|
273
2207
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
274
2208
|
#
|
|
275
2209
|
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
276
2210
|
attr_accessor :order_reference
|
|
2211
|
+
# Subscription details for this PaymentIntent
|
|
2212
|
+
attr_accessor :subscription
|
|
277
2213
|
|
|
278
|
-
def initialize(
|
|
2214
|
+
def initialize(
|
|
2215
|
+
benefit: nil,
|
|
2216
|
+
car_rental: nil,
|
|
2217
|
+
car_rental_data: nil,
|
|
2218
|
+
customer_reference: nil,
|
|
2219
|
+
event_details: nil,
|
|
2220
|
+
fleet_data: nil,
|
|
2221
|
+
flight: nil,
|
|
2222
|
+
flight_data: nil,
|
|
2223
|
+
location: nil,
|
|
2224
|
+
lodging: nil,
|
|
2225
|
+
lodging_data: nil,
|
|
2226
|
+
money_services: nil,
|
|
2227
|
+
order_reference: nil,
|
|
2228
|
+
subscription: nil
|
|
2229
|
+
)
|
|
2230
|
+
@benefit = benefit
|
|
2231
|
+
@car_rental = car_rental
|
|
2232
|
+
@car_rental_data = car_rental_data
|
|
279
2233
|
@customer_reference = customer_reference
|
|
2234
|
+
@event_details = event_details
|
|
2235
|
+
@fleet_data = fleet_data
|
|
2236
|
+
@flight = flight
|
|
2237
|
+
@flight_data = flight_data
|
|
2238
|
+
@location = location
|
|
2239
|
+
@lodging = lodging
|
|
2240
|
+
@lodging_data = lodging_data
|
|
2241
|
+
@money_services = money_services
|
|
280
2242
|
@order_reference = order_reference
|
|
2243
|
+
@subscription = subscription
|
|
281
2244
|
end
|
|
282
2245
|
end
|
|
283
2246
|
|
|
@@ -418,9 +2381,28 @@ module Stripe
|
|
|
418
2381
|
end
|
|
419
2382
|
end
|
|
420
2383
|
|
|
2384
|
+
class GiftCard < ::Stripe::RequestParams
|
|
2385
|
+
# The gift card ID to redeem
|
|
2386
|
+
attr_accessor :gift_card
|
|
2387
|
+
|
|
2388
|
+
def initialize(gift_card: nil)
|
|
2389
|
+
@gift_card = gift_card
|
|
2390
|
+
end
|
|
2391
|
+
end
|
|
2392
|
+
|
|
421
2393
|
class Giropay < ::Stripe::RequestParams; end
|
|
2394
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
422
2395
|
class Grabpay < ::Stripe::RequestParams; end
|
|
423
2396
|
|
|
2397
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
2398
|
+
# Bank where the account is held.
|
|
2399
|
+
attr_accessor :bank
|
|
2400
|
+
|
|
2401
|
+
def initialize(bank: nil)
|
|
2402
|
+
@bank = bank
|
|
2403
|
+
end
|
|
2404
|
+
end
|
|
2405
|
+
|
|
424
2406
|
class Ideal < ::Stripe::RequestParams
|
|
425
2407
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
426
2408
|
attr_accessor :bank
|
|
@@ -518,6 +2500,7 @@ module Stripe
|
|
|
518
2500
|
class Payco < ::Stripe::RequestParams; end
|
|
519
2501
|
class Paynow < ::Stripe::RequestParams; end
|
|
520
2502
|
class Paypal < ::Stripe::RequestParams; end
|
|
2503
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
521
2504
|
|
|
522
2505
|
class Payto < ::Stripe::RequestParams
|
|
523
2506
|
# The account number for the bank account.
|
|
@@ -536,6 +2519,7 @@ module Stripe
|
|
|
536
2519
|
|
|
537
2520
|
class Pix < ::Stripe::RequestParams; end
|
|
538
2521
|
class Promptpay < ::Stripe::RequestParams; end
|
|
2522
|
+
class Qris < ::Stripe::RequestParams; end
|
|
539
2523
|
|
|
540
2524
|
class RadarOptions < ::Stripe::RequestParams
|
|
541
2525
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -546,6 +2530,29 @@ module Stripe
|
|
|
546
2530
|
end
|
|
547
2531
|
end
|
|
548
2532
|
|
|
2533
|
+
class Rechnung < ::Stripe::RequestParams
|
|
2534
|
+
class Dob < ::Stripe::RequestParams
|
|
2535
|
+
# The day of birth, between 1 and 31.
|
|
2536
|
+
attr_accessor :day
|
|
2537
|
+
# The month of birth, between 1 and 12.
|
|
2538
|
+
attr_accessor :month
|
|
2539
|
+
# The four-digit year of birth.
|
|
2540
|
+
attr_accessor :year
|
|
2541
|
+
|
|
2542
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
2543
|
+
@day = day
|
|
2544
|
+
@month = month
|
|
2545
|
+
@year = year
|
|
2546
|
+
end
|
|
2547
|
+
end
|
|
2548
|
+
# Customer's date of birth
|
|
2549
|
+
attr_accessor :dob
|
|
2550
|
+
|
|
2551
|
+
def initialize(dob: nil)
|
|
2552
|
+
@dob = dob
|
|
2553
|
+
end
|
|
2554
|
+
end
|
|
2555
|
+
|
|
549
2556
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
550
2557
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
551
2558
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -560,6 +2567,8 @@ module Stripe
|
|
|
560
2567
|
end
|
|
561
2568
|
end
|
|
562
2569
|
|
|
2570
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
2571
|
+
|
|
563
2572
|
class Sofort < ::Stripe::RequestParams
|
|
564
2573
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
565
2574
|
attr_accessor :country
|
|
@@ -569,6 +2578,15 @@ module Stripe
|
|
|
569
2578
|
end
|
|
570
2579
|
end
|
|
571
2580
|
|
|
2581
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
2582
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2583
|
+
attr_accessor :account
|
|
2584
|
+
|
|
2585
|
+
def initialize(account: nil)
|
|
2586
|
+
@account = account
|
|
2587
|
+
end
|
|
2588
|
+
end
|
|
2589
|
+
|
|
572
2590
|
class Sunbit < ::Stripe::RequestParams; end
|
|
573
2591
|
class Swish < ::Stripe::RequestParams; end
|
|
574
2592
|
class Twint < ::Stripe::RequestParams; end
|
|
@@ -668,10 +2686,16 @@ module Stripe
|
|
|
668
2686
|
attr_accessor :eps
|
|
669
2687
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
|
670
2688
|
attr_accessor :fpx
|
|
2689
|
+
# If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method.
|
|
2690
|
+
attr_accessor :gift_card
|
|
671
2691
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
672
2692
|
attr_accessor :giropay
|
|
2693
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2694
|
+
attr_accessor :gopay
|
|
673
2695
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
674
2696
|
attr_accessor :grabpay
|
|
2697
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2698
|
+
attr_accessor :id_bank_transfer
|
|
675
2699
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
676
2700
|
attr_accessor :ideal
|
|
677
2701
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -710,14 +2734,20 @@ module Stripe
|
|
|
710
2734
|
attr_accessor :paynow
|
|
711
2735
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
712
2736
|
attr_accessor :paypal
|
|
2737
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
2738
|
+
attr_accessor :paypay
|
|
713
2739
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
714
2740
|
attr_accessor :payto
|
|
715
2741
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
716
2742
|
attr_accessor :pix
|
|
717
2743
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
718
2744
|
attr_accessor :promptpay
|
|
2745
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2746
|
+
attr_accessor :qris
|
|
719
2747
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
720
2748
|
attr_accessor :radar_options
|
|
2749
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2750
|
+
attr_accessor :rechnung
|
|
721
2751
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
722
2752
|
attr_accessor :revolut_pay
|
|
723
2753
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -728,8 +2758,14 @@ module Stripe
|
|
|
728
2758
|
attr_accessor :scalapay
|
|
729
2759
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
730
2760
|
attr_accessor :sepa_debit
|
|
2761
|
+
# ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
2762
|
+
attr_accessor :shared_payment_granted_token
|
|
2763
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2764
|
+
attr_accessor :shopeepay
|
|
731
2765
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
732
2766
|
attr_accessor :sofort
|
|
2767
|
+
# This hash contains details about the Stripe balance payment method.
|
|
2768
|
+
attr_accessor :stripe_balance
|
|
733
2769
|
# If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
734
2770
|
attr_accessor :sunbit
|
|
735
2771
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
@@ -768,8 +2804,11 @@ module Stripe
|
|
|
768
2804
|
customer_balance: nil,
|
|
769
2805
|
eps: nil,
|
|
770
2806
|
fpx: nil,
|
|
2807
|
+
gift_card: nil,
|
|
771
2808
|
giropay: nil,
|
|
2809
|
+
gopay: nil,
|
|
772
2810
|
grabpay: nil,
|
|
2811
|
+
id_bank_transfer: nil,
|
|
773
2812
|
ideal: nil,
|
|
774
2813
|
interac_present: nil,
|
|
775
2814
|
kakao_pay: nil,
|
|
@@ -789,16 +2828,22 @@ module Stripe
|
|
|
789
2828
|
payco: nil,
|
|
790
2829
|
paynow: nil,
|
|
791
2830
|
paypal: nil,
|
|
2831
|
+
paypay: nil,
|
|
792
2832
|
payto: nil,
|
|
793
2833
|
pix: nil,
|
|
794
2834
|
promptpay: nil,
|
|
2835
|
+
qris: nil,
|
|
795
2836
|
radar_options: nil,
|
|
2837
|
+
rechnung: nil,
|
|
796
2838
|
revolut_pay: nil,
|
|
797
2839
|
samsung_pay: nil,
|
|
798
2840
|
satispay: nil,
|
|
799
2841
|
scalapay: nil,
|
|
800
2842
|
sepa_debit: nil,
|
|
2843
|
+
shared_payment_granted_token: nil,
|
|
2844
|
+
shopeepay: nil,
|
|
801
2845
|
sofort: nil,
|
|
2846
|
+
stripe_balance: nil,
|
|
802
2847
|
sunbit: nil,
|
|
803
2848
|
swish: nil,
|
|
804
2849
|
twint: nil,
|
|
@@ -828,8 +2873,11 @@ module Stripe
|
|
|
828
2873
|
@customer_balance = customer_balance
|
|
829
2874
|
@eps = eps
|
|
830
2875
|
@fpx = fpx
|
|
2876
|
+
@gift_card = gift_card
|
|
831
2877
|
@giropay = giropay
|
|
2878
|
+
@gopay = gopay
|
|
832
2879
|
@grabpay = grabpay
|
|
2880
|
+
@id_bank_transfer = id_bank_transfer
|
|
833
2881
|
@ideal = ideal
|
|
834
2882
|
@interac_present = interac_present
|
|
835
2883
|
@kakao_pay = kakao_pay
|
|
@@ -849,16 +2897,22 @@ module Stripe
|
|
|
849
2897
|
@payco = payco
|
|
850
2898
|
@paynow = paynow
|
|
851
2899
|
@paypal = paypal
|
|
2900
|
+
@paypay = paypay
|
|
852
2901
|
@payto = payto
|
|
853
2902
|
@pix = pix
|
|
854
2903
|
@promptpay = promptpay
|
|
2904
|
+
@qris = qris
|
|
855
2905
|
@radar_options = radar_options
|
|
2906
|
+
@rechnung = rechnung
|
|
856
2907
|
@revolut_pay = revolut_pay
|
|
857
2908
|
@samsung_pay = samsung_pay
|
|
858
2909
|
@satispay = satispay
|
|
859
2910
|
@scalapay = scalapay
|
|
860
2911
|
@sepa_debit = sepa_debit
|
|
2912
|
+
@shared_payment_granted_token = shared_payment_granted_token
|
|
2913
|
+
@shopeepay = shopeepay
|
|
861
2914
|
@sofort = sofort
|
|
2915
|
+
@stripe_balance = stripe_balance
|
|
862
2916
|
@sunbit = sunbit
|
|
863
2917
|
@swish = swish
|
|
864
2918
|
@twint = twint
|
|
@@ -1233,6 +3287,132 @@ module Stripe
|
|
|
1233
3287
|
end
|
|
1234
3288
|
end
|
|
1235
3289
|
|
|
3290
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
3291
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
3292
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
3293
|
+
class LiquidAsset < ::Stripe::RequestParams
|
|
3294
|
+
class Crypto < ::Stripe::RequestParams
|
|
3295
|
+
# The cryptocurrency currency code (e.g. BTC, ETH).
|
|
3296
|
+
attr_accessor :currency_code
|
|
3297
|
+
|
|
3298
|
+
def initialize(currency_code: nil)
|
|
3299
|
+
@currency_code = currency_code
|
|
3300
|
+
end
|
|
3301
|
+
end
|
|
3302
|
+
|
|
3303
|
+
class Security < ::Stripe::RequestParams
|
|
3304
|
+
# The security's ticker symbol (e.g. AAPL).
|
|
3305
|
+
attr_accessor :ticker_symbol
|
|
3306
|
+
|
|
3307
|
+
def initialize(ticker_symbol: nil)
|
|
3308
|
+
@ticker_symbol = ticker_symbol
|
|
3309
|
+
end
|
|
3310
|
+
end
|
|
3311
|
+
# Details for a cryptocurrency liquid asset funding transaction.
|
|
3312
|
+
attr_accessor :crypto
|
|
3313
|
+
# Details for a security liquid asset funding transaction.
|
|
3314
|
+
attr_accessor :security
|
|
3315
|
+
|
|
3316
|
+
def initialize(crypto: nil, security: nil)
|
|
3317
|
+
@crypto = crypto
|
|
3318
|
+
@security = security
|
|
3319
|
+
end
|
|
3320
|
+
end
|
|
3321
|
+
|
|
3322
|
+
class Wallet < ::Stripe::RequestParams
|
|
3323
|
+
class StagedPurchase < ::Stripe::RequestParams
|
|
3324
|
+
class Merchant < ::Stripe::RequestParams
|
|
3325
|
+
# The merchant category code of the merchant.
|
|
3326
|
+
attr_accessor :mcc
|
|
3327
|
+
# The merchant's name.
|
|
3328
|
+
attr_accessor :name
|
|
3329
|
+
|
|
3330
|
+
def initialize(mcc: nil, name: nil)
|
|
3331
|
+
@mcc = mcc
|
|
3332
|
+
@name = name
|
|
3333
|
+
end
|
|
3334
|
+
end
|
|
3335
|
+
# The merchant where the staged wallet purchase is made.
|
|
3336
|
+
attr_accessor :merchant
|
|
3337
|
+
|
|
3338
|
+
def initialize(merchant: nil)
|
|
3339
|
+
@merchant = merchant
|
|
3340
|
+
end
|
|
3341
|
+
end
|
|
3342
|
+
# Details for a staged purchase.
|
|
3343
|
+
attr_accessor :staged_purchase
|
|
3344
|
+
|
|
3345
|
+
def initialize(staged_purchase: nil)
|
|
3346
|
+
@staged_purchase = staged_purchase
|
|
3347
|
+
end
|
|
3348
|
+
end
|
|
3349
|
+
# Details for a liquid asset (crypto or security) funding transaction.
|
|
3350
|
+
attr_accessor :liquid_asset
|
|
3351
|
+
# Details for a wallet funding transaction.
|
|
3352
|
+
attr_accessor :wallet
|
|
3353
|
+
|
|
3354
|
+
def initialize(liquid_asset: nil, wallet: nil)
|
|
3355
|
+
@liquid_asset = liquid_asset
|
|
3356
|
+
@wallet = wallet
|
|
3357
|
+
end
|
|
3358
|
+
end
|
|
3359
|
+
# Payment method specific account funding transaction details.
|
|
3360
|
+
attr_accessor :account_funding
|
|
3361
|
+
|
|
3362
|
+
def initialize(account_funding: nil)
|
|
3363
|
+
@account_funding = account_funding
|
|
3364
|
+
end
|
|
3365
|
+
end
|
|
3366
|
+
# Money services details for payment method specific funding fields.
|
|
3367
|
+
attr_accessor :money_services
|
|
3368
|
+
|
|
3369
|
+
def initialize(money_services: nil)
|
|
3370
|
+
@money_services = money_services
|
|
3371
|
+
end
|
|
3372
|
+
end
|
|
3373
|
+
|
|
3374
|
+
class StatementDetails < ::Stripe::RequestParams
|
|
3375
|
+
class Address < ::Stripe::RequestParams
|
|
3376
|
+
# City, district, suburb, town, or village.
|
|
3377
|
+
attr_accessor :city
|
|
3378
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3379
|
+
attr_accessor :country
|
|
3380
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
3381
|
+
attr_accessor :line1
|
|
3382
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
3383
|
+
attr_accessor :line2
|
|
3384
|
+
# ZIP or postal code.
|
|
3385
|
+
attr_accessor :postal_code
|
|
3386
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3387
|
+
attr_accessor :state
|
|
3388
|
+
|
|
3389
|
+
def initialize(
|
|
3390
|
+
city: nil,
|
|
3391
|
+
country: nil,
|
|
3392
|
+
line1: nil,
|
|
3393
|
+
line2: nil,
|
|
3394
|
+
postal_code: nil,
|
|
3395
|
+
state: nil
|
|
3396
|
+
)
|
|
3397
|
+
@city = city
|
|
3398
|
+
@country = country
|
|
3399
|
+
@line1 = line1
|
|
3400
|
+
@line2 = line2
|
|
3401
|
+
@postal_code = postal_code
|
|
3402
|
+
@state = state
|
|
3403
|
+
end
|
|
3404
|
+
end
|
|
3405
|
+
# Please pass in an address that is within your Stripe user account country
|
|
3406
|
+
attr_accessor :address
|
|
3407
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
|
3408
|
+
attr_accessor :phone
|
|
3409
|
+
|
|
3410
|
+
def initialize(address: nil, phone: nil)
|
|
3411
|
+
@address = address
|
|
3412
|
+
@phone = phone
|
|
3413
|
+
end
|
|
3414
|
+
end
|
|
3415
|
+
|
|
1236
3416
|
class ThreeDSecure < ::Stripe::RequestParams
|
|
1237
3417
|
class NetworkOptions < ::Stripe::RequestParams
|
|
1238
3418
|
class CartesBancaires < ::Stripe::RequestParams
|
|
@@ -1327,6 +3507,10 @@ module Stripe
|
|
|
1327
3507
|
attr_accessor :moto
|
|
1328
3508
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
|
1329
3509
|
attr_accessor :network
|
|
3510
|
+
# Payment details for payment method specific funding fields.
|
|
3511
|
+
attr_accessor :payment_details
|
|
3512
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3513
|
+
attr_accessor :request_decremental_authorization
|
|
1330
3514
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
1331
3515
|
attr_accessor :request_extended_authorization
|
|
1332
3516
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1335,6 +3519,10 @@ module Stripe
|
|
|
1335
3519
|
attr_accessor :request_multicapture
|
|
1336
3520
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
1337
3521
|
attr_accessor :request_overcapture
|
|
3522
|
+
# Request partial authorization on this PaymentIntent.
|
|
3523
|
+
attr_accessor :request_partial_authorization
|
|
3524
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3525
|
+
attr_accessor :request_reauthorization
|
|
1338
3526
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
1339
3527
|
attr_accessor :request_three_d_secure
|
|
1340
3528
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -1353,6 +3541,8 @@ module Stripe
|
|
|
1353
3541
|
attr_accessor :statement_descriptor_suffix_kana
|
|
1354
3542
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
1355
3543
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
3544
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
3545
|
+
attr_accessor :statement_details
|
|
1356
3546
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
1357
3547
|
# the authentication details to use for this payment.
|
|
1358
3548
|
attr_accessor :three_d_secure
|
|
@@ -1364,15 +3554,20 @@ module Stripe
|
|
|
1364
3554
|
mandate_options: nil,
|
|
1365
3555
|
moto: nil,
|
|
1366
3556
|
network: nil,
|
|
3557
|
+
payment_details: nil,
|
|
3558
|
+
request_decremental_authorization: nil,
|
|
1367
3559
|
request_extended_authorization: nil,
|
|
1368
3560
|
request_incremental_authorization: nil,
|
|
1369
3561
|
request_multicapture: nil,
|
|
1370
3562
|
request_overcapture: nil,
|
|
3563
|
+
request_partial_authorization: nil,
|
|
3564
|
+
request_reauthorization: nil,
|
|
1371
3565
|
request_three_d_secure: nil,
|
|
1372
3566
|
require_cvc_recollection: nil,
|
|
1373
3567
|
setup_future_usage: nil,
|
|
1374
3568
|
statement_descriptor_suffix_kana: nil,
|
|
1375
3569
|
statement_descriptor_suffix_kanji: nil,
|
|
3570
|
+
statement_details: nil,
|
|
1376
3571
|
three_d_secure: nil
|
|
1377
3572
|
)
|
|
1378
3573
|
@capture_method = capture_method
|
|
@@ -1381,20 +3576,109 @@ module Stripe
|
|
|
1381
3576
|
@mandate_options = mandate_options
|
|
1382
3577
|
@moto = moto
|
|
1383
3578
|
@network = network
|
|
3579
|
+
@payment_details = payment_details
|
|
3580
|
+
@request_decremental_authorization = request_decremental_authorization
|
|
1384
3581
|
@request_extended_authorization = request_extended_authorization
|
|
1385
3582
|
@request_incremental_authorization = request_incremental_authorization
|
|
1386
3583
|
@request_multicapture = request_multicapture
|
|
1387
3584
|
@request_overcapture = request_overcapture
|
|
3585
|
+
@request_partial_authorization = request_partial_authorization
|
|
3586
|
+
@request_reauthorization = request_reauthorization
|
|
1388
3587
|
@request_three_d_secure = request_three_d_secure
|
|
1389
3588
|
@require_cvc_recollection = require_cvc_recollection
|
|
1390
3589
|
@setup_future_usage = setup_future_usage
|
|
1391
3590
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
1392
3591
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
3592
|
+
@statement_details = statement_details
|
|
1393
3593
|
@three_d_secure = three_d_secure
|
|
1394
3594
|
end
|
|
1395
3595
|
end
|
|
1396
3596
|
|
|
1397
3597
|
class CardPresent < ::Stripe::RequestParams
|
|
3598
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
3599
|
+
class MoneyServices < ::Stripe::RequestParams
|
|
3600
|
+
class AccountFunding < ::Stripe::RequestParams
|
|
3601
|
+
class LiquidAsset < ::Stripe::RequestParams
|
|
3602
|
+
class Crypto < ::Stripe::RequestParams
|
|
3603
|
+
# The cryptocurrency currency code (e.g. BTC, ETH).
|
|
3604
|
+
attr_accessor :currency_code
|
|
3605
|
+
|
|
3606
|
+
def initialize(currency_code: nil)
|
|
3607
|
+
@currency_code = currency_code
|
|
3608
|
+
end
|
|
3609
|
+
end
|
|
3610
|
+
|
|
3611
|
+
class Security < ::Stripe::RequestParams
|
|
3612
|
+
# The security's ticker symbol (e.g. AAPL).
|
|
3613
|
+
attr_accessor :ticker_symbol
|
|
3614
|
+
|
|
3615
|
+
def initialize(ticker_symbol: nil)
|
|
3616
|
+
@ticker_symbol = ticker_symbol
|
|
3617
|
+
end
|
|
3618
|
+
end
|
|
3619
|
+
# Details for a cryptocurrency liquid asset funding transaction.
|
|
3620
|
+
attr_accessor :crypto
|
|
3621
|
+
# Details for a security liquid asset funding transaction.
|
|
3622
|
+
attr_accessor :security
|
|
3623
|
+
|
|
3624
|
+
def initialize(crypto: nil, security: nil)
|
|
3625
|
+
@crypto = crypto
|
|
3626
|
+
@security = security
|
|
3627
|
+
end
|
|
3628
|
+
end
|
|
3629
|
+
|
|
3630
|
+
class Wallet < ::Stripe::RequestParams
|
|
3631
|
+
class StagedPurchase < ::Stripe::RequestParams
|
|
3632
|
+
class Merchant < ::Stripe::RequestParams
|
|
3633
|
+
# The merchant category code of the merchant.
|
|
3634
|
+
attr_accessor :mcc
|
|
3635
|
+
# The merchant's name.
|
|
3636
|
+
attr_accessor :name
|
|
3637
|
+
|
|
3638
|
+
def initialize(mcc: nil, name: nil)
|
|
3639
|
+
@mcc = mcc
|
|
3640
|
+
@name = name
|
|
3641
|
+
end
|
|
3642
|
+
end
|
|
3643
|
+
# The merchant where the staged wallet purchase is made.
|
|
3644
|
+
attr_accessor :merchant
|
|
3645
|
+
|
|
3646
|
+
def initialize(merchant: nil)
|
|
3647
|
+
@merchant = merchant
|
|
3648
|
+
end
|
|
3649
|
+
end
|
|
3650
|
+
# Details for a staged purchase.
|
|
3651
|
+
attr_accessor :staged_purchase
|
|
3652
|
+
|
|
3653
|
+
def initialize(staged_purchase: nil)
|
|
3654
|
+
@staged_purchase = staged_purchase
|
|
3655
|
+
end
|
|
3656
|
+
end
|
|
3657
|
+
# Details for a liquid asset (crypto or security) funding transaction.
|
|
3658
|
+
attr_accessor :liquid_asset
|
|
3659
|
+
# Details for a wallet funding transaction.
|
|
3660
|
+
attr_accessor :wallet
|
|
3661
|
+
|
|
3662
|
+
def initialize(liquid_asset: nil, wallet: nil)
|
|
3663
|
+
@liquid_asset = liquid_asset
|
|
3664
|
+
@wallet = wallet
|
|
3665
|
+
end
|
|
3666
|
+
end
|
|
3667
|
+
# Payment method specific account funding transaction details.
|
|
3668
|
+
attr_accessor :account_funding
|
|
3669
|
+
|
|
3670
|
+
def initialize(account_funding: nil)
|
|
3671
|
+
@account_funding = account_funding
|
|
3672
|
+
end
|
|
3673
|
+
end
|
|
3674
|
+
# Money services details for payment method specific funding fields.
|
|
3675
|
+
attr_accessor :money_services
|
|
3676
|
+
|
|
3677
|
+
def initialize(money_services: nil)
|
|
3678
|
+
@money_services = money_services
|
|
3679
|
+
end
|
|
3680
|
+
end
|
|
3681
|
+
|
|
1398
3682
|
class Routing < ::Stripe::RequestParams
|
|
1399
3683
|
# Routing requested priority
|
|
1400
3684
|
attr_accessor :requested_priority
|
|
@@ -1409,22 +3693,30 @@ module Stripe
|
|
|
1409
3693
|
#
|
|
1410
3694
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
1411
3695
|
attr_accessor :capture_method
|
|
3696
|
+
# Payment details for payment method specific funding transaction fields.
|
|
3697
|
+
attr_accessor :payment_details
|
|
1412
3698
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
1413
3699
|
attr_accessor :request_extended_authorization
|
|
1414
3700
|
# Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
|
|
1415
3701
|
attr_accessor :request_incremental_authorization_support
|
|
3702
|
+
# Request ability to [reauthorize](https://docs.stripe.com/payments/reauthorization) for this PaymentIntent.
|
|
3703
|
+
attr_accessor :request_reauthorization
|
|
1416
3704
|
# Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
|
|
1417
3705
|
attr_accessor :routing
|
|
1418
3706
|
|
|
1419
3707
|
def initialize(
|
|
1420
3708
|
capture_method: nil,
|
|
3709
|
+
payment_details: nil,
|
|
1421
3710
|
request_extended_authorization: nil,
|
|
1422
3711
|
request_incremental_authorization_support: nil,
|
|
3712
|
+
request_reauthorization: nil,
|
|
1423
3713
|
routing: nil
|
|
1424
3714
|
)
|
|
1425
3715
|
@capture_method = capture_method
|
|
3716
|
+
@payment_details = payment_details
|
|
1426
3717
|
@request_extended_authorization = request_extended_authorization
|
|
1427
3718
|
@request_incremental_authorization_support = request_incremental_authorization_support
|
|
3719
|
+
@request_reauthorization = request_reauthorization
|
|
1428
3720
|
@routing = routing
|
|
1429
3721
|
end
|
|
1430
3722
|
end
|
|
@@ -1454,6 +3746,18 @@ module Stripe
|
|
|
1454
3746
|
end
|
|
1455
3747
|
|
|
1456
3748
|
class Crypto < ::Stripe::RequestParams
|
|
3749
|
+
class DepositOptions < ::Stripe::RequestParams
|
|
3750
|
+
# 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).
|
|
3751
|
+
attr_accessor :networks
|
|
3752
|
+
|
|
3753
|
+
def initialize(networks: nil)
|
|
3754
|
+
@networks = networks
|
|
3755
|
+
end
|
|
3756
|
+
end
|
|
3757
|
+
# Specific configuration for this PaymentIntent when the mode is `deposit`.
|
|
3758
|
+
attr_accessor :deposit_options
|
|
3759
|
+
# The mode of the crypto payment.
|
|
3760
|
+
attr_accessor :mode
|
|
1457
3761
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1458
3762
|
#
|
|
1459
3763
|
# 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.
|
|
@@ -1465,7 +3769,9 @@ module Stripe
|
|
|
1465
3769
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
1466
3770
|
attr_accessor :setup_future_usage
|
|
1467
3771
|
|
|
1468
|
-
def initialize(setup_future_usage: nil)
|
|
3772
|
+
def initialize(deposit_options: nil, mode: nil, setup_future_usage: nil)
|
|
3773
|
+
@deposit_options = deposit_options
|
|
3774
|
+
@mode = mode
|
|
1469
3775
|
@setup_future_usage = setup_future_usage
|
|
1470
3776
|
end
|
|
1471
3777
|
end
|
|
@@ -1551,6 +3857,8 @@ module Stripe
|
|
|
1551
3857
|
end
|
|
1552
3858
|
end
|
|
1553
3859
|
|
|
3860
|
+
class GiftCard < ::Stripe::RequestParams; end
|
|
3861
|
+
|
|
1554
3862
|
class Giropay < ::Stripe::RequestParams
|
|
1555
3863
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1556
3864
|
#
|
|
@@ -1568,6 +3876,23 @@ module Stripe
|
|
|
1568
3876
|
end
|
|
1569
3877
|
end
|
|
1570
3878
|
|
|
3879
|
+
class Gopay < ::Stripe::RequestParams
|
|
3880
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3881
|
+
#
|
|
3882
|
+
# 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.
|
|
3883
|
+
#
|
|
3884
|
+
# 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.
|
|
3885
|
+
#
|
|
3886
|
+
# 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).
|
|
3887
|
+
#
|
|
3888
|
+
# 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`.
|
|
3889
|
+
attr_accessor :setup_future_usage
|
|
3890
|
+
|
|
3891
|
+
def initialize(setup_future_usage: nil)
|
|
3892
|
+
@setup_future_usage = setup_future_usage
|
|
3893
|
+
end
|
|
3894
|
+
end
|
|
3895
|
+
|
|
1571
3896
|
class Grabpay < ::Stripe::RequestParams
|
|
1572
3897
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1573
3898
|
#
|
|
@@ -1585,6 +3910,29 @@ module Stripe
|
|
|
1585
3910
|
end
|
|
1586
3911
|
end
|
|
1587
3912
|
|
|
3913
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
3914
|
+
# 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.
|
|
3915
|
+
attr_accessor :expires_after
|
|
3916
|
+
# 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.
|
|
3917
|
+
attr_accessor :expires_at
|
|
3918
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3919
|
+
#
|
|
3920
|
+
# 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.
|
|
3921
|
+
#
|
|
3922
|
+
# 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.
|
|
3923
|
+
#
|
|
3924
|
+
# 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).
|
|
3925
|
+
#
|
|
3926
|
+
# 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`.
|
|
3927
|
+
attr_accessor :setup_future_usage
|
|
3928
|
+
|
|
3929
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
3930
|
+
@expires_after = expires_after
|
|
3931
|
+
@expires_at = expires_at
|
|
3932
|
+
@setup_future_usage = setup_future_usage
|
|
3933
|
+
end
|
|
3934
|
+
end
|
|
3935
|
+
|
|
1588
3936
|
class Ideal < ::Stripe::RequestParams
|
|
1589
3937
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1590
3938
|
#
|
|
@@ -1691,6 +4039,939 @@ module Stripe
|
|
|
1691
4039
|
@reference = reference
|
|
1692
4040
|
end
|
|
1693
4041
|
end
|
|
4042
|
+
|
|
4043
|
+
class SupplementaryPurchaseData < ::Stripe::RequestParams
|
|
4044
|
+
class BusReservationDetail < ::Stripe::RequestParams
|
|
4045
|
+
class Arrival < ::Stripe::RequestParams
|
|
4046
|
+
class Address < ::Stripe::RequestParams
|
|
4047
|
+
# The city or town.
|
|
4048
|
+
attr_accessor :city
|
|
4049
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4050
|
+
attr_accessor :country
|
|
4051
|
+
# The postal code formatted according to country.
|
|
4052
|
+
attr_accessor :postal_code
|
|
4053
|
+
# The state, county, province, or region formatted according to country.
|
|
4054
|
+
attr_accessor :region
|
|
4055
|
+
# Line 1 of the street address.
|
|
4056
|
+
attr_accessor :street_address
|
|
4057
|
+
# Line 2 of the street address.
|
|
4058
|
+
attr_accessor :street_address2
|
|
4059
|
+
|
|
4060
|
+
def initialize(
|
|
4061
|
+
city: nil,
|
|
4062
|
+
country: nil,
|
|
4063
|
+
postal_code: nil,
|
|
4064
|
+
region: nil,
|
|
4065
|
+
street_address: nil,
|
|
4066
|
+
street_address2: nil
|
|
4067
|
+
)
|
|
4068
|
+
@city = city
|
|
4069
|
+
@country = country
|
|
4070
|
+
@postal_code = postal_code
|
|
4071
|
+
@region = region
|
|
4072
|
+
@street_address = street_address
|
|
4073
|
+
@street_address2 = street_address2
|
|
4074
|
+
end
|
|
4075
|
+
end
|
|
4076
|
+
# Address of the arrival location.
|
|
4077
|
+
attr_accessor :address
|
|
4078
|
+
# Identifier name or reference for the arrival location.
|
|
4079
|
+
attr_accessor :arrival_location
|
|
4080
|
+
|
|
4081
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4082
|
+
@address = address
|
|
4083
|
+
@arrival_location = arrival_location
|
|
4084
|
+
end
|
|
4085
|
+
end
|
|
4086
|
+
|
|
4087
|
+
class Departure < ::Stripe::RequestParams
|
|
4088
|
+
class Address < ::Stripe::RequestParams
|
|
4089
|
+
# The city or town.
|
|
4090
|
+
attr_accessor :city
|
|
4091
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4092
|
+
attr_accessor :country
|
|
4093
|
+
# The postal code formatted according to country.
|
|
4094
|
+
attr_accessor :postal_code
|
|
4095
|
+
# The state, county, province, or region formatted according to country.
|
|
4096
|
+
attr_accessor :region
|
|
4097
|
+
# Line 1 of the street address.
|
|
4098
|
+
attr_accessor :street_address
|
|
4099
|
+
# Line 2 of the street address.
|
|
4100
|
+
attr_accessor :street_address2
|
|
4101
|
+
|
|
4102
|
+
def initialize(
|
|
4103
|
+
city: nil,
|
|
4104
|
+
country: nil,
|
|
4105
|
+
postal_code: nil,
|
|
4106
|
+
region: nil,
|
|
4107
|
+
street_address: nil,
|
|
4108
|
+
street_address2: nil
|
|
4109
|
+
)
|
|
4110
|
+
@city = city
|
|
4111
|
+
@country = country
|
|
4112
|
+
@postal_code = postal_code
|
|
4113
|
+
@region = region
|
|
4114
|
+
@street_address = street_address
|
|
4115
|
+
@street_address2 = street_address2
|
|
4116
|
+
end
|
|
4117
|
+
end
|
|
4118
|
+
# Address of the departure location.
|
|
4119
|
+
attr_accessor :address
|
|
4120
|
+
# Timestamp of departure.
|
|
4121
|
+
attr_accessor :departs_at
|
|
4122
|
+
# Identifier name or reference for the origin location.
|
|
4123
|
+
attr_accessor :departure_location
|
|
4124
|
+
|
|
4125
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4126
|
+
@address = address
|
|
4127
|
+
@departs_at = departs_at
|
|
4128
|
+
@departure_location = departure_location
|
|
4129
|
+
end
|
|
4130
|
+
end
|
|
4131
|
+
|
|
4132
|
+
class Insurance < ::Stripe::RequestParams
|
|
4133
|
+
# Insurance currency.
|
|
4134
|
+
attr_accessor :currency
|
|
4135
|
+
# Name of the company providing the insurance.
|
|
4136
|
+
attr_accessor :insurance_company_name
|
|
4137
|
+
# Type of insurance.
|
|
4138
|
+
attr_accessor :insurance_type
|
|
4139
|
+
# Price of insurance in cents.
|
|
4140
|
+
attr_accessor :price
|
|
4141
|
+
|
|
4142
|
+
def initialize(
|
|
4143
|
+
currency: nil,
|
|
4144
|
+
insurance_company_name: nil,
|
|
4145
|
+
insurance_type: nil,
|
|
4146
|
+
price: nil
|
|
4147
|
+
)
|
|
4148
|
+
@currency = currency
|
|
4149
|
+
@insurance_company_name = insurance_company_name
|
|
4150
|
+
@insurance_type = insurance_type
|
|
4151
|
+
@price = price
|
|
4152
|
+
end
|
|
4153
|
+
end
|
|
4154
|
+
|
|
4155
|
+
class Passenger < ::Stripe::RequestParams
|
|
4156
|
+
# The family name of the person.
|
|
4157
|
+
attr_accessor :family_name
|
|
4158
|
+
# The given name of the person.
|
|
4159
|
+
attr_accessor :given_name
|
|
4160
|
+
|
|
4161
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4162
|
+
@family_name = family_name
|
|
4163
|
+
@given_name = given_name
|
|
4164
|
+
end
|
|
4165
|
+
end
|
|
4166
|
+
# Name of associated or partner company for the service.
|
|
4167
|
+
attr_accessor :affiliate_name
|
|
4168
|
+
# Arrival details.
|
|
4169
|
+
attr_accessor :arrival
|
|
4170
|
+
# Name of transportation company.
|
|
4171
|
+
attr_accessor :carrier_name
|
|
4172
|
+
# Currency.
|
|
4173
|
+
attr_accessor :currency
|
|
4174
|
+
# Departure details.
|
|
4175
|
+
attr_accessor :departure
|
|
4176
|
+
# List of insurances for this reservation.
|
|
4177
|
+
attr_accessor :insurances
|
|
4178
|
+
# List of passengers that this reservation applies to.
|
|
4179
|
+
attr_accessor :passengers
|
|
4180
|
+
# Price in cents.
|
|
4181
|
+
attr_accessor :price
|
|
4182
|
+
# Ticket class.
|
|
4183
|
+
attr_accessor :ticket_class
|
|
4184
|
+
|
|
4185
|
+
def initialize(
|
|
4186
|
+
affiliate_name: nil,
|
|
4187
|
+
arrival: nil,
|
|
4188
|
+
carrier_name: nil,
|
|
4189
|
+
currency: nil,
|
|
4190
|
+
departure: nil,
|
|
4191
|
+
insurances: nil,
|
|
4192
|
+
passengers: nil,
|
|
4193
|
+
price: nil,
|
|
4194
|
+
ticket_class: nil
|
|
4195
|
+
)
|
|
4196
|
+
@affiliate_name = affiliate_name
|
|
4197
|
+
@arrival = arrival
|
|
4198
|
+
@carrier_name = carrier_name
|
|
4199
|
+
@currency = currency
|
|
4200
|
+
@departure = departure
|
|
4201
|
+
@insurances = insurances
|
|
4202
|
+
@passengers = passengers
|
|
4203
|
+
@price = price
|
|
4204
|
+
@ticket_class = ticket_class
|
|
4205
|
+
end
|
|
4206
|
+
end
|
|
4207
|
+
|
|
4208
|
+
class EventReservationDetail < ::Stripe::RequestParams
|
|
4209
|
+
class Address < ::Stripe::RequestParams
|
|
4210
|
+
# The city or town.
|
|
4211
|
+
attr_accessor :city
|
|
4212
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4213
|
+
attr_accessor :country
|
|
4214
|
+
# The postal code formatted according to country.
|
|
4215
|
+
attr_accessor :postal_code
|
|
4216
|
+
# The state, county, province, or region formatted according to country.
|
|
4217
|
+
attr_accessor :region
|
|
4218
|
+
# Line 1 of the street address.
|
|
4219
|
+
attr_accessor :street_address
|
|
4220
|
+
# Line 2 of the street address.
|
|
4221
|
+
attr_accessor :street_address2
|
|
4222
|
+
|
|
4223
|
+
def initialize(
|
|
4224
|
+
city: nil,
|
|
4225
|
+
country: nil,
|
|
4226
|
+
postal_code: nil,
|
|
4227
|
+
region: nil,
|
|
4228
|
+
street_address: nil,
|
|
4229
|
+
street_address2: nil
|
|
4230
|
+
)
|
|
4231
|
+
@city = city
|
|
4232
|
+
@country = country
|
|
4233
|
+
@postal_code = postal_code
|
|
4234
|
+
@region = region
|
|
4235
|
+
@street_address = street_address
|
|
4236
|
+
@street_address2 = street_address2
|
|
4237
|
+
end
|
|
4238
|
+
end
|
|
4239
|
+
|
|
4240
|
+
class Insurance < ::Stripe::RequestParams
|
|
4241
|
+
# Insurance currency.
|
|
4242
|
+
attr_accessor :currency
|
|
4243
|
+
# Name of the company providing the insurance.
|
|
4244
|
+
attr_accessor :insurance_company_name
|
|
4245
|
+
# Type of insurance.
|
|
4246
|
+
attr_accessor :insurance_type
|
|
4247
|
+
# Price of insurance in cents.
|
|
4248
|
+
attr_accessor :price
|
|
4249
|
+
|
|
4250
|
+
def initialize(
|
|
4251
|
+
currency: nil,
|
|
4252
|
+
insurance_company_name: nil,
|
|
4253
|
+
insurance_type: nil,
|
|
4254
|
+
price: nil
|
|
4255
|
+
)
|
|
4256
|
+
@currency = currency
|
|
4257
|
+
@insurance_company_name = insurance_company_name
|
|
4258
|
+
@insurance_type = insurance_type
|
|
4259
|
+
@price = price
|
|
4260
|
+
end
|
|
4261
|
+
end
|
|
4262
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
4263
|
+
attr_accessor :access_controlled_venue
|
|
4264
|
+
# Address of the event.
|
|
4265
|
+
attr_accessor :address
|
|
4266
|
+
# Name of associated or partner company for the service.
|
|
4267
|
+
attr_accessor :affiliate_name
|
|
4268
|
+
# End timestamp of the event.
|
|
4269
|
+
attr_accessor :ends_at
|
|
4270
|
+
# Company selling the ticket.
|
|
4271
|
+
attr_accessor :event_company_name
|
|
4272
|
+
# Name of the event.
|
|
4273
|
+
attr_accessor :event_name
|
|
4274
|
+
# Type of the event.
|
|
4275
|
+
attr_accessor :event_type
|
|
4276
|
+
# List of insurances for this event.
|
|
4277
|
+
attr_accessor :insurances
|
|
4278
|
+
# Start timestamp of the event.
|
|
4279
|
+
attr_accessor :starts_at
|
|
4280
|
+
# Name of the venue where the event takes place.
|
|
4281
|
+
attr_accessor :venue_name
|
|
4282
|
+
|
|
4283
|
+
def initialize(
|
|
4284
|
+
access_controlled_venue: nil,
|
|
4285
|
+
address: nil,
|
|
4286
|
+
affiliate_name: nil,
|
|
4287
|
+
ends_at: nil,
|
|
4288
|
+
event_company_name: nil,
|
|
4289
|
+
event_name: nil,
|
|
4290
|
+
event_type: nil,
|
|
4291
|
+
insurances: nil,
|
|
4292
|
+
starts_at: nil,
|
|
4293
|
+
venue_name: nil
|
|
4294
|
+
)
|
|
4295
|
+
@access_controlled_venue = access_controlled_venue
|
|
4296
|
+
@address = address
|
|
4297
|
+
@affiliate_name = affiliate_name
|
|
4298
|
+
@ends_at = ends_at
|
|
4299
|
+
@event_company_name = event_company_name
|
|
4300
|
+
@event_name = event_name
|
|
4301
|
+
@event_type = event_type
|
|
4302
|
+
@insurances = insurances
|
|
4303
|
+
@starts_at = starts_at
|
|
4304
|
+
@venue_name = venue_name
|
|
4305
|
+
end
|
|
4306
|
+
end
|
|
4307
|
+
|
|
4308
|
+
class FerryReservationDetail < ::Stripe::RequestParams
|
|
4309
|
+
class Arrival < ::Stripe::RequestParams
|
|
4310
|
+
class Address < ::Stripe::RequestParams
|
|
4311
|
+
# The city or town.
|
|
4312
|
+
attr_accessor :city
|
|
4313
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4314
|
+
attr_accessor :country
|
|
4315
|
+
# The postal code formatted according to country.
|
|
4316
|
+
attr_accessor :postal_code
|
|
4317
|
+
# The state, county, province, or region formatted according to country.
|
|
4318
|
+
attr_accessor :region
|
|
4319
|
+
# Line 1 of the street address.
|
|
4320
|
+
attr_accessor :street_address
|
|
4321
|
+
# Line 2 of the street address.
|
|
4322
|
+
attr_accessor :street_address2
|
|
4323
|
+
|
|
4324
|
+
def initialize(
|
|
4325
|
+
city: nil,
|
|
4326
|
+
country: nil,
|
|
4327
|
+
postal_code: nil,
|
|
4328
|
+
region: nil,
|
|
4329
|
+
street_address: nil,
|
|
4330
|
+
street_address2: nil
|
|
4331
|
+
)
|
|
4332
|
+
@city = city
|
|
4333
|
+
@country = country
|
|
4334
|
+
@postal_code = postal_code
|
|
4335
|
+
@region = region
|
|
4336
|
+
@street_address = street_address
|
|
4337
|
+
@street_address2 = street_address2
|
|
4338
|
+
end
|
|
4339
|
+
end
|
|
4340
|
+
# Address of the arrival location.
|
|
4341
|
+
attr_accessor :address
|
|
4342
|
+
# Identifier name or reference for the arrival location.
|
|
4343
|
+
attr_accessor :arrival_location
|
|
4344
|
+
|
|
4345
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4346
|
+
@address = address
|
|
4347
|
+
@arrival_location = arrival_location
|
|
4348
|
+
end
|
|
4349
|
+
end
|
|
4350
|
+
|
|
4351
|
+
class Departure < ::Stripe::RequestParams
|
|
4352
|
+
class Address < ::Stripe::RequestParams
|
|
4353
|
+
# The city or town.
|
|
4354
|
+
attr_accessor :city
|
|
4355
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4356
|
+
attr_accessor :country
|
|
4357
|
+
# The postal code formatted according to country.
|
|
4358
|
+
attr_accessor :postal_code
|
|
4359
|
+
# The state, county, province, or region formatted according to country.
|
|
4360
|
+
attr_accessor :region
|
|
4361
|
+
# Line 1 of the street address.
|
|
4362
|
+
attr_accessor :street_address
|
|
4363
|
+
# Line 2 of the street address.
|
|
4364
|
+
attr_accessor :street_address2
|
|
4365
|
+
|
|
4366
|
+
def initialize(
|
|
4367
|
+
city: nil,
|
|
4368
|
+
country: nil,
|
|
4369
|
+
postal_code: nil,
|
|
4370
|
+
region: nil,
|
|
4371
|
+
street_address: nil,
|
|
4372
|
+
street_address2: nil
|
|
4373
|
+
)
|
|
4374
|
+
@city = city
|
|
4375
|
+
@country = country
|
|
4376
|
+
@postal_code = postal_code
|
|
4377
|
+
@region = region
|
|
4378
|
+
@street_address = street_address
|
|
4379
|
+
@street_address2 = street_address2
|
|
4380
|
+
end
|
|
4381
|
+
end
|
|
4382
|
+
# Address of the departure location.
|
|
4383
|
+
attr_accessor :address
|
|
4384
|
+
# Timestamp of departure.
|
|
4385
|
+
attr_accessor :departs_at
|
|
4386
|
+
# Identifier name or reference for the origin location.
|
|
4387
|
+
attr_accessor :departure_location
|
|
4388
|
+
|
|
4389
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4390
|
+
@address = address
|
|
4391
|
+
@departs_at = departs_at
|
|
4392
|
+
@departure_location = departure_location
|
|
4393
|
+
end
|
|
4394
|
+
end
|
|
4395
|
+
|
|
4396
|
+
class Insurance < ::Stripe::RequestParams
|
|
4397
|
+
# Insurance currency.
|
|
4398
|
+
attr_accessor :currency
|
|
4399
|
+
# Name of the company providing the insurance.
|
|
4400
|
+
attr_accessor :insurance_company_name
|
|
4401
|
+
# Type of insurance.
|
|
4402
|
+
attr_accessor :insurance_type
|
|
4403
|
+
# Price of insurance in cents.
|
|
4404
|
+
attr_accessor :price
|
|
4405
|
+
|
|
4406
|
+
def initialize(
|
|
4407
|
+
currency: nil,
|
|
4408
|
+
insurance_company_name: nil,
|
|
4409
|
+
insurance_type: nil,
|
|
4410
|
+
price: nil
|
|
4411
|
+
)
|
|
4412
|
+
@currency = currency
|
|
4413
|
+
@insurance_company_name = insurance_company_name
|
|
4414
|
+
@insurance_type = insurance_type
|
|
4415
|
+
@price = price
|
|
4416
|
+
end
|
|
4417
|
+
end
|
|
4418
|
+
|
|
4419
|
+
class Passenger < ::Stripe::RequestParams
|
|
4420
|
+
# The family name of the person.
|
|
4421
|
+
attr_accessor :family_name
|
|
4422
|
+
# The given name of the person.
|
|
4423
|
+
attr_accessor :given_name
|
|
4424
|
+
|
|
4425
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4426
|
+
@family_name = family_name
|
|
4427
|
+
@given_name = given_name
|
|
4428
|
+
end
|
|
4429
|
+
end
|
|
4430
|
+
# Name of associated or partner company for the service.
|
|
4431
|
+
attr_accessor :affiliate_name
|
|
4432
|
+
# Arrival details.
|
|
4433
|
+
attr_accessor :arrival
|
|
4434
|
+
# Name of transportation company.
|
|
4435
|
+
attr_accessor :carrier_name
|
|
4436
|
+
# Currency.
|
|
4437
|
+
attr_accessor :currency
|
|
4438
|
+
# Departure details.
|
|
4439
|
+
attr_accessor :departure
|
|
4440
|
+
# List of insurances for this reservation.
|
|
4441
|
+
attr_accessor :insurances
|
|
4442
|
+
# List of passengers that this reservation applies to.
|
|
4443
|
+
attr_accessor :passengers
|
|
4444
|
+
# Price in cents.
|
|
4445
|
+
attr_accessor :price
|
|
4446
|
+
# Ticket class.
|
|
4447
|
+
attr_accessor :ticket_class
|
|
4448
|
+
|
|
4449
|
+
def initialize(
|
|
4450
|
+
affiliate_name: nil,
|
|
4451
|
+
arrival: nil,
|
|
4452
|
+
carrier_name: nil,
|
|
4453
|
+
currency: nil,
|
|
4454
|
+
departure: nil,
|
|
4455
|
+
insurances: nil,
|
|
4456
|
+
passengers: nil,
|
|
4457
|
+
price: nil,
|
|
4458
|
+
ticket_class: nil
|
|
4459
|
+
)
|
|
4460
|
+
@affiliate_name = affiliate_name
|
|
4461
|
+
@arrival = arrival
|
|
4462
|
+
@carrier_name = carrier_name
|
|
4463
|
+
@currency = currency
|
|
4464
|
+
@departure = departure
|
|
4465
|
+
@insurances = insurances
|
|
4466
|
+
@passengers = passengers
|
|
4467
|
+
@price = price
|
|
4468
|
+
@ticket_class = ticket_class
|
|
4469
|
+
end
|
|
4470
|
+
end
|
|
4471
|
+
|
|
4472
|
+
class Insurance < ::Stripe::RequestParams
|
|
4473
|
+
# Insurance currency.
|
|
4474
|
+
attr_accessor :currency
|
|
4475
|
+
# Name of the company providing the insurance.
|
|
4476
|
+
attr_accessor :insurance_company_name
|
|
4477
|
+
# Type of insurance
|
|
4478
|
+
attr_accessor :insurance_type
|
|
4479
|
+
# Price of insurance in cents.
|
|
4480
|
+
attr_accessor :price
|
|
4481
|
+
|
|
4482
|
+
def initialize(
|
|
4483
|
+
currency: nil,
|
|
4484
|
+
insurance_company_name: nil,
|
|
4485
|
+
insurance_type: nil,
|
|
4486
|
+
price: nil
|
|
4487
|
+
)
|
|
4488
|
+
@currency = currency
|
|
4489
|
+
@insurance_company_name = insurance_company_name
|
|
4490
|
+
@insurance_type = insurance_type
|
|
4491
|
+
@price = price
|
|
4492
|
+
end
|
|
4493
|
+
end
|
|
4494
|
+
|
|
4495
|
+
class MarketplaceSeller < ::Stripe::RequestParams
|
|
4496
|
+
class MarketplaceSellerAddress < ::Stripe::RequestParams
|
|
4497
|
+
# The city or town.
|
|
4498
|
+
attr_accessor :city
|
|
4499
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4500
|
+
attr_accessor :country
|
|
4501
|
+
# The postal code formatted according to country.
|
|
4502
|
+
attr_accessor :postal_code
|
|
4503
|
+
# The state, county, province, or region formatted according to country.
|
|
4504
|
+
attr_accessor :region
|
|
4505
|
+
# Line 1 of the street address.
|
|
4506
|
+
attr_accessor :street_address
|
|
4507
|
+
# Line 2 of the street address.
|
|
4508
|
+
attr_accessor :street_address2
|
|
4509
|
+
|
|
4510
|
+
def initialize(
|
|
4511
|
+
city: nil,
|
|
4512
|
+
country: nil,
|
|
4513
|
+
postal_code: nil,
|
|
4514
|
+
region: nil,
|
|
4515
|
+
street_address: nil,
|
|
4516
|
+
street_address2: nil
|
|
4517
|
+
)
|
|
4518
|
+
@city = city
|
|
4519
|
+
@country = country
|
|
4520
|
+
@postal_code = postal_code
|
|
4521
|
+
@region = region
|
|
4522
|
+
@street_address = street_address
|
|
4523
|
+
@street_address2 = street_address2
|
|
4524
|
+
end
|
|
4525
|
+
end
|
|
4526
|
+
# The references to line items for purchases with multiple associated sub-sellers.
|
|
4527
|
+
attr_accessor :line_item_references
|
|
4528
|
+
# The address of the selling or delivering merchant.
|
|
4529
|
+
attr_accessor :marketplace_seller_address
|
|
4530
|
+
# The name of the marketplace seller.
|
|
4531
|
+
attr_accessor :marketplace_seller_name
|
|
4532
|
+
# The unique identifier for the marketplace seller.
|
|
4533
|
+
attr_accessor :marketplace_seller_reference
|
|
4534
|
+
# The number of transactions the sub-seller completed in the last 12 months.
|
|
4535
|
+
attr_accessor :number_of_transactions
|
|
4536
|
+
# The category of the product.
|
|
4537
|
+
attr_accessor :product_category
|
|
4538
|
+
# The date when the seller's account with the marketplace was last logged in.
|
|
4539
|
+
attr_accessor :seller_last_login_at
|
|
4540
|
+
# The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
|
|
4541
|
+
attr_accessor :seller_rating
|
|
4542
|
+
# The date when the seller's account with the marketplace was created.
|
|
4543
|
+
attr_accessor :seller_registered_at
|
|
4544
|
+
# The date when the seller's account with the marketplace was last updated.
|
|
4545
|
+
attr_accessor :seller_updated_at
|
|
4546
|
+
# The references to shipping addresses for purchases with multiple associated sub-sellers.
|
|
4547
|
+
attr_accessor :shipping_references
|
|
4548
|
+
# 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.
|
|
4549
|
+
attr_accessor :volume_of_transactions
|
|
4550
|
+
|
|
4551
|
+
def initialize(
|
|
4552
|
+
line_item_references: nil,
|
|
4553
|
+
marketplace_seller_address: nil,
|
|
4554
|
+
marketplace_seller_name: nil,
|
|
4555
|
+
marketplace_seller_reference: nil,
|
|
4556
|
+
number_of_transactions: nil,
|
|
4557
|
+
product_category: nil,
|
|
4558
|
+
seller_last_login_at: nil,
|
|
4559
|
+
seller_rating: nil,
|
|
4560
|
+
seller_registered_at: nil,
|
|
4561
|
+
seller_updated_at: nil,
|
|
4562
|
+
shipping_references: nil,
|
|
4563
|
+
volume_of_transactions: nil
|
|
4564
|
+
)
|
|
4565
|
+
@line_item_references = line_item_references
|
|
4566
|
+
@marketplace_seller_address = marketplace_seller_address
|
|
4567
|
+
@marketplace_seller_name = marketplace_seller_name
|
|
4568
|
+
@marketplace_seller_reference = marketplace_seller_reference
|
|
4569
|
+
@number_of_transactions = number_of_transactions
|
|
4570
|
+
@product_category = product_category
|
|
4571
|
+
@seller_last_login_at = seller_last_login_at
|
|
4572
|
+
@seller_rating = seller_rating
|
|
4573
|
+
@seller_registered_at = seller_registered_at
|
|
4574
|
+
@seller_updated_at = seller_updated_at
|
|
4575
|
+
@shipping_references = shipping_references
|
|
4576
|
+
@volume_of_transactions = volume_of_transactions
|
|
4577
|
+
end
|
|
4578
|
+
end
|
|
4579
|
+
|
|
4580
|
+
class RoundTripReservationDetail < ::Stripe::RequestParams
|
|
4581
|
+
class Arrival < ::Stripe::RequestParams
|
|
4582
|
+
class Address < ::Stripe::RequestParams
|
|
4583
|
+
# The city or town.
|
|
4584
|
+
attr_accessor :city
|
|
4585
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4586
|
+
attr_accessor :country
|
|
4587
|
+
# The postal code formatted according to country.
|
|
4588
|
+
attr_accessor :postal_code
|
|
4589
|
+
# The state, county, province, or region formatted according to country.
|
|
4590
|
+
attr_accessor :region
|
|
4591
|
+
# Line 1 of the street address.
|
|
4592
|
+
attr_accessor :street_address
|
|
4593
|
+
# Line 2 of the street address.
|
|
4594
|
+
attr_accessor :street_address2
|
|
4595
|
+
|
|
4596
|
+
def initialize(
|
|
4597
|
+
city: nil,
|
|
4598
|
+
country: nil,
|
|
4599
|
+
postal_code: nil,
|
|
4600
|
+
region: nil,
|
|
4601
|
+
street_address: nil,
|
|
4602
|
+
street_address2: nil
|
|
4603
|
+
)
|
|
4604
|
+
@city = city
|
|
4605
|
+
@country = country
|
|
4606
|
+
@postal_code = postal_code
|
|
4607
|
+
@region = region
|
|
4608
|
+
@street_address = street_address
|
|
4609
|
+
@street_address2 = street_address2
|
|
4610
|
+
end
|
|
4611
|
+
end
|
|
4612
|
+
# Address of the arrival location.
|
|
4613
|
+
attr_accessor :address
|
|
4614
|
+
# Identifier name or reference for the arrival location.
|
|
4615
|
+
attr_accessor :arrival_location
|
|
4616
|
+
|
|
4617
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4618
|
+
@address = address
|
|
4619
|
+
@arrival_location = arrival_location
|
|
4620
|
+
end
|
|
4621
|
+
end
|
|
4622
|
+
|
|
4623
|
+
class Departure < ::Stripe::RequestParams
|
|
4624
|
+
class Address < ::Stripe::RequestParams
|
|
4625
|
+
# The city or town.
|
|
4626
|
+
attr_accessor :city
|
|
4627
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4628
|
+
attr_accessor :country
|
|
4629
|
+
# The postal code formatted according to country.
|
|
4630
|
+
attr_accessor :postal_code
|
|
4631
|
+
# The state, county, province, or region formatted according to country.
|
|
4632
|
+
attr_accessor :region
|
|
4633
|
+
# Line 1 of the street address.
|
|
4634
|
+
attr_accessor :street_address
|
|
4635
|
+
# Line 2 of the street address.
|
|
4636
|
+
attr_accessor :street_address2
|
|
4637
|
+
|
|
4638
|
+
def initialize(
|
|
4639
|
+
city: nil,
|
|
4640
|
+
country: nil,
|
|
4641
|
+
postal_code: nil,
|
|
4642
|
+
region: nil,
|
|
4643
|
+
street_address: nil,
|
|
4644
|
+
street_address2: nil
|
|
4645
|
+
)
|
|
4646
|
+
@city = city
|
|
4647
|
+
@country = country
|
|
4648
|
+
@postal_code = postal_code
|
|
4649
|
+
@region = region
|
|
4650
|
+
@street_address = street_address
|
|
4651
|
+
@street_address2 = street_address2
|
|
4652
|
+
end
|
|
4653
|
+
end
|
|
4654
|
+
# Address of the departure location.
|
|
4655
|
+
attr_accessor :address
|
|
4656
|
+
# Timestamp of departure.
|
|
4657
|
+
attr_accessor :departs_at
|
|
4658
|
+
# Identifier name or reference for the origin location.
|
|
4659
|
+
attr_accessor :departure_location
|
|
4660
|
+
|
|
4661
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4662
|
+
@address = address
|
|
4663
|
+
@departs_at = departs_at
|
|
4664
|
+
@departure_location = departure_location
|
|
4665
|
+
end
|
|
4666
|
+
end
|
|
4667
|
+
|
|
4668
|
+
class Insurance < ::Stripe::RequestParams
|
|
4669
|
+
# Insurance currency.
|
|
4670
|
+
attr_accessor :currency
|
|
4671
|
+
# Name of the company providing the insurance.
|
|
4672
|
+
attr_accessor :insurance_company_name
|
|
4673
|
+
# Type of insurance.
|
|
4674
|
+
attr_accessor :insurance_type
|
|
4675
|
+
# Price of insurance in cents.
|
|
4676
|
+
attr_accessor :price
|
|
4677
|
+
|
|
4678
|
+
def initialize(
|
|
4679
|
+
currency: nil,
|
|
4680
|
+
insurance_company_name: nil,
|
|
4681
|
+
insurance_type: nil,
|
|
4682
|
+
price: nil
|
|
4683
|
+
)
|
|
4684
|
+
@currency = currency
|
|
4685
|
+
@insurance_company_name = insurance_company_name
|
|
4686
|
+
@insurance_type = insurance_type
|
|
4687
|
+
@price = price
|
|
4688
|
+
end
|
|
4689
|
+
end
|
|
4690
|
+
|
|
4691
|
+
class Passenger < ::Stripe::RequestParams
|
|
4692
|
+
# The family name of the person.
|
|
4693
|
+
attr_accessor :family_name
|
|
4694
|
+
# The given name of the person.
|
|
4695
|
+
attr_accessor :given_name
|
|
4696
|
+
|
|
4697
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4698
|
+
@family_name = family_name
|
|
4699
|
+
@given_name = given_name
|
|
4700
|
+
end
|
|
4701
|
+
end
|
|
4702
|
+
# Name of associated or partner company for the service.
|
|
4703
|
+
attr_accessor :affiliate_name
|
|
4704
|
+
# Arrival details.
|
|
4705
|
+
attr_accessor :arrival
|
|
4706
|
+
# Name of transportation company.
|
|
4707
|
+
attr_accessor :carrier_name
|
|
4708
|
+
# Currency.
|
|
4709
|
+
attr_accessor :currency
|
|
4710
|
+
# Departure details.
|
|
4711
|
+
attr_accessor :departure
|
|
4712
|
+
# List of insurances for this reservation.
|
|
4713
|
+
attr_accessor :insurances
|
|
4714
|
+
# List of passengers that this reservation applies to.
|
|
4715
|
+
attr_accessor :passengers
|
|
4716
|
+
# Price in cents.
|
|
4717
|
+
attr_accessor :price
|
|
4718
|
+
# Ticket class.
|
|
4719
|
+
attr_accessor :ticket_class
|
|
4720
|
+
|
|
4721
|
+
def initialize(
|
|
4722
|
+
affiliate_name: nil,
|
|
4723
|
+
arrival: nil,
|
|
4724
|
+
carrier_name: nil,
|
|
4725
|
+
currency: nil,
|
|
4726
|
+
departure: nil,
|
|
4727
|
+
insurances: nil,
|
|
4728
|
+
passengers: nil,
|
|
4729
|
+
price: nil,
|
|
4730
|
+
ticket_class: nil
|
|
4731
|
+
)
|
|
4732
|
+
@affiliate_name = affiliate_name
|
|
4733
|
+
@arrival = arrival
|
|
4734
|
+
@carrier_name = carrier_name
|
|
4735
|
+
@currency = currency
|
|
4736
|
+
@departure = departure
|
|
4737
|
+
@insurances = insurances
|
|
4738
|
+
@passengers = passengers
|
|
4739
|
+
@price = price
|
|
4740
|
+
@ticket_class = ticket_class
|
|
4741
|
+
end
|
|
4742
|
+
end
|
|
4743
|
+
|
|
4744
|
+
class TrainReservationDetail < ::Stripe::RequestParams
|
|
4745
|
+
class Arrival < ::Stripe::RequestParams
|
|
4746
|
+
class Address < ::Stripe::RequestParams
|
|
4747
|
+
# The city or town.
|
|
4748
|
+
attr_accessor :city
|
|
4749
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4750
|
+
attr_accessor :country
|
|
4751
|
+
# The postal code formatted according to country.
|
|
4752
|
+
attr_accessor :postal_code
|
|
4753
|
+
# The state, county, province, or region formatted according to country.
|
|
4754
|
+
attr_accessor :region
|
|
4755
|
+
# Line 1 of the street address.
|
|
4756
|
+
attr_accessor :street_address
|
|
4757
|
+
# Line 2 of the street address.
|
|
4758
|
+
attr_accessor :street_address2
|
|
4759
|
+
|
|
4760
|
+
def initialize(
|
|
4761
|
+
city: nil,
|
|
4762
|
+
country: nil,
|
|
4763
|
+
postal_code: nil,
|
|
4764
|
+
region: nil,
|
|
4765
|
+
street_address: nil,
|
|
4766
|
+
street_address2: nil
|
|
4767
|
+
)
|
|
4768
|
+
@city = city
|
|
4769
|
+
@country = country
|
|
4770
|
+
@postal_code = postal_code
|
|
4771
|
+
@region = region
|
|
4772
|
+
@street_address = street_address
|
|
4773
|
+
@street_address2 = street_address2
|
|
4774
|
+
end
|
|
4775
|
+
end
|
|
4776
|
+
# Address of the arrival location.
|
|
4777
|
+
attr_accessor :address
|
|
4778
|
+
# Identifier name or reference for the arrival location.
|
|
4779
|
+
attr_accessor :arrival_location
|
|
4780
|
+
|
|
4781
|
+
def initialize(address: nil, arrival_location: nil)
|
|
4782
|
+
@address = address
|
|
4783
|
+
@arrival_location = arrival_location
|
|
4784
|
+
end
|
|
4785
|
+
end
|
|
4786
|
+
|
|
4787
|
+
class Departure < ::Stripe::RequestParams
|
|
4788
|
+
class Address < ::Stripe::RequestParams
|
|
4789
|
+
# The city or town.
|
|
4790
|
+
attr_accessor :city
|
|
4791
|
+
# The country in ISO 3166-1 alpha-2 format.
|
|
4792
|
+
attr_accessor :country
|
|
4793
|
+
# The postal code formatted according to country.
|
|
4794
|
+
attr_accessor :postal_code
|
|
4795
|
+
# The state, county, province, or region formatted according to country.
|
|
4796
|
+
attr_accessor :region
|
|
4797
|
+
# Line 1 of the street address.
|
|
4798
|
+
attr_accessor :street_address
|
|
4799
|
+
# Line 2 of the street address.
|
|
4800
|
+
attr_accessor :street_address2
|
|
4801
|
+
|
|
4802
|
+
def initialize(
|
|
4803
|
+
city: nil,
|
|
4804
|
+
country: nil,
|
|
4805
|
+
postal_code: nil,
|
|
4806
|
+
region: nil,
|
|
4807
|
+
street_address: nil,
|
|
4808
|
+
street_address2: nil
|
|
4809
|
+
)
|
|
4810
|
+
@city = city
|
|
4811
|
+
@country = country
|
|
4812
|
+
@postal_code = postal_code
|
|
4813
|
+
@region = region
|
|
4814
|
+
@street_address = street_address
|
|
4815
|
+
@street_address2 = street_address2
|
|
4816
|
+
end
|
|
4817
|
+
end
|
|
4818
|
+
# Address of the departure location.
|
|
4819
|
+
attr_accessor :address
|
|
4820
|
+
# Timestamp of departure.
|
|
4821
|
+
attr_accessor :departs_at
|
|
4822
|
+
# Identifier name or reference for the origin location.
|
|
4823
|
+
attr_accessor :departure_location
|
|
4824
|
+
|
|
4825
|
+
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4826
|
+
@address = address
|
|
4827
|
+
@departs_at = departs_at
|
|
4828
|
+
@departure_location = departure_location
|
|
4829
|
+
end
|
|
4830
|
+
end
|
|
4831
|
+
|
|
4832
|
+
class Insurance < ::Stripe::RequestParams
|
|
4833
|
+
# Insurance currency.
|
|
4834
|
+
attr_accessor :currency
|
|
4835
|
+
# Name of the company providing the insurance.
|
|
4836
|
+
attr_accessor :insurance_company_name
|
|
4837
|
+
# Type of insurance.
|
|
4838
|
+
attr_accessor :insurance_type
|
|
4839
|
+
# Price of insurance in cents.
|
|
4840
|
+
attr_accessor :price
|
|
4841
|
+
|
|
4842
|
+
def initialize(
|
|
4843
|
+
currency: nil,
|
|
4844
|
+
insurance_company_name: nil,
|
|
4845
|
+
insurance_type: nil,
|
|
4846
|
+
price: nil
|
|
4847
|
+
)
|
|
4848
|
+
@currency = currency
|
|
4849
|
+
@insurance_company_name = insurance_company_name
|
|
4850
|
+
@insurance_type = insurance_type
|
|
4851
|
+
@price = price
|
|
4852
|
+
end
|
|
4853
|
+
end
|
|
4854
|
+
|
|
4855
|
+
class Passenger < ::Stripe::RequestParams
|
|
4856
|
+
# The family name of the person.
|
|
4857
|
+
attr_accessor :family_name
|
|
4858
|
+
# The given name of the person.
|
|
4859
|
+
attr_accessor :given_name
|
|
4860
|
+
|
|
4861
|
+
def initialize(family_name: nil, given_name: nil)
|
|
4862
|
+
@family_name = family_name
|
|
4863
|
+
@given_name = given_name
|
|
4864
|
+
end
|
|
4865
|
+
end
|
|
4866
|
+
# Name of associated or partner company for the service.
|
|
4867
|
+
attr_accessor :affiliate_name
|
|
4868
|
+
# Arrival details.
|
|
4869
|
+
attr_accessor :arrival
|
|
4870
|
+
# Name of transportation company.
|
|
4871
|
+
attr_accessor :carrier_name
|
|
4872
|
+
# Currency.
|
|
4873
|
+
attr_accessor :currency
|
|
4874
|
+
# Departure details.
|
|
4875
|
+
attr_accessor :departure
|
|
4876
|
+
# List of insurances for this reservation.
|
|
4877
|
+
attr_accessor :insurances
|
|
4878
|
+
# List of passengers that this reservation applies to.
|
|
4879
|
+
attr_accessor :passengers
|
|
4880
|
+
# Price in cents.
|
|
4881
|
+
attr_accessor :price
|
|
4882
|
+
# Ticket class.
|
|
4883
|
+
attr_accessor :ticket_class
|
|
4884
|
+
|
|
4885
|
+
def initialize(
|
|
4886
|
+
affiliate_name: nil,
|
|
4887
|
+
arrival: nil,
|
|
4888
|
+
carrier_name: nil,
|
|
4889
|
+
currency: nil,
|
|
4890
|
+
departure: nil,
|
|
4891
|
+
insurances: nil,
|
|
4892
|
+
passengers: nil,
|
|
4893
|
+
price: nil,
|
|
4894
|
+
ticket_class: nil
|
|
4895
|
+
)
|
|
4896
|
+
@affiliate_name = affiliate_name
|
|
4897
|
+
@arrival = arrival
|
|
4898
|
+
@carrier_name = carrier_name
|
|
4899
|
+
@currency = currency
|
|
4900
|
+
@departure = departure
|
|
4901
|
+
@insurances = insurances
|
|
4902
|
+
@passengers = passengers
|
|
4903
|
+
@price = price
|
|
4904
|
+
@ticket_class = ticket_class
|
|
4905
|
+
end
|
|
4906
|
+
end
|
|
4907
|
+
|
|
4908
|
+
class Voucher < ::Stripe::RequestParams
|
|
4909
|
+
# Name of associated or partner company for this voucher.
|
|
4910
|
+
attr_accessor :affiliate_name
|
|
4911
|
+
# The voucher validity end time.
|
|
4912
|
+
attr_accessor :ends_at
|
|
4913
|
+
# The voucher validity start time.
|
|
4914
|
+
attr_accessor :starts_at
|
|
4915
|
+
# The issuer or provider of this voucher.
|
|
4916
|
+
attr_accessor :voucher_company
|
|
4917
|
+
# The name or reference to identify the voucher.
|
|
4918
|
+
attr_accessor :voucher_name
|
|
4919
|
+
# The type of this voucher.
|
|
4920
|
+
attr_accessor :voucher_type
|
|
4921
|
+
|
|
4922
|
+
def initialize(
|
|
4923
|
+
affiliate_name: nil,
|
|
4924
|
+
ends_at: nil,
|
|
4925
|
+
starts_at: nil,
|
|
4926
|
+
voucher_company: nil,
|
|
4927
|
+
voucher_name: nil,
|
|
4928
|
+
voucher_type: nil
|
|
4929
|
+
)
|
|
4930
|
+
@affiliate_name = affiliate_name
|
|
4931
|
+
@ends_at = ends_at
|
|
4932
|
+
@starts_at = starts_at
|
|
4933
|
+
@voucher_company = voucher_company
|
|
4934
|
+
@voucher_name = voucher_name
|
|
4935
|
+
@voucher_type = voucher_type
|
|
4936
|
+
end
|
|
4937
|
+
end
|
|
4938
|
+
# Supplementary bus reservation details.
|
|
4939
|
+
attr_accessor :bus_reservation_details
|
|
4940
|
+
# Supplementary event reservation details.
|
|
4941
|
+
attr_accessor :event_reservation_details
|
|
4942
|
+
# Supplementary ferry reservation details.
|
|
4943
|
+
attr_accessor :ferry_reservation_details
|
|
4944
|
+
# Supplementary insurance details.
|
|
4945
|
+
attr_accessor :insurances
|
|
4946
|
+
# Supplementary marketplace seller details.
|
|
4947
|
+
attr_accessor :marketplace_sellers
|
|
4948
|
+
# Supplementary round trip reservation details.
|
|
4949
|
+
attr_accessor :round_trip_reservation_details
|
|
4950
|
+
# Supplementary train reservation details.
|
|
4951
|
+
attr_accessor :train_reservation_details
|
|
4952
|
+
# Voucher details, such as a gift card or discount code.
|
|
4953
|
+
attr_accessor :vouchers
|
|
4954
|
+
|
|
4955
|
+
def initialize(
|
|
4956
|
+
bus_reservation_details: nil,
|
|
4957
|
+
event_reservation_details: nil,
|
|
4958
|
+
ferry_reservation_details: nil,
|
|
4959
|
+
insurances: nil,
|
|
4960
|
+
marketplace_sellers: nil,
|
|
4961
|
+
round_trip_reservation_details: nil,
|
|
4962
|
+
train_reservation_details: nil,
|
|
4963
|
+
vouchers: nil
|
|
4964
|
+
)
|
|
4965
|
+
@bus_reservation_details = bus_reservation_details
|
|
4966
|
+
@event_reservation_details = event_reservation_details
|
|
4967
|
+
@ferry_reservation_details = ferry_reservation_details
|
|
4968
|
+
@insurances = insurances
|
|
4969
|
+
@marketplace_sellers = marketplace_sellers
|
|
4970
|
+
@round_trip_reservation_details = round_trip_reservation_details
|
|
4971
|
+
@train_reservation_details = train_reservation_details
|
|
4972
|
+
@vouchers = vouchers
|
|
4973
|
+
end
|
|
4974
|
+
end
|
|
1694
4975
|
# Controls when the funds are captured from the customer's account.
|
|
1695
4976
|
#
|
|
1696
4977
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1713,19 +4994,23 @@ module Stripe
|
|
|
1713
4994
|
attr_accessor :setup_future_usage
|
|
1714
4995
|
# Subscription details if setting up or charging a subscription.
|
|
1715
4996
|
attr_accessor :subscriptions
|
|
4997
|
+
# Supplementary Purchase Data for the corresponding Klarna payment
|
|
4998
|
+
attr_accessor :supplementary_purchase_data
|
|
1716
4999
|
|
|
1717
5000
|
def initialize(
|
|
1718
5001
|
capture_method: nil,
|
|
1719
5002
|
on_demand: nil,
|
|
1720
5003
|
preferred_locale: nil,
|
|
1721
5004
|
setup_future_usage: nil,
|
|
1722
|
-
subscriptions: nil
|
|
5005
|
+
subscriptions: nil,
|
|
5006
|
+
supplementary_purchase_data: nil
|
|
1723
5007
|
)
|
|
1724
5008
|
@capture_method = capture_method
|
|
1725
5009
|
@on_demand = on_demand
|
|
1726
5010
|
@preferred_locale = preferred_locale
|
|
1727
5011
|
@setup_future_usage = setup_future_usage
|
|
1728
5012
|
@subscriptions = subscriptions
|
|
5013
|
+
@supplementary_purchase_data = supplementary_purchase_data
|
|
1729
5014
|
end
|
|
1730
5015
|
end
|
|
1731
5016
|
|
|
@@ -1986,12 +5271,65 @@ module Stripe
|
|
|
1986
5271
|
end
|
|
1987
5272
|
|
|
1988
5273
|
class Paypal < ::Stripe::RequestParams
|
|
5274
|
+
class LineItem < ::Stripe::RequestParams
|
|
5275
|
+
class Tax < ::Stripe::RequestParams
|
|
5276
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
5277
|
+
attr_accessor :amount
|
|
5278
|
+
# The tax behavior for the line item.
|
|
5279
|
+
attr_accessor :behavior
|
|
5280
|
+
|
|
5281
|
+
def initialize(amount: nil, behavior: nil)
|
|
5282
|
+
@amount = amount
|
|
5283
|
+
@behavior = behavior
|
|
5284
|
+
end
|
|
5285
|
+
end
|
|
5286
|
+
# Type of the line item.
|
|
5287
|
+
attr_accessor :category
|
|
5288
|
+
# Description of the line item.
|
|
5289
|
+
attr_accessor :description
|
|
5290
|
+
# Descriptive name of the line item.
|
|
5291
|
+
attr_accessor :name
|
|
5292
|
+
# Quantity of the line item. Must be a positive number.
|
|
5293
|
+
attr_accessor :quantity
|
|
5294
|
+
# Client facing stock keeping unit, article number or similar.
|
|
5295
|
+
attr_accessor :sku
|
|
5296
|
+
# The Stripe account ID of the connected account that sells the item.
|
|
5297
|
+
attr_accessor :sold_by
|
|
5298
|
+
# The tax information for the line item.
|
|
5299
|
+
attr_accessor :tax
|
|
5300
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
5301
|
+
attr_accessor :unit_amount
|
|
5302
|
+
|
|
5303
|
+
def initialize(
|
|
5304
|
+
category: nil,
|
|
5305
|
+
description: nil,
|
|
5306
|
+
name: nil,
|
|
5307
|
+
quantity: nil,
|
|
5308
|
+
sku: nil,
|
|
5309
|
+
sold_by: nil,
|
|
5310
|
+
tax: nil,
|
|
5311
|
+
unit_amount: nil
|
|
5312
|
+
)
|
|
5313
|
+
@category = category
|
|
5314
|
+
@description = description
|
|
5315
|
+
@name = name
|
|
5316
|
+
@quantity = quantity
|
|
5317
|
+
@sku = sku
|
|
5318
|
+
@sold_by = sold_by
|
|
5319
|
+
@tax = tax
|
|
5320
|
+
@unit_amount = unit_amount
|
|
5321
|
+
end
|
|
5322
|
+
end
|
|
1989
5323
|
# Controls when the funds will be captured from the customer's account.
|
|
1990
5324
|
attr_accessor :capture_method
|
|
5325
|
+
# The line items purchased by the customer.
|
|
5326
|
+
attr_accessor :line_items
|
|
1991
5327
|
# [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
1992
5328
|
attr_accessor :preferred_locale
|
|
1993
5329
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
1994
5330
|
attr_accessor :reference
|
|
5331
|
+
# 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.
|
|
5332
|
+
attr_accessor :reference_id
|
|
1995
5333
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
1996
5334
|
attr_accessor :risk_correlation_id
|
|
1997
5335
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2004,19 +5342,40 @@ module Stripe
|
|
|
2004
5342
|
#
|
|
2005
5343
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2006
5344
|
attr_accessor :setup_future_usage
|
|
5345
|
+
# 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.
|
|
5346
|
+
attr_accessor :subsellers
|
|
2007
5347
|
|
|
2008
5348
|
def initialize(
|
|
2009
5349
|
capture_method: nil,
|
|
5350
|
+
line_items: nil,
|
|
2010
5351
|
preferred_locale: nil,
|
|
2011
5352
|
reference: nil,
|
|
5353
|
+
reference_id: nil,
|
|
2012
5354
|
risk_correlation_id: nil,
|
|
2013
|
-
setup_future_usage: nil
|
|
5355
|
+
setup_future_usage: nil,
|
|
5356
|
+
subsellers: nil
|
|
2014
5357
|
)
|
|
2015
5358
|
@capture_method = capture_method
|
|
5359
|
+
@line_items = line_items
|
|
2016
5360
|
@preferred_locale = preferred_locale
|
|
2017
5361
|
@reference = reference
|
|
5362
|
+
@reference_id = reference_id
|
|
2018
5363
|
@risk_correlation_id = risk_correlation_id
|
|
2019
5364
|
@setup_future_usage = setup_future_usage
|
|
5365
|
+
@subsellers = subsellers
|
|
5366
|
+
end
|
|
5367
|
+
end
|
|
5368
|
+
|
|
5369
|
+
class Paypay < ::Stripe::RequestParams
|
|
5370
|
+
# Controls when the funds are captured from the customer's account.
|
|
5371
|
+
#
|
|
5372
|
+
# 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.
|
|
5373
|
+
#
|
|
5374
|
+
# 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.
|
|
5375
|
+
attr_accessor :capture_method
|
|
5376
|
+
|
|
5377
|
+
def initialize(capture_method: nil)
|
|
5378
|
+
@capture_method = capture_method
|
|
2020
5379
|
end
|
|
2021
5380
|
end
|
|
2022
5381
|
|
|
@@ -2158,6 +5517,25 @@ module Stripe
|
|
|
2158
5517
|
end
|
|
2159
5518
|
end
|
|
2160
5519
|
|
|
5520
|
+
class Qris < ::Stripe::RequestParams
|
|
5521
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5522
|
+
#
|
|
5523
|
+
# 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.
|
|
5524
|
+
#
|
|
5525
|
+
# 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.
|
|
5526
|
+
#
|
|
5527
|
+
# 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).
|
|
5528
|
+
#
|
|
5529
|
+
# 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`.
|
|
5530
|
+
attr_accessor :setup_future_usage
|
|
5531
|
+
|
|
5532
|
+
def initialize(setup_future_usage: nil)
|
|
5533
|
+
@setup_future_usage = setup_future_usage
|
|
5534
|
+
end
|
|
5535
|
+
end
|
|
5536
|
+
|
|
5537
|
+
class Rechnung < ::Stripe::RequestParams; end
|
|
5538
|
+
|
|
2161
5539
|
class RevolutPay < ::Stripe::RequestParams
|
|
2162
5540
|
# Controls when the funds are captured from the customer's account.
|
|
2163
5541
|
#
|
|
@@ -2250,6 +5628,23 @@ module Stripe
|
|
|
2250
5628
|
end
|
|
2251
5629
|
end
|
|
2252
5630
|
|
|
5631
|
+
class Shopeepay < ::Stripe::RequestParams
|
|
5632
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5633
|
+
#
|
|
5634
|
+
# 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.
|
|
5635
|
+
#
|
|
5636
|
+
# 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.
|
|
5637
|
+
#
|
|
5638
|
+
# 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).
|
|
5639
|
+
#
|
|
5640
|
+
# 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`.
|
|
5641
|
+
attr_accessor :setup_future_usage
|
|
5642
|
+
|
|
5643
|
+
def initialize(setup_future_usage: nil)
|
|
5644
|
+
@setup_future_usage = setup_future_usage
|
|
5645
|
+
end
|
|
5646
|
+
end
|
|
5647
|
+
|
|
2253
5648
|
class Sofort < ::Stripe::RequestParams
|
|
2254
5649
|
# Language shown to the payer on redirect.
|
|
2255
5650
|
attr_accessor :preferred_language
|
|
@@ -2270,6 +5665,34 @@ module Stripe
|
|
|
2270
5665
|
end
|
|
2271
5666
|
end
|
|
2272
5667
|
|
|
5668
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
5669
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
5670
|
+
# The ID of the Stripe Balance Debit Agreement used for this mandate.
|
|
5671
|
+
attr_accessor :stripe_balance_debit_agreement
|
|
5672
|
+
|
|
5673
|
+
def initialize(stripe_balance_debit_agreement: nil)
|
|
5674
|
+
@stripe_balance_debit_agreement = stripe_balance_debit_agreement
|
|
5675
|
+
end
|
|
5676
|
+
end
|
|
5677
|
+
# Additional fields for mandate creation.
|
|
5678
|
+
attr_accessor :mandate_options
|
|
5679
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5680
|
+
#
|
|
5681
|
+
# 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.
|
|
5682
|
+
#
|
|
5683
|
+
# 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.
|
|
5684
|
+
#
|
|
5685
|
+
# 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).
|
|
5686
|
+
#
|
|
5687
|
+
# 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`.
|
|
5688
|
+
attr_accessor :setup_future_usage
|
|
5689
|
+
|
|
5690
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
5691
|
+
@mandate_options = mandate_options
|
|
5692
|
+
@setup_future_usage = setup_future_usage
|
|
5693
|
+
end
|
|
5694
|
+
end
|
|
5695
|
+
|
|
2273
5696
|
class Swish < ::Stripe::RequestParams
|
|
2274
5697
|
# A reference for this payment to be displayed in the Swish app.
|
|
2275
5698
|
attr_accessor :reference
|
|
@@ -2341,13 +5764,27 @@ module Stripe
|
|
|
2341
5764
|
class Filters < ::Stripe::RequestParams
|
|
2342
5765
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2343
5766
|
attr_accessor :account_subcategories
|
|
5767
|
+
# ID of the institution to use to filter for selectable accounts.
|
|
5768
|
+
attr_accessor :institution
|
|
2344
5769
|
|
|
2345
|
-
def initialize(account_subcategories: nil)
|
|
5770
|
+
def initialize(account_subcategories: nil, institution: nil)
|
|
2346
5771
|
@account_subcategories = account_subcategories
|
|
5772
|
+
@institution = institution
|
|
5773
|
+
end
|
|
5774
|
+
end
|
|
5775
|
+
|
|
5776
|
+
class ManualEntry < ::Stripe::RequestParams
|
|
5777
|
+
# Settings for configuring manual entry of account details.
|
|
5778
|
+
attr_accessor :mode
|
|
5779
|
+
|
|
5780
|
+
def initialize(mode: nil)
|
|
5781
|
+
@mode = mode
|
|
2347
5782
|
end
|
|
2348
5783
|
end
|
|
2349
5784
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
2350
5785
|
attr_accessor :filters
|
|
5786
|
+
# Customize manual entry behavior
|
|
5787
|
+
attr_accessor :manual_entry
|
|
2351
5788
|
# 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`.
|
|
2352
5789
|
attr_accessor :permissions
|
|
2353
5790
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -2355,8 +5792,15 @@ module Stripe
|
|
|
2355
5792
|
# 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.
|
|
2356
5793
|
attr_accessor :return_url
|
|
2357
5794
|
|
|
2358
|
-
def initialize(
|
|
5795
|
+
def initialize(
|
|
5796
|
+
filters: nil,
|
|
5797
|
+
manual_entry: nil,
|
|
5798
|
+
permissions: nil,
|
|
5799
|
+
prefetch: nil,
|
|
5800
|
+
return_url: nil
|
|
5801
|
+
)
|
|
2359
5802
|
@filters = filters
|
|
5803
|
+
@manual_entry = manual_entry
|
|
2360
5804
|
@permissions = permissions
|
|
2361
5805
|
@prefetch = prefetch
|
|
2362
5806
|
@return_url = return_url
|
|
@@ -2501,10 +5945,16 @@ module Stripe
|
|
|
2501
5945
|
attr_accessor :eps
|
|
2502
5946
|
# If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
|
|
2503
5947
|
attr_accessor :fpx
|
|
5948
|
+
# If this is a `gift_card` PaymentMethod, this sub-hash contains details about the gift card payment method options.
|
|
5949
|
+
attr_accessor :gift_card
|
|
2504
5950
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
2505
5951
|
attr_accessor :giropay
|
|
5952
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
5953
|
+
attr_accessor :gopay
|
|
2506
5954
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
2507
5955
|
attr_accessor :grabpay
|
|
5956
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
5957
|
+
attr_accessor :id_bank_transfer
|
|
2508
5958
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
2509
5959
|
attr_accessor :ideal
|
|
2510
5960
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -2541,12 +5991,18 @@ module Stripe
|
|
|
2541
5991
|
attr_accessor :paynow
|
|
2542
5992
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
2543
5993
|
attr_accessor :paypal
|
|
5994
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
5995
|
+
attr_accessor :paypay
|
|
2544
5996
|
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
2545
5997
|
attr_accessor :payto
|
|
2546
5998
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
2547
5999
|
attr_accessor :pix
|
|
2548
6000
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
2549
6001
|
attr_accessor :promptpay
|
|
6002
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
6003
|
+
attr_accessor :qris
|
|
6004
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
6005
|
+
attr_accessor :rechnung
|
|
2550
6006
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
2551
6007
|
attr_accessor :revolut_pay
|
|
2552
6008
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -2557,8 +6013,12 @@ module Stripe
|
|
|
2557
6013
|
attr_accessor :scalapay
|
|
2558
6014
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2559
6015
|
attr_accessor :sepa_debit
|
|
6016
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
6017
|
+
attr_accessor :shopeepay
|
|
2560
6018
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
2561
6019
|
attr_accessor :sofort
|
|
6020
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
6021
|
+
attr_accessor :stripe_balance
|
|
2562
6022
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
2563
6023
|
attr_accessor :swish
|
|
2564
6024
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -2593,8 +6053,11 @@ module Stripe
|
|
|
2593
6053
|
customer_balance: nil,
|
|
2594
6054
|
eps: nil,
|
|
2595
6055
|
fpx: nil,
|
|
6056
|
+
gift_card: nil,
|
|
2596
6057
|
giropay: nil,
|
|
6058
|
+
gopay: nil,
|
|
2597
6059
|
grabpay: nil,
|
|
6060
|
+
id_bank_transfer: nil,
|
|
2598
6061
|
ideal: nil,
|
|
2599
6062
|
interac_present: nil,
|
|
2600
6063
|
kakao_pay: nil,
|
|
@@ -2613,15 +6076,20 @@ module Stripe
|
|
|
2613
6076
|
payco: nil,
|
|
2614
6077
|
paynow: nil,
|
|
2615
6078
|
paypal: nil,
|
|
6079
|
+
paypay: nil,
|
|
2616
6080
|
payto: nil,
|
|
2617
6081
|
pix: nil,
|
|
2618
6082
|
promptpay: nil,
|
|
6083
|
+
qris: nil,
|
|
6084
|
+
rechnung: nil,
|
|
2619
6085
|
revolut_pay: nil,
|
|
2620
6086
|
samsung_pay: nil,
|
|
2621
6087
|
satispay: nil,
|
|
2622
6088
|
scalapay: nil,
|
|
2623
6089
|
sepa_debit: nil,
|
|
6090
|
+
shopeepay: nil,
|
|
2624
6091
|
sofort: nil,
|
|
6092
|
+
stripe_balance: nil,
|
|
2625
6093
|
swish: nil,
|
|
2626
6094
|
twint: nil,
|
|
2627
6095
|
upi: nil,
|
|
@@ -2649,8 +6117,11 @@ module Stripe
|
|
|
2649
6117
|
@customer_balance = customer_balance
|
|
2650
6118
|
@eps = eps
|
|
2651
6119
|
@fpx = fpx
|
|
6120
|
+
@gift_card = gift_card
|
|
2652
6121
|
@giropay = giropay
|
|
6122
|
+
@gopay = gopay
|
|
2653
6123
|
@grabpay = grabpay
|
|
6124
|
+
@id_bank_transfer = id_bank_transfer
|
|
2654
6125
|
@ideal = ideal
|
|
2655
6126
|
@interac_present = interac_present
|
|
2656
6127
|
@kakao_pay = kakao_pay
|
|
@@ -2669,15 +6140,20 @@ module Stripe
|
|
|
2669
6140
|
@payco = payco
|
|
2670
6141
|
@paynow = paynow
|
|
2671
6142
|
@paypal = paypal
|
|
6143
|
+
@paypay = paypay
|
|
2672
6144
|
@payto = payto
|
|
2673
6145
|
@pix = pix
|
|
2674
6146
|
@promptpay = promptpay
|
|
6147
|
+
@qris = qris
|
|
6148
|
+
@rechnung = rechnung
|
|
2675
6149
|
@revolut_pay = revolut_pay
|
|
2676
6150
|
@samsung_pay = samsung_pay
|
|
2677
6151
|
@satispay = satispay
|
|
2678
6152
|
@scalapay = scalapay
|
|
2679
6153
|
@sepa_debit = sepa_debit
|
|
6154
|
+
@shopeepay = shopeepay
|
|
2680
6155
|
@sofort = sofort
|
|
6156
|
+
@stripe_balance = stripe_balance
|
|
2681
6157
|
@swish = swish
|
|
2682
6158
|
@twint = twint
|
|
2683
6159
|
@upi = upi
|
|
@@ -2687,6 +6163,26 @@ module Stripe
|
|
|
2687
6163
|
end
|
|
2688
6164
|
end
|
|
2689
6165
|
|
|
6166
|
+
class PaymentsOrchestration < ::Stripe::RequestParams
|
|
6167
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
6168
|
+
# Merchant-provided reference for this payment, used for reconciliation.
|
|
6169
|
+
attr_accessor :reference
|
|
6170
|
+
|
|
6171
|
+
def initialize(reference: nil)
|
|
6172
|
+
@reference = reference
|
|
6173
|
+
end
|
|
6174
|
+
end
|
|
6175
|
+
# Whether this feature is enabled.
|
|
6176
|
+
attr_accessor :enabled
|
|
6177
|
+
# Payment-level details for the orchestrated payment.
|
|
6178
|
+
attr_accessor :payment_details
|
|
6179
|
+
|
|
6180
|
+
def initialize(enabled: nil, payment_details: nil)
|
|
6181
|
+
@enabled = enabled
|
|
6182
|
+
@payment_details = payment_details
|
|
6183
|
+
end
|
|
6184
|
+
end
|
|
6185
|
+
|
|
2690
6186
|
class RadarOptions < ::Stripe::RequestParams
|
|
2691
6187
|
# 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.
|
|
2692
6188
|
attr_accessor :session
|
|
@@ -2793,6 +6289,10 @@ module Stripe
|
|
|
2793
6289
|
@payment_data = payment_data
|
|
2794
6290
|
end
|
|
2795
6291
|
end
|
|
6292
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
6293
|
+
attr_accessor :allocated_funds
|
|
6294
|
+
# 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`.
|
|
6295
|
+
attr_accessor :allowed_payment_method_types
|
|
2796
6296
|
# 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).
|
|
2797
6297
|
attr_accessor :amount
|
|
2798
6298
|
# Provides industry-specific information about the amount.
|
|
@@ -2833,6 +6333,8 @@ module Stripe
|
|
|
2833
6333
|
attr_accessor :excluded_payment_method_types
|
|
2834
6334
|
# Specifies which fields in the response should be expanded.
|
|
2835
6335
|
attr_accessor :expand
|
|
6336
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
6337
|
+
attr_accessor :fx_quote
|
|
2836
6338
|
# Automations to be run during the PaymentIntent lifecycle
|
|
2837
6339
|
attr_accessor :hooks
|
|
2838
6340
|
# ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
@@ -2863,12 +6365,16 @@ module Stripe
|
|
|
2863
6365
|
attr_accessor :payment_method_options
|
|
2864
6366
|
# The list of payment method types (for example, a card) that this PaymentIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
2865
6367
|
attr_accessor :payment_method_types
|
|
6368
|
+
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
6369
|
+
attr_accessor :payments_orchestration
|
|
2866
6370
|
# Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
|
|
2867
6371
|
attr_accessor :radar_options
|
|
2868
6372
|
# Email address to send the receipt to. If you specify `receipt_email` for a payment in live mode, you send a receipt regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
2869
6373
|
attr_accessor :receipt_email
|
|
2870
6374
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
2871
6375
|
attr_accessor :return_url
|
|
6376
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
6377
|
+
attr_accessor :secret_key_confirmation
|
|
2872
6378
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2873
6379
|
#
|
|
2874
6380
|
# 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.
|
|
@@ -2894,6 +6400,8 @@ module Stripe
|
|
|
2894
6400
|
attr_accessor :use_stripe_sdk
|
|
2895
6401
|
|
|
2896
6402
|
def initialize(
|
|
6403
|
+
allocated_funds: nil,
|
|
6404
|
+
allowed_payment_method_types: nil,
|
|
2897
6405
|
amount: nil,
|
|
2898
6406
|
amount_details: nil,
|
|
2899
6407
|
application_fee_amount: nil,
|
|
@@ -2909,6 +6417,7 @@ module Stripe
|
|
|
2909
6417
|
error_on_requires_action: nil,
|
|
2910
6418
|
excluded_payment_method_types: nil,
|
|
2911
6419
|
expand: nil,
|
|
6420
|
+
fx_quote: nil,
|
|
2912
6421
|
hooks: nil,
|
|
2913
6422
|
mandate: nil,
|
|
2914
6423
|
mandate_data: nil,
|
|
@@ -2921,9 +6430,11 @@ module Stripe
|
|
|
2921
6430
|
payment_method_data: nil,
|
|
2922
6431
|
payment_method_options: nil,
|
|
2923
6432
|
payment_method_types: nil,
|
|
6433
|
+
payments_orchestration: nil,
|
|
2924
6434
|
radar_options: nil,
|
|
2925
6435
|
receipt_email: nil,
|
|
2926
6436
|
return_url: nil,
|
|
6437
|
+
secret_key_confirmation: nil,
|
|
2927
6438
|
setup_future_usage: nil,
|
|
2928
6439
|
shipping: nil,
|
|
2929
6440
|
statement_descriptor: nil,
|
|
@@ -2932,6 +6443,8 @@ module Stripe
|
|
|
2932
6443
|
transfer_group: nil,
|
|
2933
6444
|
use_stripe_sdk: nil
|
|
2934
6445
|
)
|
|
6446
|
+
@allocated_funds = allocated_funds
|
|
6447
|
+
@allowed_payment_method_types = allowed_payment_method_types
|
|
2935
6448
|
@amount = amount
|
|
2936
6449
|
@amount_details = amount_details
|
|
2937
6450
|
@application_fee_amount = application_fee_amount
|
|
@@ -2947,6 +6460,7 @@ module Stripe
|
|
|
2947
6460
|
@error_on_requires_action = error_on_requires_action
|
|
2948
6461
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
2949
6462
|
@expand = expand
|
|
6463
|
+
@fx_quote = fx_quote
|
|
2950
6464
|
@hooks = hooks
|
|
2951
6465
|
@mandate = mandate
|
|
2952
6466
|
@mandate_data = mandate_data
|
|
@@ -2959,9 +6473,11 @@ module Stripe
|
|
|
2959
6473
|
@payment_method_data = payment_method_data
|
|
2960
6474
|
@payment_method_options = payment_method_options
|
|
2961
6475
|
@payment_method_types = payment_method_types
|
|
6476
|
+
@payments_orchestration = payments_orchestration
|
|
2962
6477
|
@radar_options = radar_options
|
|
2963
6478
|
@receipt_email = receipt_email
|
|
2964
6479
|
@return_url = return_url
|
|
6480
|
+
@secret_key_confirmation = secret_key_confirmation
|
|
2965
6481
|
@setup_future_usage = setup_future_usage
|
|
2966
6482
|
@shipping = shipping
|
|
2967
6483
|
@statement_descriptor = statement_descriptor
|