import { Content } from '../base/Content.js'; /** * QueryLogisticsOrder - 查詢物流訂單 * * 用於查詢已建立的物流訂單狀態和資訊。 * * @extends Content * @example * ```typescript * const query = new QueryLogisticsOrder('merchantID', 'hashKey', 'hashIV') * .setAllPayLogisticsID('1234567890') * * const content = query.getContent() * ``` */ export declare class QueryLogisticsOrder extends Content { protected requestPath: string; /** * 初始化請求內容,設定預設值 * * @protected */ protected initContent(): void; /** * 設定綠界物流交易編號 * * @param id - 要查詢的 AllPayLogisticsID * @returns 當前實例,支援鏈式呼叫 */ setAllPayLogisticsID(id: string): this; /** * 設定時間戳記 * * @param timestamp - Unix 時間戳記(秒) * @returns 當前實例,支援鏈式呼叫 */ setTimeStamp(timestamp: number): this; /** * 驗證請求內容 * * @throws {LogisticsError} 當必要欄位缺失時 */ validate(): void; }