Class CertificateRequest
- Namespace
- Integrations.Domain.Parties
- Assembly
- Integrations.Domain.dll
Tracks a certificate we need on file: PVC's resale certificate for a vendor on a specific PO (buy side), or a customer's exemption certificate (sell side). Drives the "committed POs without certificates" report.
public sealed class CertificateRequest
- Inheritance
-
CertificateRequest
- Inherited Members
Properties
Attempts
Provider calls made so far (for back-off).
public int Attempts { get; set; }
Property Value
Country
ISO 3166-1 alpha-2 country of Region.
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; set; }
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 last provider call failed, if it did.
public string? LastError { get; set; }
Property Value
PartyCode
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
Provider certificate id once one is found on file.
public int? ProviderCertificateId { get; set; }
Property Value
- int?
ProviderInvitationId
Provider invitation id (customer exemption invites).
public int? ProviderInvitationId { get; set; }
Property Value
- int?
PurchaseOrderNumber
PO the certificate is for, if any.
public string? PurchaseOrderNumber { get; init; }
Property Value
Region
Region(s) the certificate must cover, e.g. OH. Resale certificates are job/site specific.
public string Region { get; init; }
Property Value
RequestLink
Link the customer uses to upload certificates (customer invites).
public string? RequestLink { get; set; }
Property Value
Status
Lifecycle status.
public CertificateRequestStatus Status { get; set; }
Property Value
TaxDocumentId
AP tax document that triggered the request, if any.
public Guid? TaxDocumentId { get; init; }
Property Value
- Guid?
UpdatedAt
When it last changed.
public DateTimeOffset UpdatedAt { get; set; }
Property Value
WorkOrderNumber
Work order the PO belongs to, if any.
public string? WorkOrderNumber { get; init; }