UNPKG

@geoapify/route-planner-sdk

Version:

A TypeScript SDK for the Geoapify Route Planner API that simplifies route optimization requests, and helps visualize and edit resulting routes.

16 lines (15 loc) 526 B
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; }