Commit b95c9e7f authored by gdlcf88's avatar gdlcf88

Renamed RefundRecord

parent 6550f7ce
......@@ -16,7 +16,7 @@ namespace EasyAbp.EShop.Payments
{
var resolver = context.ServiceProvider.GetService<IPaymentServiceResolver>();
resolver.TryRegisterProviderAsync("Free", typeof(FreePaymentServiceProvider));
resolver.TryRegisterProviderAsync(FreePaymentServiceProvider.PaymentMethod, typeof(FreePaymentServiceProvider));
}
}
}
......@@ -8,6 +8,8 @@ namespace EasyAbp.EShop.Payments.Payments
[Dependency(ServiceLifetime.Transient, TryRegister = true)]
public class FreePaymentServiceProvider : IPaymentServiceProvider
{
public const string PaymentMethod = "Free";
public FreePaymentServiceProvider()
{
......
......@@ -4,9 +4,9 @@ using JetBrains.Annotations;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
namespace EasyAbp.EShop.Payments.RefundRecords
namespace EasyAbp.EShop.Payments.Refunds
{
public class RefundRecord : FullAuditedAggregateRoot<Guid>, IMultiTenant, IMultiStore
public class Refund : FullAuditedAggregateRoot<Guid>, IMultiTenant, IMultiStore
{
public virtual Guid? TenantId { get; protected set; }
......@@ -15,7 +15,7 @@ namespace EasyAbp.EShop.Payments.RefundRecords
public virtual Guid OrderId { get; protected set; }
[NotNull]
public virtual string RefundMethod { get; protected set; }
public virtual string RefundPaymentMethod { get; protected set; }
[NotNull]
public virtual string ExternalTradingCode { get; protected set; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment