mirror of https://github.com/EasyAbp/EShop.git
14 changed files with 154 additions and 11 deletions
@ -0,0 +1,17 @@ |
|||
using System; |
|||
using JetBrains.Annotations; |
|||
using Volo.Abp; |
|||
|
|||
namespace EasyAbp.EShop.Payments.Refunds |
|||
{ |
|||
public class OrderExtraFeeNotFoundException : BusinessException |
|||
{ |
|||
public OrderExtraFeeNotFoundException(Guid orderId, [NotNull] string name, [CanBeNull] string key) : base( |
|||
PaymentsErrorCodes.OrderExtraFeeNotFound) |
|||
{ |
|||
WithData(nameof(orderId), orderId); |
|||
WithData(nameof(name), name); |
|||
WithData(nameof(key), key); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,14 @@ |
|||
using System; |
|||
using Volo.Abp; |
|||
|
|||
namespace EasyAbp.EShop.Payments.Refunds |
|||
{ |
|||
public class OrderLineNotFoundException : BusinessException |
|||
{ |
|||
public OrderLineNotFoundException(Guid orderId, Guid orderLineId) : base(PaymentsErrorCodes.OrderLineNotFound) |
|||
{ |
|||
WithData(nameof(orderId), orderId); |
|||
WithData(nameof(orderLineId), orderLineId); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue