Table of Contents

Class CertificateInfo

Namespace
Integrations.Application.Parties
Assembly
Integrations.Application.dll

A certificate as the provider stores it.

public sealed record CertificateInfo : IEquatable<CertificateInfo>
Inheritance
CertificateInfo
Implements
Inherited Members

Constructors

CertificateInfo(int, string?, string?, string?, string?, string?, DateOnly?, DateOnly?, bool, string?, IReadOnlyList<string>, IReadOnlyList<string>)

A certificate as the provider stores it.

public CertificateInfo(int Id, string? ExemptionNumber, string? Region, string? Country, string? ExposureZone, string? ExemptionReason, DateOnly? SignedDate, DateOnly? ExpirationDate, bool IsValid, string? Status, IReadOnlyList<string> PurchaseOrderNumbers, IReadOnlyList<string> CustomerCodes)

Parameters

Id int

Provider certificate id.

ExemptionNumber string

Exemption or resale number on the certificate.

Region string

State/province it covers.

Country string

Country it covers.

ExposureZone string

Provider exposure zone name.

ExemptionReason string

Reason (resale, government, ...).

SignedDate DateOnly?

When it was signed.

ExpirationDate DateOnly?

When it expires; null for perpetual.

IsValid bool

Whether the provider considers it valid.

Status string

Provider status text.

PurchaseOrderNumbers IReadOnlyList<string>

POs it is limited to (single-purchase certificates).

CustomerCodes IReadOnlyList<string>

Customers or vendors it is attached to.

Properties

Country

Country it covers.

public string? Country { get; init; }

Property Value

string

CustomerCodes

Customers or vendors it is attached to.

public IReadOnlyList<string> CustomerCodes { get; init; }

Property Value

IReadOnlyList<string>

ExemptionNumber

Exemption or resale number on the certificate.

public string? ExemptionNumber { get; init; }

Property Value

string

ExemptionReason

Reason (resale, government, ...).

public string? ExemptionReason { get; init; }

Property Value

string

ExpirationDate

When it expires; null for perpetual.

public DateOnly? ExpirationDate { get; init; }

Property Value

DateOnly?

ExposureZone

Provider exposure zone name.

public string? ExposureZone { get; init; }

Property Value

string

Id

Provider certificate id.

public int Id { get; init; }

Property Value

int

IsValid

Whether the provider considers it valid.

public bool IsValid { get; init; }

Property Value

bool

PurchaseOrderNumbers

POs it is limited to (single-purchase certificates).

public IReadOnlyList<string> PurchaseOrderNumbers { get; init; }

Property Value

IReadOnlyList<string>

Region

State/province it covers.

public string? Region { get; init; }

Property Value

string

SignedDate

When it was signed.

public DateOnly? SignedDate { get; init; }

Property Value

DateOnly?

Status

Provider status text.

public string? Status { get; init; }

Property Value

string