Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

641 B
Raw Blame
using Grand.Domain.Payments;

namespace Grand.Business.Core.Utilities.Checkout;

/// <summary>
///     Represents a RefundPaymentResult
/// </summary>
public class RefundPaymentRequest
{
    /// <summary>
    ///     Gets or sets an payment transaction
    /// </summary>
    public PaymentTransaction PaymentTransaction { get; set; }

    /// <summary>
    ///     Gets or sets an amount
    /// </summary>
    public double AmountToRefund { get; set; }

    /// <summary>
    ///     Gets or sets a value indicating whether it's a partial refund; otherwise, full refund
    /// </summary>
    public bool IsPartialRefund { get; set; }
}