kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
50 lines (49 loc) • 2.03 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class CancelAllStopOrdersReq implements Serializable {
/**
* Cancel all limit orders for a specific contract only, If not specified, all the limit orders will be deleted, Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `CancelAllStopOrdersReq` class.
* The builder pattern allows step-by-step construction of a `CancelAllStopOrdersReq` object.
*/
static builder(): CancelAllStopOrdersReqBuilder;
/**
* Creates a new instance of the `CancelAllStopOrdersReq` class with the given data.
*/
static create(data: {
/**
* Cancel all limit orders for a specific contract only, If not specified, all the limit orders will be deleted, Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol?: string;
}): CancelAllStopOrdersReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): CancelAllStopOrdersReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): CancelAllStopOrdersReq;
}
export declare class CancelAllStopOrdersReqBuilder {
readonly obj: CancelAllStopOrdersReq;
constructor(obj: CancelAllStopOrdersReq);
/**
* Cancel all limit orders for a specific contract only, If not specified, all the limit orders will be deleted, Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
setSymbol(value: string): CancelAllStopOrdersReqBuilder;
/**
* Get the final object.
*/
build(): CancelAllStopOrdersReq;
}