Class CertificateRequestDto
- Namespace
- Integrations.Contracts.Parties
- Assembly
- Integrations.Contracts.dll
A tracked need for a certificate: a resale certificate owed to a vendor, or an exemption invite sent to a customer.
public sealed record CertificateRequestDto : IEquatable<CertificateRequestDto>
- Inheritance
-
CertificateRequestDto
- Implements
- Inherited Members
Constructors
CertificateRequestDto(Guid, string, CertificateRequestKind, PartyType, string, string, string, string?, string?, Guid?, CertificateRequestStatus, int?, int?, string?, string?, DateTimeOffset, DateTimeOffset?)
A tracked need for a certificate: a resale certificate owed to a vendor, or an exemption invite sent to a customer.
public CertificateRequestDto(Guid Id, string EntityId, CertificateRequestKind Kind, PartyType PartyType, string PartyCode, string Region, string Country, string? PurchaseOrderNumber, string? WorkOrderNumber, Guid? TaxDocumentId, CertificateRequestStatus Status, int? ProviderCertificateId, int? ProviderInvitationId, string? RequestLink, string? LastError, DateTimeOffset CreatedAt, DateTimeOffset? FulfilledAt)
Parameters
IdGuidRequest id.
EntityIdstringOwning entity.
KindCertificateRequestKindResale to vendor, or exemption invite to customer.
PartyTypePartyTypeWhether
PartyCodeis a customer or vendor.PartyCodestringThe customer or vendor code.
RegionstringState/province code(s) covered; comma-separated for invites.
CountrystringISO 3166-1 alpha-2 country.
PurchaseOrderNumberstringPO the request is for, if any.
WorkOrderNumberstringWork order the request is for, if any.
TaxDocumentIdGuid?AP tax document that triggered the request, if any.
StatusCertificateRequestStatusWhere the request is in its lifecycle.
ProviderCertificateIdint?Avalara certificate that fulfilled it, once fulfilled.
ProviderInvitationIdint?Avalara CertExpress invitation id (invites only).
RequestLinkstringUpload link sent to the customer (invites only).
LastErrorstringWhy the request failed, if it did.
CreatedAtDateTimeOffsetWhen the need was recorded.
FulfilledAtDateTimeOffset?When a matching certificate appeared.
Properties
Country
ISO 3166-1 alpha-2 country.
public string Country { get; init; }
Property Value
CreatedAt
When the need was recorded.
public DateTimeOffset CreatedAt { get; init; }
Property Value
EntityId
Owning entity.
public string EntityId { get; init; }
Property Value
FulfilledAt
When a matching certificate appeared.
public DateTimeOffset? FulfilledAt { get; init; }
Property Value
Id
Request id.
public Guid Id { get; init; }
Property Value
Kind
Resale to vendor, or exemption invite to customer.
public CertificateRequestKind Kind { get; init; }
Property Value
LastError
Why the request failed, if it did.
public string? LastError { get; init; }
Property Value
PartyCode
The customer or vendor code.
public string PartyCode { get; init; }
Property Value
PartyType
Whether PartyCode is a customer or vendor.
public PartyType PartyType { get; init; }
Property Value
ProviderCertificateId
Avalara certificate that fulfilled it, once fulfilled.
public int? ProviderCertificateId { get; init; }
Property Value
- int?
ProviderInvitationId
Avalara CertExpress invitation id (invites only).
public int? ProviderInvitationId { get; init; }
Property Value
- int?
PurchaseOrderNumber
PO the request is for, if any.
public string? PurchaseOrderNumber { get; init; }
Property Value
Region
State/province code(s) covered; comma-separated for invites.
public string Region { get; init; }
Property Value
RequestLink
Upload link sent to the customer (invites only).
public string? RequestLink { get; init; }
Property Value
Status
Where the request is in its lifecycle.
public CertificateRequestStatus Status { get; init; }
Property Value
TaxDocumentId
AP tax document that triggered the request, if any.
public Guid? TaxDocumentId { get; init; }
Property Value
- Guid?
WorkOrderNumber
Work order the request is for, if any.
public string? WorkOrderNumber { get; init; }