-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #998 from bcgov/feature/AB#26991-DefaultSite
Feature/ab#26991 default site
- Loading branch information
Showing
33 changed files
with
7,207 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 22 additions & 20 deletions
42
...ager/modules/Unity.Payments/src/Unity.Payments.Application.Contracts/Suppliers/SiteEto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
using System; | ||
namespace Unity.Payments.Suppliers; | ||
|
||
[Serializable] | ||
public class SiteEto | ||
{ | ||
public string SupplierSiteCode { get; set; } = null!; | ||
public string? AddressLine1 { get; set; } | ||
public string? AddressLine2 { get; set; } | ||
public string? AddressLine3 { get; set; } | ||
public string? City { get; set; } | ||
public string? Province { get; set; } | ||
public string? Country { get; set; } | ||
public string? PostalCode { get; set; } | ||
public string? EmailAddress { get; set; } | ||
public string? EFTAdvicePref { get; set; } | ||
public string? ProviderId { get; set; } | ||
public string? Status { get; set; } | ||
public string? SiteProtected { get; set; } | ||
using System; | ||
namespace Unity.Payments.Suppliers; | ||
|
||
[Serializable] | ||
public class SiteEto | ||
{ | ||
public Guid Id { get; set; } = Guid.Empty; | ||
public string SupplierSiteCode { get; set; } = null!; | ||
public string? AddressLine1 { get; set; } | ||
public string? AddressLine2 { get; set; } | ||
public string? AddressLine3 { get; set; } | ||
public string? City { get; set; } | ||
public string? Province { get; set; } | ||
public string? Country { get; set; } | ||
public string? PostalCode { get; set; } | ||
public string? EmailAddress { get; set; } | ||
public string? EFTAdvicePref { get; set; } | ||
public string? BankAccount { get; set; } | ||
public string? ProviderId { get; set; } | ||
public string? Status { get; set; } | ||
public string? SiteProtected { get; set; } | ||
public DateTime? LastUpdated { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
...on.Contracts/Suppliers/ISiteAppService.cs → ....Application/Suppliers/ISiteAppService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using Volo.Abp.Application.Services; | ||
using Unity.Payments.Domain.Suppliers; | ||
|
||
namespace Unity.Payments.Suppliers | ||
{ | ||
public interface ISiteAppService : IApplicationService | ||
{ | ||
Task<SiteDto> GetAsync(Guid id); | ||
|
||
Task InsertAsync(SiteDto siteDto); | ||
Task<Guid> InsertAsync(SiteDto siteDto); | ||
|
||
Task DeleteBySupplierIdAsync(Guid supplierId); | ||
Task<List<Site>> GetSitesBySupplierIdAsync(Guid supplierId); | ||
} | ||
} |
Oops, something went wrong.