Tema
DispatchPoint
Un punto de expedición.
Extends
Constructors
Constructor
ts
new DispatchPoint(data?): DispatchPoint;Parameters
| Parameter | Type |
|---|---|
data | | { [key: string]: unknown; } | null | undefined |
Returns
DispatchPoint
Inherited from
Properties
raw
ts
readonly raw: Readonly<{
[key: string]: unknown;
}>;El JSON completo tal como lo devolvió la API.
Inherited from
Accessors
id
Get Signature
ts
get id(): number;Returns
number
identifier
Get Signature
ts
get identifier(): string;Returns
string
Methods
get()
ts
get<T>(key, fallback?): T | undefined;El valor de un campo que el SDK no modela.
Type Parameters
| Type Parameter | Default type |
|---|---|
T | unknown |
Parameters
| Parameter | Type |
|---|---|
key | string |
fallback? | T |
Returns
T | undefined
Inherited from
has()
ts
has(key): boolean;Si el campo vino en la respuesta.
Parameters
| Parameter | Type |
|---|---|
key | string |
Returns
boolean
Inherited from
toJSON()
ts
toJSON(): {
[key: string]: unknown;
};Returns
ts
{
[key: string]: unknown;
}