kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
42 lines (41 loc) • 1.31 kB
TypeScript
import { RestResponse } from '../../../model/common';
import { Response } from '../../../internal/interfaces/serializable';
export declare class AddOrderResp 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;
/**
* Borrow order ID. The field is returned only after placing the order under the mode of Auto-Borrow.
*/
loanApplyId: string;
/**
* Borrowed amount. The field is returned only after placing the order under the mode of Auto-Borrow.
*/
borrowSize: string;
/**
* The user self-defined order ID.
*/
clientOid: string;
/**
* 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): AddOrderResp;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): AddOrderResp;
}