stripe 17.0.0 → 17.1.0.pre.alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +34 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +1037 -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_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +5 -5
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +5 -5
- 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_capability_updated_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_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_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_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_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_closed_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +44 -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_customer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_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_including_defaults_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_updated_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_sandbox_details_owner_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +64 -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 +64 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -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 +58 -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_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_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 +44 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +46 -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 +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_succeeded_event.rb +44 -0
- data/lib/stripe/object_types.rb +80 -0
- data/lib/stripe/params/account_capability_list_params.rb +1 -1
- data/lib/stripe/params/account_capability_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_capability_update_params.rb +1 -1
- data/lib/stripe/params/account_create_params.rb +417 -118
- data/lib/stripe/params/account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_create_params.rb +4 -4
- data/lib/stripe/params/account_external_account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_list_params.rb +1 -1
- data/lib/stripe/params/account_external_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_external_account_update_params.rb +3 -3
- data/lib/stripe/params/account_link_create_params.rb +2 -2
- data/lib/stripe/params/account_list_params.rb +2 -2
- data/lib/stripe/params/account_login_link_create_params.rb +1 -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 +19 -19
- data/lib/stripe/params/account_person_delete_params.rb +1 -1
- data/lib/stripe/params/account_person_list_params.rb +2 -2
- data/lib/stripe/params/account_person_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_person_update_params.rb +19 -19
- data/lib/stripe/params/account_persons_params.rb +2 -2
- data/lib/stripe/params/account_reject_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_current_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_session_create_params.rb +266 -41
- data/lib/stripe/params/account_update_params.rb +375 -113
- data/lib/stripe/params/apple_pay_domain_create_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_delete_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_list_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_list_params.rb +2 -2
- data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_list_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
- data/lib/stripe/params/application_fee_retrieve_params.rb +1 -1
- data/lib/stripe/params/apps/secret_create_params.rb +2 -2
- data/lib/stripe/params/apps/secret_delete_where_params.rb +2 -2
- data/lib/stripe/params/apps/secret_find_params.rb +2 -2
- data/lib/stripe/params/apps/secret_list_params.rb +2 -2
- data/lib/stripe/params/balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_update_params.rb +5 -5
- data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/alert_activate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_archive_params.rb +1 -1
- data/lib/stripe/params/billing/alert_create_params.rb +124 -4
- data/lib/stripe/params/billing/alert_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_list_params.rb +5 -1
- data/lib/stripe/params/billing/alert_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +21 -6
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +5 -1
- data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +39 -8
- data/lib/stripe/params/billing/credit_grant_expire_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_list_params.rb +5 -1
- data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_update_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +1 -1
- data/lib/stripe/params/billing/meter_create_params.rb +4 -4
- data/lib/stripe/params/billing/meter_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_reactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/meter_update_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +14 -14
- data/lib/stripe/params/billing_portal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +14 -14
- data/lib/stripe/params/billing_portal/session_create_params.rb +16 -12
- 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_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 +711 -2
- data/lib/stripe/params/charge_create_params.rb +6 -6
- data/lib/stripe/params/charge_list_params.rb +2 -2
- data/lib/stripe/params/charge_retrieve_params.rb +1 -1
- data/lib/stripe/params/charge_search_params.rb +1 -1
- data/lib/stripe/params/charge_update_params.rb +713 -4
- data/lib/stripe/params/checkout/session_create_params.rb +394 -125
- data/lib/stripe/params/checkout/session_expire_params.rb +1 -1
- data/lib/stripe/params/checkout/session_line_item_list_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_line_items_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_params.rb +7 -3
- data/lib/stripe/params/checkout/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/checkout/session_update_params.rb +299 -12
- data/lib/stripe/params/climate/order_cancel_params.rb +1 -1
- data/lib/stripe/params/climate/order_create_params.rb +2 -2
- data/lib/stripe/params/climate/order_list_params.rb +1 -1
- data/lib/stripe/params/climate/order_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/order_update_params.rb +2 -2
- data/lib/stripe/params/climate/product_list_params.rb +1 -1
- data/lib/stripe/params/climate/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_list_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_retrieve_params.rb +1 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +158 -61
- data/lib/stripe/params/confirmation_token_retrieve_params.rb +1 -1
- data/lib/stripe/params/country_spec_list_params.rb +1 -1
- data/lib/stripe/params/country_spec_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_create_params.rb +20 -4
- data/lib/stripe/params/coupon_delete_params.rb +1 -1
- data/lib/stripe/params/coupon_list_params.rb +2 -2
- data/lib/stripe/params/coupon_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_update_params.rb +2 -2
- data/lib/stripe/params/credit_note_create_params.rb +23 -6
- data/lib/stripe/params/credit_note_line_item_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_params.rb +6 -2
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +23 -6
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +23 -6
- data/lib/stripe/params/credit_note_preview_params.rb +23 -6
- data/lib/stripe/params/credit_note_retrieve_params.rb +1 -1
- data/lib/stripe/params/credit_note_update_params.rb +1 -1
- data/lib/stripe/params/credit_note_void_credit_note_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_update_params.rb +2 -2
- data/lib/stripe/params/customer_create_funding_instructions_params.rb +3 -3
- data/lib/stripe/params/customer_create_params.rb +11 -11
- data/lib/stripe/params/customer_delete_discount_params.rb +1 -1
- data/lib/stripe/params/customer_delete_params.rb +1 -1
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +1 -1
- data/lib/stripe/params/customer_funding_instructions_create_params.rb +3 -3
- data/lib/stripe/params/customer_list_params.rb +2 -2
- data/lib/stripe/params/customer_list_payment_methods_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_create_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_delete_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_update_params.rb +3 -3
- data/lib/stripe/params/customer_payment_source_verify_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_payment_method_params.rb +1 -1
- data/lib/stripe/params/customer_search_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +10 -7
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_list_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_update_params.rb +10 -10
- data/lib/stripe/params/dispute_close_params.rb +1 -1
- data/lib/stripe/params/dispute_list_params.rb +2 -2
- data/lib/stripe/params/dispute_retrieve_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +19 -10
- data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_create_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_update_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_create_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_delete_params.rb +1 -1
- data/lib/stripe/params/event_list_params.rb +2 -2
- data/lib/stripe/params/event_retrieve_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_list_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_retrieve_params.rb +1 -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/file_create_params.rb +2 -2
- data/lib/stripe/params/file_link_create_params.rb +1 -1
- data/lib/stripe/params/file_link_list_params.rb +2 -2
- data/lib/stripe/params/file_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/file_link_update_params.rb +1 -1
- data/lib/stripe/params/file_list_params.rb +2 -2
- data/lib/stripe/params/file_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_disconnect_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/account_list_owners_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_params.rb +6 -3
- data/lib/stripe/params/financial_connections/account_owner_list_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_subscribe_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +1 -1
- 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 +37 -5
- data/lib/stripe/params/financial_connections/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/transaction_list_params.rb +3 -3
- data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/forwarding/request_create_params.rb +3 -3
- data/lib/stripe/params/forwarding/request_list_params.rb +2 -2
- data/lib/stripe/params/forwarding/request_retrieve_params.rb +1 -1
- 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/verification_report_list_params.rb +2 -2
- data/lib/stripe/params/identity/verification_report_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_cancel_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_create_params.rb +9 -5
- data/lib/stripe/params/identity/verification_session_list_params.rb +6 -2
- data/lib/stripe/params/identity/verification_session_redact_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_update_params.rb +4 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +42 -10
- data/lib/stripe/params/invoice_attach_payment_params.rb +47 -2
- data/lib/stripe/params/invoice_create_params.rb +147 -37
- data/lib/stripe/params/invoice_create_preview_params.rb +872 -55
- data/lib/stripe/params/invoice_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_item_create_params.rb +42 -6
- data/lib/stripe/params/invoice_item_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_item_list_params.rb +6 -2
- data/lib/stripe/params/invoice_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_item_update_params.rb +38 -6
- data/lib/stripe/params/invoice_line_item_list_params.rb +1 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +41 -9
- data/lib/stripe/params/invoice_list_params.rb +11 -3
- data/lib/stripe/params/invoice_mark_uncollectible_params.rb +1 -1
- data/lib/stripe/params/invoice_pay_params.rb +1 -1
- data/lib/stripe/params/invoice_payment_list_params.rb +6 -3
- data/lib/stripe/params/invoice_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_remove_lines_params.rb +2 -2
- data/lib/stripe/params/invoice_rendering_template_archive_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_list_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +1 -1
- data/lib/stripe/params/invoice_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_search_params.rb +1 -1
- data/lib/stripe/params/invoice_send_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +42 -10
- data/lib/stripe/params/invoice_update_params.rb +142 -36
- data/lib/stripe/params/invoice_void_invoice_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_approve_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_capture_params.rb +13 -13
- data/lib/stripe/params/issuing/authorization_create_params.rb +17 -17
- data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +8 -8
- data/lib/stripe/params/issuing/authorization_increment_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_list_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +8 -8
- data/lib/stripe/params/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_list_params.rb +2 -2
- data/lib/stripe/params/issuing/card_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_update_params.rb +8 -8
- data/lib/stripe/params/issuing/cardholder_create_params.rb +14 -13
- data/lib/stripe/params/issuing/cardholder_list_params.rb +2 -2
- data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/cardholder_update_params.rb +12 -12
- 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_create_params.rb +11 -11
- data/lib/stripe/params/issuing/dispute_list_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_retrieve_params.rb +1 -1
- 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_submit_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_update_params.rb +10 -10
- 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/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +3 -3
- data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_list_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +3 -3
- data/lib/stripe/params/issuing/physical_bundle_list_params.rb +1 -1
- data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_list_params.rb +2 -2
- data/lib/stripe/params/issuing/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_update_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +14 -14
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +14 -14
- data/lib/stripe/params/issuing/transaction_list_params.rb +6 -2
- data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/mandate_retrieve_params.rb +1 -1
- 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/order_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +1124 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -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 +1128 -0
- data/lib/stripe/params/payment_attempt_record_list_params.rb +19 -0
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
- data/lib/stripe/params/payment_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +897 -2
- data/lib/stripe/params/payment_intent_confirm_params.rb +1542 -155
- data/lib/stripe/params/payment_intent_create_params.rb +1552 -157
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +225 -2
- data/lib/stripe/params/payment_intent_list_params.rb +6 -2
- data/lib/stripe/params/payment_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +1559 -133
- data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/payment_link_create_params.rb +44 -44
- data/lib/stripe/params/payment_link_line_item_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_line_items_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_link_update_params.rb +35 -35
- data/lib/stripe/params/payment_method_attach_params.rb +5 -2
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +233 -107
- data/lib/stripe/params/payment_method_configuration_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_update_params.rb +233 -107
- data/lib/stripe/params/payment_method_create_params.rb +153 -56
- data/lib/stripe/params/payment_method_detach_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_create_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_update_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_validate_params.rb +1 -1
- data/lib/stripe/params/payment_method_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_update_params.rb +25 -6
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
- data/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
- data/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_cancel_params.rb +1 -1
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/payout_list_params.rb +3 -3
- data/lib/stripe/params/payout_retrieve_params.rb +1 -1
- data/lib/stripe/params/payout_reverse_params.rb +1 -1
- data/lib/stripe/params/payout_update_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +4 -4
- data/lib/stripe/params/plan_delete_params.rb +1 -1
- data/lib/stripe/params/plan_list_params.rb +2 -2
- data/lib/stripe/params/plan_retrieve_params.rb +1 -1
- data/lib/stripe/params/plan_update_params.rb +1 -1
- data/lib/stripe/params/price_create_params.rb +9 -9
- data/lib/stripe/params/price_list_params.rb +3 -3
- data/lib/stripe/params/price_retrieve_params.rb +1 -1
- data/lib/stripe/params/price_search_params.rb +1 -1
- data/lib/stripe/params/price_update_params.rb +23 -4
- 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_create_params.rb +9 -9
- data/lib/stripe/params/product_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_create_params.rb +1 -1
- data/lib/stripe/params/product_feature_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_list_params.rb +1 -1
- data/lib/stripe/params/product_feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_list_params.rb +2 -2
- data/lib/stripe/params/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_search_params.rb +1 -1
- data/lib/stripe/params/product_update_params.rb +3 -3
- data/lib/stripe/params/promotion_code_create_params.rb +8 -4
- data/lib/stripe/params/promotion_code_list_params.rb +6 -2
- data/lib/stripe/params/promotion_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +3 -3
- data/lib/stripe/params/quote_accept_params.rb +1 -1
- data/lib/stripe/params/quote_cancel_params.rb +1 -1
- data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +820 -18
- data/lib/stripe/params/quote_finalize_quote_params.rb +1 -1
- data/lib/stripe/params/quote_line_item_list_params.rb +1 -1
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +9 -1
- 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_pdf_params.rb +1 -1
- 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_retrieve_params.rb +1 -1
- data/lib/stripe/params/quote_update_params.rb +825 -16
- data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +2 -2
- data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
- data/lib/stripe/params/refund_cancel_params.rb +1 -1
- data/lib/stripe/params/refund_create_params.rb +1 -1
- data/lib/stripe/params/refund_expire_params.rb +1 -1
- data/lib/stripe/params/refund_list_params.rb +2 -2
- data/lib/stripe/params/refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/refund_update_params.rb +1 -1
- data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_list_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_list_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_retrieve_params.rb +1 -1
- data/lib/stripe/params/review_approve_params.rb +1 -1
- data/lib/stripe/params/review_list_params.rb +2 -2
- data/lib/stripe/params/review_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_attempt_list_params.rb +2 -2
- data/lib/stripe/params/setup_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/setup_intent_confirm_params.rb +339 -88
- data/lib/stripe/params/setup_intent_create_params.rb +347 -90
- data/lib/stripe/params/setup_intent_list_params.rb +6 -2
- data/lib/stripe/params/setup_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_intent_update_params.rb +341 -84
- data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_create_params.rb +6 -6
- data/lib/stripe/params/shipping_rate_list_params.rb +2 -2
- data/lib/stripe/params/shipping_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_update_params.rb +3 -3
- data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +1 -1
- data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_create_params.rb +13 -13
- data/lib/stripe/params/source_detach_params.rb +1 -1
- data/lib/stripe/params/source_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_transaction_list_params.rb +1 -1
- data/lib/stripe/params/source_update_params.rb +11 -11
- data/lib/stripe/params/source_verify_params.rb +1 -1
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_cancel_params.rb +2 -2
- data/lib/stripe/params/subscription_create_params.rb +299 -45
- data/lib/stripe/params/subscription_delete_discount_params.rb +1 -1
- data/lib/stripe/params/subscription_item_create_params.rb +51 -7
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -1
- data/lib/stripe/params/subscription_item_list_params.rb +1 -1
- data/lib/stripe/params/subscription_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_item_update_params.rb +34 -6
- data/lib/stripe/params/subscription_list_params.rb +9 -5
- data/lib/stripe/params/subscription_migrate_params.rb +3 -3
- data/lib/stripe/params/subscription_resume_params.rb +1 -1
- data/lib/stripe/params/subscription_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
- data/lib/stripe/params/subscription_schedule_cancel_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_create_params.rb +197 -35
- data/lib/stripe/params/subscription_schedule_list_params.rb +9 -5
- data/lib/stripe/params/subscription_schedule_release_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +191 -33
- data/lib/stripe/params/subscription_search_params.rb +1 -1
- data/lib/stripe/params/subscription_update_params.rb +277 -43
- data/lib/stripe/params/tax/association_find_params.rb +18 -0
- data/lib/stripe/params/tax/calculation_create_params.rb +8 -8
- data/lib/stripe/params/tax/calculation_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_retrieve_params.rb +1 -1
- 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/registration_create_params.rb +163 -163
- data/lib/stripe/params/tax/registration_list_params.rb +1 -1
- data/lib/stripe/params/tax/registration_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/registration_update_params.rb +1 -1
- data/lib/stripe/params/tax/settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/settings_update_params.rb +4 -4
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +3 -3
- data/lib/stripe/params/tax/transaction_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_code_list_params.rb +1 -1
- data/lib/stripe/params/tax_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_id_create_params.rb +6 -3
- data/lib/stripe/params/tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/tax_id_list_params.rb +6 -3
- data/lib/stripe/params/tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_create_params.rb +1 -1
- data/lib/stripe/params/tax_rate_list_params.rb +2 -2
- data/lib/stripe/params/tax_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_update_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +46 -33
- data/lib/stripe/params/terminal/configuration_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_update_params.rb +46 -33
- data/lib/stripe/params/terminal/connection_token_create_params.rb +1 -1
- data/lib/stripe/params/terminal/location_create_params.rb +4 -4
- data/lib/stripe/params/terminal/location_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/location_list_params.rb +1 -1
- data/lib/stripe/params/terminal/location_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/location_update_params.rb +4 -4
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/lib/stripe/params/terminal/reader_cancel_action_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +6 -6
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_list_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +158 -61
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +13 -13
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +17 -17
- data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +8 -8
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +14 -14
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +14 -14
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/test_helpers/refund_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +4 -4
- data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_list_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +28 -4
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +28 -4
- data/lib/stripe/params/token_create_params.rb +45 -45
- data/lib/stripe/params/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_cancel_params.rb +1 -1
- data/lib/stripe/params/topup_create_params.rb +1 -1
- data/lib/stripe/params/topup_list_params.rb +3 -3
- data/lib/stripe/params/topup_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_update_params.rb +1 -1
- data/lib/stripe/params/transfer_create_params.rb +5 -1
- data/lib/stripe/params/transfer_list_params.rb +2 -2
- data/lib/stripe/params/transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_list_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
- data/lib/stripe/params/transfer_update_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_close_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_create_params.rb +24 -17
- data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +18 -15
- data/lib/stripe/params/treasury/financial_account_list_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +18 -15
- data/lib/stripe/params/treasury/financial_account_update_params.rb +25 -18
- data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +8 -8
- data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_list_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +28 -4
- data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/treasury/received_credit_create_params.rb +28 -4
- data/lib/stripe/params/treasury/received_credit_list_params.rb +2 -2
- data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +28 -4
- data/lib/stripe/params/treasury/received_debit_list_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_entry_list_params.rb +3 -3
- data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_list_params.rb +4 -4
- data/lib/stripe/params/treasury/transaction_retrieve_params.rb +1 -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/collection_setting_create_params.rb +223 -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 +229 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +355 -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 +103 -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_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/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 +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -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_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/rate_create_params.rb +91 -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 +254 -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_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2658 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +20 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2689 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +493 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +493 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_create_params.rb +3 -3
- data/lib/stripe/params/v2/core/event_destination_delete_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_disable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_enable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_list_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_ping_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_update_params.rb +2 -2
- data/lib/stripe/params/v2/core/event_list_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -1
- 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 +50 -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_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_create_params.rb +33 -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_update_params.rb +22 -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/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +31 -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 +102 -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 +67 -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 +103 -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 +80 -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 +81 -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/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +61 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +237 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +20 -0
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -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 +23 -0
- data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_delete_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_list_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
- data/lib/stripe/params.rb +241 -0
- data/lib/stripe/resources/account.rb +207 -42
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +120 -39
- data/lib/stripe/resources/application_fee.rb +1 -1
- data/lib/stripe/resources/apps/secret.rb +1 -1
- data/lib/stripe/resources/balance.rb +18 -18
- data/lib/stripe/resources/balance_settings.rb +4 -4
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +4 -4
- data/lib/stripe/resources/billing/alert.rb +107 -3
- data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +91 -7
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +92 -10
- data/lib/stripe/resources/billing/credit_grant.rb +65 -7
- data/lib/stripe/resources/billing/meter.rb +4 -4
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/billing_portal/configuration.rb +13 -13
- data/lib/stripe/resources/billing_portal/session.rb +13 -11
- data/lib/stripe/resources/capability.rb +6 -6
- data/lib/stripe/resources/capital/financing_offer.rb +142 -0
- data/lib/stripe/resources/capital/financing_summary.rb +79 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +21 -2
- data/lib/stripe/resources/cash_balance.rb +3 -1
- data/lib/stripe/resources/charge.rb +354 -105
- data/lib/stripe/resources/checkout/session.rb +352 -110
- data/lib/stripe/resources/climate/order.rb +3 -3
- data/lib/stripe/resources/climate/product.rb +1 -1
- data/lib/stripe/resources/climate/supplier.rb +1 -1
- data/lib/stripe/resources/confirmation_token.rb +266 -93
- data/lib/stripe/resources/country_spec.rb +3 -3
- data/lib/stripe/resources/coupon.rb +28 -3
- data/lib/stripe/resources/credit_note.rb +28 -8
- data/lib/stripe/resources/credit_note_line_item.rb +22 -4
- data/lib/stripe/resources/customer.rb +10 -8
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +13 -11
- data/lib/stripe/resources/customer_session.rb +7 -5
- data/lib/stripe/resources/discount.rb +3 -1
- data/lib/stripe/resources/dispute.rb +39 -17
- data/lib/stripe/resources/event.rb +66 -3
- data/lib/stripe/resources/financial_connections/account.rb +34 -7
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +69 -3
- data/lib/stripe/resources/financial_connections/transaction.rb +1 -1
- data/lib/stripe/resources/forwarding/request.rb +5 -5
- data/lib/stripe/resources/funding_instructions.rb +20 -20
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/verification_report.rb +18 -18
- data/lib/stripe/resources/identity/verification_session.rb +15 -13
- data/lib/stripe/resources/invoice.rb +194 -43
- data/lib/stripe/resources/invoice_item.rb +101 -9
- data/lib/stripe/resources/invoice_line_item.rb +145 -15
- data/lib/stripe/resources/invoice_payment.rb +4 -2
- data/lib/stripe/resources/issuing/authorization.rb +19 -19
- data/lib/stripe/resources/issuing/card.rb +10 -10
- data/lib/stripe/resources/issuing/cardholder.rb +12 -12
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +10 -10
- 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/personalization_design.rb +3 -3
- data/lib/stripe/resources/issuing/physical_bundle.rb +1 -1
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +6 -6
- data/lib/stripe/resources/issuing/transaction.rb +18 -16
- data/lib/stripe/resources/line_item.rb +70 -3
- data/lib/stripe/resources/mandate.rb +93 -22
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +987 -0
- data/lib/stripe/resources/payment_attempt_record.rb +2102 -0
- data/lib/stripe/resources/payment_intent.rb +996 -124
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
- data/lib/stripe/resources/payment_link.rb +38 -38
- data/lib/stripe/resources/payment_method.rb +279 -84
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +306 -102
- data/lib/stripe/resources/payment_method_domain.rb +12 -12
- data/lib/stripe/resources/payment_record.rb +2208 -0
- data/lib/stripe/resources/payout.rb +1 -1
- data/lib/stripe/resources/person.rb +20 -20
- data/lib/stripe/resources/plan.rb +2 -2
- data/lib/stripe/resources/price.rb +27 -7
- data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +2 -2
- data/lib/stripe/resources/promotion_code.rb +5 -3
- data/lib/stripe/resources/quote.rb +596 -27
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
- data/lib/stripe/resources/refund.rb +55 -37
- data/lib/stripe/resources/reporting/report_run.rb +1 -1
- data/lib/stripe/resources/review.rb +2 -2
- data/lib/stripe/resources/setup_attempt.rb +92 -29
- data/lib/stripe/resources/setup_intent.rb +198 -27
- data/lib/stripe/resources/shipping_rate.rb +5 -5
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
- data/lib/stripe/resources/source.rb +67 -29
- data/lib/stripe/resources/source_mandate_notification.rb +3 -3
- data/lib/stripe/resources/source_transaction.rb +5 -5
- data/lib/stripe/resources/subscription.rb +262 -30
- data/lib/stripe/resources/subscription_item.rb +21 -2
- data/lib/stripe/resources/subscription_schedule.rb +224 -29
- data/lib/stripe/resources/tax/association.rb +86 -0
- data/lib/stripe/resources/tax/calculation.rb +12 -12
- data/lib/stripe/resources/tax/calculation_line_item.rb +3 -3
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/registration.rb +140 -140
- data/lib/stripe/resources/tax/settings.rb +6 -6
- data/lib/stripe/resources/tax/transaction.rb +10 -10
- data/lib/stripe/resources/tax/transaction_line_item.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +6 -2
- data/lib/stripe/resources/tax_rate.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +48 -32
- data/lib/stripe/resources/terminal/location.rb +3 -3
- data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/lib/stripe/resources/terminal/reader.rb +35 -27
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +2 -2
- data/lib/stripe/resources/transfer.rb +2 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +1 -1
- data/lib/stripe/resources/treasury/debit_reversal.rb +2 -2
- data/lib/stripe/resources/treasury/financial_account.rb +8 -6
- data/lib/stripe/resources/treasury/financial_account_features.rb +24 -22
- data/lib/stripe/resources/treasury/inbound_transfer.rb +7 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +11 -11
- data/lib/stripe/resources/treasury/outbound_transfer.rb +40 -10
- data/lib/stripe/resources/treasury/received_credit.rb +38 -8
- data/lib/stripe/resources/treasury/received_debit.rb +39 -7
- data/lib/stripe/resources/treasury/transaction.rb +3 -3
- data/lib/stripe/resources/treasury/transaction_entry.rb +2 -2
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +655 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +86 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +244 -0
- data/lib/stripe/resources/v2/core/account.rb +4554 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/account_person.rb +477 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
- data/lib/stripe/resources/v2/core/event.rb +6 -2
- data/lib/stripe/resources/v2/core/event_destination.rb +4 -4
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +47 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +148 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +219 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -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 +137 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +228 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +138 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +242 -0
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources.rb +386 -0
- data/lib/stripe/services/account_notice_service.rb +39 -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_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/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/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -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_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
- data/lib/stripe/services/payment_intent_service.rb +44 -0
- data/lib/stripe/services/payment_method_service.rb +11 -0
- data/lib/stripe/services/payment_record_service.rb +89 -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/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/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +11 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/v1_services.rb +10 -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 +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -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/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +43 -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 +62 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
- data/lib/stripe/services/v2/core/account_service.rb +76 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +74 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +68 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +5 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +59 -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 +73 -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 +63 -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 +33 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +65 -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 +5 -1
- data/lib/stripe/services.rb +83 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- 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 +53 -0
- data/rbi/stripe.rbi +171575 -97503
- metadata +713 -3
@@ -2,9 +2,944 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
class PaymentIntentUpdateParams < Stripe::RequestParams
|
6
|
-
class
|
7
|
-
class
|
5
|
+
class PaymentIntentUpdateParams < ::Stripe::RequestParams
|
6
|
+
class AmountDetails < ::Stripe::RequestParams
|
7
|
+
class LineItem < ::Stripe::RequestParams
|
8
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
9
|
+
class Card < ::Stripe::RequestParams
|
10
|
+
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
11
|
+
attr_accessor :commodity_code
|
12
|
+
|
13
|
+
def initialize(commodity_code: nil)
|
14
|
+
@commodity_code = commodity_code
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
class CardPresent < ::Stripe::RequestParams
|
19
|
+
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
20
|
+
attr_accessor :commodity_code
|
21
|
+
|
22
|
+
def initialize(commodity_code: nil)
|
23
|
+
@commodity_code = commodity_code
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
class Klarna < ::Stripe::RequestParams
|
28
|
+
# URL to an image for the product. Max length, 4096 characters.
|
29
|
+
attr_accessor :image_url
|
30
|
+
# URL to the product page. Max length, 4096 characters.
|
31
|
+
attr_accessor :product_url
|
32
|
+
# Reference for the subscription this line item is for.
|
33
|
+
attr_accessor :subscription_reference
|
34
|
+
|
35
|
+
def initialize(image_url: nil, product_url: nil, subscription_reference: nil)
|
36
|
+
@image_url = image_url
|
37
|
+
@product_url = product_url
|
38
|
+
@subscription_reference = subscription_reference
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class Paypal < ::Stripe::RequestParams
|
43
|
+
# Type of the line item.
|
44
|
+
attr_accessor :category
|
45
|
+
# Description of the line item.
|
46
|
+
attr_accessor :description
|
47
|
+
# The Stripe account ID of the connected account that sells the item.
|
48
|
+
attr_accessor :sold_by
|
49
|
+
|
50
|
+
def initialize(category: nil, description: nil, sold_by: nil)
|
51
|
+
@category = category
|
52
|
+
@description = description
|
53
|
+
@sold_by = sold_by
|
54
|
+
end
|
55
|
+
end
|
56
|
+
# This sub-hash contains line item details that are specific to `card` payment method."
|
57
|
+
attr_accessor :card
|
58
|
+
# This sub-hash contains line item details that are specific to `card_present` payment method."
|
59
|
+
attr_accessor :card_present
|
60
|
+
# This sub-hash contains line item details that are specific to `klarna` payment method."
|
61
|
+
attr_accessor :klarna
|
62
|
+
# This sub-hash contains line item details that are specific to `paypal` payment method."
|
63
|
+
attr_accessor :paypal
|
64
|
+
|
65
|
+
def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
|
66
|
+
@card = card
|
67
|
+
@card_present = card_present
|
68
|
+
@klarna = klarna
|
69
|
+
@paypal = paypal
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
class Tax < ::Stripe::RequestParams
|
74
|
+
# The total tax on an item. Non-negative integer.
|
75
|
+
attr_accessor :total_tax_amount
|
76
|
+
|
77
|
+
def initialize(total_tax_amount: nil)
|
78
|
+
@total_tax_amount = total_tax_amount
|
79
|
+
end
|
80
|
+
end
|
81
|
+
# The amount an item was discounted for. Positive integer.
|
82
|
+
attr_accessor :discount_amount
|
83
|
+
# Payment method-specific information for line items.
|
84
|
+
attr_accessor :payment_method_options
|
85
|
+
# Unique identifier of the product. At most 12 characters long.
|
86
|
+
attr_accessor :product_code
|
87
|
+
# Name of the product. At most 100 characters long.
|
88
|
+
attr_accessor :product_name
|
89
|
+
# Number of items of the product. Positive integer.
|
90
|
+
attr_accessor :quantity
|
91
|
+
# Contains information about the tax on the item.
|
92
|
+
attr_accessor :tax
|
93
|
+
# Cost of the product. Non-negative integer.
|
94
|
+
attr_accessor :unit_cost
|
95
|
+
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
96
|
+
attr_accessor :unit_of_measure
|
97
|
+
|
98
|
+
def initialize(
|
99
|
+
discount_amount: nil,
|
100
|
+
payment_method_options: nil,
|
101
|
+
product_code: nil,
|
102
|
+
product_name: nil,
|
103
|
+
quantity: nil,
|
104
|
+
tax: nil,
|
105
|
+
unit_cost: nil,
|
106
|
+
unit_of_measure: nil
|
107
|
+
)
|
108
|
+
@discount_amount = discount_amount
|
109
|
+
@payment_method_options = payment_method_options
|
110
|
+
@product_code = product_code
|
111
|
+
@product_name = product_name
|
112
|
+
@quantity = quantity
|
113
|
+
@tax = tax
|
114
|
+
@unit_cost = unit_cost
|
115
|
+
@unit_of_measure = unit_of_measure
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
class Shipping < ::Stripe::RequestParams
|
120
|
+
# Portion of the amount that is for shipping.
|
121
|
+
attr_accessor :amount
|
122
|
+
# The postal code that represents the shipping source.
|
123
|
+
attr_accessor :from_postal_code
|
124
|
+
# The postal code that represents the shipping destination.
|
125
|
+
attr_accessor :to_postal_code
|
126
|
+
|
127
|
+
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
128
|
+
@amount = amount
|
129
|
+
@from_postal_code = from_postal_code
|
130
|
+
@to_postal_code = to_postal_code
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
class Tax < ::Stripe::RequestParams
|
135
|
+
# Total portion of the amount that is for tax.
|
136
|
+
attr_accessor :total_tax_amount
|
137
|
+
|
138
|
+
def initialize(total_tax_amount: nil)
|
139
|
+
@total_tax_amount = total_tax_amount
|
140
|
+
end
|
141
|
+
end
|
142
|
+
# The total discount applied on the transaction.
|
143
|
+
attr_accessor :discount_amount
|
144
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
145
|
+
attr_accessor :line_items
|
146
|
+
# Contains information about the shipping portion of the amount.
|
147
|
+
attr_accessor :shipping
|
148
|
+
# Contains information about the tax portion of the amount.
|
149
|
+
attr_accessor :tax
|
150
|
+
|
151
|
+
def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
|
152
|
+
@discount_amount = discount_amount
|
153
|
+
@line_items = line_items
|
154
|
+
@shipping = shipping
|
155
|
+
@tax = tax
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
class Hooks < ::Stripe::RequestParams
|
160
|
+
class Inputs < ::Stripe::RequestParams
|
161
|
+
class Tax < ::Stripe::RequestParams
|
162
|
+
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
163
|
+
attr_accessor :calculation
|
164
|
+
|
165
|
+
def initialize(calculation: nil)
|
166
|
+
@calculation = calculation
|
167
|
+
end
|
168
|
+
end
|
169
|
+
# Tax arguments for automations
|
170
|
+
attr_accessor :tax
|
171
|
+
|
172
|
+
def initialize(tax: nil)
|
173
|
+
@tax = tax
|
174
|
+
end
|
175
|
+
end
|
176
|
+
# Arguments passed in automations
|
177
|
+
attr_accessor :inputs
|
178
|
+
|
179
|
+
def initialize(inputs: nil)
|
180
|
+
@inputs = inputs
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
class MandateData < ::Stripe::RequestParams
|
185
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
186
|
+
class Online < ::Stripe::RequestParams
|
187
|
+
# The IP address from which the Mandate was accepted by the customer.
|
188
|
+
attr_accessor :ip_address
|
189
|
+
# The user agent of the browser from which the Mandate was accepted by the customer.
|
190
|
+
attr_accessor :user_agent
|
191
|
+
|
192
|
+
def initialize(ip_address: nil, user_agent: nil)
|
193
|
+
@ip_address = ip_address
|
194
|
+
@user_agent = user_agent
|
195
|
+
end
|
196
|
+
end
|
197
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
198
|
+
attr_accessor :online
|
199
|
+
# The type of customer acceptance information included with the Mandate.
|
200
|
+
attr_accessor :type
|
201
|
+
|
202
|
+
def initialize(online: nil, type: nil)
|
203
|
+
@online = online
|
204
|
+
@type = type
|
205
|
+
end
|
206
|
+
end
|
207
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
208
|
+
attr_accessor :customer_acceptance
|
209
|
+
|
210
|
+
def initialize(customer_acceptance: nil)
|
211
|
+
@customer_acceptance = customer_acceptance
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
class PaymentDetails < ::Stripe::RequestParams
|
216
|
+
class Benefit < ::Stripe::RequestParams
|
217
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
218
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
219
|
+
attr_accessor :siret
|
220
|
+
|
221
|
+
def initialize(siret: nil)
|
222
|
+
@siret = siret
|
223
|
+
end
|
224
|
+
end
|
225
|
+
# French meal voucher benefit details for this PaymentIntent.
|
226
|
+
attr_accessor :fr_meal_voucher
|
227
|
+
|
228
|
+
def initialize(fr_meal_voucher: nil)
|
229
|
+
@fr_meal_voucher = fr_meal_voucher
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
class CarRental < ::Stripe::RequestParams
|
234
|
+
class Affiliate < ::Stripe::RequestParams
|
235
|
+
# The name of the affiliate that originated the purchase.
|
236
|
+
attr_accessor :name
|
237
|
+
|
238
|
+
def initialize(name: nil)
|
239
|
+
@name = name
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
class Delivery < ::Stripe::RequestParams
|
244
|
+
class Recipient < ::Stripe::RequestParams
|
245
|
+
# The email of the recipient the ticket is delivered to.
|
246
|
+
attr_accessor :email
|
247
|
+
# The name of the recipient the ticket is delivered to.
|
248
|
+
attr_accessor :name
|
249
|
+
# The phone number of the recipient the ticket is delivered to.
|
250
|
+
attr_accessor :phone
|
251
|
+
|
252
|
+
def initialize(email: nil, name: nil, phone: nil)
|
253
|
+
@email = email
|
254
|
+
@name = name
|
255
|
+
@phone = phone
|
256
|
+
end
|
257
|
+
end
|
258
|
+
# The delivery method for the payment
|
259
|
+
attr_accessor :mode
|
260
|
+
# Details of the recipient.
|
261
|
+
attr_accessor :recipient
|
262
|
+
|
263
|
+
def initialize(mode: nil, recipient: nil)
|
264
|
+
@mode = mode
|
265
|
+
@recipient = recipient
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class Distance < ::Stripe::RequestParams
|
270
|
+
# Distance traveled.
|
271
|
+
attr_accessor :amount
|
272
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
273
|
+
attr_accessor :unit
|
274
|
+
|
275
|
+
def initialize(amount: nil, unit: nil)
|
276
|
+
@amount = amount
|
277
|
+
@unit = unit
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
class Driver < ::Stripe::RequestParams
|
282
|
+
# Driver's identification number.
|
283
|
+
attr_accessor :driver_identification_number
|
284
|
+
# Driver's tax number.
|
285
|
+
attr_accessor :driver_tax_number
|
286
|
+
# Full name of the person or entity on the car reservation.
|
287
|
+
attr_accessor :name
|
288
|
+
|
289
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
290
|
+
@driver_identification_number = driver_identification_number
|
291
|
+
@driver_tax_number = driver_tax_number
|
292
|
+
@name = name
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
class PickupAddress < ::Stripe::RequestParams
|
297
|
+
# City, district, suburb, town, or village.
|
298
|
+
attr_accessor :city
|
299
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
300
|
+
attr_accessor :country
|
301
|
+
# Address line 1, such as the street, PO Box, or company name.
|
302
|
+
attr_accessor :line1
|
303
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
304
|
+
attr_accessor :line2
|
305
|
+
# ZIP or postal code.
|
306
|
+
attr_accessor :postal_code
|
307
|
+
# State, county, province, or region.
|
308
|
+
attr_accessor :state
|
309
|
+
|
310
|
+
def initialize(
|
311
|
+
city: nil,
|
312
|
+
country: nil,
|
313
|
+
line1: nil,
|
314
|
+
line2: nil,
|
315
|
+
postal_code: nil,
|
316
|
+
state: nil
|
317
|
+
)
|
318
|
+
@city = city
|
319
|
+
@country = country
|
320
|
+
@line1 = line1
|
321
|
+
@line2 = line2
|
322
|
+
@postal_code = postal_code
|
323
|
+
@state = state
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
class ReturnAddress < ::Stripe::RequestParams
|
328
|
+
# City, district, suburb, town, or village.
|
329
|
+
attr_accessor :city
|
330
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
331
|
+
attr_accessor :country
|
332
|
+
# Address line 1, such as the street, PO Box, or company name.
|
333
|
+
attr_accessor :line1
|
334
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
335
|
+
attr_accessor :line2
|
336
|
+
# ZIP or postal code.
|
337
|
+
attr_accessor :postal_code
|
338
|
+
# State, county, province, or region.
|
339
|
+
attr_accessor :state
|
340
|
+
|
341
|
+
def initialize(
|
342
|
+
city: nil,
|
343
|
+
country: nil,
|
344
|
+
line1: nil,
|
345
|
+
line2: nil,
|
346
|
+
postal_code: nil,
|
347
|
+
state: nil
|
348
|
+
)
|
349
|
+
@city = city
|
350
|
+
@country = country
|
351
|
+
@line1 = line1
|
352
|
+
@line2 = line2
|
353
|
+
@postal_code = postal_code
|
354
|
+
@state = state
|
355
|
+
end
|
356
|
+
end
|
357
|
+
# Affiliate details for this purchase.
|
358
|
+
attr_accessor :affiliate
|
359
|
+
# The booking number associated with the car rental.
|
360
|
+
attr_accessor :booking_number
|
361
|
+
# Class code of the car.
|
362
|
+
attr_accessor :car_class_code
|
363
|
+
# Make of the car.
|
364
|
+
attr_accessor :car_make
|
365
|
+
# Model of the car.
|
366
|
+
attr_accessor :car_model
|
367
|
+
# The name of the rental car company.
|
368
|
+
attr_accessor :company
|
369
|
+
# The customer service phone number of the car rental company.
|
370
|
+
attr_accessor :customer_service_phone_number
|
371
|
+
# Number of days the car is being rented.
|
372
|
+
attr_accessor :days_rented
|
373
|
+
# Delivery details for this purchase.
|
374
|
+
attr_accessor :delivery
|
375
|
+
# The details of the distance traveled during the rental period.
|
376
|
+
attr_accessor :distance
|
377
|
+
# The details of the passengers in the travel reservation
|
378
|
+
attr_accessor :drivers
|
379
|
+
# List of additional charges being billed.
|
380
|
+
attr_accessor :extra_charges
|
381
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
382
|
+
attr_accessor :no_show
|
383
|
+
# Car pick-up address.
|
384
|
+
attr_accessor :pickup_address
|
385
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
386
|
+
attr_accessor :pickup_at
|
387
|
+
# Name of the pickup location.
|
388
|
+
attr_accessor :pickup_location_name
|
389
|
+
# Rental rate.
|
390
|
+
attr_accessor :rate_amount
|
391
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
392
|
+
attr_accessor :rate_interval
|
393
|
+
# The name of the person or entity renting the car.
|
394
|
+
attr_accessor :renter_name
|
395
|
+
# Car return address.
|
396
|
+
attr_accessor :return_address
|
397
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
398
|
+
attr_accessor :return_at
|
399
|
+
# Name of the return location.
|
400
|
+
attr_accessor :return_location_name
|
401
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
402
|
+
attr_accessor :tax_exempt
|
403
|
+
# The vehicle identification number.
|
404
|
+
attr_accessor :vehicle_identification_number
|
405
|
+
|
406
|
+
def initialize(
|
407
|
+
affiliate: nil,
|
408
|
+
booking_number: nil,
|
409
|
+
car_class_code: nil,
|
410
|
+
car_make: nil,
|
411
|
+
car_model: nil,
|
412
|
+
company: nil,
|
413
|
+
customer_service_phone_number: nil,
|
414
|
+
days_rented: nil,
|
415
|
+
delivery: nil,
|
416
|
+
distance: nil,
|
417
|
+
drivers: nil,
|
418
|
+
extra_charges: nil,
|
419
|
+
no_show: nil,
|
420
|
+
pickup_address: nil,
|
421
|
+
pickup_at: nil,
|
422
|
+
pickup_location_name: nil,
|
423
|
+
rate_amount: nil,
|
424
|
+
rate_interval: nil,
|
425
|
+
renter_name: nil,
|
426
|
+
return_address: nil,
|
427
|
+
return_at: nil,
|
428
|
+
return_location_name: nil,
|
429
|
+
tax_exempt: nil,
|
430
|
+
vehicle_identification_number: nil
|
431
|
+
)
|
432
|
+
@affiliate = affiliate
|
433
|
+
@booking_number = booking_number
|
434
|
+
@car_class_code = car_class_code
|
435
|
+
@car_make = car_make
|
436
|
+
@car_model = car_model
|
437
|
+
@company = company
|
438
|
+
@customer_service_phone_number = customer_service_phone_number
|
439
|
+
@days_rented = days_rented
|
440
|
+
@delivery = delivery
|
441
|
+
@distance = distance
|
442
|
+
@drivers = drivers
|
443
|
+
@extra_charges = extra_charges
|
444
|
+
@no_show = no_show
|
445
|
+
@pickup_address = pickup_address
|
446
|
+
@pickup_at = pickup_at
|
447
|
+
@pickup_location_name = pickup_location_name
|
448
|
+
@rate_amount = rate_amount
|
449
|
+
@rate_interval = rate_interval
|
450
|
+
@renter_name = renter_name
|
451
|
+
@return_address = return_address
|
452
|
+
@return_at = return_at
|
453
|
+
@return_location_name = return_location_name
|
454
|
+
@tax_exempt = tax_exempt
|
455
|
+
@vehicle_identification_number = vehicle_identification_number
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
class EventDetails < ::Stripe::RequestParams
|
460
|
+
class Address < ::Stripe::RequestParams
|
461
|
+
# City, district, suburb, town, or village.
|
462
|
+
attr_accessor :city
|
463
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
464
|
+
attr_accessor :country
|
465
|
+
# Address line 1, such as the street, PO Box, or company name.
|
466
|
+
attr_accessor :line1
|
467
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
468
|
+
attr_accessor :line2
|
469
|
+
# ZIP or postal code.
|
470
|
+
attr_accessor :postal_code
|
471
|
+
# State, county, province, or region.
|
472
|
+
attr_accessor :state
|
473
|
+
|
474
|
+
def initialize(
|
475
|
+
city: nil,
|
476
|
+
country: nil,
|
477
|
+
line1: nil,
|
478
|
+
line2: nil,
|
479
|
+
postal_code: nil,
|
480
|
+
state: nil
|
481
|
+
)
|
482
|
+
@city = city
|
483
|
+
@country = country
|
484
|
+
@line1 = line1
|
485
|
+
@line2 = line2
|
486
|
+
@postal_code = postal_code
|
487
|
+
@state = state
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
class Affiliate < ::Stripe::RequestParams
|
492
|
+
# The name of the affiliate that originated the purchase.
|
493
|
+
attr_accessor :name
|
494
|
+
|
495
|
+
def initialize(name: nil)
|
496
|
+
@name = name
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
500
|
+
class Delivery < ::Stripe::RequestParams
|
501
|
+
class Recipient < ::Stripe::RequestParams
|
502
|
+
# The email of the recipient the ticket is delivered to.
|
503
|
+
attr_accessor :email
|
504
|
+
# The name of the recipient the ticket is delivered to.
|
505
|
+
attr_accessor :name
|
506
|
+
# The phone number of the recipient the ticket is delivered to.
|
507
|
+
attr_accessor :phone
|
508
|
+
|
509
|
+
def initialize(email: nil, name: nil, phone: nil)
|
510
|
+
@email = email
|
511
|
+
@name = name
|
512
|
+
@phone = phone
|
513
|
+
end
|
514
|
+
end
|
515
|
+
# The delivery method for the payment
|
516
|
+
attr_accessor :mode
|
517
|
+
# Details of the recipient.
|
518
|
+
attr_accessor :recipient
|
519
|
+
|
520
|
+
def initialize(mode: nil, recipient: nil)
|
521
|
+
@mode = mode
|
522
|
+
@recipient = recipient
|
523
|
+
end
|
524
|
+
end
|
525
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
526
|
+
attr_accessor :access_controlled_venue
|
527
|
+
# The event location's address.
|
528
|
+
attr_accessor :address
|
529
|
+
# Affiliate details for this purchase.
|
530
|
+
attr_accessor :affiliate
|
531
|
+
# The name of the company
|
532
|
+
attr_accessor :company
|
533
|
+
# Delivery details for this purchase.
|
534
|
+
attr_accessor :delivery
|
535
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
536
|
+
attr_accessor :ends_at
|
537
|
+
# Type of the event entertainment (concert, sports event etc)
|
538
|
+
attr_accessor :genre
|
539
|
+
# The name of the event.
|
540
|
+
attr_accessor :name
|
541
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
542
|
+
attr_accessor :starts_at
|
543
|
+
|
544
|
+
def initialize(
|
545
|
+
access_controlled_venue: nil,
|
546
|
+
address: nil,
|
547
|
+
affiliate: nil,
|
548
|
+
company: nil,
|
549
|
+
delivery: nil,
|
550
|
+
ends_at: nil,
|
551
|
+
genre: nil,
|
552
|
+
name: nil,
|
553
|
+
starts_at: nil
|
554
|
+
)
|
555
|
+
@access_controlled_venue = access_controlled_venue
|
556
|
+
@address = address
|
557
|
+
@affiliate = affiliate
|
558
|
+
@company = company
|
559
|
+
@delivery = delivery
|
560
|
+
@ends_at = ends_at
|
561
|
+
@genre = genre
|
562
|
+
@name = name
|
563
|
+
@starts_at = starts_at
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
class Flight < ::Stripe::RequestParams
|
568
|
+
class Affiliate < ::Stripe::RequestParams
|
569
|
+
# The name of the affiliate that originated the purchase.
|
570
|
+
attr_accessor :name
|
571
|
+
|
572
|
+
def initialize(name: nil)
|
573
|
+
@name = name
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
class Delivery < ::Stripe::RequestParams
|
578
|
+
class Recipient < ::Stripe::RequestParams
|
579
|
+
# The email of the recipient the ticket is delivered to.
|
580
|
+
attr_accessor :email
|
581
|
+
# The name of the recipient the ticket is delivered to.
|
582
|
+
attr_accessor :name
|
583
|
+
# The phone number of the recipient the ticket is delivered to.
|
584
|
+
attr_accessor :phone
|
585
|
+
|
586
|
+
def initialize(email: nil, name: nil, phone: nil)
|
587
|
+
@email = email
|
588
|
+
@name = name
|
589
|
+
@phone = phone
|
590
|
+
end
|
591
|
+
end
|
592
|
+
# The delivery method for the payment
|
593
|
+
attr_accessor :mode
|
594
|
+
# Details of the recipient.
|
595
|
+
attr_accessor :recipient
|
596
|
+
|
597
|
+
def initialize(mode: nil, recipient: nil)
|
598
|
+
@mode = mode
|
599
|
+
@recipient = recipient
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
class Passenger < ::Stripe::RequestParams
|
604
|
+
# Full name of the person or entity on the flight reservation.
|
605
|
+
attr_accessor :name
|
606
|
+
|
607
|
+
def initialize(name: nil)
|
608
|
+
@name = name
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
class Segment < ::Stripe::RequestParams
|
613
|
+
# The flight segment amount.
|
614
|
+
attr_accessor :amount
|
615
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
616
|
+
attr_accessor :arrival_airport
|
617
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
618
|
+
attr_accessor :arrives_at
|
619
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
620
|
+
attr_accessor :carrier
|
621
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
622
|
+
attr_accessor :departs_at
|
623
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
624
|
+
attr_accessor :departure_airport
|
625
|
+
# The flight number associated with the segment
|
626
|
+
attr_accessor :flight_number
|
627
|
+
# The fare class for the segment.
|
628
|
+
attr_accessor :service_class
|
629
|
+
|
630
|
+
def initialize(
|
631
|
+
amount: nil,
|
632
|
+
arrival_airport: nil,
|
633
|
+
arrives_at: nil,
|
634
|
+
carrier: nil,
|
635
|
+
departs_at: nil,
|
636
|
+
departure_airport: nil,
|
637
|
+
flight_number: nil,
|
638
|
+
service_class: nil
|
639
|
+
)
|
640
|
+
@amount = amount
|
641
|
+
@arrival_airport = arrival_airport
|
642
|
+
@arrives_at = arrives_at
|
643
|
+
@carrier = carrier
|
644
|
+
@departs_at = departs_at
|
645
|
+
@departure_airport = departure_airport
|
646
|
+
@flight_number = flight_number
|
647
|
+
@service_class = service_class
|
648
|
+
end
|
649
|
+
end
|
650
|
+
# Affiliate details for this purchase.
|
651
|
+
attr_accessor :affiliate
|
652
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
653
|
+
attr_accessor :agency_number
|
654
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
655
|
+
attr_accessor :carrier
|
656
|
+
# Delivery details for this purchase.
|
657
|
+
attr_accessor :delivery
|
658
|
+
# The name of the person or entity on the reservation.
|
659
|
+
attr_accessor :passenger_name
|
660
|
+
# The details of the passengers in the travel reservation.
|
661
|
+
attr_accessor :passengers
|
662
|
+
# The individual flight segments associated with the trip.
|
663
|
+
attr_accessor :segments
|
664
|
+
# The ticket number associated with the travel reservation.
|
665
|
+
attr_accessor :ticket_number
|
666
|
+
|
667
|
+
def initialize(
|
668
|
+
affiliate: nil,
|
669
|
+
agency_number: nil,
|
670
|
+
carrier: nil,
|
671
|
+
delivery: nil,
|
672
|
+
passenger_name: nil,
|
673
|
+
passengers: nil,
|
674
|
+
segments: nil,
|
675
|
+
ticket_number: nil
|
676
|
+
)
|
677
|
+
@affiliate = affiliate
|
678
|
+
@agency_number = agency_number
|
679
|
+
@carrier = carrier
|
680
|
+
@delivery = delivery
|
681
|
+
@passenger_name = passenger_name
|
682
|
+
@passengers = passengers
|
683
|
+
@segments = segments
|
684
|
+
@ticket_number = ticket_number
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
class Lodging < ::Stripe::RequestParams
|
689
|
+
class Address < ::Stripe::RequestParams
|
690
|
+
# City, district, suburb, town, or village.
|
691
|
+
attr_accessor :city
|
692
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
693
|
+
attr_accessor :country
|
694
|
+
# Address line 1, such as the street, PO Box, or company name.
|
695
|
+
attr_accessor :line1
|
696
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
697
|
+
attr_accessor :line2
|
698
|
+
# ZIP or postal code.
|
699
|
+
attr_accessor :postal_code
|
700
|
+
# State, county, province, or region.
|
701
|
+
attr_accessor :state
|
702
|
+
|
703
|
+
def initialize(
|
704
|
+
city: nil,
|
705
|
+
country: nil,
|
706
|
+
line1: nil,
|
707
|
+
line2: nil,
|
708
|
+
postal_code: nil,
|
709
|
+
state: nil
|
710
|
+
)
|
711
|
+
@city = city
|
712
|
+
@country = country
|
713
|
+
@line1 = line1
|
714
|
+
@line2 = line2
|
715
|
+
@postal_code = postal_code
|
716
|
+
@state = state
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|
720
|
+
class Affiliate < ::Stripe::RequestParams
|
721
|
+
# The name of the affiliate that originated the purchase.
|
722
|
+
attr_accessor :name
|
723
|
+
|
724
|
+
def initialize(name: nil)
|
725
|
+
@name = name
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
729
|
+
class Delivery < ::Stripe::RequestParams
|
730
|
+
class Recipient < ::Stripe::RequestParams
|
731
|
+
# The email of the recipient the ticket is delivered to.
|
732
|
+
attr_accessor :email
|
733
|
+
# The name of the recipient the ticket is delivered to.
|
734
|
+
attr_accessor :name
|
735
|
+
# The phone number of the recipient the ticket is delivered to.
|
736
|
+
attr_accessor :phone
|
737
|
+
|
738
|
+
def initialize(email: nil, name: nil, phone: nil)
|
739
|
+
@email = email
|
740
|
+
@name = name
|
741
|
+
@phone = phone
|
742
|
+
end
|
743
|
+
end
|
744
|
+
# The delivery method for the payment
|
745
|
+
attr_accessor :mode
|
746
|
+
# Details of the recipient.
|
747
|
+
attr_accessor :recipient
|
748
|
+
|
749
|
+
def initialize(mode: nil, recipient: nil)
|
750
|
+
@mode = mode
|
751
|
+
@recipient = recipient
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
class Passenger < ::Stripe::RequestParams
|
756
|
+
# Full name of the person or entity on the lodging reservation.
|
757
|
+
attr_accessor :name
|
758
|
+
|
759
|
+
def initialize(name: nil)
|
760
|
+
@name = name
|
761
|
+
end
|
762
|
+
end
|
763
|
+
# The lodging location's address.
|
764
|
+
attr_accessor :address
|
765
|
+
# The number of adults on the booking
|
766
|
+
attr_accessor :adults
|
767
|
+
# Affiliate details for this purchase.
|
768
|
+
attr_accessor :affiliate
|
769
|
+
# The booking number associated with the lodging reservation.
|
770
|
+
attr_accessor :booking_number
|
771
|
+
# The lodging category
|
772
|
+
attr_accessor :category
|
773
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
774
|
+
attr_accessor :checkin_at
|
775
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
776
|
+
attr_accessor :checkout_at
|
777
|
+
# The customer service phone number of the lodging company.
|
778
|
+
attr_accessor :customer_service_phone_number
|
779
|
+
# The daily lodging room rate.
|
780
|
+
attr_accessor :daily_room_rate_amount
|
781
|
+
# Delivery details for this purchase.
|
782
|
+
attr_accessor :delivery
|
783
|
+
# List of additional charges being billed.
|
784
|
+
attr_accessor :extra_charges
|
785
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
786
|
+
attr_accessor :fire_safety_act_compliance
|
787
|
+
# The name of the lodging location.
|
788
|
+
attr_accessor :name
|
789
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
790
|
+
attr_accessor :no_show
|
791
|
+
# The number of rooms on the booking
|
792
|
+
attr_accessor :number_of_rooms
|
793
|
+
# The details of the passengers in the travel reservation
|
794
|
+
attr_accessor :passengers
|
795
|
+
# The phone number of the lodging location.
|
796
|
+
attr_accessor :property_phone_number
|
797
|
+
# The room class for this purchase.
|
798
|
+
attr_accessor :room_class
|
799
|
+
# The number of room nights
|
800
|
+
attr_accessor :room_nights
|
801
|
+
# The total tax amount associating with the room reservation.
|
802
|
+
attr_accessor :total_room_tax_amount
|
803
|
+
# The total tax amount
|
804
|
+
attr_accessor :total_tax_amount
|
805
|
+
|
806
|
+
def initialize(
|
807
|
+
address: nil,
|
808
|
+
adults: nil,
|
809
|
+
affiliate: nil,
|
810
|
+
booking_number: nil,
|
811
|
+
category: nil,
|
812
|
+
checkin_at: nil,
|
813
|
+
checkout_at: nil,
|
814
|
+
customer_service_phone_number: nil,
|
815
|
+
daily_room_rate_amount: nil,
|
816
|
+
delivery: nil,
|
817
|
+
extra_charges: nil,
|
818
|
+
fire_safety_act_compliance: nil,
|
819
|
+
name: nil,
|
820
|
+
no_show: nil,
|
821
|
+
number_of_rooms: nil,
|
822
|
+
passengers: nil,
|
823
|
+
property_phone_number: nil,
|
824
|
+
room_class: nil,
|
825
|
+
room_nights: nil,
|
826
|
+
total_room_tax_amount: nil,
|
827
|
+
total_tax_amount: nil
|
828
|
+
)
|
829
|
+
@address = address
|
830
|
+
@adults = adults
|
831
|
+
@affiliate = affiliate
|
832
|
+
@booking_number = booking_number
|
833
|
+
@category = category
|
834
|
+
@checkin_at = checkin_at
|
835
|
+
@checkout_at = checkout_at
|
836
|
+
@customer_service_phone_number = customer_service_phone_number
|
837
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
838
|
+
@delivery = delivery
|
839
|
+
@extra_charges = extra_charges
|
840
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
841
|
+
@name = name
|
842
|
+
@no_show = no_show
|
843
|
+
@number_of_rooms = number_of_rooms
|
844
|
+
@passengers = passengers
|
845
|
+
@property_phone_number = property_phone_number
|
846
|
+
@room_class = room_class
|
847
|
+
@room_nights = room_nights
|
848
|
+
@total_room_tax_amount = total_room_tax_amount
|
849
|
+
@total_tax_amount = total_tax_amount
|
850
|
+
end
|
851
|
+
end
|
852
|
+
|
853
|
+
class Subscription < ::Stripe::RequestParams
|
854
|
+
class Affiliate < ::Stripe::RequestParams
|
855
|
+
# The name of the affiliate that originated the purchase.
|
856
|
+
attr_accessor :name
|
857
|
+
|
858
|
+
def initialize(name: nil)
|
859
|
+
@name = name
|
860
|
+
end
|
861
|
+
end
|
862
|
+
|
863
|
+
class BillingInterval < ::Stripe::RequestParams
|
864
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
865
|
+
attr_accessor :count
|
866
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
867
|
+
attr_accessor :interval
|
868
|
+
|
869
|
+
def initialize(count: nil, interval: nil)
|
870
|
+
@count = count
|
871
|
+
@interval = interval
|
872
|
+
end
|
873
|
+
end
|
874
|
+
# Affiliate details for this purchase.
|
875
|
+
attr_accessor :affiliate
|
876
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
877
|
+
attr_accessor :auto_renewal
|
878
|
+
# Subscription billing details for this purchase.
|
879
|
+
attr_accessor :billing_interval
|
880
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
881
|
+
attr_accessor :ends_at
|
882
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
883
|
+
attr_accessor :name
|
884
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
885
|
+
attr_accessor :starts_at
|
886
|
+
|
887
|
+
def initialize(
|
888
|
+
affiliate: nil,
|
889
|
+
auto_renewal: nil,
|
890
|
+
billing_interval: nil,
|
891
|
+
ends_at: nil,
|
892
|
+
name: nil,
|
893
|
+
starts_at: nil
|
894
|
+
)
|
895
|
+
@affiliate = affiliate
|
896
|
+
@auto_renewal = auto_renewal
|
897
|
+
@billing_interval = billing_interval
|
898
|
+
@ends_at = ends_at
|
899
|
+
@name = name
|
900
|
+
@starts_at = starts_at
|
901
|
+
end
|
902
|
+
end
|
903
|
+
# Car rental details for this PaymentIntent.
|
904
|
+
attr_accessor :car_rental
|
905
|
+
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
906
|
+
attr_accessor :customer_reference
|
907
|
+
# Event details for this PaymentIntent
|
908
|
+
attr_accessor :event_details
|
909
|
+
# Flight reservation details for this PaymentIntent
|
910
|
+
attr_accessor :flight
|
911
|
+
# Lodging reservation details for this PaymentIntent
|
912
|
+
attr_accessor :lodging
|
913
|
+
# A unique value assigned by the business to identify the transaction.
|
914
|
+
attr_accessor :order_reference
|
915
|
+
# Subscription details for this PaymentIntent
|
916
|
+
attr_accessor :subscription
|
917
|
+
# Benefit details for this PaymentIntent
|
918
|
+
attr_accessor :benefit
|
919
|
+
|
920
|
+
def initialize(
|
921
|
+
car_rental: nil,
|
922
|
+
customer_reference: nil,
|
923
|
+
event_details: nil,
|
924
|
+
flight: nil,
|
925
|
+
lodging: nil,
|
926
|
+
order_reference: nil,
|
927
|
+
subscription: nil,
|
928
|
+
benefit: nil
|
929
|
+
)
|
930
|
+
@car_rental = car_rental
|
931
|
+
@customer_reference = customer_reference
|
932
|
+
@event_details = event_details
|
933
|
+
@flight = flight
|
934
|
+
@lodging = lodging
|
935
|
+
@order_reference = order_reference
|
936
|
+
@subscription = subscription
|
937
|
+
@benefit = benefit
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
941
|
+
class PaymentMethodData < ::Stripe::RequestParams
|
942
|
+
class AcssDebit < ::Stripe::RequestParams
|
8
943
|
# Customer's bank account number.
|
9
944
|
attr_accessor :account_number
|
10
945
|
# Institution number of the customer's bank.
|
@@ -19,13 +954,13 @@ module Stripe
|
|
19
954
|
end
|
20
955
|
end
|
21
956
|
|
22
|
-
class Affirm < Stripe::RequestParams; end
|
23
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
24
|
-
class Alipay < Stripe::RequestParams; end
|
25
|
-
class Alma < Stripe::RequestParams; end
|
26
|
-
class AmazonPay < Stripe::RequestParams; end
|
957
|
+
class Affirm < ::Stripe::RequestParams; end
|
958
|
+
class AfterpayClearpay < ::Stripe::RequestParams; end
|
959
|
+
class Alipay < ::Stripe::RequestParams; end
|
960
|
+
class Alma < ::Stripe::RequestParams; end
|
961
|
+
class AmazonPay < ::Stripe::RequestParams; end
|
27
962
|
|
28
|
-
class AuBecsDebit < Stripe::RequestParams
|
963
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
29
964
|
# The account number for the bank account.
|
30
965
|
attr_accessor :account_number
|
31
966
|
# Bank-State-Branch number of the bank account.
|
@@ -37,7 +972,7 @@ module Stripe
|
|
37
972
|
end
|
38
973
|
end
|
39
974
|
|
40
|
-
class BacsDebit < Stripe::RequestParams
|
975
|
+
class BacsDebit < ::Stripe::RequestParams
|
41
976
|
# Account number of the bank account that the funds will be debited from.
|
42
977
|
attr_accessor :account_number
|
43
978
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
@@ -49,11 +984,11 @@ module Stripe
|
|
49
984
|
end
|
50
985
|
end
|
51
986
|
|
52
|
-
class Bancontact < Stripe::RequestParams; end
|
53
|
-
class Billie < Stripe::RequestParams; end
|
987
|
+
class Bancontact < ::Stripe::RequestParams; end
|
988
|
+
class Billie < ::Stripe::RequestParams; end
|
54
989
|
|
55
|
-
class BillingDetails < Stripe::RequestParams
|
56
|
-
class Address < Stripe::RequestParams
|
990
|
+
class BillingDetails < ::Stripe::RequestParams
|
991
|
+
class Address < ::Stripe::RequestParams
|
57
992
|
# City, district, suburb, town, or village.
|
58
993
|
attr_accessor :city
|
59
994
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -103,9 +1038,9 @@ module Stripe
|
|
103
1038
|
end
|
104
1039
|
end
|
105
1040
|
|
106
|
-
class Blik < Stripe::RequestParams; end
|
1041
|
+
class Blik < ::Stripe::RequestParams; end
|
107
1042
|
|
108
|
-
class Boleto < Stripe::RequestParams
|
1043
|
+
class Boleto < ::Stripe::RequestParams
|
109
1044
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
110
1045
|
attr_accessor :tax_id
|
111
1046
|
|
@@ -114,11 +1049,11 @@ module Stripe
|
|
114
1049
|
end
|
115
1050
|
end
|
116
1051
|
|
117
|
-
class Cashapp < Stripe::RequestParams; end
|
118
|
-
class Crypto < Stripe::RequestParams; end
|
119
|
-
class CustomerBalance < Stripe::RequestParams; end
|
1052
|
+
class Cashapp < ::Stripe::RequestParams; end
|
1053
|
+
class Crypto < ::Stripe::RequestParams; end
|
1054
|
+
class CustomerBalance < ::Stripe::RequestParams; end
|
120
1055
|
|
121
|
-
class Eps < Stripe::RequestParams
|
1056
|
+
class Eps < ::Stripe::RequestParams
|
122
1057
|
# The customer's bank.
|
123
1058
|
attr_accessor :bank
|
124
1059
|
|
@@ -127,7 +1062,7 @@ module Stripe
|
|
127
1062
|
end
|
128
1063
|
end
|
129
1064
|
|
130
|
-
class Fpx < Stripe::RequestParams
|
1065
|
+
class Fpx < ::Stripe::RequestParams
|
131
1066
|
# Account holder type for FPX transaction
|
132
1067
|
attr_accessor :account_holder_type
|
133
1068
|
# The customer's bank.
|
@@ -139,10 +1074,20 @@ module Stripe
|
|
139
1074
|
end
|
140
1075
|
end
|
141
1076
|
|
142
|
-
class Giropay < Stripe::RequestParams; end
|
143
|
-
class
|
1077
|
+
class Giropay < ::Stripe::RequestParams; end
|
1078
|
+
class Gopay < ::Stripe::RequestParams; end
|
1079
|
+
class Grabpay < ::Stripe::RequestParams; end
|
1080
|
+
|
1081
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
1082
|
+
# Bank where the account is held.
|
1083
|
+
attr_accessor :bank
|
1084
|
+
|
1085
|
+
def initialize(bank: nil)
|
1086
|
+
@bank = bank
|
1087
|
+
end
|
1088
|
+
end
|
144
1089
|
|
145
|
-
class Ideal < Stripe::RequestParams
|
1090
|
+
class Ideal < ::Stripe::RequestParams
|
146
1091
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
147
1092
|
attr_accessor :bank
|
148
1093
|
|
@@ -151,11 +1096,11 @@ module Stripe
|
|
151
1096
|
end
|
152
1097
|
end
|
153
1098
|
|
154
|
-
class InteracPresent < Stripe::RequestParams; end
|
155
|
-
class KakaoPay < Stripe::RequestParams; end
|
1099
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
1100
|
+
class KakaoPay < ::Stripe::RequestParams; end
|
156
1101
|
|
157
|
-
class Klarna < Stripe::RequestParams
|
158
|
-
class Dob < Stripe::RequestParams
|
1102
|
+
class Klarna < ::Stripe::RequestParams
|
1103
|
+
class Dob < ::Stripe::RequestParams
|
159
1104
|
# The day of birth, between 1 and 31.
|
160
1105
|
attr_accessor :day
|
161
1106
|
# The month of birth, between 1 and 12.
|
@@ -177,14 +1122,14 @@ module Stripe
|
|
177
1122
|
end
|
178
1123
|
end
|
179
1124
|
|
180
|
-
class Konbini < Stripe::RequestParams; end
|
181
|
-
class KrCard < Stripe::RequestParams; end
|
182
|
-
class Link < Stripe::RequestParams; end
|
183
|
-
class MbWay < Stripe::RequestParams; end
|
184
|
-
class Mobilepay < Stripe::RequestParams; end
|
185
|
-
class Multibanco < Stripe::RequestParams; end
|
1125
|
+
class Konbini < ::Stripe::RequestParams; end
|
1126
|
+
class KrCard < ::Stripe::RequestParams; end
|
1127
|
+
class Link < ::Stripe::RequestParams; end
|
1128
|
+
class MbWay < ::Stripe::RequestParams; end
|
1129
|
+
class Mobilepay < ::Stripe::RequestParams; end
|
1130
|
+
class Multibanco < ::Stripe::RequestParams; end
|
186
1131
|
|
187
|
-
class NaverPay < Stripe::RequestParams
|
1132
|
+
class NaverPay < ::Stripe::RequestParams
|
188
1133
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
189
1134
|
attr_accessor :funding
|
190
1135
|
|
@@ -193,7 +1138,7 @@ module Stripe
|
|
193
1138
|
end
|
194
1139
|
end
|
195
1140
|
|
196
|
-
class NzBankAccount < Stripe::RequestParams
|
1141
|
+
class NzBankAccount < ::Stripe::RequestParams
|
197
1142
|
# The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
198
1143
|
attr_accessor :account_holder_name
|
199
1144
|
# The account number for the bank account.
|
@@ -224,9 +1169,9 @@ module Stripe
|
|
224
1169
|
end
|
225
1170
|
end
|
226
1171
|
|
227
|
-
class Oxxo < Stripe::RequestParams; end
|
1172
|
+
class Oxxo < ::Stripe::RequestParams; end
|
228
1173
|
|
229
|
-
class P24 < Stripe::RequestParams
|
1174
|
+
class P24 < ::Stripe::RequestParams
|
230
1175
|
# The customer's bank.
|
231
1176
|
attr_accessor :bank
|
232
1177
|
|
@@ -235,14 +1180,32 @@ module Stripe
|
|
235
1180
|
end
|
236
1181
|
end
|
237
1182
|
|
238
|
-
class PayByBank < Stripe::RequestParams; end
|
239
|
-
class Payco < Stripe::RequestParams; end
|
240
|
-
class Paynow < Stripe::RequestParams; end
|
241
|
-
class Paypal < Stripe::RequestParams; end
|
242
|
-
class
|
243
|
-
class Promptpay < Stripe::RequestParams; end
|
1183
|
+
class PayByBank < ::Stripe::RequestParams; end
|
1184
|
+
class Payco < ::Stripe::RequestParams; end
|
1185
|
+
class Paynow < ::Stripe::RequestParams; end
|
1186
|
+
class Paypal < ::Stripe::RequestParams; end
|
1187
|
+
class Paypay < ::Stripe::RequestParams; end
|
244
1188
|
|
245
|
-
class
|
1189
|
+
class Payto < ::Stripe::RequestParams
|
1190
|
+
# The account number for the bank account.
|
1191
|
+
attr_accessor :account_number
|
1192
|
+
# Bank-State-Branch number of the bank account.
|
1193
|
+
attr_accessor :bsb_number
|
1194
|
+
# The PayID alias for the bank account.
|
1195
|
+
attr_accessor :pay_id
|
1196
|
+
|
1197
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1198
|
+
@account_number = account_number
|
1199
|
+
@bsb_number = bsb_number
|
1200
|
+
@pay_id = pay_id
|
1201
|
+
end
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
class Pix < ::Stripe::RequestParams; end
|
1205
|
+
class Promptpay < ::Stripe::RequestParams; end
|
1206
|
+
class Qris < ::Stripe::RequestParams; end
|
1207
|
+
|
1208
|
+
class RadarOptions < ::Stripe::RequestParams
|
246
1209
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
247
1210
|
attr_accessor :session
|
248
1211
|
|
@@ -251,11 +1214,34 @@ module Stripe
|
|
251
1214
|
end
|
252
1215
|
end
|
253
1216
|
|
254
|
-
class
|
255
|
-
|
256
|
-
|
1217
|
+
class Rechnung < ::Stripe::RequestParams
|
1218
|
+
class Dob < ::Stripe::RequestParams
|
1219
|
+
# The day of birth, between 1 and 31.
|
1220
|
+
attr_accessor :day
|
1221
|
+
# The month of birth, between 1 and 12.
|
1222
|
+
attr_accessor :month
|
1223
|
+
# The four-digit year of birth.
|
1224
|
+
attr_accessor :year
|
1225
|
+
|
1226
|
+
def initialize(day: nil, month: nil, year: nil)
|
1227
|
+
@day = day
|
1228
|
+
@month = month
|
1229
|
+
@year = year
|
1230
|
+
end
|
1231
|
+
end
|
1232
|
+
# Customer's date of birth
|
1233
|
+
attr_accessor :dob
|
1234
|
+
|
1235
|
+
def initialize(dob: nil)
|
1236
|
+
@dob = dob
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
class RevolutPay < ::Stripe::RequestParams; end
|
1241
|
+
class SamsungPay < ::Stripe::RequestParams; end
|
1242
|
+
class Satispay < ::Stripe::RequestParams; end
|
257
1243
|
|
258
|
-
class SepaDebit < Stripe::RequestParams
|
1244
|
+
class SepaDebit < ::Stripe::RequestParams
|
259
1245
|
# IBAN of the bank account.
|
260
1246
|
attr_accessor :iban
|
261
1247
|
|
@@ -264,7 +1250,9 @@ module Stripe
|
|
264
1250
|
end
|
265
1251
|
end
|
266
1252
|
|
267
|
-
class
|
1253
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
1254
|
+
|
1255
|
+
class Sofort < ::Stripe::RequestParams
|
268
1256
|
# Two-letter ISO code representing the country the bank account is located in.
|
269
1257
|
attr_accessor :country
|
270
1258
|
|
@@ -273,10 +1261,22 @@ module Stripe
|
|
273
1261
|
end
|
274
1262
|
end
|
275
1263
|
|
276
|
-
class
|
277
|
-
|
1264
|
+
class StripeBalance < ::Stripe::RequestParams
|
1265
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1266
|
+
attr_accessor :account
|
1267
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1268
|
+
attr_accessor :source_type
|
1269
|
+
|
1270
|
+
def initialize(account: nil, source_type: nil)
|
1271
|
+
@account = account
|
1272
|
+
@source_type = source_type
|
1273
|
+
end
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
class Swish < ::Stripe::RequestParams; end
|
1277
|
+
class Twint < ::Stripe::RequestParams; end
|
278
1278
|
|
279
|
-
class UsBankAccount < Stripe::RequestParams
|
1279
|
+
class UsBankAccount < ::Stripe::RequestParams
|
280
1280
|
# Account holder type: individual or company.
|
281
1281
|
attr_accessor :account_holder_type
|
282
1282
|
# Account number of the bank account.
|
@@ -303,8 +1303,8 @@ module Stripe
|
|
303
1303
|
end
|
304
1304
|
end
|
305
1305
|
|
306
|
-
class WechatPay < Stripe::RequestParams; end
|
307
|
-
class Zip < Stripe::RequestParams; end
|
1306
|
+
class WechatPay < ::Stripe::RequestParams; end
|
1307
|
+
class Zip < ::Stripe::RequestParams; end
|
308
1308
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
309
1309
|
attr_accessor :acss_debit
|
310
1310
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -345,8 +1345,12 @@ module Stripe
|
|
345
1345
|
attr_accessor :fpx
|
346
1346
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
347
1347
|
attr_accessor :giropay
|
1348
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1349
|
+
attr_accessor :gopay
|
348
1350
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
349
1351
|
attr_accessor :grabpay
|
1352
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1353
|
+
attr_accessor :id_bank_transfer
|
350
1354
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
351
1355
|
attr_accessor :ideal
|
352
1356
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -385,12 +1389,20 @@ module Stripe
|
|
385
1389
|
attr_accessor :paynow
|
386
1390
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
387
1391
|
attr_accessor :paypal
|
1392
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
1393
|
+
attr_accessor :paypay
|
1394
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1395
|
+
attr_accessor :payto
|
388
1396
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
389
1397
|
attr_accessor :pix
|
390
1398
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
391
1399
|
attr_accessor :promptpay
|
1400
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1401
|
+
attr_accessor :qris
|
392
1402
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
393
1403
|
attr_accessor :radar_options
|
1404
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1405
|
+
attr_accessor :rechnung
|
394
1406
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
395
1407
|
attr_accessor :revolut_pay
|
396
1408
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -399,8 +1411,12 @@ module Stripe
|
|
399
1411
|
attr_accessor :satispay
|
400
1412
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
401
1413
|
attr_accessor :sepa_debit
|
1414
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1415
|
+
attr_accessor :shopeepay
|
402
1416
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
403
1417
|
attr_accessor :sofort
|
1418
|
+
# This hash contains details about the Stripe balance payment method.
|
1419
|
+
attr_accessor :stripe_balance
|
404
1420
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
405
1421
|
attr_accessor :swish
|
406
1422
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -435,7 +1451,9 @@ module Stripe
|
|
435
1451
|
eps: nil,
|
436
1452
|
fpx: nil,
|
437
1453
|
giropay: nil,
|
1454
|
+
gopay: nil,
|
438
1455
|
grabpay: nil,
|
1456
|
+
id_bank_transfer: nil,
|
439
1457
|
ideal: nil,
|
440
1458
|
interac_present: nil,
|
441
1459
|
kakao_pay: nil,
|
@@ -455,14 +1473,20 @@ module Stripe
|
|
455
1473
|
payco: nil,
|
456
1474
|
paynow: nil,
|
457
1475
|
paypal: nil,
|
1476
|
+
paypay: nil,
|
1477
|
+
payto: nil,
|
458
1478
|
pix: nil,
|
459
1479
|
promptpay: nil,
|
1480
|
+
qris: nil,
|
460
1481
|
radar_options: nil,
|
1482
|
+
rechnung: nil,
|
461
1483
|
revolut_pay: nil,
|
462
1484
|
samsung_pay: nil,
|
463
1485
|
satispay: nil,
|
464
1486
|
sepa_debit: nil,
|
1487
|
+
shopeepay: nil,
|
465
1488
|
sofort: nil,
|
1489
|
+
stripe_balance: nil,
|
466
1490
|
swish: nil,
|
467
1491
|
twint: nil,
|
468
1492
|
type: nil,
|
@@ -490,7 +1514,9 @@ module Stripe
|
|
490
1514
|
@eps = eps
|
491
1515
|
@fpx = fpx
|
492
1516
|
@giropay = giropay
|
1517
|
+
@gopay = gopay
|
493
1518
|
@grabpay = grabpay
|
1519
|
+
@id_bank_transfer = id_bank_transfer
|
494
1520
|
@ideal = ideal
|
495
1521
|
@interac_present = interac_present
|
496
1522
|
@kakao_pay = kakao_pay
|
@@ -510,14 +1536,20 @@ module Stripe
|
|
510
1536
|
@payco = payco
|
511
1537
|
@paynow = paynow
|
512
1538
|
@paypal = paypal
|
1539
|
+
@paypay = paypay
|
1540
|
+
@payto = payto
|
513
1541
|
@pix = pix
|
514
1542
|
@promptpay = promptpay
|
1543
|
+
@qris = qris
|
515
1544
|
@radar_options = radar_options
|
1545
|
+
@rechnung = rechnung
|
516
1546
|
@revolut_pay = revolut_pay
|
517
1547
|
@samsung_pay = samsung_pay
|
518
1548
|
@satispay = satispay
|
519
1549
|
@sepa_debit = sepa_debit
|
1550
|
+
@shopeepay = shopeepay
|
520
1551
|
@sofort = sofort
|
1552
|
+
@stripe_balance = stripe_balance
|
521
1553
|
@swish = swish
|
522
1554
|
@twint = twint
|
523
1555
|
@type = type
|
@@ -527,9 +1559,9 @@ module Stripe
|
|
527
1559
|
end
|
528
1560
|
end
|
529
1561
|
|
530
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
531
|
-
class AcssDebit < Stripe::RequestParams
|
532
|
-
class MandateOptions < Stripe::RequestParams
|
1562
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
1563
|
+
class AcssDebit < ::Stripe::RequestParams
|
1564
|
+
class MandateOptions < ::Stripe::RequestParams
|
533
1565
|
# A URL for custom mandate text to render during confirmation step.
|
534
1566
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
535
1567
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
@@ -583,7 +1615,7 @@ module Stripe
|
|
583
1615
|
end
|
584
1616
|
end
|
585
1617
|
|
586
|
-
class Affirm < Stripe::RequestParams
|
1618
|
+
class Affirm < ::Stripe::RequestParams
|
587
1619
|
# Controls when the funds are captured from the customer's account.
|
588
1620
|
#
|
589
1621
|
# 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.
|
@@ -610,7 +1642,7 @@ module Stripe
|
|
610
1642
|
end
|
611
1643
|
end
|
612
1644
|
|
613
|
-
class AfterpayClearpay < Stripe::RequestParams
|
1645
|
+
class AfterpayClearpay < ::Stripe::RequestParams
|
614
1646
|
# Controls when the funds are captured from the customer's account.
|
615
1647
|
#
|
616
1648
|
# 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.
|
@@ -638,7 +1670,7 @@ module Stripe
|
|
638
1670
|
end
|
639
1671
|
end
|
640
1672
|
|
641
|
-
class Alipay < Stripe::RequestParams
|
1673
|
+
class Alipay < ::Stripe::RequestParams
|
642
1674
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
643
1675
|
#
|
644
1676
|
# 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.
|
@@ -655,7 +1687,7 @@ module Stripe
|
|
655
1687
|
end
|
656
1688
|
end
|
657
1689
|
|
658
|
-
class Alma < Stripe::RequestParams
|
1690
|
+
class Alma < ::Stripe::RequestParams
|
659
1691
|
# Controls when the funds are captured from the customer's account.
|
660
1692
|
#
|
661
1693
|
# 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.
|
@@ -668,7 +1700,7 @@ module Stripe
|
|
668
1700
|
end
|
669
1701
|
end
|
670
1702
|
|
671
|
-
class AmazonPay < Stripe::RequestParams
|
1703
|
+
class AmazonPay < ::Stripe::RequestParams
|
672
1704
|
# Controls when the funds are captured from the customer's account.
|
673
1705
|
#
|
674
1706
|
# 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.
|
@@ -690,7 +1722,7 @@ module Stripe
|
|
690
1722
|
end
|
691
1723
|
end
|
692
1724
|
|
693
|
-
class AuBecsDebit < Stripe::RequestParams
|
1725
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
694
1726
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
695
1727
|
#
|
696
1728
|
# 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.
|
@@ -710,8 +1742,8 @@ module Stripe
|
|
710
1742
|
end
|
711
1743
|
end
|
712
1744
|
|
713
|
-
class BacsDebit < Stripe::RequestParams
|
714
|
-
class MandateOptions < Stripe::RequestParams
|
1745
|
+
class BacsDebit < ::Stripe::RequestParams
|
1746
|
+
class MandateOptions < ::Stripe::RequestParams
|
715
1747
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
716
1748
|
attr_accessor :reference_prefix
|
717
1749
|
|
@@ -741,7 +1773,7 @@ module Stripe
|
|
741
1773
|
end
|
742
1774
|
end
|
743
1775
|
|
744
|
-
class Bancontact < Stripe::RequestParams
|
1776
|
+
class Bancontact < ::Stripe::RequestParams
|
745
1777
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
746
1778
|
attr_accessor :preferred_language
|
747
1779
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -761,7 +1793,7 @@ module Stripe
|
|
761
1793
|
end
|
762
1794
|
end
|
763
1795
|
|
764
|
-
class Billie < Stripe::RequestParams
|
1796
|
+
class Billie < ::Stripe::RequestParams
|
765
1797
|
# Controls when the funds are captured from the customer's account.
|
766
1798
|
#
|
767
1799
|
# 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.
|
@@ -774,7 +1806,7 @@ module Stripe
|
|
774
1806
|
end
|
775
1807
|
end
|
776
1808
|
|
777
|
-
class Blik < Stripe::RequestParams
|
1809
|
+
class Blik < ::Stripe::RequestParams
|
778
1810
|
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
779
1811
|
attr_accessor :code
|
780
1812
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -794,7 +1826,7 @@ module Stripe
|
|
794
1826
|
end
|
795
1827
|
end
|
796
1828
|
|
797
|
-
class Boleto < Stripe::RequestParams
|
1829
|
+
class Boleto < ::Stripe::RequestParams
|
798
1830
|
# The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
799
1831
|
attr_accessor :expires_after_days
|
800
1832
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -814,9 +1846,9 @@ module Stripe
|
|
814
1846
|
end
|
815
1847
|
end
|
816
1848
|
|
817
|
-
class Card < Stripe::RequestParams
|
818
|
-
class Installments < Stripe::RequestParams
|
819
|
-
class Plan < Stripe::RequestParams
|
1849
|
+
class Card < ::Stripe::RequestParams
|
1850
|
+
class Installments < ::Stripe::RequestParams
|
1851
|
+
class Plan < ::Stripe::RequestParams
|
820
1852
|
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
821
1853
|
attr_accessor :count
|
822
1854
|
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
@@ -845,7 +1877,7 @@ module Stripe
|
|
845
1877
|
end
|
846
1878
|
end
|
847
1879
|
|
848
|
-
class MandateOptions < Stripe::RequestParams
|
1880
|
+
class MandateOptions < ::Stripe::RequestParams
|
849
1881
|
# Amount to be charged for future payments.
|
850
1882
|
attr_accessor :amount
|
851
1883
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
@@ -888,9 +1920,51 @@ module Stripe
|
|
888
1920
|
end
|
889
1921
|
end
|
890
1922
|
|
891
|
-
class
|
892
|
-
class
|
893
|
-
|
1923
|
+
class StatementDetails < ::Stripe::RequestParams
|
1924
|
+
class Address < ::Stripe::RequestParams
|
1925
|
+
# City, district, suburb, town, or village.
|
1926
|
+
attr_accessor :city
|
1927
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1928
|
+
attr_accessor :country
|
1929
|
+
# Address line 1, such as the street, PO Box, or company name.
|
1930
|
+
attr_accessor :line1
|
1931
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
1932
|
+
attr_accessor :line2
|
1933
|
+
# ZIP or postal code.
|
1934
|
+
attr_accessor :postal_code
|
1935
|
+
# State, county, province, or region.
|
1936
|
+
attr_accessor :state
|
1937
|
+
|
1938
|
+
def initialize(
|
1939
|
+
city: nil,
|
1940
|
+
country: nil,
|
1941
|
+
line1: nil,
|
1942
|
+
line2: nil,
|
1943
|
+
postal_code: nil,
|
1944
|
+
state: nil
|
1945
|
+
)
|
1946
|
+
@city = city
|
1947
|
+
@country = country
|
1948
|
+
@line1 = line1
|
1949
|
+
@line2 = line2
|
1950
|
+
@postal_code = postal_code
|
1951
|
+
@state = state
|
1952
|
+
end
|
1953
|
+
end
|
1954
|
+
# Please pass in an address that is within your Stripe user account country
|
1955
|
+
attr_accessor :address
|
1956
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
1957
|
+
attr_accessor :phone
|
1958
|
+
|
1959
|
+
def initialize(address: nil, phone: nil)
|
1960
|
+
@address = address
|
1961
|
+
@phone = phone
|
1962
|
+
end
|
1963
|
+
end
|
1964
|
+
|
1965
|
+
class ThreeDSecure < ::Stripe::RequestParams
|
1966
|
+
class NetworkOptions < ::Stripe::RequestParams
|
1967
|
+
class CartesBancaires < ::Stripe::RequestParams
|
894
1968
|
# The cryptogram calculation algorithm used by the card Issuer's ACS
|
895
1969
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
896
1970
|
# messageExtension: CB-AVALGO
|
@@ -982,6 +2056,8 @@ module Stripe
|
|
982
2056
|
attr_accessor :moto
|
983
2057
|
# 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.
|
984
2058
|
attr_accessor :network
|
2059
|
+
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
2060
|
+
attr_accessor :request_decremental_authorization
|
985
2061
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
986
2062
|
attr_accessor :request_extended_authorization
|
987
2063
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
@@ -990,6 +2066,8 @@ module Stripe
|
|
990
2066
|
attr_accessor :request_multicapture
|
991
2067
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
992
2068
|
attr_accessor :request_overcapture
|
2069
|
+
# Request partial authorization on this PaymentIntent.
|
2070
|
+
attr_accessor :request_partial_authorization
|
993
2071
|
# 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://stripe.com/docs/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://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
994
2072
|
attr_accessor :request_three_d_secure
|
995
2073
|
# 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).
|
@@ -1008,6 +2086,8 @@ module Stripe
|
|
1008
2086
|
attr_accessor :statement_descriptor_suffix_kana
|
1009
2087
|
# 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.
|
1010
2088
|
attr_accessor :statement_descriptor_suffix_kanji
|
2089
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
2090
|
+
attr_accessor :statement_details
|
1011
2091
|
# If 3D Secure authentication was performed with a third-party provider,
|
1012
2092
|
# the authentication details to use for this payment.
|
1013
2093
|
attr_accessor :three_d_secure
|
@@ -1019,15 +2099,18 @@ module Stripe
|
|
1019
2099
|
mandate_options: nil,
|
1020
2100
|
moto: nil,
|
1021
2101
|
network: nil,
|
2102
|
+
request_decremental_authorization: nil,
|
1022
2103
|
request_extended_authorization: nil,
|
1023
2104
|
request_incremental_authorization: nil,
|
1024
2105
|
request_multicapture: nil,
|
1025
2106
|
request_overcapture: nil,
|
2107
|
+
request_partial_authorization: nil,
|
1026
2108
|
request_three_d_secure: nil,
|
1027
2109
|
require_cvc_recollection: nil,
|
1028
2110
|
setup_future_usage: nil,
|
1029
2111
|
statement_descriptor_suffix_kana: nil,
|
1030
2112
|
statement_descriptor_suffix_kanji: nil,
|
2113
|
+
statement_details: nil,
|
1031
2114
|
three_d_secure: nil
|
1032
2115
|
)
|
1033
2116
|
@capture_method = capture_method
|
@@ -1036,21 +2119,24 @@ module Stripe
|
|
1036
2119
|
@mandate_options = mandate_options
|
1037
2120
|
@moto = moto
|
1038
2121
|
@network = network
|
2122
|
+
@request_decremental_authorization = request_decremental_authorization
|
1039
2123
|
@request_extended_authorization = request_extended_authorization
|
1040
2124
|
@request_incremental_authorization = request_incremental_authorization
|
1041
2125
|
@request_multicapture = request_multicapture
|
1042
2126
|
@request_overcapture = request_overcapture
|
2127
|
+
@request_partial_authorization = request_partial_authorization
|
1043
2128
|
@request_three_d_secure = request_three_d_secure
|
1044
2129
|
@require_cvc_recollection = require_cvc_recollection
|
1045
2130
|
@setup_future_usage = setup_future_usage
|
1046
2131
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
1047
2132
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
2133
|
+
@statement_details = statement_details
|
1048
2134
|
@three_d_secure = three_d_secure
|
1049
2135
|
end
|
1050
2136
|
end
|
1051
2137
|
|
1052
|
-
class CardPresent < Stripe::RequestParams
|
1053
|
-
class Routing < Stripe::RequestParams
|
2138
|
+
class CardPresent < ::Stripe::RequestParams
|
2139
|
+
class Routing < ::Stripe::RequestParams
|
1054
2140
|
# Routing requested priority
|
1055
2141
|
attr_accessor :requested_priority
|
1056
2142
|
|
@@ -1076,7 +2162,7 @@ module Stripe
|
|
1076
2162
|
end
|
1077
2163
|
end
|
1078
2164
|
|
1079
|
-
class Cashapp < Stripe::RequestParams
|
2165
|
+
class Cashapp < ::Stripe::RequestParams
|
1080
2166
|
# Controls when the funds are captured from the customer's account.
|
1081
2167
|
#
|
1082
2168
|
# 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.
|
@@ -1100,7 +2186,7 @@ module Stripe
|
|
1100
2186
|
end
|
1101
2187
|
end
|
1102
2188
|
|
1103
|
-
class Crypto < Stripe::RequestParams
|
2189
|
+
class Crypto < ::Stripe::RequestParams
|
1104
2190
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1105
2191
|
#
|
1106
2192
|
# 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.
|
@@ -1117,9 +2203,9 @@ module Stripe
|
|
1117
2203
|
end
|
1118
2204
|
end
|
1119
2205
|
|
1120
|
-
class CustomerBalance < Stripe::RequestParams
|
1121
|
-
class BankTransfer < Stripe::RequestParams
|
1122
|
-
class EuBankTransfer < Stripe::RequestParams
|
2206
|
+
class CustomerBalance < ::Stripe::RequestParams
|
2207
|
+
class BankTransfer < ::Stripe::RequestParams
|
2208
|
+
class EuBankTransfer < ::Stripe::RequestParams
|
1123
2209
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
1124
2210
|
attr_accessor :country
|
1125
2211
|
|
@@ -1164,7 +2250,24 @@ module Stripe
|
|
1164
2250
|
end
|
1165
2251
|
end
|
1166
2252
|
|
1167
|
-
class Eps < Stripe::RequestParams
|
2253
|
+
class Eps < ::Stripe::RequestParams
|
2254
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2255
|
+
#
|
2256
|
+
# 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.
|
2257
|
+
#
|
2258
|
+
# 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.
|
2259
|
+
#
|
2260
|
+
# 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).
|
2261
|
+
#
|
2262
|
+
# 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`.
|
2263
|
+
attr_accessor :setup_future_usage
|
2264
|
+
|
2265
|
+
def initialize(setup_future_usage: nil)
|
2266
|
+
@setup_future_usage = setup_future_usage
|
2267
|
+
end
|
2268
|
+
end
|
2269
|
+
|
2270
|
+
class Fpx < ::Stripe::RequestParams
|
1168
2271
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1169
2272
|
#
|
1170
2273
|
# 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.
|
@@ -1181,7 +2284,7 @@ module Stripe
|
|
1181
2284
|
end
|
1182
2285
|
end
|
1183
2286
|
|
1184
|
-
class
|
2287
|
+
class Giropay < ::Stripe::RequestParams
|
1185
2288
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1186
2289
|
#
|
1187
2290
|
# 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.
|
@@ -1198,7 +2301,7 @@ module Stripe
|
|
1198
2301
|
end
|
1199
2302
|
end
|
1200
2303
|
|
1201
|
-
class
|
2304
|
+
class Gopay < ::Stripe::RequestParams
|
1202
2305
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1203
2306
|
#
|
1204
2307
|
# 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.
|
@@ -1215,7 +2318,7 @@ module Stripe
|
|
1215
2318
|
end
|
1216
2319
|
end
|
1217
2320
|
|
1218
|
-
class Grabpay < Stripe::RequestParams
|
2321
|
+
class Grabpay < ::Stripe::RequestParams
|
1219
2322
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1220
2323
|
#
|
1221
2324
|
# 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.
|
@@ -1232,7 +2335,30 @@ module Stripe
|
|
1232
2335
|
end
|
1233
2336
|
end
|
1234
2337
|
|
1235
|
-
class
|
2338
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
2339
|
+
# 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.
|
2340
|
+
attr_accessor :expires_after
|
2341
|
+
# 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.
|
2342
|
+
attr_accessor :expires_at
|
2343
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2344
|
+
#
|
2345
|
+
# 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.
|
2346
|
+
#
|
2347
|
+
# 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.
|
2348
|
+
#
|
2349
|
+
# 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).
|
2350
|
+
#
|
2351
|
+
# 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`.
|
2352
|
+
attr_accessor :setup_future_usage
|
2353
|
+
|
2354
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
2355
|
+
@expires_after = expires_after
|
2356
|
+
@expires_at = expires_at
|
2357
|
+
@setup_future_usage = setup_future_usage
|
2358
|
+
end
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
class Ideal < ::Stripe::RequestParams
|
1236
2362
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1237
2363
|
#
|
1238
2364
|
# 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.
|
@@ -1249,9 +2375,9 @@ module Stripe
|
|
1249
2375
|
end
|
1250
2376
|
end
|
1251
2377
|
|
1252
|
-
class InteracPresent < Stripe::RequestParams; end
|
2378
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
1253
2379
|
|
1254
|
-
class KakaoPay < Stripe::RequestParams
|
2380
|
+
class KakaoPay < ::Stripe::RequestParams
|
1255
2381
|
# Controls when the funds are captured from the customer's account.
|
1256
2382
|
#
|
1257
2383
|
# 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.
|
@@ -1273,8 +2399,8 @@ module Stripe
|
|
1273
2399
|
end
|
1274
2400
|
end
|
1275
2401
|
|
1276
|
-
class Klarna < Stripe::RequestParams
|
1277
|
-
class OnDemand < Stripe::RequestParams
|
2402
|
+
class Klarna < ::Stripe::RequestParams
|
2403
|
+
class OnDemand < ::Stripe::RequestParams
|
1278
2404
|
# Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
|
1279
2405
|
attr_accessor :average_amount
|
1280
2406
|
# The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
|
@@ -1301,8 +2427,8 @@ module Stripe
|
|
1301
2427
|
end
|
1302
2428
|
end
|
1303
2429
|
|
1304
|
-
class Subscription < Stripe::RequestParams
|
1305
|
-
class NextBilling < Stripe::RequestParams
|
2430
|
+
class Subscription < ::Stripe::RequestParams
|
2431
|
+
class NextBilling < ::Stripe::RequestParams
|
1306
2432
|
# The amount of the next charge for the subscription.
|
1307
2433
|
attr_accessor :amount
|
1308
2434
|
# The date of the next charge for the subscription in YYYY-MM-DD format.
|
@@ -1376,7 +2502,7 @@ module Stripe
|
|
1376
2502
|
end
|
1377
2503
|
end
|
1378
2504
|
|
1379
|
-
class Konbini < Stripe::RequestParams
|
2505
|
+
class Konbini < ::Stripe::RequestParams
|
1380
2506
|
# An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number.
|
1381
2507
|
attr_accessor :confirmation_number
|
1382
2508
|
# The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.
|
@@ -1411,7 +2537,7 @@ module Stripe
|
|
1411
2537
|
end
|
1412
2538
|
end
|
1413
2539
|
|
1414
|
-
class KrCard < Stripe::RequestParams
|
2540
|
+
class KrCard < ::Stripe::RequestParams
|
1415
2541
|
# Controls when the funds are captured from the customer's account.
|
1416
2542
|
#
|
1417
2543
|
# 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.
|
@@ -1433,7 +2559,7 @@ module Stripe
|
|
1433
2559
|
end
|
1434
2560
|
end
|
1435
2561
|
|
1436
|
-
class Link < Stripe::RequestParams
|
2562
|
+
class Link < ::Stripe::RequestParams
|
1437
2563
|
# Controls when the funds are captured from the customer's account.
|
1438
2564
|
#
|
1439
2565
|
# 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.
|
@@ -1460,7 +2586,7 @@ module Stripe
|
|
1460
2586
|
end
|
1461
2587
|
end
|
1462
2588
|
|
1463
|
-
class MbWay < Stripe::RequestParams
|
2589
|
+
class MbWay < ::Stripe::RequestParams
|
1464
2590
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1465
2591
|
#
|
1466
2592
|
# 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.
|
@@ -1477,7 +2603,7 @@ module Stripe
|
|
1477
2603
|
end
|
1478
2604
|
end
|
1479
2605
|
|
1480
|
-
class Mobilepay < Stripe::RequestParams
|
2606
|
+
class Mobilepay < ::Stripe::RequestParams
|
1481
2607
|
# Controls when the funds are captured from the customer's account.
|
1482
2608
|
#
|
1483
2609
|
# 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.
|
@@ -1501,7 +2627,7 @@ module Stripe
|
|
1501
2627
|
end
|
1502
2628
|
end
|
1503
2629
|
|
1504
|
-
class Multibanco < Stripe::RequestParams
|
2630
|
+
class Multibanco < ::Stripe::RequestParams
|
1505
2631
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1506
2632
|
#
|
1507
2633
|
# 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.
|
@@ -1518,7 +2644,7 @@ module Stripe
|
|
1518
2644
|
end
|
1519
2645
|
end
|
1520
2646
|
|
1521
|
-
class NaverPay < Stripe::RequestParams
|
2647
|
+
class NaverPay < ::Stripe::RequestParams
|
1522
2648
|
# Controls when the funds are captured from the customer's account.
|
1523
2649
|
#
|
1524
2650
|
# 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.
|
@@ -1540,7 +2666,7 @@ module Stripe
|
|
1540
2666
|
end
|
1541
2667
|
end
|
1542
2668
|
|
1543
|
-
class NzBankAccount < Stripe::RequestParams
|
2669
|
+
class NzBankAccount < ::Stripe::RequestParams
|
1544
2670
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1545
2671
|
#
|
1546
2672
|
# 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.
|
@@ -1560,7 +2686,7 @@ module Stripe
|
|
1560
2686
|
end
|
1561
2687
|
end
|
1562
2688
|
|
1563
|
-
class Oxxo < Stripe::RequestParams
|
2689
|
+
class Oxxo < ::Stripe::RequestParams
|
1564
2690
|
# The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
1565
2691
|
attr_accessor :expires_after_days
|
1566
2692
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1580,7 +2706,7 @@ module Stripe
|
|
1580
2706
|
end
|
1581
2707
|
end
|
1582
2708
|
|
1583
|
-
class P24 < Stripe::RequestParams
|
2709
|
+
class P24 < ::Stripe::RequestParams
|
1584
2710
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1585
2711
|
#
|
1586
2712
|
# 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.
|
@@ -1600,9 +2726,9 @@ module Stripe
|
|
1600
2726
|
end
|
1601
2727
|
end
|
1602
2728
|
|
1603
|
-
class PayByBank < Stripe::RequestParams; end
|
2729
|
+
class PayByBank < ::Stripe::RequestParams; end
|
1604
2730
|
|
1605
|
-
class Payco < Stripe::RequestParams
|
2731
|
+
class Payco < ::Stripe::RequestParams
|
1606
2732
|
# Controls when the funds are captured from the customer's account.
|
1607
2733
|
#
|
1608
2734
|
# 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.
|
@@ -1615,7 +2741,7 @@ module Stripe
|
|
1615
2741
|
end
|
1616
2742
|
end
|
1617
2743
|
|
1618
|
-
class Paynow < Stripe::RequestParams
|
2744
|
+
class Paynow < ::Stripe::RequestParams
|
1619
2745
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1620
2746
|
#
|
1621
2747
|
# 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.
|
@@ -1632,13 +2758,66 @@ module Stripe
|
|
1632
2758
|
end
|
1633
2759
|
end
|
1634
2760
|
|
1635
|
-
class Paypal < Stripe::RequestParams
|
2761
|
+
class Paypal < ::Stripe::RequestParams
|
2762
|
+
class LineItem < ::Stripe::RequestParams
|
2763
|
+
class Tax < ::Stripe::RequestParams
|
2764
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
2765
|
+
attr_accessor :amount
|
2766
|
+
# The tax behavior for the line item.
|
2767
|
+
attr_accessor :behavior
|
2768
|
+
|
2769
|
+
def initialize(amount: nil, behavior: nil)
|
2770
|
+
@amount = amount
|
2771
|
+
@behavior = behavior
|
2772
|
+
end
|
2773
|
+
end
|
2774
|
+
# Type of the line item.
|
2775
|
+
attr_accessor :category
|
2776
|
+
# Description of the line item.
|
2777
|
+
attr_accessor :description
|
2778
|
+
# Descriptive name of the line item.
|
2779
|
+
attr_accessor :name
|
2780
|
+
# Quantity of the line item. Must be a positive number.
|
2781
|
+
attr_accessor :quantity
|
2782
|
+
# Client facing stock keeping unit, article number or similar.
|
2783
|
+
attr_accessor :sku
|
2784
|
+
# The Stripe account ID of the connected account that sells the item.
|
2785
|
+
attr_accessor :sold_by
|
2786
|
+
# The tax information for the line item.
|
2787
|
+
attr_accessor :tax
|
2788
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
2789
|
+
attr_accessor :unit_amount
|
2790
|
+
|
2791
|
+
def initialize(
|
2792
|
+
category: nil,
|
2793
|
+
description: nil,
|
2794
|
+
name: nil,
|
2795
|
+
quantity: nil,
|
2796
|
+
sku: nil,
|
2797
|
+
sold_by: nil,
|
2798
|
+
tax: nil,
|
2799
|
+
unit_amount: nil
|
2800
|
+
)
|
2801
|
+
@category = category
|
2802
|
+
@description = description
|
2803
|
+
@name = name
|
2804
|
+
@quantity = quantity
|
2805
|
+
@sku = sku
|
2806
|
+
@sold_by = sold_by
|
2807
|
+
@tax = tax
|
2808
|
+
@unit_amount = unit_amount
|
2809
|
+
end
|
2810
|
+
end
|
1636
2811
|
# Controls when the funds will be captured from the customer's account.
|
1637
2812
|
attr_accessor :capture_method
|
2813
|
+
# The line items purchased by the customer.
|
2814
|
+
attr_accessor :line_items
|
1638
2815
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
1639
2816
|
attr_accessor :preferred_locale
|
1640
2817
|
# 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.
|
1641
2818
|
attr_accessor :reference
|
2819
|
+
# 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.
|
2820
|
+
attr_accessor :reference_id
|
1642
2821
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
1643
2822
|
attr_accessor :risk_correlation_id
|
1644
2823
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1651,29 +2830,140 @@ module Stripe
|
|
1651
2830
|
#
|
1652
2831
|
# 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`.
|
1653
2832
|
attr_accessor :setup_future_usage
|
2833
|
+
# 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.
|
2834
|
+
attr_accessor :subsellers
|
1654
2835
|
|
1655
2836
|
def initialize(
|
1656
2837
|
capture_method: nil,
|
2838
|
+
line_items: nil,
|
1657
2839
|
preferred_locale: nil,
|
1658
2840
|
reference: nil,
|
2841
|
+
reference_id: nil,
|
1659
2842
|
risk_correlation_id: nil,
|
1660
|
-
setup_future_usage: nil
|
2843
|
+
setup_future_usage: nil,
|
2844
|
+
subsellers: nil
|
1661
2845
|
)
|
1662
2846
|
@capture_method = capture_method
|
2847
|
+
@line_items = line_items
|
1663
2848
|
@preferred_locale = preferred_locale
|
1664
2849
|
@reference = reference
|
2850
|
+
@reference_id = reference_id
|
1665
2851
|
@risk_correlation_id = risk_correlation_id
|
1666
2852
|
@setup_future_usage = setup_future_usage
|
2853
|
+
@subsellers = subsellers
|
1667
2854
|
end
|
1668
2855
|
end
|
1669
2856
|
|
1670
|
-
class
|
2857
|
+
class Paypay < ::Stripe::RequestParams
|
2858
|
+
# Controls when the funds are captured from the customer's account.
|
2859
|
+
#
|
2860
|
+
# 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.
|
2861
|
+
#
|
2862
|
+
# 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.
|
2863
|
+
attr_accessor :capture_method
|
2864
|
+
|
2865
|
+
def initialize(capture_method: nil)
|
2866
|
+
@capture_method = capture_method
|
2867
|
+
end
|
2868
|
+
end
|
2869
|
+
|
2870
|
+
class Payto < ::Stripe::RequestParams
|
2871
|
+
class MandateOptions < ::Stripe::RequestParams
|
2872
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2873
|
+
attr_accessor :amount
|
2874
|
+
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
2875
|
+
attr_accessor :amount_type
|
2876
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2877
|
+
attr_accessor :end_date
|
2878
|
+
# The periodicity at which payments will be collected.
|
2879
|
+
attr_accessor :payment_schedule
|
2880
|
+
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
2881
|
+
attr_accessor :payments_per_period
|
2882
|
+
# The purpose for which payments are made. Defaults to retail.
|
2883
|
+
attr_accessor :purpose
|
2884
|
+
|
2885
|
+
def initialize(
|
2886
|
+
amount: nil,
|
2887
|
+
amount_type: nil,
|
2888
|
+
end_date: nil,
|
2889
|
+
payment_schedule: nil,
|
2890
|
+
payments_per_period: nil,
|
2891
|
+
purpose: nil
|
2892
|
+
)
|
2893
|
+
@amount = amount
|
2894
|
+
@amount_type = amount_type
|
2895
|
+
@end_date = end_date
|
2896
|
+
@payment_schedule = payment_schedule
|
2897
|
+
@payments_per_period = payments_per_period
|
2898
|
+
@purpose = purpose
|
2899
|
+
end
|
2900
|
+
end
|
2901
|
+
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
|
2902
|
+
attr_accessor :mandate_options
|
2903
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2904
|
+
#
|
2905
|
+
# 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.
|
2906
|
+
#
|
2907
|
+
# 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.
|
2908
|
+
#
|
2909
|
+
# 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).
|
2910
|
+
#
|
2911
|
+
# 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`.
|
2912
|
+
attr_accessor :setup_future_usage
|
2913
|
+
|
2914
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
2915
|
+
@mandate_options = mandate_options
|
2916
|
+
@setup_future_usage = setup_future_usage
|
2917
|
+
end
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
class Pix < ::Stripe::RequestParams
|
2921
|
+
class MandateOptions < ::Stripe::RequestParams
|
2922
|
+
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
2923
|
+
attr_accessor :amount
|
2924
|
+
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
2925
|
+
attr_accessor :amount_includes_iof
|
2926
|
+
# Type of amount. Defaults to `maximum`.
|
2927
|
+
attr_accessor :amount_type
|
2928
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
2929
|
+
attr_accessor :currency
|
2930
|
+
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
2931
|
+
attr_accessor :end_date
|
2932
|
+
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
2933
|
+
attr_accessor :payment_schedule
|
2934
|
+
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
2935
|
+
attr_accessor :reference
|
2936
|
+
# Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
2937
|
+
attr_accessor :start_date
|
2938
|
+
|
2939
|
+
def initialize(
|
2940
|
+
amount: nil,
|
2941
|
+
amount_includes_iof: nil,
|
2942
|
+
amount_type: nil,
|
2943
|
+
currency: nil,
|
2944
|
+
end_date: nil,
|
2945
|
+
payment_schedule: nil,
|
2946
|
+
reference: nil,
|
2947
|
+
start_date: nil
|
2948
|
+
)
|
2949
|
+
@amount = amount
|
2950
|
+
@amount_includes_iof = amount_includes_iof
|
2951
|
+
@amount_type = amount_type
|
2952
|
+
@currency = currency
|
2953
|
+
@end_date = end_date
|
2954
|
+
@payment_schedule = payment_schedule
|
2955
|
+
@reference = reference
|
2956
|
+
@start_date = start_date
|
2957
|
+
end
|
2958
|
+
end
|
1671
2959
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
1672
2960
|
attr_accessor :amount_includes_iof
|
1673
2961
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
1674
2962
|
attr_accessor :expires_after_seconds
|
1675
2963
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
1676
2964
|
attr_accessor :expires_at
|
2965
|
+
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
2966
|
+
attr_accessor :mandate_options
|
1677
2967
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1678
2968
|
#
|
1679
2969
|
# 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.
|
@@ -1689,16 +2979,35 @@ module Stripe
|
|
1689
2979
|
amount_includes_iof: nil,
|
1690
2980
|
expires_after_seconds: nil,
|
1691
2981
|
expires_at: nil,
|
2982
|
+
mandate_options: nil,
|
1692
2983
|
setup_future_usage: nil
|
1693
2984
|
)
|
1694
2985
|
@amount_includes_iof = amount_includes_iof
|
1695
2986
|
@expires_after_seconds = expires_after_seconds
|
1696
2987
|
@expires_at = expires_at
|
2988
|
+
@mandate_options = mandate_options
|
2989
|
+
@setup_future_usage = setup_future_usage
|
2990
|
+
end
|
2991
|
+
end
|
2992
|
+
|
2993
|
+
class Promptpay < ::Stripe::RequestParams
|
2994
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2995
|
+
#
|
2996
|
+
# 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.
|
2997
|
+
#
|
2998
|
+
# 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.
|
2999
|
+
#
|
3000
|
+
# 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).
|
3001
|
+
#
|
3002
|
+
# 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`.
|
3003
|
+
attr_accessor :setup_future_usage
|
3004
|
+
|
3005
|
+
def initialize(setup_future_usage: nil)
|
1697
3006
|
@setup_future_usage = setup_future_usage
|
1698
3007
|
end
|
1699
3008
|
end
|
1700
3009
|
|
1701
|
-
class
|
3010
|
+
class Qris < ::Stripe::RequestParams
|
1702
3011
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1703
3012
|
#
|
1704
3013
|
# 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.
|
@@ -1715,7 +3024,9 @@ module Stripe
|
|
1715
3024
|
end
|
1716
3025
|
end
|
1717
3026
|
|
1718
|
-
class
|
3027
|
+
class Rechnung < ::Stripe::RequestParams; end
|
3028
|
+
|
3029
|
+
class RevolutPay < ::Stripe::RequestParams
|
1719
3030
|
# Controls when the funds are captured from the customer's account.
|
1720
3031
|
#
|
1721
3032
|
# 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.
|
@@ -1737,7 +3048,7 @@ module Stripe
|
|
1737
3048
|
end
|
1738
3049
|
end
|
1739
3050
|
|
1740
|
-
class SamsungPay < Stripe::RequestParams
|
3051
|
+
class SamsungPay < ::Stripe::RequestParams
|
1741
3052
|
# Controls when the funds are captured from the customer's account.
|
1742
3053
|
#
|
1743
3054
|
# 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.
|
@@ -1750,7 +3061,7 @@ module Stripe
|
|
1750
3061
|
end
|
1751
3062
|
end
|
1752
3063
|
|
1753
|
-
class Satispay < Stripe::RequestParams
|
3064
|
+
class Satispay < ::Stripe::RequestParams
|
1754
3065
|
# Controls when the funds are captured from the customer's account.
|
1755
3066
|
#
|
1756
3067
|
# 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.
|
@@ -1763,8 +3074,8 @@ module Stripe
|
|
1763
3074
|
end
|
1764
3075
|
end
|
1765
3076
|
|
1766
|
-
class SepaDebit < Stripe::RequestParams
|
1767
|
-
class MandateOptions < Stripe::RequestParams
|
3077
|
+
class SepaDebit < ::Stripe::RequestParams
|
3078
|
+
class MandateOptions < ::Stripe::RequestParams
|
1768
3079
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
1769
3080
|
attr_accessor :reference_prefix
|
1770
3081
|
|
@@ -1794,7 +3105,24 @@ module Stripe
|
|
1794
3105
|
end
|
1795
3106
|
end
|
1796
3107
|
|
1797
|
-
class
|
3108
|
+
class Shopeepay < ::Stripe::RequestParams
|
3109
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3110
|
+
#
|
3111
|
+
# 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.
|
3112
|
+
#
|
3113
|
+
# 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.
|
3114
|
+
#
|
3115
|
+
# 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).
|
3116
|
+
#
|
3117
|
+
# 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`.
|
3118
|
+
attr_accessor :setup_future_usage
|
3119
|
+
|
3120
|
+
def initialize(setup_future_usage: nil)
|
3121
|
+
@setup_future_usage = setup_future_usage
|
3122
|
+
end
|
3123
|
+
end
|
3124
|
+
|
3125
|
+
class Sofort < ::Stripe::RequestParams
|
1798
3126
|
# Language shown to the payer on redirect.
|
1799
3127
|
attr_accessor :preferred_language
|
1800
3128
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1814,7 +3142,24 @@ module Stripe
|
|
1814
3142
|
end
|
1815
3143
|
end
|
1816
3144
|
|
1817
|
-
class
|
3145
|
+
class StripeBalance < ::Stripe::RequestParams
|
3146
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3147
|
+
#
|
3148
|
+
# 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.
|
3149
|
+
#
|
3150
|
+
# 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.
|
3151
|
+
#
|
3152
|
+
# 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).
|
3153
|
+
#
|
3154
|
+
# 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`.
|
3155
|
+
attr_accessor :setup_future_usage
|
3156
|
+
|
3157
|
+
def initialize(setup_future_usage: nil)
|
3158
|
+
@setup_future_usage = setup_future_usage
|
3159
|
+
end
|
3160
|
+
end
|
3161
|
+
|
3162
|
+
class Swish < ::Stripe::RequestParams
|
1818
3163
|
# A reference for this payment to be displayed in the Swish app.
|
1819
3164
|
attr_accessor :reference
|
1820
3165
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1834,7 +3179,7 @@ module Stripe
|
|
1834
3179
|
end
|
1835
3180
|
end
|
1836
3181
|
|
1837
|
-
class Twint < Stripe::RequestParams
|
3182
|
+
class Twint < ::Stripe::RequestParams
|
1838
3183
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1839
3184
|
#
|
1840
3185
|
# 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.
|
@@ -1851,18 +3196,32 @@ module Stripe
|
|
1851
3196
|
end
|
1852
3197
|
end
|
1853
3198
|
|
1854
|
-
class UsBankAccount < Stripe::RequestParams
|
1855
|
-
class FinancialConnections < Stripe::RequestParams
|
1856
|
-
class Filters < Stripe::RequestParams
|
3199
|
+
class UsBankAccount < ::Stripe::RequestParams
|
3200
|
+
class FinancialConnections < ::Stripe::RequestParams
|
3201
|
+
class Filters < ::Stripe::RequestParams
|
1857
3202
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1858
3203
|
attr_accessor :account_subcategories
|
3204
|
+
# ID of the institution to use to filter for selectable accounts.
|
3205
|
+
attr_accessor :institution
|
1859
3206
|
|
1860
|
-
def initialize(account_subcategories: nil)
|
3207
|
+
def initialize(account_subcategories: nil, institution: nil)
|
1861
3208
|
@account_subcategories = account_subcategories
|
3209
|
+
@institution = institution
|
3210
|
+
end
|
3211
|
+
end
|
3212
|
+
|
3213
|
+
class ManualEntry < ::Stripe::RequestParams
|
3214
|
+
# Settings for configuring manual entry of account details.
|
3215
|
+
attr_accessor :mode
|
3216
|
+
|
3217
|
+
def initialize(mode: nil)
|
3218
|
+
@mode = mode
|
1862
3219
|
end
|
1863
3220
|
end
|
1864
3221
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1865
3222
|
attr_accessor :filters
|
3223
|
+
# Customize manual entry behavior
|
3224
|
+
attr_accessor :manual_entry
|
1866
3225
|
# 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`.
|
1867
3226
|
attr_accessor :permissions
|
1868
3227
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1870,15 +3229,22 @@ module Stripe
|
|
1870
3229
|
# 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.
|
1871
3230
|
attr_accessor :return_url
|
1872
3231
|
|
1873
|
-
def initialize(
|
3232
|
+
def initialize(
|
3233
|
+
filters: nil,
|
3234
|
+
manual_entry: nil,
|
3235
|
+
permissions: nil,
|
3236
|
+
prefetch: nil,
|
3237
|
+
return_url: nil
|
3238
|
+
)
|
1874
3239
|
@filters = filters
|
3240
|
+
@manual_entry = manual_entry
|
1875
3241
|
@permissions = permissions
|
1876
3242
|
@prefetch = prefetch
|
1877
3243
|
@return_url = return_url
|
1878
3244
|
end
|
1879
3245
|
end
|
1880
3246
|
|
1881
|
-
class MandateOptions < Stripe::RequestParams
|
3247
|
+
class MandateOptions < ::Stripe::RequestParams
|
1882
3248
|
# The method used to collect offline mandate customer acceptance.
|
1883
3249
|
attr_accessor :collection_method
|
1884
3250
|
|
@@ -1887,7 +3253,7 @@ module Stripe
|
|
1887
3253
|
end
|
1888
3254
|
end
|
1889
3255
|
|
1890
|
-
class Networks < Stripe::RequestParams
|
3256
|
+
class Networks < ::Stripe::RequestParams
|
1891
3257
|
# Triggers validations to run across the selected networks
|
1892
3258
|
attr_accessor :requested
|
1893
3259
|
|
@@ -1937,7 +3303,7 @@ module Stripe
|
|
1937
3303
|
end
|
1938
3304
|
end
|
1939
3305
|
|
1940
|
-
class WechatPay < Stripe::RequestParams
|
3306
|
+
class WechatPay < ::Stripe::RequestParams
|
1941
3307
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
1942
3308
|
attr_accessor :app_id
|
1943
3309
|
# The client type that the end customer will pay from
|
@@ -1960,7 +3326,7 @@ module Stripe
|
|
1960
3326
|
end
|
1961
3327
|
end
|
1962
3328
|
|
1963
|
-
class Zip < Stripe::RequestParams
|
3329
|
+
class Zip < ::Stripe::RequestParams
|
1964
3330
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1965
3331
|
#
|
1966
3332
|
# 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.
|
@@ -2016,8 +3382,12 @@ module Stripe
|
|
2016
3382
|
attr_accessor :fpx
|
2017
3383
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
2018
3384
|
attr_accessor :giropay
|
3385
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
3386
|
+
attr_accessor :gopay
|
2019
3387
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
2020
3388
|
attr_accessor :grabpay
|
3389
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
3390
|
+
attr_accessor :id_bank_transfer
|
2021
3391
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
2022
3392
|
attr_accessor :ideal
|
2023
3393
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
@@ -2054,10 +3424,18 @@ module Stripe
|
|
2054
3424
|
attr_accessor :paynow
|
2055
3425
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2056
3426
|
attr_accessor :paypal
|
3427
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
3428
|
+
attr_accessor :paypay
|
3429
|
+
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
3430
|
+
attr_accessor :payto
|
2057
3431
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
2058
3432
|
attr_accessor :pix
|
2059
3433
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
2060
3434
|
attr_accessor :promptpay
|
3435
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
3436
|
+
attr_accessor :qris
|
3437
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
3438
|
+
attr_accessor :rechnung
|
2061
3439
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
2062
3440
|
attr_accessor :revolut_pay
|
2063
3441
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
@@ -2066,8 +3444,12 @@ module Stripe
|
|
2066
3444
|
attr_accessor :satispay
|
2067
3445
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2068
3446
|
attr_accessor :sepa_debit
|
3447
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
3448
|
+
attr_accessor :shopeepay
|
2069
3449
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
2070
3450
|
attr_accessor :sofort
|
3451
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
3452
|
+
attr_accessor :stripe_balance
|
2071
3453
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
2072
3454
|
attr_accessor :swish
|
2073
3455
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
@@ -2100,7 +3482,9 @@ module Stripe
|
|
2100
3482
|
eps: nil,
|
2101
3483
|
fpx: nil,
|
2102
3484
|
giropay: nil,
|
3485
|
+
gopay: nil,
|
2103
3486
|
grabpay: nil,
|
3487
|
+
id_bank_transfer: nil,
|
2104
3488
|
ideal: nil,
|
2105
3489
|
interac_present: nil,
|
2106
3490
|
kakao_pay: nil,
|
@@ -2119,13 +3503,19 @@ module Stripe
|
|
2119
3503
|
payco: nil,
|
2120
3504
|
paynow: nil,
|
2121
3505
|
paypal: nil,
|
3506
|
+
paypay: nil,
|
3507
|
+
payto: nil,
|
2122
3508
|
pix: nil,
|
2123
3509
|
promptpay: nil,
|
3510
|
+
qris: nil,
|
3511
|
+
rechnung: nil,
|
2124
3512
|
revolut_pay: nil,
|
2125
3513
|
samsung_pay: nil,
|
2126
3514
|
satispay: nil,
|
2127
3515
|
sepa_debit: nil,
|
3516
|
+
shopeepay: nil,
|
2128
3517
|
sofort: nil,
|
3518
|
+
stripe_balance: nil,
|
2129
3519
|
swish: nil,
|
2130
3520
|
twint: nil,
|
2131
3521
|
us_bank_account: nil,
|
@@ -2152,7 +3542,9 @@ module Stripe
|
|
2152
3542
|
@eps = eps
|
2153
3543
|
@fpx = fpx
|
2154
3544
|
@giropay = giropay
|
3545
|
+
@gopay = gopay
|
2155
3546
|
@grabpay = grabpay
|
3547
|
+
@id_bank_transfer = id_bank_transfer
|
2156
3548
|
@ideal = ideal
|
2157
3549
|
@interac_present = interac_present
|
2158
3550
|
@kakao_pay = kakao_pay
|
@@ -2171,13 +3563,19 @@ module Stripe
|
|
2171
3563
|
@payco = payco
|
2172
3564
|
@paynow = paynow
|
2173
3565
|
@paypal = paypal
|
3566
|
+
@paypay = paypay
|
3567
|
+
@payto = payto
|
2174
3568
|
@pix = pix
|
2175
3569
|
@promptpay = promptpay
|
3570
|
+
@qris = qris
|
3571
|
+
@rechnung = rechnung
|
2176
3572
|
@revolut_pay = revolut_pay
|
2177
3573
|
@samsung_pay = samsung_pay
|
2178
3574
|
@satispay = satispay
|
2179
3575
|
@sepa_debit = sepa_debit
|
3576
|
+
@shopeepay = shopeepay
|
2180
3577
|
@sofort = sofort
|
3578
|
+
@stripe_balance = stripe_balance
|
2181
3579
|
@swish = swish
|
2182
3580
|
@twint = twint
|
2183
3581
|
@us_bank_account = us_bank_account
|
@@ -2186,8 +3584,8 @@ module Stripe
|
|
2186
3584
|
end
|
2187
3585
|
end
|
2188
3586
|
|
2189
|
-
class Shipping < Stripe::RequestParams
|
2190
|
-
class Address < Stripe::RequestParams
|
3587
|
+
class Shipping < ::Stripe::RequestParams
|
3588
|
+
class Address < ::Stripe::RequestParams
|
2191
3589
|
# City, district, suburb, town, or village.
|
2192
3590
|
attr_accessor :city
|
2193
3591
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -2237,7 +3635,7 @@ module Stripe
|
|
2237
3635
|
end
|
2238
3636
|
end
|
2239
3637
|
|
2240
|
-
class TransferData < Stripe::RequestParams
|
3638
|
+
class TransferData < ::Stripe::RequestParams
|
2241
3639
|
# The amount that will be transferred automatically when a charge succeeds.
|
2242
3640
|
attr_accessor :amount
|
2243
3641
|
|
@@ -2247,6 +3645,8 @@ module Stripe
|
|
2247
3645
|
end
|
2248
3646
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
2249
3647
|
attr_accessor :amount
|
3648
|
+
# Provides industry-specific information about the amount.
|
3649
|
+
attr_accessor :amount_details
|
2250
3650
|
# 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://stripe.com/docs/payments/connected-accounts).
|
2251
3651
|
attr_accessor :application_fee_amount
|
2252
3652
|
# Controls when the funds will be captured from the customer's account.
|
@@ -2259,15 +3659,29 @@ module Stripe
|
|
2259
3659
|
#
|
2260
3660
|
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
2261
3661
|
attr_accessor :customer
|
3662
|
+
# ID of the Account this PaymentIntent belongs to, if one exists.
|
3663
|
+
#
|
3664
|
+
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
3665
|
+
#
|
3666
|
+
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
3667
|
+
attr_accessor :customer_account
|
2262
3668
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2263
3669
|
attr_accessor :description
|
2264
3670
|
# The list of payment method types to exclude from use with this payment.
|
2265
3671
|
attr_accessor :excluded_payment_method_types
|
2266
3672
|
# Specifies which fields in the response should be expanded.
|
2267
3673
|
attr_accessor :expand
|
3674
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
3675
|
+
attr_accessor :fx_quote
|
3676
|
+
# Automations to be run during the PaymentIntent lifecycle
|
3677
|
+
attr_accessor :hooks
|
3678
|
+
# This hash contains details about the Mandate to create.
|
3679
|
+
attr_accessor :mandate_data
|
2268
3680
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2269
3681
|
attr_accessor :metadata
|
2270
|
-
#
|
3682
|
+
# Provides industry-specific information about the charge.
|
3683
|
+
attr_accessor :payment_details
|
3684
|
+
# Attribute for param field payment_method
|
2271
3685
|
attr_accessor :payment_method
|
2272
3686
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
|
2273
3687
|
attr_accessor :payment_method_configuration
|
@@ -2306,14 +3720,20 @@ module Stripe
|
|
2306
3720
|
|
2307
3721
|
def initialize(
|
2308
3722
|
amount: nil,
|
3723
|
+
amount_details: nil,
|
2309
3724
|
application_fee_amount: nil,
|
2310
3725
|
capture_method: nil,
|
2311
3726
|
currency: nil,
|
2312
3727
|
customer: nil,
|
3728
|
+
customer_account: nil,
|
2313
3729
|
description: nil,
|
2314
3730
|
excluded_payment_method_types: nil,
|
2315
3731
|
expand: nil,
|
3732
|
+
fx_quote: nil,
|
3733
|
+
hooks: nil,
|
3734
|
+
mandate_data: nil,
|
2316
3735
|
metadata: nil,
|
3736
|
+
payment_details: nil,
|
2317
3737
|
payment_method: nil,
|
2318
3738
|
payment_method_configuration: nil,
|
2319
3739
|
payment_method_data: nil,
|
@@ -2328,14 +3748,20 @@ module Stripe
|
|
2328
3748
|
transfer_group: nil
|
2329
3749
|
)
|
2330
3750
|
@amount = amount
|
3751
|
+
@amount_details = amount_details
|
2331
3752
|
@application_fee_amount = application_fee_amount
|
2332
3753
|
@capture_method = capture_method
|
2333
3754
|
@currency = currency
|
2334
3755
|
@customer = customer
|
3756
|
+
@customer_account = customer_account
|
2335
3757
|
@description = description
|
2336
3758
|
@excluded_payment_method_types = excluded_payment_method_types
|
2337
3759
|
@expand = expand
|
3760
|
+
@fx_quote = fx_quote
|
3761
|
+
@hooks = hooks
|
3762
|
+
@mandate_data = mandate_data
|
2338
3763
|
@metadata = metadata
|
3764
|
+
@payment_details = payment_details
|
2339
3765
|
@payment_method = payment_method
|
2340
3766
|
@payment_method_configuration = payment_method_configuration
|
2341
3767
|
@payment_method_data = payment_method_data
|