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
IdintProvider certificate id.
ExemptionNumberstringExemption or resale number on the certificate.
RegionstringState/province it covers.
CountrystringCountry it covers.
ExposureZonestringProvider exposure zone name.
ExemptionReasonstringReason (resale, government, ...).
SignedDateDateOnly?When it was signed.
ExpirationDateDateOnly?When it expires; null for perpetual.
IsValidboolWhether the provider considers it valid.
StatusstringProvider status text.
PurchaseOrderNumbersIReadOnlyList<string>POs it is limited to (single-purchase certificates).
CustomerCodesIReadOnlyList<string>Customers or vendors it is attached to.
Properties
Country
Country it covers.
public string? Country { get; init; }
Property Value
CustomerCodes
Customers or vendors it is attached to.
public IReadOnlyList<string> CustomerCodes { get; init; }
Property Value
ExemptionNumber
Exemption or resale number on the certificate.
public string? ExemptionNumber { get; init; }
Property Value
ExemptionReason
Reason (resale, government, ...).
public string? ExemptionReason { get; init; }
Property Value
ExpirationDate
When it expires; null for perpetual.
public DateOnly? ExpirationDate { get; init; }
Property Value
ExposureZone
Provider exposure zone name.
public string? ExposureZone { get; init; }
Property Value
Id
Provider certificate id.
public int Id { get; init; }
Property Value
IsValid
Whether the provider considers it valid.
public bool IsValid { get; init; }
Property Value
PurchaseOrderNumbers
POs it is limited to (single-purchase certificates).
public IReadOnlyList<string> PurchaseOrderNumbers { get; init; }
Property Value
Region
State/province it covers.
public string? Region { get; init; }
Property Value
SignedDate
When it was signed.
public DateOnly? SignedDate { get; init; }
Property Value
Status
Provider status text.
public string? Status { get; init; }