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