ConnectionModel class
Objeto connections
https://api.clearsale.com.br/docs/total-totalGarantido-application#connections-object
Importante: Os objetos passengers e connections são utilizados somente em empresas de passagens aéreas.
Caso não seja o seu caso, favor omitir essas propriedades no json de sua requisição.
No objeto connections informar somente os dados de origem e destino, não informar escalas e conexões.
Por exemplo:
Para um vôo de São Paulo (Guarulhos) para Londres, via New York (JFK), você irá informar apenas GRU-LHR, ao invés de GRU-JFK e JFK-LHR.
Constructors
Properties
- arriving ↔ DateTime?
-
Data de Desembarque
getter/setter pair
- boarding ↔ DateTime?
-
Data de Embarque
getter/setter pair
- company ↔ String?
-
Nome da Companhia Aérea
getter/setter pair
- date ↔ DateTime?
-
Data do Voo
getter/setter pair
- destination ↔ String
-
Destino
getter/setter pair
- fareClass ↔ String?
-
Classe Tarifária
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- identificationNumber ↔ int?
-
Número do Voo
getter/setter pair
- origin ↔ String
-
Origem
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seatClass ↔ String?
-
Classe do Assento
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object o) → bool -
The equality operator.
override