Table of Contents

Class OmieServiceOrderStatus

Namespace
NuvTools.Payment.Omie.ApiClient.DTOs.Responses
Assembly
NuvTools.Payment.Omie.ApiClient.dll

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

OsCode long

Omie's internal service order identifier (nCodOS).

OsNumber string

Service order number as the user sees it (cNumOS).

Stage string

Kanban stage (cEtapa).

IsCancelled bool

The service order was cancelled in Omie (cCancelada).

IsInvoiced bool

Invoicing was triggered (cFaturada) — which does not guarantee an authorized invoice.

TotalValue decimal

Service order total (nValorTot).

Invoice OmieServiceInvoiceStatus

The 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

OmieServiceInvoiceStatus

IsCancelled

The service order was cancelled in Omie (cCancelada).

public bool IsCancelled { get; init; }

Property Value

bool

IsInvoiced

Invoicing was triggered (cFaturada) — which does not guarantee an authorized invoice.

public bool IsInvoiced { get; init; }

Property Value

bool

OsCode

Omie's internal service order identifier (nCodOS).

public long OsCode { get; init; }

Property Value

long

OsNumber

Service order number as the user sees it (cNumOS).

public string? OsNumber { get; init; }

Property Value

string

Stage

Kanban stage (cEtapa).

public string? Stage { get; init; }

Property Value

string

TotalValue

Service order total (nValorTot).

public decimal TotalValue { get; init; }

Property Value

decimal