Abstractions/IStripePaymentIntentService.cs

OrchardCore.Commerce · src/Modules/OrchardCore.Commerce.Payment.Stripe/Abstractions/IStripePaymentIntentService.cs · csharp · MIT
payments

Interface defining Stripe payment intent operations for commerce modules.

// Source: https://github.com/OrchardCMS/OrchardCore.Commerce | License: MIT
// Provided via justclaw.it.com; keep this notice with the code.
using OrchardCore.Commerce.MoneyDataType;
using OrchardCore.Commerce.Payment.Stripe.Constants;
using Stripe;
using System.Threading.Tasks;

namespace OrchardCore.Commerce.Payment.Stripe.Abstractions;

/// <summary>
/// Service for managing Stripe Payment Intents.
/// </summary>
public interface IStripePaymentIntentService
{
    /// <summary>
    /// Gets a PaymentIntent by its Stripe Id.
    /// </summary>
    /// <returns>Stripe <see cref="PaymentIntent"/> model.</returns>
    Task<PaymentIntent> GetPaymentIntentAsync(string paymentIntentId);

    /// <summary>
    /// Gets the PaymentIntent by its Stripe Id if it is <see cref="Pa

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key