Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
EShop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
EShop
Commits
b95c9e7f
Commit
b95c9e7f
authored
May 07, 2020
by
gdlcf88
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed RefundRecord
parent
6550f7ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
EShopPaymentDomainModule.cs
...EasyAbp.EShop.Payments.Domain/EShopPaymentDomainModule.cs
+1
-1
FreePaymentServiceProvider.cs
...op.Payments.Domain/Payments/FreePaymentServiceProvider.cs
+2
-0
Refund.cs
...ments/src/EasyAbp.EShop.Payments.Domain/Refunds/Refund.cs
+3
-3
No files found.
modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Domain/EShopPaymentDomainModule.cs
View file @
b95c9e7f
...
...
@@ -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
));
}
}
}
modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Domain/Payments/FreePaymentServiceProvider.cs
View file @
b95c9e7f
...
...
@@ -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
()
{
...
...
modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Domain/Refund
Records/RefundRecor
d.cs
→
modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Domain/Refund
s/Refun
d.cs
View file @
b95c9e7f
...
...
@@ -4,9 +4,9 @@ using JetBrains.Annotations;
using
Volo.Abp.Domain.Entities.Auditing
;
using
Volo.Abp.MultiTenancy
;
namespace
EasyAbp.EShop.Payments.Refund
Record
s
namespace
EasyAbp.EShop.Payments.Refunds
{
public
class
Refund
Record
:
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
Refund
Payment
Method
{
get
;
protected
set
;
}
[
NotNull
]
public
virtual
string
ExternalTradingCode
{
get
;
protected
set
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment