├── README.md
├── .gitattributes
├── modules
├── EasyAbp.PaymentService
│ ├── .gitattributes
│ ├── src
│ │ ├── EasyAbp.PaymentService.Web
│ │ │ ├── Pages
│ │ │ │ ├── PaymentService
│ │ │ │ │ ├── Refunds
│ │ │ │ │ │ ├── Refund
│ │ │ │ │ │ │ ├── index.css
│ │ │ │ │ │ │ └── Index.cshtml.cs
│ │ │ │ │ │ └── RefundItem
│ │ │ │ │ │ │ ├── index.css
│ │ │ │ │ │ │ └── Index.cshtml.cs
│ │ │ │ │ ├── Payments
│ │ │ │ │ │ ├── Payment
│ │ │ │ │ │ │ ├── index.css
│ │ │ │ │ │ │ └── Index.cshtml.cs
│ │ │ │ │ │ └── PaymentItem
│ │ │ │ │ │ │ ├── index.css
│ │ │ │ │ │ │ └── Index.cshtml.cs
│ │ │ │ │ ├── Index.cshtml
│ │ │ │ │ ├── Index.cshtml.cs
│ │ │ │ │ └── _ViewImports.cshtml
│ │ │ │ └── PaymentServicePageModel.cs
│ │ │ ├── FodyWeavers.xml
│ │ │ ├── Menus
│ │ │ │ └── PaymentServiceMenus.cs
│ │ │ └── PaymentServiceWebAutoMapperProfile.cs
│ │ ├── EasyAbp.PaymentService.Domain
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ ├── Payments
│ │ │ │ ├── ICancelPaymentEventHandler.cs
│ │ │ │ ├── ICreatePaymentEventHandler.cs
│ │ │ │ ├── IRefundPaymentEventHandler.cs
│ │ │ │ ├── IPaymentServiceResolver.cs
│ │ │ │ ├── DuplicatePaymentItemIdException.cs
│ │ │ │ ├── DuplicatePaymentRequestException.cs
│ │ │ │ ├── IPaymentRepository.cs
│ │ │ │ ├── PaymentIsInUnexpectedStageException.cs
│ │ │ │ ├── UnknownPaymentMethodException.cs
│ │ │ │ ├── PayeeAccountNotFoundException.cs
│ │ │ │ ├── AnotherRefundTaskIsOnGoingException.cs
│ │ │ │ ├── InvalidRefundAmountException.cs
│ │ │ │ ├── AnotherRefundIsInProgressException.cs
│ │ │ │ ├── UsingUnauthorizedPaymentException.cs
│ │ │ │ ├── PayeeConfigurationMissingValueException.cs
│ │ │ │ └── IPaymentServiceProvider.cs
│ │ │ │ ├── Options
│ │ │ │ ├── PaymentServiceProviders
│ │ │ │ │ └── IPaymentServiceProviderConfigurationProvider.cs
│ │ │ │ └── PaymentServiceOptions.cs
│ │ │ │ ├── UnexpectedNumberException.cs
│ │ │ │ ├── Refunds
│ │ │ │ ├── RefundIsInUnexpectedStageException.cs
│ │ │ │ └── IRefundRepository.cs
│ │ │ │ ├── PaymentServiceDbProperties.cs
│ │ │ │ └── DecimalExtensions.cs
│ │ ├── EasyAbp.PaymentService.HttpApi
│ │ │ ├── FodyWeavers.xml
│ │ │ ├── EasyAbp.PaymentService.HttpApi.csproj
│ │ │ └── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ └── PaymentServiceController.cs
│ │ ├── EasyAbp.PaymentService.MongoDB
│ │ │ ├── FodyWeavers.xml
│ │ │ ├── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ │ └── MongoDB
│ │ │ │ │ ├── IPaymentServiceMongoDbContext.cs
│ │ │ │ │ └── PaymentServiceMongoModelBuilderConfigurationOptions.cs
│ │ │ └── EasyAbp.PaymentService.MongoDB.csproj
│ │ ├── EasyAbp.PaymentService.Application
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ └── PaymentServiceAppService.cs
│ │ ├── EasyAbp.PaymentService.Domain.Shared
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ ├── PaymentServiceErrorCodes.cs
│ │ │ │ ├── Localization
│ │ │ │ └── PaymentServiceResource.cs
│ │ │ │ ├── Refunds
│ │ │ │ ├── IRefundItem.cs
│ │ │ │ └── RefundItemEto.cs
│ │ │ │ └── Payments
│ │ │ │ ├── CreatePaymentItemEto.cs
│ │ │ │ ├── CancelPaymentEto.cs
│ │ │ │ ├── PaymentCanceledEto.cs
│ │ │ │ └── PaymentCompletedEto.cs
│ │ ├── EasyAbp.PaymentService.HttpApi.Client
│ │ │ └── FodyWeavers.xml
│ │ ├── EasyAbp.PaymentService.EntityFrameworkCore
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp.PaymentService.EntityFrameworkCore.csproj
│ │ └── EasyAbp.PaymentService.Application.Contracts
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp
│ │ │ └── PaymentService
│ │ │ ├── Payments
│ │ │ └── Dtos
│ │ │ │ ├── GetPaymentListInput.cs
│ │ │ │ ├── PayInput.cs
│ │ │ │ └── PaymentMethodDto.cs
│ │ │ ├── Refunds
│ │ │ ├── Dtos
│ │ │ │ ├── GetRefundListInput.cs
│ │ │ │ └── RefundItemDto.cs
│ │ │ └── IRefundAppService.cs
│ │ │ ├── PaymentServiceRemoteServiceConsts.cs
│ │ │ └── PaymentServiceApplicationContractsModule.cs
│ ├── test
│ │ ├── EasyAbp.PaymentService.TestBase
│ │ │ └── FodyWeavers.xml
│ │ ├── EasyAbp.PaymentService.Domain.Tests
│ │ │ ├── FodyWeavers.xml
│ │ │ ├── PaymentServiceDomainTestBase.cs
│ │ │ ├── Refunds
│ │ │ │ └── RefundDomainTests.cs
│ │ │ ├── Payments
│ │ │ │ └── PaymentDomainTests.cs
│ │ │ ├── PaymentServiceDomainTestModule.cs
│ │ │ └── EasyAbp.PaymentService.Domain.Tests.csproj
│ │ ├── EasyAbp.PaymentService.MongoDB.Tests
│ │ │ ├── FodyWeavers.xml
│ │ │ └── MongoDB
│ │ │ │ ├── MongoTestCollection.cs
│ │ │ │ └── PaymentServiceMongoDbTestBase.cs
│ │ ├── EasyAbp.PaymentService.Application.Tests
│ │ │ ├── FodyWeavers.xml
│ │ │ ├── PaymentServiceApplicationTestModule.cs
│ │ │ └── PaymentServiceApplicationTestBase.cs
│ │ ├── EasyAbp.PaymentService.EntityFrameworkCore.Tests
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EntityFrameworkCore
│ │ │ │ └── PaymentServiceEntityFrameworkCoreTestBase.cs
│ │ └── EasyAbp.PaymentService.HttpApi.Client.ConsoleTestApp
│ │ │ ├── PaymentServiceConsoleApiClientModule.cs
│ │ │ └── appsettings.json
│ ├── host
│ │ └── EasyAbp.PaymentService.Host.Shared
│ │ │ └── EasyAbp.PaymentService.Host.Shared.csproj
│ ├── docker-compose.migrations.yml
│ └── docker-compose.yml
├── EasyAbp.PaymentService.Prepayment
│ ├── .gitattributes
│ ├── src
│ │ ├── EasyAbp.PaymentService.Prepayment.Web
│ │ │ ├── Pages
│ │ │ │ ├── PaymentService
│ │ │ │ │ └── Prepayment
│ │ │ │ │ │ ├── Accounts
│ │ │ │ │ │ └── Account
│ │ │ │ │ │ │ └── index.css
│ │ │ │ │ │ ├── Transactions
│ │ │ │ │ │ └── Transaction
│ │ │ │ │ │ │ └── index.css
│ │ │ │ │ │ ├── WithdrawalRecords
│ │ │ │ │ │ └── WithdrawalRecord
│ │ │ │ │ │ │ └── index.css
│ │ │ │ │ │ ├── WithdrawalRequests
│ │ │ │ │ │ └── WithdrawalRequest
│ │ │ │ │ │ │ ├── index.css
│ │ │ │ │ │ │ └── Index.cshtml.cs
│ │ │ │ │ │ ├── _ViewImports.cshtml
│ │ │ │ │ │ ├── Index.cshtml.cs
│ │ │ │ │ │ └── Index.cshtml
│ │ │ │ └── PrepaymentPageModel.cs
│ │ │ ├── FodyWeavers.xml
│ │ │ ├── PrepaymentWebAutoMapperProfile.cs
│ │ │ └── Menus
│ │ │ │ └── PrepaymentMenus.cs
│ │ ├── EasyAbp.PaymentService.Prepayment.Domain
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ └── Prepayment
│ │ │ │ ├── Options
│ │ │ │ ├── AccountGroups
│ │ │ │ │ ├── IAccountGroup.cs
│ │ │ │ │ └── IAccountGroupConfigurationProvider.cs
│ │ │ │ └── WithdrawalMethods
│ │ │ │ │ ├── IWithdrawalMethodConfigurationProvider.cs
│ │ │ │ │ └── WithdrawalMethodConfiguration.cs
│ │ │ │ ├── Accounts
│ │ │ │ ├── IAccountRepository.cs
│ │ │ │ ├── UnknownWithdrawalMethodException.cs
│ │ │ │ ├── WithdrawalInProgressNotFoundException.cs
│ │ │ │ ├── WithdrawalIsAlreadyInProgressException.cs
│ │ │ │ ├── WithdrawalAmountExceedDailyLimitException.cs
│ │ │ │ ├── InsufficientBalanceToLockException.cs
│ │ │ │ └── IAccountWithdrawalProvider.cs
│ │ │ │ ├── Transactions
│ │ │ │ └── ITransactionRepository.cs
│ │ │ │ ├── WithdrawalRequests
│ │ │ │ ├── IWithdrawalRequestRepository.cs
│ │ │ │ ├── ManualWithdrawalMethod.cs
│ │ │ │ └── WithdrawalRequestHasBeenReviewedException.cs
│ │ │ │ ├── PaymentService
│ │ │ │ ├── SelfTopUpException.cs
│ │ │ │ ├── UserIsNotAccountOwnerException.cs
│ │ │ │ └── AccountTopingUpOtherAccountsIsNotAllowedException.cs
│ │ │ │ ├── Settings
│ │ │ │ ├── PrepaymentSettings.cs
│ │ │ │ └── PrepaymentSettingDefinitionProvider.cs
│ │ │ │ ├── PrepaymentDbProperties.cs
│ │ │ │ └── WithdrawalRecords
│ │ │ │ ├── IWithdrawalRecordRepository.cs
│ │ │ │ └── WithdrawalIsNotInProgressException.cs
│ │ ├── EasyAbp.PaymentService.Prepayment.HttpApi
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp.PaymentService.Prepayment.HttpApi.csproj
│ │ ├── EasyAbp.PaymentService.Prepayment.MongoDB
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ └── Prepayment
│ │ │ │ └── MongoDB
│ │ │ │ ├── IPrepaymentMongoDbContext.cs
│ │ │ │ └── PrepaymentMongoModelBuilderConfigurationOptions.cs
│ │ ├── EasyAbp.PaymentService.Prepayment.Application
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ └── Prepayment
│ │ │ │ ├── Accounts
│ │ │ │ ├── UnauthorizedTopUpException.cs
│ │ │ │ └── TopUpIsAlreadyInProgressException.cs
│ │ │ │ ├── WithdrawalRequests
│ │ │ │ └── UnexpectedWithdrawalAmountException.cs
│ │ │ │ └── PrepaymentAppService.cs
│ │ ├── EasyAbp.PaymentService.Prepayment.Domain.Shared
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ └── Prepayment
│ │ │ │ ├── PrepaymentErrorCodes.cs
│ │ │ │ ├── Transactions
│ │ │ │ └── TransactionType.cs
│ │ │ │ └── Localization
│ │ │ │ └── PrepaymentResource.cs
│ │ ├── EasyAbp.PaymentService.Prepayment.HttpApi.Client
│ │ │ └── FodyWeavers.xml
│ │ ├── EasyAbp.PaymentService.Prepayment.Application.Contracts
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EasyAbp
│ │ │ │ └── PaymentService
│ │ │ │ └── Prepayment
│ │ │ │ ├── WithdrawalRequests
│ │ │ │ └── Dtos
│ │ │ │ │ ├── ReviewWithdrawalRequestInput.cs
│ │ │ │ │ └── GetWithdrawalRequestListInput.cs
│ │ │ │ ├── Accounts
│ │ │ │ └── Dtos
│ │ │ │ │ ├── TopUpInput.cs
│ │ │ │ │ ├── GetAccountListInput.cs
│ │ │ │ │ └── WithdrawInput.cs
│ │ │ │ ├── Transactions
│ │ │ │ ├── Dtos
│ │ │ │ │ └── GetTransactionListInput.cs
│ │ │ │ └── ITransactionAppService.cs
│ │ │ │ └── WithdrawalRecords
│ │ │ │ └── IWithdrawalRecordAppService.cs
│ │ └── EasyAbp.PaymentService.Prepayment.EntityFrameworkCore
│ │ │ └── FodyWeavers.xml
│ ├── test
│ │ ├── EasyAbp.PaymentService.Prepayment.TestBase
│ │ │ ├── FodyWeavers.xml
│ │ │ ├── CustomAccountGroup.cs
│ │ │ ├── DefaultAccountGroup.cs
│ │ │ └── PrepaymentTestConsts.cs
│ │ ├── EasyAbp.PaymentService.Prepayment.Domain.Tests
│ │ │ ├── FodyWeavers.xml
│ │ │ ├── PrepaymentDomainTestBase.cs
│ │ │ ├── Transactions
│ │ │ │ └── TransactionDomainTests.cs
│ │ │ ├── EasyAbp.PaymentService.Prepayment.Domain.Tests.csproj
│ │ │ └── PrepaymentDomainTestModule.cs
│ │ ├── EasyAbp.PaymentService.Prepayment.MongoDB.Tests
│ │ │ ├── FodyWeavers.xml
│ │ │ └── MongoDB
│ │ │ │ ├── MongoTestCollection.cs
│ │ │ │ └── PrepaymentMongoDbTestBase.cs
│ │ ├── EasyAbp.PaymentService.Prepayment.Application.Tests
│ │ │ ├── FodyWeavers.xml
│ │ │ ├── PrepaymentApplicationTestBase.cs
│ │ │ └── PrepaymentApplicationTestModule.cs
│ │ ├── EasyAbp.PaymentService.Prepayment.EntityFrameworkCore.Tests
│ │ │ ├── FodyWeavers.xml
│ │ │ └── EntityFrameworkCore
│ │ │ │ └── PrepaymentEntityFrameworkCoreTestBase.cs
│ │ └── EasyAbp.PaymentService.Prepayment.HttpApi.Client.ConsoleTestApp
│ │ │ ├── PrepaymentConsoleApiClientModule.cs
│ │ │ └── appsettings.json
│ ├── docker-compose.migrations.yml
│ ├── host
│ │ └── EasyAbp.PaymentService.Prepayment.Host.Shared
│ │ │ ├── EasyAbp.PaymentService.Prepayment.Host.Shared.csproj
│ │ │ └── MultiTenancy
│ │ │ └── MultiTenancyConsts.cs
│ └── docker-compose.yml
└── EasyAbp.PaymentService.WeChatPay
│ ├── .gitattributes
│ ├── src
│ ├── EasyAbp.PaymentService.WeChatPay.Web
│ │ ├── Pages
│ │ │ ├── PaymentService
│ │ │ │ └── WeChatPay
│ │ │ │ │ ├── PaymentRecords
│ │ │ │ │ └── PaymentRecord
│ │ │ │ │ │ ├── index.css
│ │ │ │ │ │ └── Index.cshtml.cs
│ │ │ │ │ ├── RefundRecords
│ │ │ │ │ └── RefundRecord
│ │ │ │ │ │ ├── index.css
│ │ │ │ │ │ └── Index.cshtml.cs
│ │ │ │ │ ├── Index.cshtml
│ │ │ │ │ ├── _ViewImports.cshtml
│ │ │ │ │ └── Index.cshtml.cs
│ │ │ └── WeChatPayPageModel.cs
│ │ ├── FodyWeavers.xml
│ │ ├── WeChatPayWebAutoMapperProfile.cs
│ │ └── Menus
│ │ │ └── WeChatPayMenus.cs
│ ├── EasyAbp.PaymentService.WeChatPay.Domain
│ │ ├── FodyWeavers.xml
│ │ └── EasyAbp
│ │ │ └── PaymentService
│ │ │ └── WeChatPay
│ │ │ ├── IWeChatPayFeeConverter.cs
│ │ │ ├── IPaymentOpenIdProvider.cs
│ │ │ ├── UserOpenIdNotFoundException.cs
│ │ │ ├── Settings
│ │ │ └── WeChatPaySettings.cs
│ │ │ ├── UnsupportedWeChatPayTradeTypeException.cs
│ │ │ ├── Background
│ │ │ ├── EmptyJob.cs
│ │ │ └── EmptyJobArgs.cs
│ │ │ ├── WeChatPayDbProperties.cs
│ │ │ ├── RefundRecords
│ │ │ └── IRefundRecordRepository.cs
│ │ │ ├── PaymentRecords
│ │ │ └── IPaymentRecordRepository.cs
│ │ │ └── WeChatPayBusinessErrorException.cs
│ ├── EasyAbp.PaymentService.WeChatPay.HttpApi
│ │ └── FodyWeavers.xml
│ ├── EasyAbp.PaymentService.WeChatPay.MongoDB
│ │ ├── FodyWeavers.xml
│ │ └── EasyAbp
│ │ │ └── PaymentService
│ │ │ └── WeChatPay
│ │ │ └── MongoDB
│ │ │ ├── IWeChatPayMongoDbContext.cs
│ │ │ └── WeChatPayMongoModelBuilderConfigurationOptions.cs
│ ├── EasyAbp.PaymentService.WeChatPay.Application
│ │ ├── FodyWeavers.xml
│ │ └── EasyAbp
│ │ │ └── PaymentService
│ │ │ └── WeChatPay
│ │ │ └── WeChatPayAppService.cs
│ ├── EasyAbp.PaymentService.WeChatPay.Domain.Shared
│ │ ├── FodyWeavers.xml
│ │ └── EasyAbp
│ │ │ └── PaymentService
│ │ │ └── WeChatPay
│ │ │ ├── WeChatPayErrorCodes.cs
│ │ │ └── Localization
│ │ │ └── WeChatPayResource.cs
│ ├── EasyAbp.PaymentService.WeChatPay.HttpApi.Client
│ │ └── FodyWeavers.xml
│ ├── EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore
│ │ ├── FodyWeavers.xml
│ │ └── EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore.csproj
│ └── EasyAbp.PaymentService.WeChatPay.Application.Contracts
│ │ ├── FodyWeavers.xml
│ │ └── EasyAbp
│ │ └── PaymentService
│ │ └── WeChatPay
│ │ ├── RefundRecords
│ │ └── IRefundRecordAppService.cs
│ │ └── PaymentRecords
│ │ └── IPaymentRecordAppService.cs
│ ├── host
│ └── EasyAbp.PaymentService.WeChatPay.Host.Shared
│ │ ├── FodyWeavers.xml
│ │ └── EasyAbp.PaymentService.WeChatPay.Host.Shared.csproj
│ ├── test
│ ├── EasyAbp.PaymentService.WeChatPay.TestBase
│ │ └── FodyWeavers.xml
│ ├── EasyAbp.PaymentService.WeChatPay.Domain.Tests
│ │ ├── FodyWeavers.xml
│ │ ├── WeChatPayDomainTestBase.cs
│ │ ├── RefundRecords
│ │ │ └── RefundRecordDomainTests.cs
│ │ └── PaymentRecords
│ │ │ └── PaymentRecordDomainTests.cs
│ ├── EasyAbp.PaymentService.WeChatPay.MongoDB.Tests
│ │ ├── FodyWeavers.xml
│ │ └── MongoDB
│ │ │ ├── MongoTestCollection.cs
│ │ │ └── WeChatPayMongoDbTestBase.cs
│ ├── EasyAbp.PaymentService.WeChatPay.Application.Tests
│ │ ├── FodyWeavers.xml
│ │ ├── WeChatPayApplicationTestBase.cs
│ │ └── PaymentServiceWeChatPayApplicationTestModule.cs
│ ├── EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore.Tests
│ │ ├── FodyWeavers.xml
│ │ └── EntityFrameworkCore
│ │ │ └── WeChatPayEntityFrameworkCoreTestBase.cs
│ └── EasyAbp.PaymentService.WeChatPay.HttpApi.Client.ConsoleTestApp
│ │ └── PaymentServiceWeChatPayConsoleApiClientModule.cs
│ ├── docker-compose.migrations.yml
│ └── docker-compose.yml
├── samples
└── PaymentServiceSample
│ └── aspnet-core
│ ├── .gitattributes
│ ├── src
│ ├── PaymentServiceSample.Web
│ │ ├── Pages
│ │ │ ├── Index.css
│ │ │ ├── Index.js
│ │ │ ├── _ViewImports.cshtml
│ │ │ ├── Index.cshtml.cs
│ │ │ └── PaymentServiceSamplePageModel.cs
│ │ ├── appsettings.Development.json
│ │ ├── wwwroot
│ │ │ ├── global-styles.css
│ │ │ └── libs
│ │ │ │ ├── malihu-custom-scrollbar-plugin
│ │ │ │ └── mCSB_buttons.png
│ │ │ │ ├── @fortawesome
│ │ │ │ └── fontawesome-free
│ │ │ │ │ └── webfonts
│ │ │ │ │ ├── fa-solid-900.woff2
│ │ │ │ │ ├── fa-brands-400.woff2
│ │ │ │ │ ├── fa-regular-400.woff2
│ │ │ │ │ └── fa-v4compatibility.woff2
│ │ │ │ ├── bootstrap
│ │ │ │ └── js
│ │ │ │ │ ├── bootstrap.enable.popovers.everywhere.js
│ │ │ │ │ └── bootstrap.enable.tooltips.everywhere.js
│ │ │ │ ├── bootstrap-datepicker
│ │ │ │ └── locales
│ │ │ │ │ ├── bootstrap-datepicker.ja.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ko.min.js
│ │ │ │ │ ├── bootstrap-datepicker.he.min.js
│ │ │ │ │ ├── bootstrap-datepicker.bg.min.js
│ │ │ │ │ ├── bootstrap-datepicker.sw.min.js
│ │ │ │ │ ├── bootstrap-datepicker.cy.min.js
│ │ │ │ │ ├── bootstrap-datepicker.zh-CN.min.js
│ │ │ │ │ ├── bootstrap-datepicker.zh-TW.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ms.min.js
│ │ │ │ │ ├── bootstrap-datepicker.hr.min.js
│ │ │ │ │ ├── bootstrap-datepicker.kk.min.js
│ │ │ │ │ ├── bootstrap-datepicker.sl.min.js
│ │ │ │ │ ├── bootstrap-datepicker.kr.min.js
│ │ │ │ │ ├── bootstrap-datepicker.mk.min.js
│ │ │ │ │ ├── bootstrap-datepicker.is.min.js
│ │ │ │ │ ├── bootstrap-datepicker.mn.min.js
│ │ │ │ │ ├── bootstrap-datepicker.sr.min.js
│ │ │ │ │ ├── bootstrap-datepicker.th.min.js
│ │ │ │ │ ├── bootstrap-datepicker.bs.min.js
│ │ │ │ │ ├── bootstrap-datepicker.fo.min.js
│ │ │ │ │ ├── bootstrap-datepicker.fa.min.js
│ │ │ │ │ ├── bootstrap-datepicker.sr-latin.min.js
│ │ │ │ │ ├── bootstrap-datepicker.tr.min.js
│ │ │ │ │ ├── bootstrap-datepicker.gl.min.js
│ │ │ │ │ ├── bootstrap-datepicker.sk.min.js
│ │ │ │ │ ├── bootstrap-datepicker.sv.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ar-tn.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ar.min.js
│ │ │ │ │ ├── bootstrap-datepicker.km.min.js
│ │ │ │ │ ├── bootstrap-datepicker.me.min.js
│ │ │ │ │ ├── bootstrap-datepicker.az.min.js
│ │ │ │ │ ├── bootstrap-datepicker.pt.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ro.min.js
│ │ │ │ │ ├── bootstrap-datepicker.cs.min.js
│ │ │ │ │ ├── bootstrap-datepicker.tg.min.js
│ │ │ │ │ ├── bootstrap-datepicker.tk.min.js
│ │ │ │ │ ├── bootstrap-datepicker.eo.min.js
│ │ │ │ │ ├── bootstrap-datepicker.id.min.js
│ │ │ │ │ ├── bootstrap-datepicker.it-CH.min.js
│ │ │ │ │ ├── bootstrap-datepicker.pt-BR.min.js
│ │ │ │ │ ├── bootstrap-datepicker.sq.min.js
│ │ │ │ │ ├── bootstrap-datepicker.uk.min.js
│ │ │ │ │ ├── bootstrap-datepicker.vi.min.js
│ │ │ │ │ ├── bootstrap-datepicker.br.min.js
│ │ │ │ │ ├── bootstrap-datepicker.da.min.js
│ │ │ │ │ ├── bootstrap-datepicker.de.min.js
│ │ │ │ │ ├── bootstrap-datepicker.es.min.js
│ │ │ │ │ ├── bootstrap-datepicker.fr-CH.min.js
│ │ │ │ │ ├── bootstrap-datepicker.no.min.js
│ │ │ │ │ ├── bootstrap-datepicker.oc.min.js
│ │ │ │ │ ├── bootstrap-datepicker.uz-cyrl.min.js
│ │ │ │ │ ├── bootstrap-datepicker.hu.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ka.min.js
│ │ │ │ │ ├── bootstrap-datepicker.lv.min.js
│ │ │ │ │ ├── bootstrap-datepicker.nl.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ru.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ta.min.js
│ │ │ │ │ ├── bootstrap-datepicker.en-AU.min.js
│ │ │ │ │ ├── bootstrap-datepicker.en-CA.min.js
│ │ │ │ │ ├── bootstrap-datepicker.en-GB.min.js
│ │ │ │ │ ├── bootstrap-datepicker.en-IE.min.js
│ │ │ │ │ ├── bootstrap-datepicker.en-NZ.min.js
│ │ │ │ │ ├── bootstrap-datepicker.en-US.min.js
│ │ │ │ │ ├── bootstrap-datepicker.en-ZA.min.js
│ │ │ │ │ ├── bootstrap-datepicker.hi.min.js
│ │ │ │ │ ├── bootstrap-datepicker.it.min.js
│ │ │ │ │ ├── bootstrap-datepicker.uz-latn.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ca.min.js
│ │ │ │ │ ├── bootstrap-datepicker.el.min.js
│ │ │ │ │ ├── bootstrap-datepicker.et.min.js
│ │ │ │ │ ├── bootstrap-datepicker.nl-BE.min.js
│ │ │ │ │ ├── bootstrap-datepicker.eu.min.js
│ │ │ │ │ ├── bootstrap-datepicker.fr.min.js
│ │ │ │ │ ├── bootstrap-datepicker.hy.min.js
│ │ │ │ │ ├── bootstrap-datepicker.si.min.js
│ │ │ │ │ ├── bootstrap-datepicker.mr.min.js
│ │ │ │ │ ├── bootstrap-datepicker.pl.min.js
│ │ │ │ │ ├── bootstrap-datepicker.fi.min.js
│ │ │ │ │ ├── bootstrap-datepicker.bm.min.js
│ │ │ │ │ ├── bootstrap-datepicker.ar-DZ.min.js
│ │ │ │ │ └── bootstrap-datepicker.lt.min.js
│ │ │ │ └── jquery-validation
│ │ │ │ └── localization
│ │ │ │ ├── methods_pt.min.js
│ │ │ │ └── methods_fi.min.js
│ │ ├── abp.resourcemapping.js
│ │ ├── package.json
│ │ ├── Views
│ │ │ └── _ViewImports.cshtml
│ │ ├── CustomAccountGroup.cs
│ │ ├── DefaultAccountGroup.cs
│ │ ├── NullWithdrawalMethod.cs
│ │ ├── gulpfile.js
│ │ ├── PaymentServiceSampleBrandingProvider.cs
│ │ └── PaymentServiceSampleWebAutoMapperProfile.cs
│ ├── PaymentServiceSample.Domain.Shared
│ │ ├── Localization
│ │ │ ├── PaymentServiceSample
│ │ │ │ ├── zh-Hans.json
│ │ │ │ ├── zh-Hant.json
│ │ │ │ ├── cs.json
│ │ │ │ ├── sl.json
│ │ │ │ ├── en.json
│ │ │ │ ├── pl-PL.json
│ │ │ │ ├── pt-BR.json
│ │ │ │ ├── vi.json
│ │ │ │ ├── ru.json
│ │ │ │ └── tr.json
│ │ │ └── PaymentServiceSampleResource.cs
│ │ ├── PaymentServiceSampleDomainErrorCodes.cs
│ │ └── MultiTenancy
│ │ │ └── MultiTenancyConsts.cs
│ ├── PaymentServiceSample.Domain
│ │ ├── Data
│ │ │ ├── IPaymentServiceSampleDbSchemaMigrator.cs
│ │ │ └── NullPaymentServiceSampleDbSchemaMigrator.cs
│ │ ├── PaymentServiceSampleConsts.cs
│ │ └── Settings
│ │ │ ├── PaymentServiceSampleSettings.cs
│ │ │ └── PaymentServiceSampleSettingDefinitionProvider.cs
│ ├── PaymentServiceSample.HttpApi
│ │ ├── Models
│ │ │ └── Test
│ │ │ │ └── TestModel.cs
│ │ └── Controllers
│ │ │ └── PaymentServiceSampleController.cs
│ ├── PaymentServiceSample.Application.Contracts
│ │ └── Permissions
│ │ │ └── PaymentServiceSamplePermissions.cs
│ ├── PaymentServiceSample.Application
│ │ ├── PaymentServiceSampleApplicationAutoMapperProfile.cs
│ │ └── PaymentServiceSampleAppService.cs
│ └── PaymentServiceSample.DbMigrator
│ │ └── appsettings.json
│ ├── package.json
│ ├── test
│ ├── PaymentServiceSample.Web.Tests
│ │ ├── xunit.runner.json
│ │ ├── Pages
│ │ │ └── Index_Tests.cs
│ │ └── Program.cs
│ ├── PaymentServiceSample.Domain.Tests
│ │ ├── PaymentServiceSampleDomainTestBase.cs
│ │ ├── PaymentServiceSampleDomainTestModule.cs
│ │ └── PaymentServiceSample.Domain.Tests.csproj
│ ├── PaymentServiceSample.Application.Tests
│ │ ├── PaymentServiceSampleApplicationTestBase.cs
│ │ └── PaymentServiceSampleApplicationTestModule.cs
│ ├── PaymentServiceSample.EntityFrameworkCore.Tests
│ │ └── EntityFrameworkCore
│ │ │ └── PaymentServiceSampleEntityFrameworkCoreTestBase.cs
│ ├── PaymentServiceSample.HttpApi.Client.ConsoleTestApp
│ │ ├── PaymentServiceSampleConsoleApiClientModule.cs
│ │ └── appsettings.json
│ └── PaymentServiceSample.TestBase
│ │ └── PaymentServiceSampleTestDataSeedContributor.cs
│ └── common.props
├── docs
└── images
│ └── Payment.png
├── Directory.Build.props
└── .dockerignore
/README.md:
--------------------------------------------------------------------------------
1 | /docs/README.md
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | **/wwwroot/libs/** linguist-vendored
2 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/.gitattributes:
--------------------------------------------------------------------------------
1 | **/wwwroot/libs/** linguist-vendored
2 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/.gitattributes:
--------------------------------------------------------------------------------
1 | **/wwwroot/libs/** linguist-vendored
2 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/.gitattributes:
--------------------------------------------------------------------------------
1 | **/wwwroot/libs/** linguist-vendored
2 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/.gitattributes:
--------------------------------------------------------------------------------
1 | **/wwwroot/libs/** linguist-vendored
2 |
--------------------------------------------------------------------------------
/docs/images/Payment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EasyAbp/PaymentService/HEAD/docs/images/Payment.png
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Refunds/Refund/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Payments/Payment/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Payments/PaymentItem/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Refunds/RefundItem/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/Pages/Index.css:
--------------------------------------------------------------------------------
1 | body {
2 |
3 | }
4 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | }
3 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "gulp": "^4.0.2"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/global-styles.css:
--------------------------------------------------------------------------------
1 | /* Your Global Styles */
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.Web.Tests/xunit.runner.json:
--------------------------------------------------------------------------------
1 | {
2 | "shadowCopy": false
3 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Pages/PaymentService/Prepayment/Accounts/Account/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Pages/PaymentService/Prepayment/Transactions/Transaction/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/Pages/PaymentService/WeChatPay/PaymentRecords/PaymentRecord/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/Pages/PaymentService/WeChatPay/RefundRecords/RefundRecord/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/Pages/Index.js:
--------------------------------------------------------------------------------
1 | $(function () {
2 | abp.log.debug('Index.js initialized!');
3 | });
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Pages/PaymentService/Prepayment/WithdrawalRecords/WithdrawalRecord/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Pages/PaymentService/Prepayment/WithdrawalRequests/WithdrawalRequest/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | 10.0.1
4 | 3.8.0
5 |
6 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/abp.resourcemapping.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | aliases: {
3 |
4 | },
5 | mappings: {
6 |
7 | }
8 | };
9 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/common.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | latest
4 | 1.0.0
5 | $(NoWarn);CS1591
6 |
7 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/host/EasyAbp.PaymentService.WeChatPay.Host.Shared/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "1.0.0",
3 | "name": "my-app",
4 | "private": true,
5 | "dependencies": {
6 | "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~5.0.1"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.HttpApi/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.MongoDB/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Index.cshtml:
--------------------------------------------------------------------------------
1 | @page
2 | @model EasyAbp.PaymentService.Web.Pages.PaymentService.IndexModel
3 | @{
4 | }
5 |
PaymentService
6 | A sample page for the PaymentService module.
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.TestBase/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.HttpApi.Client/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.Domain.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.MongoDB.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.EntityFrameworkCore/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.Application.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application.Contracts/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.HttpApi/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.MongoDB/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.HttpApi/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.MongoDB/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.TestBase/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.EntityFrameworkCore.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.TestBase/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Application/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain.Shared/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.HttpApi.Client/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.Domain.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.MongoDB.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain.Shared/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.HttpApi.Client/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.Domain.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.MongoDB.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.Application.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application.Contracts/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.EntityFrameworkCore/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.Application.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Application.Contracts/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Options/AccountGroups/IAccountGroup.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment.Options.AccountGroups
2 | {
3 | public interface IAccountGroup
4 | {
5 |
6 | }
7 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.EntityFrameworkCore.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/Pages/PaymentService/WeChatPay/Index.cshtml:
--------------------------------------------------------------------------------
1 | @page
2 | @model EasyAbp.PaymentService.WeChatPay.Web.Pages.PaymentService.WeChatPay.IndexModel
3 | @{
4 | }
5 | WeChatPay
6 | A sample page for the WeChatPay module.
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore.Tests/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/PaymentServiceErrorCodes.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService
2 | {
3 | public static class PaymentServiceErrorCodes
4 | {
5 | //Add your business exception error codes here...
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Web.Pages.PaymentService
2 | {
3 | public class IndexModel : PaymentServicePageModel
4 | {
5 | public void OnGet()
6 | {
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/Pages/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
2 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
3 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
4 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/Views/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
2 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
3 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
4 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
2 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
3 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
4 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/Pages/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | namespace PaymentServiceSample.Web.Pages
2 | {
3 | public class IndexModel : PaymentServiceSamplePageModel
4 | {
5 | public void OnGet()
6 | {
7 |
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/malihu-custom-scrollbar-plugin/mCSB_buttons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EasyAbp/PaymentService/HEAD/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/malihu-custom-scrollbar-plugin/mCSB_buttons.png
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.Domain.Tests/PaymentServiceSampleDomainTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace PaymentServiceSample
2 | {
3 | public abstract class PaymentServiceSampleDomainTestBase : PaymentServiceSampleTestBase
4 | {
5 |
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.Web.Tests/Pages/Index_Tests.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Shouldly;
3 | using Xunit;
4 |
5 | namespace PaymentServiceSample.Pages
6 | {
7 | public class Index_Tests : PaymentServiceSampleWebTestBase
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "zh-Hans",
3 | "texts": {
4 | "Menu:Home": "首页",
5 | "Welcome": "欢迎",
6 | "LongWelcomeMessage": "欢迎来到该应用程序. 这是一个基于ABP框架的启动项目. 有关更多信息, 请访问 abp.io."
7 | }
8 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/zh-Hant.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "zh-Hant",
3 | "texts": {
4 | "Menu:Home": "首頁",
5 | "Welcome": "歡迎",
6 | "LongWelcomeMessage": "歡迎來到此應用程式. 這是一個基於ABP框架的起始專案. 有關更多訊息, 請瀏覽 abp.io."
7 | }
8 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/CustomAccountGroup.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Prepayment.Options.AccountGroups;
2 |
3 | namespace PaymentServiceSample.Web
4 | {
5 | [AccountGroupName("custom")]
6 | public class CustomAccountGroup
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/DefaultAccountGroup.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Prepayment.Options.AccountGroups;
2 |
3 | namespace PaymentServiceSample.Web
4 | {
5 | [AccountGroupName("default")]
6 | public class DefaultAccountGroup
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain.Shared/EasyAbp/PaymentService/WeChatPay/WeChatPayErrorCodes.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.WeChatPay
2 | {
3 | public static class WeChatPayErrorCodes
4 | {
5 | //Add your business exception error codes here...
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/PaymentServiceSampleDomainErrorCodes.cs:
--------------------------------------------------------------------------------
1 | namespace PaymentServiceSample
2 | {
3 | public static class PaymentServiceSampleDomainErrorCodes
4 | {
5 | /* You can add your business exception error codes here, as constants */
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain/Data/IPaymentServiceSampleDbSchemaMigrator.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 |
3 | namespace PaymentServiceSample.Data
4 | {
5 | public interface IPaymentServiceSampleDbSchemaMigrator
6 | {
7 | Task MigrateAsync();
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EasyAbp/PaymentService/HEAD/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain.Shared/EasyAbp/PaymentService/Prepayment/PrepaymentErrorCodes.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment
2 | {
3 | public static class PrepaymentErrorCodes
4 | {
5 | //Add your business exception error codes here...
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain/PaymentServiceSampleConsts.cs:
--------------------------------------------------------------------------------
1 | namespace PaymentServiceSample
2 | {
3 | public static class PaymentServiceSampleConsts
4 | {
5 | public const string DbTablePrefix = "App";
6 |
7 | public const string DbSchema = null;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.HttpApi/Models/Test/TestModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace PaymentServiceSample.Models.Test
4 | {
5 | public class TestModel
6 | {
7 | public string Name { get; set; }
8 |
9 | public DateTime BirthDate { get; set; }
10 | }
11 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/NullWithdrawalMethod.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Prepayment.Options.WithdrawalMethods;
2 |
3 | namespace PaymentServiceSample.Web
4 | {
5 | [WithdrawalMethodName("Null")]
6 | public class NullWithdrawalMethod
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EasyAbp/PaymentService/HEAD/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EasyAbp/PaymentService/HEAD/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/Pages/PaymentService/WeChatPay/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
2 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
3 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
4 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js:
--------------------------------------------------------------------------------
1 | (function () {
2 | [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) {
3 | return new bootstrap.Popover(popoverTriggerEl)
4 | })
5 | })();
6 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js:
--------------------------------------------------------------------------------
1 | (function () {
2 | [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) {
3 | return new bootstrap.Tooltip(tooltipTriggerEl)
4 | });
5 | })();
6 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.Application.Tests/PaymentServiceSampleApplicationTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace PaymentServiceSample
2 | {
3 | public abstract class PaymentServiceSampleApplicationTestBase : PaymentServiceSampleTestBase
4 | {
5 |
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Pages/PaymentService/Prepayment/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
2 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
3 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
4 | @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/Pages/PaymentService/WeChatPay/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.WeChatPay.Web.Pages.PaymentService.WeChatPay
2 | {
3 | public class IndexModel : WeChatPayPageModel
4 | {
5 | public void OnGet()
6 | {
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EasyAbp/PaymentService/HEAD/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.woff2
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Pages/PaymentService/Prepayment/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment.Web.Pages.PaymentService.Prepayment
2 | {
3 | public class IndexModel : PrepaymentPageModel
4 | {
5 | public void OnGet()
6 | {
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.TestBase/CustomAccountGroup.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Prepayment.Options.AccountGroups;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment
4 | {
5 | [AccountGroupName("custom")]
6 | public class CustomAccountGroup
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/ICancelPaymentEventHandler.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.EventBus.Distributed;
2 |
3 | namespace EasyAbp.PaymentService.Payments
4 | {
5 | public interface ICancelPaymentEventHandler : IDistributedEventHandler
6 | {
7 |
8 | }
9 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/ICreatePaymentEventHandler.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.EventBus.Distributed;
2 |
3 | namespace EasyAbp.PaymentService.Payments
4 | {
5 | public interface ICreatePaymentEventHandler : IDistributedEventHandler
6 | {
7 |
8 | }
9 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/IRefundPaymentEventHandler.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.EventBus.Distributed;
2 |
3 | namespace EasyAbp.PaymentService.Payments
4 | {
5 | public interface IRefundPaymentEventHandler : IDistributedEventHandler
6 | {
7 |
8 | }
9 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/gulpfile.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var gulp = require("gulp"),
4 | path = require('path'),
5 | copyResources = require('./node_modules/@abp/aspnetcore.mvc.ui/gulp/copy-resources.js');
6 |
7 | exports.default = function(){
8 | return copyResources(path.resolve('./'));
9 | };
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.TestBase/DefaultAccountGroup.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Prepayment.Options.AccountGroups;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment
4 | {
5 | [AccountGroupName("default")]
6 | public class DefaultAccountGroup
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSampleResource.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Localization;
2 |
3 | namespace PaymentServiceSample.Localization
4 | {
5 | [LocalizationResourceName("PaymentServiceSample")]
6 | public class PaymentServiceSampleResource
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Accounts/IAccountRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.Domain.Repositories;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Accounts
5 | {
6 | public interface IAccountRepository : IRepository
7 | {
8 | }
9 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/IWeChatPayFeeConverter.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.WeChatPay
2 | {
3 | public interface IWeChatPayFeeConverter
4 | {
5 | int ConvertToWeChatPayFee(decimal fee);
6 |
7 | decimal ConvertToDecimalFee(int fee);
8 | }
9 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application.Contracts/EasyAbp/PaymentService/Payments/Dtos/GetPaymentListInput.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.Application.Dtos;
3 |
4 | namespace EasyAbp.PaymentService.Payments.Dtos;
5 |
6 | public class GetPaymentListInput : PagedAndSortedResultRequestDto
7 | {
8 | public Guid? UserId { get; set; }
9 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application.Contracts/EasyAbp/PaymentService/Refunds/Dtos/GetRefundListInput.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.Application.Dtos;
3 |
4 | namespace EasyAbp.PaymentService.Refunds.Dtos;
5 |
6 | public class GetRefundListInput : PagedAndSortedResultRequestDto
7 | {
8 | public Guid? PaymentId { get; set; }
9 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain.Shared/EasyAbp/PaymentService/Prepayment/Transactions/TransactionType.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.Transactions
4 | {
5 | [Flags]
6 | public enum TransactionType
7 | {
8 | Debit = 1,
9 | Credit = 2
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/host/EasyAbp.PaymentService.Host.Shared/EasyAbp.PaymentService.Host.Shared.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | net10.0
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/Localization/PaymentServiceResource.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Localization;
2 |
3 | namespace EasyAbp.PaymentService.Localization
4 | {
5 | [LocalizationResourceName("EasyAbpPaymentService")]
6 | public class PaymentServiceResource
7 | {
8 |
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.MongoDB.Tests/MongoDB/MongoTestCollection.cs:
--------------------------------------------------------------------------------
1 | using Xunit;
2 |
3 | namespace EasyAbp.PaymentService.MongoDB
4 | {
5 | [CollectionDefinition(Name)]
6 | public class MongoTestCollection : ICollectionFixture
7 | {
8 | public const string Name = "MongoDB Collection";
9 | }
10 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/cs.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "cs",
3 | "texts": {
4 | "Menu:Home": "Úvod",
5 | "Welcome": "Vítejte",
6 | "LongWelcomeMessage": "Vítejte v aplikaci. Toto je startovací projekt založený na ABP frameworku. Pro více informací, navštivte abp.io."
7 | }
8 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/sl.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "sl",
3 | "texts": {
4 | "Menu:Home": "Domov",
5 | "Welcome": "Dobrodošli",
6 | "LongWelcomeMessage": "Dobrodošli v aplikaciji. To je začetni projekt na osnovi okolja ABP. Za več informacij obiščite abp.io."
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application.Contracts/EasyAbp/PaymentService/PaymentServiceRemoteServiceConsts.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService;
2 |
3 | public class PaymentServiceRemoteServiceConsts
4 | {
5 | public const string RemoteServiceName = "EasyAbpPaymentService";
6 |
7 | public const string ModuleName = "easyAbpPaymentService";
8 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application.Contracts/EasyAbp/PaymentService/Payments/Dtos/PayInput.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using Volo.Abp.ObjectExtending;
4 |
5 | namespace EasyAbp.PaymentService.Payments.Dtos
6 | {
7 | [Serializable]
8 | public class PayInput : ExtensibleObject
9 | {
10 | }
11 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/en.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "en",
3 | "texts": {
4 | "Menu:Home": "Home",
5 | "Welcome": "Welcome",
6 | "LongWelcomeMessage": "Welcome to the application. This is a startup project based on the ABP framework. For more information, visit abp.io."
7 | }
8 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/pl-PL.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "pl-PL",
3 | "texts": {
4 | "Menu:Home": "Home",
5 | "Welcome": "Witaj",
6 | "LongWelcomeMessage": "Witaj w aplikacji. To jest inicjalny projekt bazujący na ABP framework. Po więcej informacji odwiedź stronę abp.io."
7 | }
8 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Transactions/ITransactionRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.Domain.Repositories;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Transactions
5 | {
6 | public interface ITransactionRepository : IRepository
7 | {
8 | }
9 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.Application.Tests/PaymentServiceApplicationTestModule.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Modularity;
2 |
3 | namespace EasyAbp.PaymentService;
4 |
5 | [DependsOn(
6 | typeof(PaymentServiceApplicationModule),
7 | typeof(PaymentServiceDomainTestModule)
8 | )]
9 | public class PaymentServiceApplicationTestModule : AbpModule
10 | {
11 |
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Options/AccountGroups/IAccountGroupConfigurationProvider.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment.Options.AccountGroups
2 | {
3 | public interface IAccountGroupConfigurationProvider
4 | {
5 | AccountGroupConfiguration Get(string accountGroupName);
6 | }
7 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/IPaymentOpenIdProvider.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 |
4 | namespace EasyAbp.PaymentService.WeChatPay
5 | {
6 | public interface IPaymentOpenIdProvider
7 | {
8 | Task FindUserOpenIdAsync(string appId, Guid userId);
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Options/PaymentServiceProviders/IPaymentServiceProviderConfigurationProvider.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Options.PaymentServiceProviders
2 | {
3 | public interface IPaymentServiceProviderConfigurationProvider
4 | {
5 | PaymentServiceProviderConfiguration Get(string providerName);
6 | }
7 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.Domain.Tests/PaymentServiceDomainTestBase.cs:
--------------------------------------------------------------------------------
1 |
2 | /* Inherit from this class for your domain layer tests.
3 | * See SampleManager_Tests for example.
4 | */
5 | namespace EasyAbp.PaymentService;
6 |
7 | public abstract class PaymentServiceDomainTestBase : PaymentServiceTestBase
8 | {
9 |
10 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/pt-BR.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "pt-BR",
3 | "texts": {
4 | "Menu:Home": "Principal",
5 | "Welcome": "Seja bem-vindo!",
6 | "LongWelcomeMessage": "Bem-vindo a esta aplicação. Este é um projeto inicial baseado no ABP framework. Para mais informações, visite abp.io."
7 | }
8 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/vi.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "vi",
3 | "texts": {
4 | "Menu:Home": "Trang chủ",
5 | "Welcome": "Chào mừng bạn",
6 | "LongWelcomeMessage": "Chào mừng bạn đến ứng dụng. Đây là một dự án khởi nghiệp dựa trên khung ABP. Để biết thêm thông tin, hãy truy cập abp.io."
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/host/EasyAbp.PaymentService.WeChatPay.Host.Shared/EasyAbp.PaymentService.WeChatPay.Host.Shared.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | net10.0
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.MongoDB.Tests/MongoDB/MongoTestCollection.cs:
--------------------------------------------------------------------------------
1 | using Xunit;
2 |
3 | namespace EasyAbp.PaymentService.WeChatPay.MongoDB
4 | {
5 | [CollectionDefinition(Name)]
6 | public class MongoTestCollection : ICollectionFixture
7 | {
8 | public const string Name = "MongoDB Collection";
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.MongoDB.Tests/MongoDB/MongoTestCollection.cs:
--------------------------------------------------------------------------------
1 | using Xunit;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.MongoDB
4 | {
5 | [CollectionDefinition(Name)]
6 | public class MongoTestCollection : ICollectionFixture
7 | {
8 | public const string Name = "MongoDB Collection";
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/WithdrawalRequests/IWithdrawalRequestRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.Domain.Repositories;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.WithdrawalRequests
5 | {
6 | public interface IWithdrawalRequestRepository : IRepository
7 | {
8 | }
9 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain.Shared/EasyAbp/PaymentService/WeChatPay/Localization/WeChatPayResource.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Localization;
2 |
3 | namespace EasyAbp.PaymentService.WeChatPay.Localization
4 | {
5 | [LocalizationResourceName("EasyAbpPaymentServiceWeChatPay")]
6 | public class WeChatPayResource
7 | {
8 |
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application.Contracts/EasyAbp/PaymentService/Payments/Dtos/PaymentMethodDto.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace EasyAbp.PaymentService.Payments.Dtos
4 | {
5 | [Serializable]
6 | public class PaymentMethodDto
7 | {
8 | public string PaymentMethod { get; set; }
9 |
10 | public string Name { get; set; }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain.Shared/EasyAbp/PaymentService/Prepayment/Localization/PrepaymentResource.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Localization;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.Localization
4 | {
5 | [LocalizationResourceName("EasyAbpPaymentServicePrepayment")]
6 | public class PrepaymentResource
7 | {
8 |
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/ru.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "ru",
3 | "texts": {
4 | "Menu:Home": "Главная",
5 | "Welcome": "Добро пожаловать",
6 | "LongWelcomeMessage": "Добро пожаловать в приложение. Этот запущенный проект основан на фреймворке ABP. Для получения дополнительной информации посетите сайт abp.io."
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/Localization/PaymentServiceSample/tr.json:
--------------------------------------------------------------------------------
1 | {
2 | "culture": "tr",
3 | "texts": {
4 | "Menu:Home": "Ana sayfa",
5 | "Welcome": "Hoşgeldiniz",
6 | "LongWelcomeMessage": "Uygulamaya hoşgeldiniz. Bu, ABP framework'ü üzerine bina edilmiş bir başlangıç projesidir. Daha fazla bilgi için abp.io adresini ziyaret edebilirsiniz."
7 | }
8 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Options/WithdrawalMethods/IWithdrawalMethodConfigurationProvider.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment.Options.WithdrawalMethods
2 | {
3 | public interface IWithdrawalMethodConfigurationProvider
4 | {
5 | WithdrawalMethodConfiguration Get(string withdrawalMethodName);
6 | }
7 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.Domain.Tests/WeChatPayDomainTestBase.cs:
--------------------------------------------------------------------------------
1 |
2 | /* Inherit from this class for your domain layer tests.
3 | * See SampleManager_Tests for example.
4 | */
5 | namespace EasyAbp.PaymentService.WeChatPay;
6 |
7 | public abstract class WeChatPayDomainTestBase : WeChatPayTestBase
8 | {
9 |
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/UnexpectedNumberException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService
4 | {
5 | public class UnexpectedNumberException : BusinessException
6 | {
7 | public UnexpectedNumberException(decimal number) : base(message: $"The number ({number}) is not expected.")
8 | {
9 | }
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.Application.Tests/PaymentServiceApplicationTestBase.cs:
--------------------------------------------------------------------------------
1 |
2 | /* Inherit from this class for your application layer tests.
3 | * See SampleAppService_Tests for example.
4 | */
5 | namespace EasyAbp.PaymentService;
6 |
7 | public abstract class PaymentServiceApplicationTestBase : PaymentServiceTestBase
8 | {
9 |
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/IPaymentServiceResolver.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | public interface IPaymentServiceResolver
7 | {
8 | List GetPaymentMethods();
9 |
10 | Type GetProviderTypeOrDefault(string paymentMethod);
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/WithdrawalRequests/ManualWithdrawalMethod.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Prepayment.Options.WithdrawalMethods;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.WithdrawalRequests
4 | {
5 | [WithdrawalMethodName("Manual")]
6 | public class ManualWithdrawalMethod
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.Domain.Tests/PrepaymentDomainTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment
2 | {
3 | /* Inherit from this class for your domain layer tests.
4 | * See SampleManager_Tests for example.
5 | */
6 | public abstract class PrepaymentDomainTestBase : PrepaymentTestBase
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/docker-compose.migrations.yml:
--------------------------------------------------------------------------------
1 | version: '3.4'
2 |
3 | services:
4 | migrations:
5 | build:
6 | context: ../../
7 | dockerfile: templates/service/database/Dockerfile
8 | depends_on:
9 | - sqlserver
10 | environment:
11 | - IdentityServer_DB=WeChatPay_Identity
12 | - WeChatPay_DB=WeChatPay_ModuleDb
13 | - SA_PASSWORD=yourStrong(!)Password
14 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/docker-compose.migrations.yml:
--------------------------------------------------------------------------------
1 | version: '3.4'
2 |
3 | services:
4 | migrations:
5 | build:
6 | context: ../../
7 | dockerfile: templates/service/database/Dockerfile
8 | depends_on:
9 | - sqlserver
10 | environment:
11 | - IdentityServer_DB=Prepayment_Identity
12 | - Prepayment_DB=Prepayment_ModuleDb
13 | - SA_PASSWORD=yourStrong(!)Password
14 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/host/EasyAbp.PaymentService.Prepayment.Host.Shared/EasyAbp.PaymentService.Prepayment.Host.Shared.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | net10.0
7 | EasyAbp.PaymentService.Prepayment
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application.Contracts/EasyAbp/PaymentService/Prepayment/WithdrawalRequests/Dtos/ReviewWithdrawalRequestInput.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.WithdrawalRequests.Dtos
4 | {
5 | [Serializable]
6 | public class ReviewWithdrawalRequestInput
7 | {
8 | public bool IsApproved { get; set; }
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/docker-compose.migrations.yml:
--------------------------------------------------------------------------------
1 | version: '3.4'
2 |
3 | services:
4 | migrations:
5 | build:
6 | context: ../../
7 | dockerfile: templates/service/database/Dockerfile
8 | depends_on:
9 | - sqlserver
10 | environment:
11 | - IdentityServer_DB=PaymentService_Identity
12 | - PaymentService_DB=PaymentService_ModuleDb
13 | - SA_PASSWORD=yourStrong(!)Password
14 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Refunds/Refund/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 |
3 | namespace EasyAbp.PaymentService.Web.Pages.PaymentService.Refunds.Refund
4 | {
5 | public class IndexModel : PaymentServicePageModel
6 | {
7 | public async Task OnGetAsync()
8 | {
9 | await Task.CompletedTask;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/.dockerignore:
--------------------------------------------------------------------------------
1 | **/.classpath
2 | **/.dockerignore
3 | **/.env
4 | **/.git
5 | **/.gitignore
6 | **/.project
7 | **/.settings
8 | **/.toolstarget
9 | **/.vs
10 | **/.vscode
11 | **/*.*proj.user
12 | **/*.dbmdl
13 | **/*.jfm
14 | **/azds.yaml
15 | **/bin
16 | **/charts
17 | **/docker-compose*
18 | **/Dockerfile*
19 | **/node_modules
20 | **/npm-debug.log
21 | **/obj
22 | **/secrets.dev.yaml
23 | **/values.dev.yaml
24 | LICENSE
25 | README.md
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application.Contracts/EasyAbp/PaymentService/Prepayment/Accounts/Dtos/TopUpInput.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.Accounts.Dtos
4 | {
5 | [Serializable]
6 | public class TopUpInput
7 | {
8 | public string PaymentMethod { get; set; }
9 |
10 | public decimal Amount { get; set; }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Payments/Payment/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 |
3 | namespace EasyAbp.PaymentService.Web.Pages.PaymentService.Payments.Payment
4 | {
5 | public class IndexModel : PaymentServicePageModel
6 | {
7 | public async Task OnGetAsync()
8 | {
9 | await Task.CompletedTask;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain/Settings/PaymentServiceSampleSettings.cs:
--------------------------------------------------------------------------------
1 | namespace PaymentServiceSample.Settings
2 | {
3 | public static class PaymentServiceSampleSettings
4 | {
5 | private const string Prefix = "PaymentServiceSample";
6 |
7 | //Add your own setting names here. Example:
8 | //public const string MySetting1 = Prefix + ".MySetting1";
9 | }
10 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.EntityFrameworkCore.Tests/EntityFrameworkCore/PaymentServiceSampleEntityFrameworkCoreTestBase.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace PaymentServiceSample.EntityFrameworkCore
4 | {
5 | public abstract class PaymentServiceSampleEntityFrameworkCoreTestBase : PaymentServiceSampleTestBase
6 | {
7 |
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.Application.Tests/WeChatPayApplicationTestBase.cs:
--------------------------------------------------------------------------------
1 |
2 | /* Inherit from this class for your application layer tests.
3 | * See SampleAppService_Tests for example.
4 | */
5 | namespace EasyAbp.PaymentService.WeChatPay;
6 |
7 | public abstract class WeChatPayApplicationTestBase : WeChatPayTestBase
8 | {
9 |
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/host/EasyAbp.PaymentService.Prepayment.Host.Shared/MultiTenancy/MultiTenancyConsts.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment.MultiTenancy
2 | {
3 | public static class MultiTenancyConsts
4 | {
5 | /* Enable/disable multi-tenancy in a single point
6 | * to test your module with multi-tenancy.
7 | */
8 | public const bool IsEnabled = false;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.Domain.Tests/PaymentServiceSampleDomainTestModule.cs:
--------------------------------------------------------------------------------
1 | using PaymentServiceSample.EntityFrameworkCore;
2 | using Volo.Abp.Modularity;
3 |
4 | namespace PaymentServiceSample
5 | {
6 | [DependsOn(
7 | typeof(PaymentServiceSampleEntityFrameworkCoreTestModule)
8 | )]
9 | public class PaymentServiceSampleDomainTestModule : AbpModule
10 | {
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Pages/PaymentService/Prepayment/Index.cshtml:
--------------------------------------------------------------------------------
1 | @page
2 | @using Microsoft.Extensions.Localization
3 | @using EasyAbp.PaymentService.Prepayment.Localization
4 | @model EasyAbp.PaymentService.Prepayment.Web.Pages.PaymentService.Prepayment.IndexModel
5 | @inject IStringLocalizer L
6 | @{
7 | }
8 | Prepayment
9 | @L["SamplePageMessage"]
10 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.Application.Tests/PrepaymentApplicationTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment
2 | {
3 | /* Inherit from this class for your application layer tests.
4 | * See SampleAppService_Tests for example.
5 | */
6 | public abstract class PrepaymentApplicationTestBase : PrepaymentTestBase
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/DuplicatePaymentItemIdException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Payments
4 | {
5 | public class DuplicatePaymentItemIdException : BusinessException
6 | {
7 | public DuplicatePaymentItemIdException() : base("DuplicatePaymentItemId", "The PaymentItemId must be unique.")
8 | {
9 | }
10 | }
11 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/PaymentServiceSampleBrandingProvider.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.DependencyInjection;
2 | using Volo.Abp.Ui.Branding;
3 |
4 | namespace PaymentServiceSample.Web
5 | {
6 | [Dependency(ReplaceServices = true)]
7 | public class PaymentServiceSampleBrandingProvider : DefaultBrandingProvider
8 | {
9 | public override string AppName => "PaymentServiceSample";
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/PaymentServiceSampleWebAutoMapperProfile.cs:
--------------------------------------------------------------------------------
1 | using AutoMapper;
2 |
3 | namespace PaymentServiceSample.Web
4 | {
5 | public class PaymentServiceSampleWebAutoMapperProfile : Profile
6 | {
7 | public PaymentServiceSampleWebAutoMapperProfile()
8 | {
9 | //Define your AutoMapper configuration here for the Web project.
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.Application.Tests/PaymentServiceSampleApplicationTestModule.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Modularity;
2 |
3 | namespace PaymentServiceSample
4 | {
5 | [DependsOn(
6 | typeof(PaymentServiceSampleApplicationModule),
7 | typeof(PaymentServiceSampleDomainTestModule)
8 | )]
9 | public class PaymentServiceSampleApplicationTestModule : AbpModule
10 | {
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application.Contracts/EasyAbp/PaymentService/Prepayment/Accounts/Dtos/GetAccountListInput.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.Application.Dtos;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Accounts.Dtos
5 | {
6 | [Serializable]
7 | public class GetAccountListInput : PagedAndSortedResultRequestDto
8 | {
9 | public Guid? UserId { get; set; }
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.MongoDB.Tests/MongoDB/PaymentServiceMongoDbTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.MongoDB
2 | {
3 | /* This class can be used as a base class for MongoDB integration tests,
4 | * while SampleRepository_Tests uses a different approach.
5 | */
6 | public abstract class PaymentServiceMongoDbTestBase : PaymentServiceTestBase
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/PaymentService/SelfTopUpException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.PaymentService
5 | {
6 | public class SelfTopUpException : BusinessException
7 | {
8 | public SelfTopUpException() : base(message: $"An account cannot top up itself.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/DuplicatePaymentRequestException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Payments
4 | {
5 | public class DuplicatePaymentRequestException : BusinessException
6 | {
7 | public DuplicatePaymentRequestException() : base(message: $"An payment item in the payment request is already in progress.")
8 | {
9 | }
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/IPaymentRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 | using Volo.Abp.Domain.Repositories;
4 |
5 | namespace EasyAbp.PaymentService.Payments
6 | {
7 | public interface IPaymentRepository : IRepository
8 | {
9 | Task FindPaymentInProgressByPaymentItem(string paymentItemType, string paymentItemKey);
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.TestBase/PrepaymentTestConsts.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment;
4 |
5 | public class PrepaymentTestConsts
6 | {
7 | public static Guid UserId = new("2e701e62-0953-4dd3-910b-dc6cc93ccb0d");
8 |
9 | public static Guid AccountId = new("CFE2A391-926F-45D5-AAC4-520825C626D0");
10 |
11 | public static decimal AccountBaseBalance = 150m;
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Refunds/RefundIsInUnexpectedStageException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Refunds
5 | {
6 | public class RefundIsInUnexpectedStageException : BusinessException
7 | {
8 | public RefundIsInUnexpectedStageException(Guid id) : base(message: $"Refund ({id}) is in unexpected stage.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Application.Contracts/Permissions/PaymentServiceSamplePermissions.cs:
--------------------------------------------------------------------------------
1 | namespace PaymentServiceSample.Permissions
2 | {
3 | public static class PaymentServiceSamplePermissions
4 | {
5 | public const string GroupName = "PaymentServiceSample";
6 |
7 | //Add your own permission names. Example:
8 | //public const string MyPermission1 = GroupName + ".MyPermission1";
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application.Contracts/EasyAbp/PaymentService/Prepayment/Transactions/Dtos/GetTransactionListInput.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.Application.Dtos;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Transactions.Dtos
5 | {
6 | [Serializable]
7 | public class GetTransactionListInput : PagedAndSortedResultRequestDto
8 | {
9 | public Guid AccountId { get; set; }
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/PaymentIsInUnexpectedStageException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | public class PaymentIsInUnexpectedStageException : BusinessException
7 | {
8 | public PaymentIsInUnexpectedStageException(Guid id) : base(message: $"Payment ({id}) is in unexpected stage.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/UnknownPaymentMethodException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Payments
4 | {
5 | public class UnknownPaymentMethodException : BusinessException
6 | {
7 | public UnknownPaymentMethodException(string paymentMethod) : base(
8 | message: $"Payment method {paymentMethod} does not exist.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.MongoDB.Tests/MongoDB/PrepaymentMongoDbTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment.MongoDB
2 | {
3 | /* This class can be used as a base class for MongoDB integration tests,
4 | * while SampleRepository_Tests uses a different approach.
5 | */
6 | public abstract class PrepaymentMongoDbTestBase : PrepaymentTestBase
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/UserOpenIdNotFoundException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.WeChatPay
5 | {
6 | public class UserOpenIdNotFoundException : BusinessException
7 | {
8 | public UserOpenIdNotFoundException(Guid userId) : base(message: $"The OpenId of user {userId} was not found.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/PaymentServiceDbProperties.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService
2 | {
3 | public static class PaymentServiceDbProperties
4 | {
5 | public static string DbTablePrefix { get; set; } = "EasyAbpPaymentService";
6 |
7 | public static string DbSchema { get; set; } = null;
8 |
9 | public const string ConnectionStringName = "EasyAbpPaymentService";
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.MongoDB.Tests/MongoDB/WeChatPayMongoDbTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.WeChatPay.MongoDB
2 | {
3 | /* This class can be used as a base class for MongoDB integration tests,
4 | * while SampleRepository_Tests uses a different approach.
5 | */
6 | public abstract class WeChatPayMongoDbTestBase : WeChatPayTestBase
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/Refunds/IRefundItem.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.Data;
3 |
4 | namespace EasyAbp.PaymentService.Refunds
5 | {
6 | public interface IRefundItem : IHasExtraProperties
7 | {
8 | Guid PaymentItemId { get; }
9 |
10 | decimal RefundAmount { get; }
11 |
12 | string CustomerRemark { get; }
13 |
14 | string StaffRemark { get; }
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/PayeeAccountNotFoundException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Payments
4 | {
5 | public class PayeeAccountNotFoundException : BusinessException
6 | {
7 | public PayeeAccountNotFoundException(string paymentMethod) : base(
8 | message: $"Cannot find the payee account of payment method {paymentMethod}.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/Pages/PaymentService/WeChatPay/PaymentRecords/PaymentRecord/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 |
3 | namespace EasyAbp.PaymentService.WeChatPay.Web.Pages.PaymentService.WeChatPay.PaymentRecords.PaymentRecord
4 | {
5 | public class IndexModel : WeChatPayPageModel
6 | {
7 | public async Task OnGetAsync()
8 | {
9 | await Task.CompletedTask;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/Pages/PaymentService/WeChatPay/RefundRecords/RefundRecord/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 |
3 | namespace EasyAbp.PaymentService.WeChatPay.Web.Pages.PaymentService.WeChatPay.RefundRecords.RefundRecord
4 | {
5 | public class IndexModel : WeChatPayPageModel
6 | {
7 | public async Task OnGetAsync()
8 | {
9 | await Task.CompletedTask;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.Application.Tests/PaymentServiceWeChatPayApplicationTestModule.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Modularity;
2 |
3 | namespace EasyAbp.PaymentService.WeChatPay;
4 |
5 | [DependsOn(
6 | typeof(PaymentServiceApplicationModule),
7 | typeof(PaymentServiceWeChatPayApplicationModule),
8 | typeof(PaymentServiceWeChatPayDomainTestModule)
9 | )]
10 | public class PaymentServiceWeChatPayApplicationTestModule : AbpModule
11 | {
12 |
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/AnotherRefundTaskIsOnGoingException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | public class AnotherRefundTaskIsOnGoingException : BusinessException
7 | {
8 | public AnotherRefundTaskIsOnGoingException(Guid id)
9 | : base(message: $"Payment ({id}) has another ongoing refund task.")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application.Contracts/EasyAbp/PaymentService/Prepayment/Accounts/Dtos/WithdrawInput.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.ObjectExtending;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Accounts.Dtos
5 | {
6 | [Serializable]
7 | public class WithdrawInput : ExtensibleObject
8 | {
9 | public string WithdrawalMethod { get; set; }
10 |
11 | public decimal Amount { get; set; }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.HttpApi.Client.ConsoleTestApp/PaymentServiceConsoleApiClientModule.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Http.Client.IdentityModel;
2 | using Volo.Abp.Modularity;
3 |
4 | namespace EasyAbp.PaymentService
5 | {
6 | [DependsOn(
7 | typeof(PaymentServiceHttpApiClientModule),
8 | typeof(AbpHttpClientIdentityModelModule)
9 | )]
10 | public class PaymentServiceConsoleApiClientModule : AbpModule
11 | {
12 |
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Options/WithdrawalMethods/WithdrawalMethodConfiguration.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.Options.WithdrawalMethods
4 | {
5 | public class WithdrawalMethodConfiguration
6 | {
7 | public Type AccountWithdrawalProviderType { get; set; }
8 |
9 | public decimal? DailyMaximumWithdrawalAmountEachAccount { get; set; }
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.Application.Tests/PrepaymentApplicationTestModule.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Modularity;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment
4 | {
5 | [DependsOn(
6 | typeof(PaymentServiceApplicationModule),
7 | typeof(PaymentServicePrepaymentApplicationModule),
8 | typeof(PrepaymentDomainTestModule)
9 | )]
10 | public class PrepaymentApplicationTestModule : AbpModule
11 | {
12 |
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/Settings/WeChatPaySettings.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.WeChatPay.Settings
2 | {
3 | public static class WeChatPaySettings
4 | {
5 | public const string GroupName = "EasyAbp.PaymentService.WeChatPay";
6 |
7 | /* Add constants for setting names. Example:
8 | * public const string MySettingName = GroupName + ".MySettingName";
9 | */
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/UnsupportedWeChatPayTradeTypeException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.WeChatPay
4 | {
5 | public class UnsupportedWeChatPayTradeTypeException : BusinessException
6 | {
7 | public UnsupportedWeChatPayTradeTypeException(string tradeType) : base(
8 | message: $"Unsupported trade_type: {tradeType}.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/DecimalExtensions.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService
2 | {
3 | public static class DecimalExtensions
4 | {
5 | public static decimal EnsureIsNonNegative(this decimal number)
6 | {
7 | if (number < decimal.Zero)
8 | {
9 | throw new UnexpectedNumberException(number);
10 | }
11 |
12 | return number;
13 | }
14 | }
15 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain.Shared/MultiTenancy/MultiTenancyConsts.cs:
--------------------------------------------------------------------------------
1 | namespace PaymentServiceSample.MultiTenancy
2 | {
3 | public static class MultiTenancyConsts
4 | {
5 | /* Enable/disable multi-tenancy easily in a single point.
6 | * If you will never need to multi-tenancy, you can remove
7 | * related modules and code parts, including this file.
8 | */
9 | public const bool IsEnabled = true;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ja.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.ja={days:["日曜","月曜","火曜","水曜","木曜","金曜","土曜"],daysShort:["日","月","火","水","木","金","土"],daysMin:["日","月","火","水","木","金","土"],months:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今日",format:"yyyy/mm/dd",titleFormat:"yyyy年mm月",clear:"クリア"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Settings/PrepaymentSettings.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment.Settings
2 | {
3 | public static class PrepaymentSettings
4 | {
5 | public const string GroupName = "EasyAbp.PaymentService.Prepayment";
6 |
7 | /* Add constants for setting names. Example:
8 | * public const string MySettingName = GroupName + ".MySettingName";
9 | */
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.HttpApi.Client.ConsoleTestApp/PaymentServiceWeChatPayConsoleApiClientModule.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Http.Client.IdentityModel;
2 | using Volo.Abp.Modularity;
3 |
4 | namespace EasyAbp.PaymentService.WeChatPay;
5 |
6 | [DependsOn(
7 | typeof(PaymentServiceWeChatPayHttpApiClientModule),
8 | typeof(AbpHttpClientIdentityModelModule)
9 | )]
10 | public class PaymentServiceWeChatPayConsoleApiClientModule : AbpModule
11 | {
12 |
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application.Contracts/EasyAbp/PaymentService/Refunds/IRefundAppService.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using EasyAbp.PaymentService.Refunds.Dtos;
3 | using Volo.Abp.Application.Dtos;
4 | using Volo.Abp.Application.Services;
5 |
6 | namespace EasyAbp.PaymentService.Refunds
7 | {
8 | public interface IRefundAppService :
9 | IReadOnlyAppService<
10 | RefundDto,
11 | Guid,
12 | GetRefundListInput>
13 | {
14 |
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/InvalidRefundAmountException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | public class InvalidRefundAmountException : BusinessException
7 | {
8 | public InvalidRefundAmountException(Guid id, decimal refundAmount)
9 | : base(message: $"Refund amount ({refundAmount}) is invalid for the payment ({id}).")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application/EasyAbp/PaymentService/Prepayment/Accounts/UnauthorizedTopUpException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Accounts
5 | {
6 | public class UnauthorizedTopUpException : BusinessException
7 | {
8 | public UnauthorizedTopUpException(Guid accountId)
9 | : base(message: $"Cannot top up the account ({accountId}).")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application/EasyAbp/PaymentService/Prepayment/WithdrawalRequests/UnexpectedWithdrawalAmountException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.WithdrawalRequests
4 | {
5 | public class UnexpectedWithdrawalAmountException : BusinessException
6 | {
7 | public UnexpectedWithdrawalAmountException() : base("WrongWithdrawalAmount", "The refund amount is unexpected.")
8 | {
9 | }
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/Background/EmptyJob.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Volo.Abp.BackgroundJobs;
3 | using Volo.Abp.DependencyInjection;
4 |
5 | namespace EasyAbp.PaymentService.WeChatPay.Background;
6 |
7 | public class EmptyJob : IAsyncBackgroundJob, ITransientDependency
8 | {
9 | public virtual Task ExecuteAsync(EmptyJobArgs args)
10 | {
11 | return Task.CompletedTask;
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/WeChatPayDbProperties.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.WeChatPay
2 | {
3 | public static class WeChatPayDbProperties
4 | {
5 | public static string DbTablePrefix { get; set; } = "EasyAbpPaymentServiceWeChatPay";
6 |
7 | public static string DbSchema { get; set; } = null;
8 |
9 | public const string ConnectionStringName = "EasyAbpPaymentServiceWeChatPay";
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Options/PaymentServiceOptions.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Options.PaymentServiceProviders;
2 |
3 | namespace EasyAbp.PaymentService.Options
4 | {
5 | public class PaymentServiceOptions
6 | {
7 | public PaymentServiceProviderConfigurations Providers { get; }
8 |
9 | public PaymentServiceOptions()
10 | {
11 | Providers = new PaymentServiceProviderConfigurations();
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Pages/PaymentService/Prepayment/WithdrawalRequests/WithdrawalRequest/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.Web.Pages.PaymentService.Prepayment.WithdrawalRequests.WithdrawalRequest
4 | {
5 | public class IndexModel : PrepaymentPageModel
6 | {
7 | public virtual async Task OnGetAsync()
8 | {
9 | await Task.CompletedTask;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Refunds/IRefundRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Threading;
4 | using System.Threading.Tasks;
5 | using Volo.Abp.Domain.Repositories;
6 |
7 | namespace EasyAbp.PaymentService.Refunds
8 | {
9 | public interface IRefundRepository : IRepository
10 | {
11 | Task FindByPaymentIdAsync(Guid paymentId, CancellationToken cancellationToken = default);
12 | }
13 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ko.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.ko={days:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],daysShort:["일","월","화","수","목","금","토"],daysMin:["일","월","화","수","목","금","토"],months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthsShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],today:"오늘",clear:"삭제",format:"yyyy-mm-dd",titleFormat:"yyyy년mm월",weekStart:0}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/PrepaymentDbProperties.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment
2 | {
3 | public static class PrepaymentDbProperties
4 | {
5 | public static string DbTablePrefix { get; set; } = "EasyAbpPaymentServicePrepayment";
6 |
7 | public static string DbSchema { get; set; } = null;
8 |
9 | public const string ConnectionStringName = "EasyAbpPaymentServicePrepayment";
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Menus/PaymentServiceMenus.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Web.Menus
2 | {
3 | public class PaymentServiceMenus
4 | {
5 | public const string Prefix = "EasyAbp.PaymentService";
6 |
7 | //Add your menu items here...
8 | //public const string Home = Prefix + ".MyNewMenuItem";
9 |
10 | public const string Payment = Prefix + ".Payment";
11 |
12 | public const string Refund = Prefix + ".Refund";
13 | }
14 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.EntityFrameworkCore.Tests/EntityFrameworkCore/PaymentServiceEntityFrameworkCoreTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.EntityFrameworkCore
2 | {
3 | /* This class can be used as a base class for EF Core integration tests,
4 | * while SampleRepository_Tests uses a different approach.
5 | */
6 | public abstract class PaymentServiceEntityFrameworkCoreTestBase : PaymentServiceTestBase
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.Web.Tests/Program.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Builder;
2 | using PaymentServiceSample;
3 | using Volo.Abp.AspNetCore.TestBase;
4 |
5 | var builder = WebApplication.CreateBuilder();
6 |
7 | builder.Environment.ContentRootPath = GetWebProjectContentRootPathHelper.Get("PaymentServiceSample.Web.csproj");
8 | await builder.RunAbpModuleAsync(applicationName: "PaymentServiceSample.Web" );
9 |
10 | public partial class Program
11 | {
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Accounts/UnknownWithdrawalMethodException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.Accounts
4 | {
5 | public class UnknownWithdrawalMethodException : BusinessException
6 | {
7 | public UnknownWithdrawalMethodException(string withdrawalMethod) : base(
8 | message: $"Withdrawal method {withdrawalMethod} does not exist.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.HttpApi.Client.ConsoleTestApp/PrepaymentConsoleApiClientModule.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Http.Client.IdentityModel;
2 | using Volo.Abp.Modularity;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment
5 | {
6 | [DependsOn(
7 | typeof(PaymentServicePrepaymentHttpApiClientModule),
8 | typeof(AbpHttpClientIdentityModelModule)
9 | )]
10 | public class PrepaymentConsoleApiClientModule : AbpModule
11 | {
12 |
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/Background/EmptyJobArgs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.MultiTenancy;
3 |
4 | namespace EasyAbp.PaymentService.WeChatPay.Background;
5 |
6 | [Serializable]
7 | public class EmptyJobArgs : IMultiTenant
8 | {
9 | public Guid? TenantId { get; set; }
10 |
11 | public EmptyJobArgs()
12 | {
13 | }
14 |
15 | public EmptyJobArgs(Guid? tenantId)
16 | {
17 | TenantId = tenantId;
18 | }
19 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/RefundRecords/IRefundRecordRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 | using JetBrains.Annotations;
4 | using Volo.Abp.Domain.Repositories;
5 |
6 | namespace EasyAbp.PaymentService.WeChatPay.RefundRecords
7 | {
8 | public interface IRefundRecordRepository : IRepository
9 | {
10 | Task FindByOutRefundNoAsync([NotNull] string outRefundNo);
11 | }
12 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.he.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.he={days:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת","ראשון"],daysShort:["א","ב","ג","ד","ה","ו","ש","א"],daysMin:["א","ב","ג","ד","ה","ו","ש","א"],months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthsShort:["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ"],today:"היום",rtl:!0}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.EntityFrameworkCore.Tests/EntityFrameworkCore/PrepaymentEntityFrameworkCoreTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment.EntityFrameworkCore
2 | {
3 | /* This class can be used as a base class for EF Core integration tests,
4 | * while SampleRepository_Tests uses a different approach.
5 | */
6 | public abstract class PrepaymentEntityFrameworkCoreTestBase : PrepaymentTestBase
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/AnotherRefundIsInProgressException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | public class AnotherRefundIsInProgressException : BusinessException
7 | {
8 | public AnotherRefundIsInProgressException(Guid paymentId) : base("AnotherRefundIsInProgress",
9 | $"There is another refund with the same payment ({paymentId}) in progress.")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/UsingUnauthorizedPaymentException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | public class UsingUnauthorizedPaymentException : BusinessException
7 | {
8 | public UsingUnauthorizedPaymentException(Guid userId, Guid paymentId) : base(
9 | message: $"The user ({userId}) is trying to use the payment ({paymentId}) that is not his own.")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.MongoDB/EasyAbp/PaymentService/MongoDB/IPaymentServiceMongoDbContext.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Data;
2 | using Volo.Abp.MongoDB;
3 |
4 | namespace EasyAbp.PaymentService.MongoDB
5 | {
6 | [ConnectionStringName(PaymentServiceDbProperties.ConnectionStringName)]
7 | public interface IPaymentServiceMongoDbContext : IAbpMongoDbContext
8 | {
9 | /* Define mongo collections here. Example:
10 | * IMongoCollection Questions { get; }
11 | */
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Accounts/WithdrawalInProgressNotFoundException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Accounts
5 | {
6 | public class WithdrawalInProgressNotFoundException : BusinessException
7 | {
8 | public WithdrawalInProgressNotFoundException()
9 | : base("WithdrawalInProgressNotFound","The withdrawal in progress not found.")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/WithdrawalRecords/IWithdrawalRecordRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 | using Volo.Abp.Domain.Repositories;
4 |
5 | namespace EasyAbp.PaymentService.Prepayment.WithdrawalRecords
6 | {
7 | public interface IWithdrawalRecordRepository : IRepository
8 | {
9 | Task GetCompletedTotalAmountAsync(Guid accountId, DateTime beginTime, DateTime endTime);
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.Domain.Tests/Refunds/RefundDomainTests.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Xunit;
3 |
4 | namespace EasyAbp.PaymentService.Refunds
5 | {
6 | public class RefundDomainTests : PaymentServiceDomainTestBase
7 | {
8 | public RefundDomainTests()
9 | {
10 | }
11 |
12 | [Fact]
13 | public async Task Test1()
14 | {
15 | // Arrange
16 |
17 | // Assert
18 |
19 | // Assert
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bg.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.bg={days:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],daysShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],daysMin:["Н","П","В","С","Ч","П","С"],months:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthsShort:["Ян","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Ное","Дек"],today:"днес"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sw.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.sw={days:["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"],daysShort:["J2","J3","J4","J5","Alh","Ij","J1"],daysMin:["2","3","4","5","A","I","1"],months:["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Desemba"],monthsShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Des"],today:"Leo"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application/EasyAbp/PaymentService/Prepayment/Accounts/TopUpIsAlreadyInProgressException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Accounts
5 | {
6 | public class TopUpIsAlreadyInProgressException : BusinessException
7 | {
8 | public TopUpIsAlreadyInProgressException()
9 | : base("TopUpIsAlreadyInProgress","Another top up for the account is already in progress.")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/WithdrawalRecords/WithdrawalIsNotInProgressException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.WithdrawalRecords
5 | {
6 | public class WithdrawalIsNotInProgressException : BusinessException
7 | {
8 | public WithdrawalIsNotInProgressException() : base("WithdrawalIsNotInProgress",
9 | "The withdrawal is not in progress.")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore.Tests/EntityFrameworkCore/WeChatPayEntityFrameworkCoreTestBase.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore
2 | {
3 | /* This class can be used as a base class for EF Core integration tests,
4 | * while SampleRepository_Tests uses a different approach.
5 | */
6 | public abstract class WeChatPayEntityFrameworkCoreTestBase : WeChatPayTestBase
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/Payments/CreatePaymentItemEto.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using Volo.Abp.Data;
4 | using Volo.Abp.ObjectExtending;
5 |
6 | namespace EasyAbp.PaymentService.Payments
7 | {
8 | public class CreatePaymentItemEto : ExtensibleObject
9 | {
10 | public string ItemType { get; set; }
11 |
12 | public string ItemKey { get; set; }
13 |
14 | public decimal OriginalPaymentAmount { get; set; }
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.Domain.Tests/Payments/PaymentDomainTests.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Xunit;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | public class PaymentDomainTests : PaymentServiceDomainTestBase
7 | {
8 | public PaymentDomainTests()
9 | {
10 | }
11 |
12 | [Fact]
13 | public async Task Test1()
14 | {
15 | // Arrange
16 |
17 | // Assert
18 |
19 | // Assert
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cy.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.cy={days:["Sul","Llun","Mawrth","Mercher","Iau","Gwener","Sadwrn"],daysShort:["Sul","Llu","Maw","Mer","Iau","Gwe","Sad"],daysMin:["Su","Ll","Ma","Me","Ia","Gwe","Sa"],months:["Ionawr","Chewfror","Mawrth","Ebrill","Mai","Mehefin","Gorfennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],monthsShort:["Ion","Chw","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rha"],today:"Heddiw"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["zh-CN"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["周日","周一","周二","周三","周四","周五","周六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今天",monthsTitle:"选择月份",clear:"清除",format:"yyyy-mm-dd",titleFormat:"yyyy年mm月",weekStart:1}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["zh-TW"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["週日","週一","週二","週三","週四","週五","週六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今天",monthsTitle:"月份",format:"yyyy/mm/dd",weekStart:0,titleFormat:"yyyy年mm月",clear:"清除"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.HttpApi.Client.ConsoleTestApp/PaymentServiceSampleConsoleApiClientModule.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Http.Client.IdentityModel;
2 | using Volo.Abp.Modularity;
3 |
4 | namespace PaymentServiceSample.HttpApi.Client.ConsoleTestApp
5 | {
6 | [DependsOn(
7 | typeof(PaymentServiceSampleHttpApiClientModule),
8 | typeof(AbpHttpClientIdentityModelModule)
9 | )]
10 | public class PaymentServiceSampleConsoleApiClientModule : AbpModule
11 | {
12 |
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/WithdrawalRequests/WithdrawalRequestHasBeenReviewedException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.WithdrawalRequests
4 | {
5 | public class WithdrawalRequestHasBeenReviewedException : BusinessException
6 | {
7 | public WithdrawalRequestHasBeenReviewedException() : base("WithdrawalRequestHasBeenReviewed",
8 | "The review has been reviewed.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/PaymentRecords/IPaymentRecordRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading;
3 | using System.Threading.Tasks;
4 | using Volo.Abp.Domain.Repositories;
5 |
6 | namespace EasyAbp.PaymentService.WeChatPay.PaymentRecords
7 | {
8 | public interface IPaymentRecordRepository : IRepository
9 | {
10 | Task GetByPaymentId(Guid paymentId, CancellationToken cancellationToken = default);
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/PayeeConfigurationMissingValueException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Payments
4 | {
5 | public class PayeeConfigurationMissingValueException : BusinessException
6 | {
7 | public PayeeConfigurationMissingValueException(string paymentMethod, string configurationKey) : base(
8 | message: $"Payment method ({paymentMethod}) is missing configuration: {configurationKey}.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.MongoDB/EasyAbp/PaymentService/WeChatPay/MongoDB/IWeChatPayMongoDbContext.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Data;
2 | using Volo.Abp.MongoDB;
3 |
4 | namespace EasyAbp.PaymentService.WeChatPay.MongoDB
5 | {
6 | [ConnectionStringName(WeChatPayDbProperties.ConnectionStringName)]
7 | public interface IWeChatPayMongoDbContext : IAbpMongoDbContext
8 | {
9 | /* Define mongo collections here. Example:
10 | * IMongoCollection Questions { get; }
11 | */
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.MongoDB/EasyAbp.PaymentService.MongoDB.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | net10.0
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.Domain.Tests/PaymentServiceDomainTestModule.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.EntityFrameworkCore;
2 | using Volo.Abp.Modularity;
3 |
4 | /* Domain tests are configured to use the EF Core provider.
5 | * You can switch to MongoDB, however your domain tests should be
6 | * database independent anyway.
7 | */
8 | namespace EasyAbp.PaymentService;
9 |
10 | [DependsOn(
11 | typeof(PaymentServiceEntityFrameworkCoreTestModule)
12 | )]
13 | public class PaymentServiceDomainTestModule : AbpModule
14 | {
15 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ms.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.ms={days:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],daysShort:["Aha","Isn","Sel","Rab","Kha","Jum","Sab"],daysMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],months:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],today:"Hari Ini",clear:"Bersihkan"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Accounts/WithdrawalIsAlreadyInProgressException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Accounts
5 | {
6 | public class WithdrawalIsAlreadyInProgressException : BusinessException
7 | {
8 | public WithdrawalIsAlreadyInProgressException()
9 | : base("WithdrawalIsAlreadyInProgress","Another withdrawal for the account is already in progress.")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/PaymentService/UserIsNotAccountOwnerException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.PaymentService
5 | {
6 | public class UserIsNotAccountOwnerException : BusinessException
7 | {
8 | public UserIsNotAccountOwnerException(Guid userId, Guid accountId) : base(
9 | message: $"The user {userId} is not the owner of the account ({accountId}).")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.MongoDB/EasyAbp/PaymentService/Prepayment/MongoDB/IPrepaymentMongoDbContext.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Data;
2 | using Volo.Abp.MongoDB;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.MongoDB
5 | {
6 | [ConnectionStringName(PrepaymentDbProperties.ConnectionStringName)]
7 | public interface IPrepaymentMongoDbContext : IAbpMongoDbContext
8 | {
9 | /* Define mongo collections here. Example:
10 | * IMongoCollection Questions { get; }
11 | */
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hr.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.hr={days:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],daysShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],daysMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],months:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthsShort:["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],today:"Danas"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kk.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.kk={days:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],daysShort:["Жек","Дүй","Сей","Сәр","Бей","Жұм","Сен"],daysMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],months:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],monthsShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],today:"Бүгін",weekStart:1}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sl.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.sl={days:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],daysShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],daysMin:["Ne","Po","To","Sr","Če","Pe","So"],months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],today:"Danes",weekStart:1}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Accounts/WithdrawalAmountExceedDailyLimitException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.Accounts
4 | {
5 | public class WithdrawalAmountExceedDailyLimitException : BusinessException
6 | {
7 | public WithdrawalAmountExceedDailyLimitException() : base(
8 | "WithdrawalAmountExceedDailyLimit",
9 | "The maximum daily withdrawal limit has been exceeded.")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application/EasyAbp/PaymentService/PaymentServiceAppService.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Localization;
2 | using Volo.Abp.Application.Services;
3 |
4 | namespace EasyAbp.PaymentService
5 | {
6 | public abstract class PaymentServiceAppService : ApplicationService
7 | {
8 | protected PaymentServiceAppService()
9 | {
10 | LocalizationResource = typeof(PaymentServiceResource);
11 | ObjectMapperContext = typeof(PaymentServiceApplicationModule);
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.HttpApi/Controllers/PaymentServiceSampleController.cs:
--------------------------------------------------------------------------------
1 | using PaymentServiceSample.Localization;
2 | using Volo.Abp.AspNetCore.Mvc;
3 |
4 | namespace PaymentServiceSample.Controllers
5 | {
6 | /* Inherit your controllers from this class.
7 | */
8 | public abstract class PaymentServiceSampleController : AbpControllerBase
9 | {
10 | protected PaymentServiceSampleController()
11 | {
12 | LocalizationResource = typeof(PaymentServiceSampleResource);
13 | }
14 | }
15 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/Pages/PaymentServiceSamplePageModel.cs:
--------------------------------------------------------------------------------
1 | using PaymentServiceSample.Localization;
2 | using Volo.Abp.AspNetCore.Mvc.UI.RazorPages;
3 |
4 | namespace PaymentServiceSample.Web.Pages
5 | {
6 | /* Inherit your PageModel classes from this class.
7 | */
8 | public abstract class PaymentServiceSamplePageModel : AbpPageModel
9 | {
10 | protected PaymentServiceSamplePageModel()
11 | {
12 | LocalizationResourceType = typeof(PaymentServiceSampleResource);
13 | }
14 | }
15 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kr.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.kr={days:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],daysShort:["일","월","화","수","목","금","토"],daysMin:["일","월","화","수","목","금","토"],months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthsShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},a.fn.datepicker.deprecated('The language code "kr" is deprecated and will be removed in 2.0. For korean support use "ko" instead.')}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mk.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.mk={days:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],daysShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],daysMin:["Не","По","Вт","Ср","Че","Пе","Са"],months:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthsShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],today:"Денес",format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/jquery-validation/localization/methods_pt.min.js:
--------------------------------------------------------------------------------
1 | /*! jQuery Validation Plugin - v1.21.0 - 7/17/2024
2 | * https://jqueryvalidation.org/
3 | * Copyright (c) 2024 Jörn Zaefferer; Licensed MIT */
4 | !function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return a.extend(a.validator.methods,{date:function(a,b){return this.optional(b)||/^\d\d?\/\d\d?\/\d\d\d?\d?$/.test(a)}}),a});
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.HttpApi.Client.ConsoleTestApp/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "RemoteServices": {
3 | "Default": {
4 | "BaseUrl": "https://localhost:44341"
5 | }
6 | },
7 | "IdentityClients": {
8 | "Default": {
9 | "GrantType": "password",
10 | "ClientId": "PaymentServiceSample_App",
11 | "ClientSecret": "1q2w3e*",
12 | "UserName": "admin",
13 | "UserPassword": "1q2w3E*",
14 | "Authority": "https://localhost:44341",
15 | "Scope": "PaymentServiceSample"
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.TestBase/PaymentServiceSampleTestDataSeedContributor.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Volo.Abp.Data;
3 | using Volo.Abp.DependencyInjection;
4 |
5 | namespace PaymentServiceSample
6 | {
7 | public class PaymentServiceSampleTestDataSeedContributor : IDataSeedContributor, ITransientDependency
8 | {
9 | public Task SeedAsync(DataSeedContext context)
10 | {
11 | /* Seed additional test data... */
12 |
13 | return Task.CompletedTask;
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/IPaymentServiceProvider.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using EasyAbp.PaymentService.Refunds;
3 | using Volo.Abp.Data;
4 |
5 | namespace EasyAbp.PaymentService.Payments
6 | {
7 | public interface IPaymentServiceProvider
8 | {
9 | Task OnPaymentStartedAsync(Payment payment, ExtraPropertyDictionary configurations);
10 |
11 | Task OnCancelStartedAsync(Payment payment);
12 |
13 | Task OnRefundStartedAsync(Payment payment, Refund refund);
14 | }
15 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain/Settings/PaymentServiceSampleSettingDefinitionProvider.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Settings;
2 |
3 | namespace PaymentServiceSample.Settings
4 | {
5 | public class PaymentServiceSampleSettingDefinitionProvider : SettingDefinitionProvider
6 | {
7 | public override void Define(ISettingDefinitionContext context)
8 | {
9 | //Define your own settings here. Example:
10 | //context.Add(new SettingDefinition(PaymentServiceSampleSettings.MySetting1));
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.is.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.is={days:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],daysShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],daysMin:["Su","Má","Þr","Mi","Fi","Fö","La"],months:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],today:"Í Dag"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mn.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.mn={days:["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],daysShort:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],daysMin:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],months:["Хулгана","Үхэр","Бар","Туулай","Луу","Могой","Морь","Хонь","Бич","Тахиа","Нохой","Гахай"],monthsShort:["Хул","Үхэ","Бар","Туу","Луу","Мог","Мор","Хон","Бич","Тах","Нох","Гах"],today:"Өнөөдөр",clear:"Тодорхой",format:"yyyy.mm.dd",weekStart:1}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.sr={days:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],daysShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],daysMin:["Н","По","У","Ср","Ч","Пе","Су"],months:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthsShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],today:"Данас",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.th.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.th={days:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัส","ศุกร์","เสาร์","อาทิตย์"],daysShort:["อา","จ","อ","พ","พฤ","ศ","ส","อา"],daysMin:["อา","จ","อ","พ","พฤ","ศ","ส","อา"],months:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthsShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],today:"วันนี้"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/WeChatPayWebAutoMapperProfile.cs:
--------------------------------------------------------------------------------
1 | using AutoMapper;
2 |
3 | namespace EasyAbp.PaymentService.WeChatPay.Web
4 | {
5 | public class WeChatPayWebAutoMapperProfile : Profile
6 | {
7 | public WeChatPayWebAutoMapperProfile()
8 | {
9 | /* You can configure your AutoMapper mapping configuration here.
10 | * Alternatively, you can split your mapping configurations
11 | * into multiple profile classes for a better organization. */
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Settings/PrepaymentSettingDefinitionProvider.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Settings;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.Settings
4 | {
5 | public class PrepaymentSettingDefinitionProvider : SettingDefinitionProvider
6 | {
7 | public override void Define(ISettingDefinitionContext context)
8 | {
9 | /* Define module settings here.
10 | * Use names from PrepaymentSettings class.
11 | */
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/PrepaymentWebAutoMapperProfile.cs:
--------------------------------------------------------------------------------
1 | using AutoMapper;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.Web
4 | {
5 | public class PrepaymentWebAutoMapperProfile : Profile
6 | {
7 | public PrepaymentWebAutoMapperProfile()
8 | {
9 | /* You can configure your AutoMapper mapping configuration here.
10 | * Alternatively, you can split your mapping configurations
11 | * into multiple profile classes for a better organization. */
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.MongoDB/EasyAbp/PaymentService/MongoDB/PaymentServiceMongoModelBuilderConfigurationOptions.cs:
--------------------------------------------------------------------------------
1 | using JetBrains.Annotations;
2 | using Volo.Abp.MongoDB;
3 |
4 | namespace EasyAbp.PaymentService.MongoDB
5 | {
6 | public class PaymentServiceMongoModelBuilderConfigurationOptions : AbpMongoModelBuilderConfigurationOptions
7 | {
8 | public PaymentServiceMongoModelBuilderConfigurationOptions(
9 | [NotNull] string collectionPrefix = "")
10 | : base(collectionPrefix)
11 | {
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.Domain.Tests/EasyAbp.PaymentService.Domain.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net10.0
5 | EasyAbp.PaymentService
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bs.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.bs={days:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],daysShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],daysMin:["N","Po","U","Sr","Č","Pe","Su"],months:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"Danas",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fo.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.fo={days:["Sunnudagur","Mánadagur","Týsdagur","Mikudagur","Hósdagur","Fríggjadagur","Leygardagur"],daysShort:["Sun","Mán","Týs","Mik","Hós","Frí","Ley"],daysMin:["Su","Má","Tý","Mi","Hó","Fr","Le"],months:["Januar","Februar","Marts","Apríl","Mei","Juni","Juli","August","Septembur","Oktobur","Novembur","Desembur"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"Í Dag",clear:"Reinsa"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Refunds/RefundItem/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 | using Microsoft.AspNetCore.Mvc;
4 |
5 | namespace EasyAbp.PaymentService.Web.Pages.PaymentService.Refunds.RefundItem
6 | {
7 | public class IndexModel : PaymentServicePageModel
8 | {
9 | [BindProperty(SupportsGet = true)]
10 | public Guid RefundId { get; set; }
11 |
12 | public async Task OnGetAsync()
13 | {
14 | await Task.CompletedTask;
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fa.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.fa={days:["یکشنبه","دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه","یکشنبه"],daysShort:["یک","دو","سه","چهار","پنج","جمعه","شنبه","یک"],daysMin:["ی","د","س","چ","پ","ج","ش","ی"],months:["ژانویه","فوریه","مارس","آوریل","مه","ژوئن","ژوئیه","اوت","سپتامبر","اکتبر","نوامبر","دسامبر"],monthsShort:["ژان","فور","مار","آور","مه","ژون","ژوی","اوت","سپت","اکت","نوا","دسا"],today:"امروز",clear:"پاک کن",weekStart:1,format:"yyyy/mm/dd"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr-latin.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["sr-latin"]={days:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"],daysShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub"],daysMin:["N","Po","U","Sr","Č","Pe","Su"],months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],today:"Danas",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tr.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.tr={days:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],daysShort:["Pz","Pzt","Sal","Çrş","Prş","Cu","Cts"],daysMin:["Pz","Pzt","Sa","Çr","Pr","Cu","Ct"],months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthsShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],today:"Bugün",clear:"Temizle",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application.Contracts/EasyAbp/PaymentService/Prepayment/Transactions/ITransactionAppService.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using EasyAbp.PaymentService.Prepayment.Transactions.Dtos;
3 | using Volo.Abp.Application.Dtos;
4 | using Volo.Abp.Application.Services;
5 |
6 | namespace EasyAbp.PaymentService.Prepayment.Transactions
7 | {
8 | public interface ITransactionAppService :
9 | IReadOnlyAppService<
10 | TransactionDto,
11 | Guid,
12 | GetTransactionListInput>
13 | {
14 |
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application.Contracts/EasyAbp/PaymentService/Prepayment/WithdrawalRequests/Dtos/GetWithdrawalRequestListInput.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.Application.Dtos;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.WithdrawalRequests.Dtos
5 | {
6 | public class GetWithdrawalRequestListInput : PagedAndSortedResultRequestDto
7 | {
8 | public bool PendingOnly { get; set; }
9 |
10 | public Guid? AccountId { get; set; }
11 |
12 | public Guid? AccountUserId { get; set; }
13 | }
14 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.EntityFrameworkCore/EasyAbp.PaymentService.EntityFrameworkCore.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | net10.0
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentService/Payments/PaymentItem/Index.cshtml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 | using Microsoft.AspNetCore.Mvc;
4 |
5 | namespace EasyAbp.PaymentService.Web.Pages.PaymentService.Payments.PaymentItem
6 | {
7 | public class IndexModel : PaymentServicePageModel
8 | {
9 | [BindProperty(SupportsGet = true)]
10 | public Guid PaymentId { get; set; }
11 |
12 | public async Task OnGetAsync()
13 | {
14 | await Task.CompletedTask;
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.gl.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.gl={days:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],daysShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],daysMin:["Do","Lu","Ma","Me","Xo","Ve","Sa"],months:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthsShort:["Xan","Feb","Mar","Abr","Mai","Xun","Xul","Ago","Sep","Out","Nov","Dec"],today:"Hoxe",clear:"Limpar",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sk.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.sk={days:["Nedeľa","Pondelok","Utorok","Streda","Štvrtok","Piatok","Sobota"],daysShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob"],daysMin:["Ne","Po","Ut","St","Št","Pia","So"],months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],today:"Dnes",clear:"Vymazať",weekStart:1,format:"d.m.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sv.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.sv={days:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],daysShort:["sön","mån","tis","ons","tor","fre","lör"],daysMin:["sö","må","ti","on","to","fr","lö"],months:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],monthsShort:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],today:"Idag",format:"yyyy-mm-dd",weekStart:1,clear:"Rensa"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/Payments/CancelPaymentEto.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.MultiTenancy;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | [Serializable]
7 | public class CancelPaymentEto : IMultiTenant
8 | {
9 | public Guid? TenantId { get; set; }
10 |
11 | public Guid PaymentId { get; set; }
12 |
13 | public CancelPaymentEto(Guid? tenantId, Guid paymentId)
14 | {
15 | TenantId = tenantId;
16 | PaymentId = paymentId;
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.HttpApi/EasyAbp.PaymentService.HttpApi.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | net10.0
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-tn.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["ar-tn"]={days:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"],daysShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت","أحد"],daysMin:["ح","ن","ث","ع","خ","ج","س","ح"],months:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويليه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthsShort:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويليه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],today:"هذا اليوم",rtl:!0}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.ar={days:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"],daysShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت","أحد"],daysMin:["ح","ن","ث","ع","خ","ج","س","ح"],months:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthsShort:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],today:"هذا اليوم",rtl:!0}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.km.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.km={days:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"],daysShort:["អា.ទិ","ចន្ទ","អង្គារ","ពុធ","ព្រ.ហ","សុក្រ","សៅរ៍"],daysMin:["អា.ទិ","ចន្ទ","អង្គារ","ពុធ","ព្រ.ហ","សុក្រ","សៅរ៍"],months:["មករា","កុម្ភះ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],monthsShort:["មករា","កុម្ភះ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],today:"ថ្ងៃនេះ",clear:"សំអាត"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.me.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.me={days:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],daysShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],daysMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],today:"Danas",weekStart:1,clear:"Izbriši",format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Application.Contracts/EasyAbp/PaymentService/WeChatPay/RefundRecords/IRefundRecordAppService.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using EasyAbp.PaymentService.WeChatPay.RefundRecords.Dtos;
3 | using Volo.Abp.Application.Dtos;
4 | using Volo.Abp.Application.Services;
5 |
6 | namespace EasyAbp.PaymentService.WeChatPay.RefundRecords
7 | {
8 | public interface IRefundRecordAppService :
9 | IReadOnlyAppService<
10 | RefundRecordDto,
11 | Guid,
12 | PagedAndSortedResultRequestDto>
13 | {
14 |
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application.Contracts/EasyAbp/PaymentService/PaymentServiceApplicationContractsModule.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp.Application;
2 | using Volo.Abp.Modularity;
3 | using Volo.Abp.VirtualFileSystem;
4 | using Volo.Abp.Authorization;
5 |
6 | namespace EasyAbp.PaymentService
7 | {
8 | [DependsOn(
9 | typeof(PaymentServiceDomainSharedModule),
10 | typeof(AbpDddApplicationContractsModule),
11 | typeof(AbpAuthorizationModule)
12 | )]
13 | public class PaymentServiceApplicationContractsModule : AbpModule
14 | {
15 |
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/Payments/PaymentCanceledEto.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.MultiTenancy;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | [Serializable]
7 | public class PaymentCanceledEto : IMultiTenant
8 | {
9 | public Guid? TenantId { get; set; }
10 |
11 | public PaymentEto Payment { get; set; }
12 |
13 | public PaymentCanceledEto(PaymentEto payment)
14 | {
15 | TenantId = payment.TenantId;
16 | Payment = payment;
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/Payments/PaymentCompletedEto.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.MultiTenancy;
3 |
4 | namespace EasyAbp.PaymentService.Payments
5 | {
6 | [Serializable]
7 | public class PaymentCompletedEto : IMultiTenant
8 | {
9 | public Guid? TenantId { get; set; }
10 |
11 | public PaymentEto Payment { get; set; }
12 |
13 | public PaymentCompletedEto(PaymentEto payment)
14 | {
15 | TenantId = payment.TenantId;
16 | Payment = payment;
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.az.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.az={days:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],daysShort:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],daysMin:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],months:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],monthsShort:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],today:"Bu gün",weekStart:1,clear:"Təmizlə",monthsTitle:"Aylar"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.pt={days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],daysMin:["Do","Se","Te","Qu","Qu","Se","Sa"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],today:"Hoje",monthsTitle:"Meses",clear:"Limpar",format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ro.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.ro={days:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],daysShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],daysMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthsShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],today:"Astăzi",clear:"Șterge",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/PaymentService/AccountTopingUpOtherAccountsIsNotAllowedException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.Prepayment.PaymentService
4 | {
5 | public class AccountTopingUpOtherAccountsIsNotAllowedException : BusinessException
6 | {
7 | public AccountTopingUpOtherAccountsIsNotAllowedException(string accountGroupName) : base(
8 | message: $"The account ({accountGroupName}) is not allowed to top up other accounts.")
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Application.Contracts/EasyAbp/PaymentService/WeChatPay/PaymentRecords/IPaymentRecordAppService.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using EasyAbp.PaymentService.WeChatPay.PaymentRecords.Dtos;
3 | using Volo.Abp.Application.Dtos;
4 | using Volo.Abp.Application.Services;
5 |
6 | namespace EasyAbp.PaymentService.WeChatPay.PaymentRecords
7 | {
8 | public interface IPaymentRecordAppService :
9 | IReadOnlyAppService<
10 | PaymentRecordDto,
11 | Guid,
12 | PagedAndSortedResultRequestDto>
13 | {
14 |
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Application/EasyAbp/PaymentService/WeChatPay/WeChatPayAppService.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.WeChatPay.Localization;
2 | using Volo.Abp.Application.Services;
3 |
4 | namespace EasyAbp.PaymentService.WeChatPay
5 | {
6 | public abstract class WeChatPayAppService : ApplicationService
7 | {
8 | protected WeChatPayAppService()
9 | {
10 | LocalizationResource = typeof(WeChatPayResource);
11 | ObjectMapperContext = typeof(PaymentServiceWeChatPayApplicationModule);
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.MongoDB/EasyAbp/PaymentService/WeChatPay/MongoDB/WeChatPayMongoModelBuilderConfigurationOptions.cs:
--------------------------------------------------------------------------------
1 | using JetBrains.Annotations;
2 | using Volo.Abp.MongoDB;
3 |
4 | namespace EasyAbp.PaymentService.WeChatPay.MongoDB
5 | {
6 | public class WeChatPayMongoModelBuilderConfigurationOptions : AbpMongoModelBuilderConfigurationOptions
7 | {
8 | public WeChatPayMongoModelBuilderConfigurationOptions(
9 | [NotNull] string collectionPrefix = "")
10 | : base(collectionPrefix)
11 | {
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cs.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.cs={days:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota"],daysShort:["Ned","Pon","Úte","Stř","Čtv","Pát","Sob"],daysMin:["Ne","Po","Út","St","Čt","Pá","So"],months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],monthsShort:["Led","Úno","Bře","Dub","Kvě","Čer","Čnc","Srp","Zář","Říj","Lis","Pro"],today:"Dnes",clear:"Vymazat",monthsTitle:"Měsíc",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tg.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.tg={days:["Якшанбе","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"],daysShort:["Яшб","Дшб","Сшб","Чшб","Пшб","Ҷум","Шнб"],daysMin:["Яш","Дш","Сш","Чш","Пш","Ҷм","Шб"],months:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Имрӯз",monthsTitle:"Моҳҳо",clear:"Тоза намудан",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tk.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.tk={days:["Ýekşenbe","Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe"],daysShort:["Ýek","Duş","Siş","Çar","Pen","Ann","Şen"],daysMin:["Ýe","Du","Si","Ça","Pe","An","Şe"],months:["Ýanwar","Fewral","Mart","Aprel","Maý","Iýun","Iýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr"],monthsShort:["Ýan","Few","Mar","Apr","Maý","Iýn","Iýl","Awg","Sen","Okt","Noý","Dek"],today:"Bu gün",monthsTitle:"Aýlar",clear:"Aýyr",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.MongoDB/EasyAbp/PaymentService/Prepayment/MongoDB/PrepaymentMongoModelBuilderConfigurationOptions.cs:
--------------------------------------------------------------------------------
1 | using JetBrains.Annotations;
2 | using Volo.Abp.MongoDB;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.MongoDB
5 | {
6 | public class PrepaymentMongoModelBuilderConfigurationOptions : AbpMongoModelBuilderConfigurationOptions
7 | {
8 | public PrepaymentMongoModelBuilderConfigurationOptions(
9 | [NotNull] string collectionPrefix = "")
10 | : base(collectionPrefix)
11 | {
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.Domain.Tests/Transactions/TransactionDomainTests.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Shouldly;
3 | using Xunit;
4 |
5 | namespace EasyAbp.PaymentService.Prepayment.Transactions
6 | {
7 | public class TransactionDomainTests : PrepaymentDomainTestBase
8 | {
9 | public TransactionDomainTests()
10 | {
11 | }
12 |
13 | [Fact]
14 | public async Task Test1()
15 | {
16 | // Arrange
17 |
18 | // Assert
19 |
20 | // Assert
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.Domain.Tests/RefundRecords/RefundRecordDomainTests.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Shouldly;
3 | using Xunit;
4 |
5 | namespace EasyAbp.PaymentService.WeChatPay.RefundRecords
6 | {
7 | public class RefundRecordDomainTests : WeChatPayDomainTestBase
8 | {
9 | public RefundRecordDomainTests()
10 | {
11 | }
12 |
13 | [Fact]
14 | public async Task Test1()
15 | {
16 | // Arrange
17 |
18 | // Assert
19 |
20 | // Assert
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/Pages/PaymentServicePageModel.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Localization;
2 | using Volo.Abp.AspNetCore.Mvc.UI.RazorPages;
3 |
4 | namespace EasyAbp.PaymentService.Web.Pages
5 | {
6 | /* Inherit your PageModel classes from this class.
7 | */
8 | public abstract class PaymentServicePageModel : AbpPageModel
9 | {
10 | protected PaymentServicePageModel()
11 | {
12 | LocalizationResourceType = typeof(PaymentServiceResource);
13 | ObjectMapperContext = typeof(PaymentServiceWebModule);
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eo.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.eo={days:["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"],daysShort:["dim.","lun.","mar.","mer.","ĵaŭ.","ven.","sam."],daysMin:["d","l","ma","me","ĵ","v","s"],months:["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"],monthsShort:["jan.","feb.","mar.","apr.","majo","jun.","jul.","aŭg.","sep.","okt.","nov.","dec."],today:"Hodiaŭ",clear:"Nuligi",weekStart:1,format:"yyyy-mm-dd"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.id={days:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],daysShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],daysMin:["Mg","Sn","Sl","Rb","Km","Jm","Sb"],months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],today:"Hari Ini",monthsTitle:"Bulan",clear:"Kosongkan",weekStart:0,format:"dd-mm-yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it-CH.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.it={days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],daysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi",clear:"Cancella",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["pt-BR"]={days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],daysMin:["Do","Se","Te","Qu","Qu","Se","Sa"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],today:"Hoje",monthsTitle:"Meses",clear:"Limpar",format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sq.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.sq={days:["E Diel","E Hënë","E Martē","E Mërkurë","E Enjte","E Premte","E Shtunë"],daysShort:["Die","Hën","Mar","Mër","Enj","Pre","Shtu"],daysMin:["Di","Hë","Ma","Më","En","Pr","Sht"],months:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],monthsShort:["Jan","Shk","Mar","Pri","Maj","Qer","Korr","Gu","Sht","Tet","Nën","Dhjet"],monthsTitle:"Muaj",today:"Sot",weekStart:1,format:"dd/mm/yyyy",clear:"Pastro"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.uk={days:["Неділя","Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота"],daysShort:["Нед","Пнд","Втр","Срд","Чтв","Птн","Суб"],daysMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthsShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],today:"Сьогодні",clear:"Очистити",format:"dd.mm.yyyy",weekStart:1}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.vi.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.vi={days:["Chủ nhật","Thứ hai","Thứ ba","Thứ tư","Thứ năm","Thứ sáu","Thứ bảy"],daysShort:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],daysMin:["CN","T2","T3","T4","T5","T6","T7"],months:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],monthsShort:["Th1","Th2","Th3","Th4","Th5","Th6","Th7","Th8","Th9","Th10","Th11","Th12"],today:"Hôm nay",clear:"Xóa",format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application/EasyAbp/PaymentService/Prepayment/PrepaymentAppService.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Prepayment.Localization;
2 | using Volo.Abp.Application.Services;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment
5 | {
6 | public abstract class PrepaymentAppService : ApplicationService
7 | {
8 | protected PrepaymentAppService()
9 | {
10 | LocalizationResource = typeof(PrepaymentResource);
11 | ObjectMapperContext = typeof(PaymentServicePrepaymentApplicationModule);
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Domain/EasyAbp/PaymentService/WeChatPay/WeChatPayBusinessErrorException.cs:
--------------------------------------------------------------------------------
1 | using Volo.Abp;
2 |
3 | namespace EasyAbp.PaymentService.WeChatPay
4 | {
5 | public class WeChatPayBusinessErrorException : BusinessException
6 | {
7 | public WeChatPayBusinessErrorException(string outTradeNo, string errCode, string errCodeDes) : base(
8 | "WeChatPayBusinessError",
9 | $"There was an error in your request for the WeChatPay order (outTradeNo: {outTradeNo}): [{errCode}] {errCodeDes}")
10 | {
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/test/EasyAbp.PaymentService.WeChatPay.Domain.Tests/PaymentRecords/PaymentRecordDomainTests.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Shouldly;
3 | using Xunit;
4 |
5 | namespace EasyAbp.PaymentService.WeChatPay.PaymentRecords
6 | {
7 | public class PaymentRecordDomainTests : WeChatPayDomainTestBase
8 | {
9 | public PaymentRecordDomainTests()
10 | {
11 | }
12 |
13 | [Fact]
14 | public async Task Test1()
15 | {
16 | // Arrange
17 |
18 | // Assert
19 |
20 | // Assert
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Application/PaymentServiceSampleApplicationAutoMapperProfile.cs:
--------------------------------------------------------------------------------
1 | using AutoMapper;
2 |
3 | namespace PaymentServiceSample
4 | {
5 | public class PaymentServiceSampleApplicationAutoMapperProfile : Profile
6 | {
7 | public PaymentServiceSampleApplicationAutoMapperProfile()
8 | {
9 | /* You can configure your AutoMapper mapping configuration here.
10 | * Alternatively, you can split your mapping configurations
11 | * into multiple profile classes for a better organization. */
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Domain/Data/NullPaymentServiceSampleDbSchemaMigrator.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Volo.Abp.DependencyInjection;
3 |
4 | namespace PaymentServiceSample.Data
5 | {
6 | /* This is used if database provider does't define
7 | * IPaymentServiceSampleDbSchemaMigrator implementation.
8 | */
9 | public class NullPaymentServiceSampleDbSchemaMigrator : IPaymentServiceSampleDbSchemaMigrator, ITransientDependency
10 | {
11 | public Task MigrateAsync()
12 | {
13 | return Task.CompletedTask;
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.br.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.br={days:["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"],daysShort:["Sul","Lun","Meu.","Mer.","Yao.","Gwe.","Sad."],daysMin:["Su","L","Meu","Mer","Y","G","Sa"],months:["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu"],monthsShort:["Genv.","C'hw.","Meur.","Ebre.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kerz."],today:"Hiziv",monthsTitle:"Miz",clear:"Dilemel",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.da.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.da={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"I Dag",weekStart:1,clear:"Nulstil",format:"dd/mm/yyyy",monthsTitle:"Måneder"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["So","Mo","Di","Mi","Do","Fr","Sa"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",monthsTitle:"Monate",clear:"Löschen",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.es={days:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],daysShort:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],daysMin:["Do","Lu","Ma","Mi","Ju","Vi","Sa"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthsShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],today:"Hoy",monthsTitle:"Meses",clear:"Borrar",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr-CH.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.fr={days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],daysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],daysMin:["D","L","Ma","Me","J","V","S"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Jan","Fév","Mar","Avr","Mai","Jui","Jul","Aou","Sep","Oct","Nov","Déc"],today:"Aujourd'hui",monthsTitle:"Mois",clear:"Effacer",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.no.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.no={days:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],daysShort:["søn","man","tir","ons","tor","fre","lør"],daysMin:["sø","ma","ti","on","to","fr","lø"],months:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthsShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],today:"i dag",monthsTitle:"Måneder",clear:"Nullstill",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.oc.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.oc={days:["Dimenge","Diluns","Dimars","Dimècres","Dijòus","Divendres","Dissabte"],daysShort:["Dim","Dil","Dmr","Dmc","Dij","Div","Dis"],daysMin:["dg","dl","dr","dc","dj","dv","ds"],months:["Genièr","Febrièr","Març","Abrial","Mai","Junh","Julhet","Agost","Setembre","Octobre","Novembre","Decembre"],monthsShort:["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Dec"],today:"Uèi",monthsTitle:"Meses",clear:"Escafar",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-cyrl.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["uz-cyrl"]={days:["Якшанба","Душанба","Сешанба","Чоршанба","Пайшанба","Жума","Шанба"],daysShort:["Якш","Ду","Се","Чор","Пай","Жу","Ша"],daysMin:["Як","Ду","Се","Чо","Па","Жу","Ша"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Бугун",clear:"Ўчириш",format:"dd.mm.yyyy",weekStart:1,monthsTitle:"Ойлар"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Accounts/InsufficientBalanceToLockException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Accounts
5 | {
6 | public class InsufficientBalanceToLockException : BusinessException
7 | {
8 | public InsufficientBalanceToLockException(decimal lockedBalance, decimal balance) : base(
9 | message:
10 | $"Failed to lock {lockedBalance} balance. The current balance ({balance}) is insufficient to lock.")
11 | {
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/Refunds/RefundItemEto.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Volo.Abp.ObjectExtending;
3 |
4 | namespace EasyAbp.PaymentService.Refunds
5 | {
6 | [Serializable]
7 | public class RefundItemEto : ExtensibleObject, IRefundItem
8 | {
9 | public Guid Id { get; set; }
10 |
11 | public Guid PaymentItemId { get; set; }
12 |
13 | public decimal RefundAmount { get; set; }
14 |
15 | public string CustomerRemark { get; set; }
16 |
17 | public string StaffRemark { get; set; }
18 | }
19 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hu.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.hu={days:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],daysShort:["vas","hét","ked","sze","csü","pén","szo"],daysMin:["V","H","K","Sze","Cs","P","Szo"],months:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],monthsShort:["jan","feb","már","ápr","máj","jún","júl","aug","sze","okt","nov","dec"],today:"ma",weekStart:1,clear:"töröl",titleFormat:"yyyy. MM",format:"yyyy.mm.dd"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ka.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.ka={days:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],daysShort:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],daysMin:["კვ","ორ","სა","ოთ","ხუ","პა","შა"],months:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],monthsShort:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],today:"დღეს",clear:"გასუფთავება",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lv.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.lv={days:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena"],daysShort:["Sv","P","O","T","C","Pk","S"],daysMin:["Sv","Pr","Ot","Tr","Ce","Pk","Se"],months:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],monthsTitle:"Mēneši",today:"Šodien",clear:"Nodzēst",weekStart:1}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.nl={days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],daysShort:["zo","ma","di","wo","do","vr","za"],daysMin:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthsShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],today:"Vandaag",monthsTitle:"Maanden",clear:"Wissen",weekStart:1,format:"dd-mm-yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ru.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.ru={days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],daysShort:["Вск","Пнд","Втр","Срд","Чтв","Птн","Суб"],daysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Сегодня",clear:"Очистить",format:"dd.mm.yyyy",weekStart:1,monthsTitle:"Месяцы"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ta.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.ta={days:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"],daysShort:["ஞாயி","திங்","செவ்","புத","வியா","வெள்","சனி"],daysMin:["ஞா","தி","செ","பு","வி","வெ","ச"],months:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்டு","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"],monthsShort:["ஜன","பிப்","மார்","ஏப்","மே","ஜூன்","ஜூலை","ஆக","செப்","அக்","நவ","டிச"],today:"இன்று",monthsTitle:"மாதங்கள்",clear:"நீக்கு",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-AU.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["en-AU"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"d/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-CA.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["en-CA"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:0,format:"yyyy-mm-dd"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-GB.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["en-GB"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-IE.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["en-IE"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-NZ.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["en-NZ"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"d/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-US.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["en-US"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:0,format:"m/d/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-ZA.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["en-ZA"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"yyyy/mm/d"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hi.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.hi={days:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],daysShort:["सूर्य","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],daysMin:["र","सो","मं","बु","गु","शु","श"],months:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसम्बर"],monthsShort:["जन","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितं","अक्टूबर","नवं","दिसम्बर"],today:"आज",monthsTitle:"महीने",clear:"साफ",weekStart:1,format:"dd / mm / yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.it={days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],daysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi",monthsTitle:"Mesi",clear:"Cancella",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-latn.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["uz-latn"]={days:["Yakshanba","Dushanba","Seshanba","Chorshanba","Payshanba","Juma","Shanba"],daysShort:["Yak","Du","Se","Chor","Pay","Ju","Sha"],daysMin:["Ya","Du","Se","Cho","Pa","Ju","Sha"],months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avgust","Sentabr","Oktabr","Noyabr","Dekabr"],monthsShort:["Yan","Fev","Mar","Apr","May","Iyn","Iyl","Avg","Sen","Okt","Noy","Dek"],today:"Bugun",clear:"O'chirish",format:"dd.mm.yyyy",weekStart:1,monthsTitle:"Oylar"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/test/PaymentServiceSample.Domain.Tests/PaymentServiceSample.Domain.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net10.0
5 | PaymentServiceSample
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Application.Contracts/EasyAbp/PaymentService/Prepayment/WithdrawalRecords/IWithdrawalRecordAppService.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using EasyAbp.PaymentService.Prepayment.WithdrawalRecords.Dtos;
3 | using Volo.Abp.Application.Dtos;
4 | using Volo.Abp.Application.Services;
5 |
6 | namespace EasyAbp.PaymentService.Prepayment.WithdrawalRecords
7 | {
8 | public interface IWithdrawalRecordAppService :
9 | IReadOnlyAppService<
10 | WithdrawalRecordDto,
11 | Guid,
12 | PagedAndSortedResultRequestDto>
13 | {
14 |
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.4'
2 |
3 | services:
4 | sqlserver:
5 | image: mcr.microsoft.com/mssql/server
6 | volumes:
7 | - dbdata:/var/opt/mssql
8 |
9 | identity-server:
10 | build:
11 | context: ../../
12 | dockerfile: templates/service/host/IdentityServerHost/Dockerfile
13 | depends_on:
14 | - sqlserver
15 |
16 | payments:
17 | build:
18 | context: ../../
19 | dockerfile: templates/service/host/EasyAbp.PaymentService.Host/Dockerfile
20 | depends_on:
21 | - sqlserver
22 | - identity-server
23 |
24 | volumes:
25 | dbdata:
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.DbMigrator/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "ConnectionStrings": {
3 | "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=PaymentServiceSample;Trusted_Connection=True"
4 | },
5 | "IdentityServer": {
6 | "Clients": {
7 | "PaymentServiceSample_Web": {
8 | "ClientId": "PaymentServiceSample_Web",
9 | "ClientSecret": "1q2w3e*",
10 | "RootUrl": "https://localhost:44341"
11 | },
12 | "PaymentServiceSample_App": {
13 | "ClientId": "PaymentServiceSample_App",
14 | "ClientSecret": "1q2w3e*"
15 | }
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.ca={days:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],daysShort:["dg.","dl.","dt.","dc.","dj.","dv.","ds."],daysMin:["dg","dl","dt","dc","dj","dv","ds"],months:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthsShort:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],today:"Avui",monthsTitle:"Mesos",clear:"Esborra",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.el.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.el={days:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],daysShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],daysMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],months:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthsShort:["Ιαν","Φεβ","Μαρ","Απρ","Μάι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],today:"Σήμερα",clear:"Καθαρισμός",weekStart:1,format:"d/m/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.et.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.et={days:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],daysShort:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],daysMin:["P","E","T","K","N","R","L"],months:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthsShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],today:"Täna",clear:"Tühjenda",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl-BE.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["nl-BE"]={days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],daysShort:["zo","ma","di","wo","do","vr","za"],daysMin:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthsShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],today:"Vandaag",monthsTitle:"Maanden",clear:"Leegmaken",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Domain/EasyAbp/PaymentService/Prepayment/Accounts/IAccountWithdrawalProvider.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Volo.Abp.Data;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Accounts
5 | {
6 | public interface IAccountWithdrawalProvider
7 | {
8 | Task OnStartWithdrawalAsync(Account account, string withdrawalMethod, decimal amount,
9 | ExtraPropertyDictionary inputExtraProperties);
10 |
11 | Task OnCompleteWithdrawalAsync(Account account);
12 |
13 | Task OnCancelWithdrawalAsync(Account account);
14 | }
15 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eu.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.eu={days:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"],daysShort:["Ig","Al","Ar","Az","Og","Ol","Lr"],daysMin:["Ig","Al","Ar","Az","Og","Ol","Lr"],months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],monthsShort:["Urt","Ots","Mar","Api","Mai","Eka","Uzt","Abu","Ira","Urr","Aza","Abe"],today:"Gaur",monthsTitle:"Hilabeteak",clear:"Ezabatu",weekStart:1,format:"yyyy/mm/dd"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.fr={days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],daysShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],daysMin:["d","l","ma","me","j","v","s"],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthsShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],today:"Aujourd'hui",monthsTitle:"Mois",clear:"Effacer",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hy.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.hy={days:["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","Ուրբաթ","Շաբաթ"],daysShort:["Կիր","Երկ","Երե","Չոր","Հին","Ուրբ","Շաբ"],daysMin:["Կի","Եկ","Եք","Չո","Հի","Ու","Շա"],months:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],monthsShort:["Հնվ","Փետ","Մար","Ապր","Մայ","Հուն","Հուլ","Օգս","Սեպ","Հոկ","Նոյ","Դեկ"],today:"Այսօր",clear:"Ջնջել",format:"dd.mm.yyyy",weekStart:1,monthsTitle:"Ամիսնէր"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.si.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.si={days:["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්රහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"],daysShort:["ඉරි","සඳු","අඟ","බදා","බ්රහ","සිකු","සෙන"],daysMin:["ඉ","ස","අ","බ","බ්ර","සි","සෙ"],months:["ජනවාරි","පෙබරවාරි","මාර්තු","අප්රේල්","මැයි","ජුනි","ජූලි","අගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්"],monthsShort:["ජන","පෙබ","මාර්","අප්රේ","මැයි","ජුනි","ජූලි","අගෝ","සැප්","ඔක්","නොවැ","දෙසැ"],today:"අද",monthsTitle:"මාස",clear:"මකන්න",weekStart:0,format:"yyyy-mm-dd"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore/EasyAbp.PaymentService.WeChatPay.EntityFrameworkCore.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | net10.0
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/Pages/WeChatPayPageModel.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.WeChatPay.Localization;
2 | using Volo.Abp.AspNetCore.Mvc.UI.RazorPages;
3 |
4 | namespace EasyAbp.PaymentService.WeChatPay.Web.Pages
5 | {
6 | /* Inherit your PageModel classes from this class.
7 | */
8 | public abstract class WeChatPayPageModel : AbpPageModel
9 | {
10 | protected WeChatPayPageModel()
11 | {
12 | LocalizationResourceType = typeof(WeChatPayResource);
13 | ObjectMapperContext = typeof(PaymentServiceWeChatPayWebModule);
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.HttpApi/EasyAbp/PaymentService/PaymentServiceController.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Localization;
2 | using Microsoft.AspNetCore.Mvc;
3 | using Volo.Abp.AspNetCore.Mvc;
4 |
5 | namespace EasyAbp.PaymentService
6 | {
7 | [Area(PaymentServiceRemoteServiceConsts.ModuleName)]
8 | [ApiExplorerSettings(GroupName = "EasyAbpPaymentService")]
9 | public abstract class PaymentServiceController : AbpControllerBase
10 | {
11 | protected PaymentServiceController()
12 | {
13 | LocalizationResource = typeof(PaymentServiceResource);
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Application/PaymentServiceSampleAppService.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using PaymentServiceSample.Localization;
5 | using Volo.Abp.Application.Services;
6 |
7 | namespace PaymentServiceSample
8 | {
9 | /* Inherit your application services from this class.
10 | */
11 | public abstract class PaymentServiceSampleAppService : ApplicationService
12 | {
13 | protected PaymentServiceSampleAppService()
14 | {
15 | LocalizationResource = typeof(PaymentServiceSampleResource);
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mr.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.mar={days:["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],daysShort:["रवि","सोम","मंगळ","बुध","गुरु","शुक्र","शनि"],daysMin:["र","सो","मं","बु","गु","शु","श"],months:["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर"],monthsShort:["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें."],today:"आज",monthsTitle:"महीने",clear:"हटवा",weekStart:1,format:"dd / mm / yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pl.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.pl={days:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],daysShort:["Niedz.","Pon.","Wt.","Śr.","Czw.","Piąt.","Sob."],daysMin:["Ndz.","Pn.","Wt.","Śr.","Czw.","Pt.","Sob."],months:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthsShort:["Sty.","Lut.","Mar.","Kwi.","Maj","Cze.","Lip.","Sie.","Wrz.","Paź.","Lis.","Gru."],today:"Dzisiaj",weekStart:1,clear:"Wyczyść",format:"dd.mm.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/jquery-validation/localization/methods_fi.min.js:
--------------------------------------------------------------------------------
1 | /*! jQuery Validation Plugin - v1.21.0 - 7/17/2024
2 | * https://jqueryvalidation.org/
3 | * Copyright (c) 2024 Jörn Zaefferer; Licensed MIT */
4 | !function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return a.extend(a.validator.methods,{date:function(a,b){return this.optional(b)||/^\d{1,2}\.\d{1,2}\.\d{4}$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+)(?:,\d+)?$/.test(a)}}),a});
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.HttpApi/EasyAbp.PaymentService.Prepayment.HttpApi.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | net10.0
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Menus/PrepaymentMenus.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.Prepayment.Web.Menus
2 | {
3 | public class PrepaymentMenus
4 | {
5 | public const string ModuleGroupPrefix = "EasyAbp.PaymentService";
6 |
7 | public const string Prefix = ModuleGroupPrefix + ".Prepayment";
8 |
9 | //Add your menu items here...
10 | //public const string Home = Prefix + ".MyNewMenuItem";
11 |
12 | public const string Account = Prefix + ".Account";
13 | public const string WithdrawalRequest = Prefix + ".WithdrawalRequest";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.Web/Pages/PrepaymentPageModel.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Prepayment.Localization;
2 | using Volo.Abp.AspNetCore.Mvc.UI.RazorPages;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment.Web.Pages
5 | {
6 | /* Inherit your PageModel classes from this class.
7 | */
8 | public abstract class PrepaymentPageModel : AbpPageModel
9 | {
10 | protected PrepaymentPageModel()
11 | {
12 | LocalizationResourceType = typeof(PrepaymentResource);
13 | ObjectMapperContext = typeof(PaymentServicePrepaymentWebModule);
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.Domain.Tests/EasyAbp.PaymentService.Prepayment.Domain.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net10.0
5 | EasyAbp.PaymentService.Prepayment
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.Domain.Tests/PrepaymentDomainTestModule.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Prepayment.EntityFrameworkCore;
2 | using Volo.Abp.Modularity;
3 |
4 | namespace EasyAbp.PaymentService.Prepayment
5 | {
6 | /* Domain tests are configured to use the EF Core provider.
7 | * You can switch to MongoDB, however your domain tests should be
8 | * database independent anyway.
9 | */
10 | [DependsOn(
11 | typeof(PrepaymentEntityFrameworkCoreTestModule)
12 | )]
13 | public class PrepaymentDomainTestModule : AbpModule
14 | {
15 |
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.4'
2 |
3 | services:
4 | sqlserver:
5 | image: mcr.microsoft.com/mssql/server
6 | volumes:
7 | - dbdata:/var/opt/mssql
8 |
9 | identity-server:
10 | build:
11 | context: ../../
12 | dockerfile: templates/service/host/IdentityServerHost/Dockerfile
13 | depends_on:
14 | - sqlserver
15 |
16 | we-chat-pay:
17 | build:
18 | context: ../../
19 | dockerfile: templates/service/host/EasyAbp.PaymentService.WeChatPay.Host/Dockerfile
20 | depends_on:
21 | - sqlserver
22 | - identity-server
23 |
24 | volumes:
25 | dbdata:
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.Web/Menus/WeChatPayMenus.cs:
--------------------------------------------------------------------------------
1 | namespace EasyAbp.PaymentService.WeChatPay.Web.Menus
2 | {
3 | public class WeChatPayMenus
4 | {
5 | public const string ModuleGroupPrefix = "EasyAbp.PaymentService";
6 |
7 | public const string Prefix = ModuleGroupPrefix + ".WeChatPay";
8 |
9 | //Add your menu items here...
10 | //public const string Home = Prefix + ".MyNewMenuItem";
11 |
12 | public const string PaymentRecord = Prefix + ".PaymentRecord";
13 |
14 | public const string RefundRecord = Prefix + ".RefundRecord";
15 | }
16 | }
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Application.Contracts/EasyAbp/PaymentService/Refunds/Dtos/RefundItemDto.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using Volo.Abp.Application.Dtos;
4 |
5 | namespace EasyAbp.PaymentService.Refunds.Dtos
6 | {
7 | [Serializable]
8 | public class RefundItemDto : ExtensibleFullAuditedEntityDto, IRefundItem
9 | {
10 | public Guid PaymentItemId { get; set; }
11 |
12 | public decimal RefundAmount { get; set; }
13 |
14 | public string CustomerRemark { get; set; }
15 |
16 | public string StaffRemark { get; set; }
17 | }
18 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.fi={days:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],daysShort:["sun","maa","tii","kes","tor","per","lau"],daysMin:["su","ma","ti","ke","to","pe","la"],months:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],monthsShort:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],today:"tänään",clear:"Tyhjennä",weekStart:1,format:"d.m.yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.4'
2 |
3 | services:
4 | sqlserver:
5 | image: mcr.microsoft.com/mssql/server
6 | volumes:
7 | - dbdata:/var/opt/mssql
8 |
9 | identity-server:
10 | build:
11 | context: ../../
12 | dockerfile: templates/service/host/IdentityServerHost/Dockerfile
13 | depends_on:
14 | - sqlserver
15 |
16 | prepayment:
17 | build:
18 | context: ../../
19 | dockerfile: templates/service/host/EasyAbp.PaymentService.Prepayment.Host/Dockerfile
20 | depends_on:
21 | - sqlserver
22 | - identity-server
23 |
24 | volumes:
25 | dbdata:
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/test/EasyAbp.PaymentService.HttpApi.Client.ConsoleTestApp/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "RemoteServices": {
3 | "Default": {
4 | "BaseUrl": "https://localhost:44376/"
5 | },
6 | "EasyAbpPaymentService": {
7 | "BaseUrl": "https://localhost:44344/"
8 | }
9 | },
10 | "IdentityClients": {
11 | "Default": {
12 | "GrantType": "password",
13 | "ClientId": "PaymentService_ConsoleTestApp",
14 | "ClientSecret": "1q2w3e*",
15 | "UserName": "admin",
16 | "UserPassword": "1q2w3E*",
17 | "Authority": "https://localhost:44376/",
18 | "Scope": "PaymentService"
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bm.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.bm={days:["Kari","Ntɛnɛn","Tarata","Araba","Alamisa","Juma","Sibiri"],daysShort:["Kar","Ntɛ","Tar","Ara","Ala","Jum","Sib"],daysMin:["Ka","Nt","Ta","Ar","Al","Ju","Si"],months:["Zanwuyekalo","Fewuruyekalo","Marisikalo","Awirilikalo","Mɛkalo","Zuwɛnkalo","Zuluyekalo","Utikalo","Sɛtanburukalo","ɔkutɔburukalo","Nowanburukalo","Desanburukalo"],monthsShort:["Zan","Few","Mar","Awi","Mɛ","Zuw","Zul","Uti","Sɛt","ɔku","Now","Des"],today:"Bi",monthsTitle:"Kalo",clear:"Ka jɔsi",weekStart:1,format:"dd/mm/yyyy"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Web/PaymentServiceWebAutoMapperProfile.cs:
--------------------------------------------------------------------------------
1 | using EasyAbp.PaymentService.Refunds.Dtos;
2 | using AutoMapper;
3 | using EasyAbp.PaymentService.Payments.Dtos;
4 |
5 | namespace EasyAbp.PaymentService.Web
6 | {
7 | public class PaymentServiceWebAutoMapperProfile : Profile
8 | {
9 | public PaymentServiceWebAutoMapperProfile()
10 | {
11 | /* You can configure your AutoMapper mapping configuration here.
12 | * Alternatively, you can split your mapping configurations
13 | * into multiple profile classes for a better organization. */
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-DZ.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates["ar-DZ"]={days:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"],daysShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت","أحد"],daysMin:["ح","ن","ث","ع","خ","ج","س","ح"],months:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويليه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthsShort:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويليه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],today:"هذا اليوم",rtl:!0,monthsTitle:"أشهر",clear:"إزالة",format:"yyyy/mm/dd",weekStart:0}}(jQuery);
--------------------------------------------------------------------------------
/samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.Web/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lt.min.js:
--------------------------------------------------------------------------------
1 | !function(a){a.fn.datepicker.dates.lt={days:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis"],daysShort:["S","Pr","A","T","K","Pn","Š"],daysMin:["Sk","Pr","An","Tr","Ke","Pn","Št"],months:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthsShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],today:"Šiandien",monthsTitle:"Mėnesiai",clear:"Išvalyti",weekStart:1,format:"yyyy-mm-dd"}}(jQuery);
--------------------------------------------------------------------------------
/modules/EasyAbp.PaymentService.Prepayment/test/EasyAbp.PaymentService.Prepayment.HttpApi.Client.ConsoleTestApp/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "RemoteServices": {
3 | "Default": {
4 | "BaseUrl": "https://localhost:44388/"
5 | },
6 | "EasyAbpPaymentService": {
7 | "BaseUrl": "https://localhost:44344/"
8 | }
9 | },
10 | "IdentityClients": {
11 | "Default": {
12 | "GrantType": "password",
13 | "ClientId": "Prepayment_ConsoleTestApp",
14 | "ClientSecret": "1q2w3e*",
15 | "UserName": "admin",
16 | "UserPassword": "1q2w3E*",
17 | "Authority": "https://localhost:44388/",
18 | "Scope": "Prepayment"
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------