@geoapify/route-planner-sdk
Version:
TypeScript SDK for the Geoapify Route Planner API. Supports route optimization, delivery planning, and timeline visualization in browser and Node.js
16 lines (15 loc) • 526 B
TypeScript
import { ShipmentStep } from "./shipment-step";
import { ShipmentData } from "../../../interfaces";
export declare class Shipment {
private raw;
constructor(raw?: ShipmentData);
getRaw(): ShipmentData;
setRaw(value: ShipmentData): this;
setId(id: string): this;
setPickup(value: ShipmentStep): this;
setDelivery(value: ShipmentStep): this;
addRequirement(value: string): this;
setPriority(value: number): this;
setDescription(value: string): this;
setAmount(value: number): this;
}