Interface IPartyProvider
- Namespace
- Integrations.Application.Parties
- Assembly
- Integrations.Application.dll
Customer/vendor records in the tax provider (needed for exemption and resale certificates).
public interface IPartyProvider
Methods
UpsertCustomerAsync(int, PartyRecord, CancellationToken)
Creates or updates the customer in the provider company.
Task UpsertCustomerAsync(int companyId, PartyRecord party, CancellationToken cancellationToken)
Parameters
companyIdintpartyPartyRecordcancellationTokenCancellationToken
Returns
UpsertVendorAsync(int, PartyRecord, CancellationToken)
Creates or updates the vendor in the provider company.
Task UpsertVendorAsync(int companyId, PartyRecord party, CancellationToken cancellationToken)
Parameters
companyIdintpartyPartyRecordcancellationTokenCancellationToken