kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
50 lines (49 loc) • 1.83 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class CancelAllOrdersV3Req implements Serializable {
/**
* Cancel all limit orders for a specific symbol only, 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 `CancelAllOrdersV3Req` class.
* The builder pattern allows step-by-step construction of a `CancelAllOrdersV3Req` object.
*/
static builder(): CancelAllOrdersV3ReqBuilder;
/**
* Creates a new instance of the `CancelAllOrdersV3Req` class with the given data.
*/
static create(data: {
/**
* Cancel all limit orders for a specific symbol only, Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol?: string;
}): CancelAllOrdersV3Req;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): CancelAllOrdersV3Req;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): CancelAllOrdersV3Req;
}
export declare class CancelAllOrdersV3ReqBuilder {
readonly obj: CancelAllOrdersV3Req;
constructor(obj: CancelAllOrdersV3Req);
/**
* Cancel all limit orders for a specific symbol only, Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
setSymbol(value: string): CancelAllOrdersV3ReqBuilder;
/**
* Get the final object.
*/
build(): CancelAllOrdersV3Req;
}