UNPKG

kucoin-universal-sdk

Version:
74 lines (73 loc) 1.68 kB
import { RestResponse } from '../../../model/common'; import { Response } from '../../../internal/interfaces/serializable'; export declare class AddOrderSyncResp implements Response<RestResponse> { /** * The unique order ID generated by the trading system, which can be used later for further actions such as canceling the order. */ orderId: string; /** * The user self-defined order ID. */ clientOid: string; /** * */ orderTime: number; /** * Original order size */ originSize: string; /** * Deal size */ dealSize: string; /** * Remain size */ remainSize: string; /** * Cumulative canceled size */ canceledSize: string; /** * Order Status. open: order is active; done: order has been completed */ status: AddOrderSyncResp.StatusEnum; /** * */ matchTime: number; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * common response */ commonResponse?: RestResponse; setCommonResponse(response: RestResponse): void; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): AddOrderSyncResp; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): AddOrderSyncResp; } export declare namespace AddOrderSyncResp { enum StatusEnum { /** * */ OPEN, /** * */ DONE } }