Table of Contents

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

int

Country

ISO 3166-1 alpha-2 country of Region.

public string Country { get; init; }

Property Value

string

CreatedAt

When the need was recorded.

public DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

EntityId

Owning entity.

public string EntityId { get; init; }

Property Value

string

FulfilledAt

When a matching certificate appeared.

public DateTimeOffset? FulfilledAt { get; set; }

Property Value

DateTimeOffset?

Id

Request id.

public Guid Id { get; init; }

Property Value

Guid

Kind

Resale to vendor, or exemption invite to customer.

public CertificateRequestKind Kind { get; init; }

Property Value

CertificateRequestKind

LastError

Why the last provider call failed, if it did.

public string? LastError { get; set; }

Property Value

string

PartyCode

Customer or vendor code.

public string PartyCode { get; init; }

Property Value

string

PartyType

Whether PartyCode is a customer or vendor.

public PartyType PartyType { get; init; }

Property Value

PartyType

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

string

Region

Region(s) the certificate must cover, e.g. OH. Resale certificates are job/site specific.

public string Region { get; init; }

Property Value

string

Link the customer uses to upload certificates (customer invites).

public string? RequestLink { get; set; }

Property Value

string

Status

Lifecycle status.

public CertificateRequestStatus Status { get; set; }

Property Value

CertificateRequestStatus

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

DateTimeOffset

WorkOrderNumber

Work order the PO belongs to, if any.

public string? WorkOrderNumber { get; init; }

Property Value

string