Skip to content

DispatchPoint

Un punto de expedición.

Extends

Constructors

Constructor

ts
new DispatchPoint(data?): DispatchPoint;

Parameters

ParameterType
data| { [key: string]: unknown; } | null | undefined

Returns

DispatchPoint

Inherited from

Record.constructor

Properties

raw

ts
readonly raw: Readonly<{
[key: string]: unknown;
}>;

El JSON completo tal como lo devolvió la API.

Inherited from

Record.raw

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 ParameterDefault type
Tunknown

Parameters

ParameterType
keystring
fallback?T

Returns

T | undefined

Inherited from

Record.get


has()

ts
has(key): boolean;

Si el campo vino en la respuesta.

Parameters

ParameterType
keystring

Returns

boolean

Inherited from

Record.has


toJSON()

ts
toJSON(): {
[key: string]: unknown;
};

Returns

ts
{
[key: string]: unknown;
}

Inherited from

Record.toJSON