24 lines
1.0 KiB
C#
24 lines
1.0 KiB
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using LCU.Library.Internal.CoreApiWrapperModel.CoreModels;
|
|
using LCU.Library.Internal.CoreApiWrapperModel.CoreModels.Tax;
|
|
|
|
namespace LCU.Library.Internal.CoreApiWrapperLib.DataAccess
|
|
{
|
|
public interface ITaxDao
|
|
{
|
|
/// <summary>
|
|
/// Calls Core API and provides a peron's taxId to get taxIdData against.
|
|
/// </summary>
|
|
/// <param name="coreRequestParameters"></param>
|
|
/// <param name="taxId"></param>
|
|
Task<IEnumerable<PersonTaxIdDataResponse>> GetPersonTaxIdData(CoreRequestParameters coreRequestParameters, string taxId);
|
|
|
|
/// <summary>
|
|
/// Calls Core API and provides an organization's taxId to get taxIdData against.
|
|
/// </summary>
|
|
/// <param name="coreRequestParameters"></param>
|
|
/// <param name="taxId"></param>
|
|
Task<IEnumerable<OrganizationTaxIdDataResponse>> GetOrganizationTaxIdData(CoreRequestParameters coreRequestParameters, string taxId);
|
|
}
|
|
} |