UNPKG

lightningdevkit

Version:
35 lines (34 loc) 1.17 kB
import { LSPS1OrderId } from '../structs/LSPS1OrderId.mjs'; import { CommonBase } from './CommonBase.mjs'; /** * A request made to an LSP to retrieve information about an previously made order. * * Please refer to the [bLIP-51 / LSPS1 * specification](https://github.com/lightning/blips/blob/master/blip-0051.md#21-lsps1get_order) * for more information. */ export declare class LSPS1GetOrderRequest extends CommonBase { /** * The id of the order. */ get_order_id(): LSPS1OrderId; /** * The id of the order. */ set_order_id(val: LSPS1OrderId): void; /** * Constructs a new LSPS1GetOrderRequest given each field */ static constructor_new(order_id_arg: LSPS1OrderId): LSPS1GetOrderRequest; clone_ptr(): bigint; /** * Creates a copy of the LSPS1GetOrderRequest */ clone(): LSPS1GetOrderRequest; /** * Checks if two LSPS1GetOrderRequests contain equal inner contents. * This ignores pointers and is_owned flags and looks at the values in fields. * Two objects with NULL inner values will be considered "equal" here. */ eq(b: LSPS1GetOrderRequest): boolean; }