Class OmieServiceOrderStatus
Fiscal state of a service order in Omie, as StatusOS returns it: which stage it sits in, whether it was
cancelled, whether it was already invoiced and — when it was — the NFS-e that came out of it.
public record OmieServiceOrderStatus : IEquatable<OmieServiceOrderStatus>
- Inheritance
-
OmieServiceOrderStatus
- Implements
- Inherited Members
Constructors
OmieServiceOrderStatus(long, string?, string?, bool, bool, decimal, OmieServiceInvoiceStatus?)
Fiscal state of a service order in Omie, as StatusOS returns it: which stage it sits in, whether it was
cancelled, whether it was already invoiced and — when it was — the NFS-e that came out of it.
public OmieServiceOrderStatus(long OsCode, string? OsNumber, string? Stage, bool IsCancelled, bool IsInvoiced, decimal TotalValue, OmieServiceInvoiceStatus? Invoice)
Parameters
OsCodelongOmie's internal service order identifier (
nCodOS).OsNumberstringService order number as the user sees it (
cNumOS).StagestringKanban stage (
cEtapa).IsCancelledboolThe service order was cancelled in Omie (
cCancelada).IsInvoicedboolInvoicing was triggered (
cFaturada) — which does not guarantee an authorized invoice.TotalValuedecimalService order total (
nValorTot).InvoiceOmieServiceInvoiceStatusThe NFS-e/RPS of the order. Null when it was never invoiced.
Properties
Invoice
The NFS-e/RPS of the order. Null when it was never invoiced.
public OmieServiceInvoiceStatus? Invoice { get; init; }
Property Value
IsCancelled
The service order was cancelled in Omie (cCancelada).
public bool IsCancelled { get; init; }
Property Value
IsInvoiced
Invoicing was triggered (cFaturada) — which does not guarantee an authorized invoice.
public bool IsInvoiced { get; init; }
Property Value
OsCode
Omie's internal service order identifier (nCodOS).
public long OsCode { get; init; }
Property Value
OsNumber
Service order number as the user sees it (cNumOS).
public string? OsNumber { get; init; }
Property Value
Stage
Kanban stage (cEtapa).
public string? Stage { get; init; }
Property Value
TotalValue
Service order total (nValorTot).
public decimal TotalValue { get; init; }