Class ProviderRejectedException
- Namespace
- Integrations.Application.Common
- Assembly
- Integrations.Application.dll
The provider understood the request and rejected it (bad address, unknown tax code, ...). Retrying will not help.
public sealed class ProviderRejectedException : IntegrationException, ISerializable
- Inheritance
-
ProviderRejectedException
- Implements
- Inherited Members
Constructors
ProviderRejectedException(string, string, string, IReadOnlyList<string>?)
The provider understood the request and rejected it (bad address, unknown tax code, ...). Retrying will not help.
public ProviderRejectedException(string provider, string providerCode, string message, IReadOnlyList<string>? details = null)
Parameters
providerstringproviderCodestringmessagestringdetailsIReadOnlyList<string>
Properties
Details
Provider's detail messages.
public IReadOnlyList<string> Details { get; }
Property Value
DocumentId
Our tax document that was marked Failed because of this rejection, if any.
public Guid? DocumentId { get; init; }
Property Value
- Guid?
Provider
Provider that rejected the request.
public string Provider { get; }
Property Value
ProviderCode
Provider's own error code (e.g. AvaTax InvalidAddress).
public string ProviderCode { get; }