kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
62 lines (61 loc) • 2.1 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class CancelOrderByClientOidReq implements Serializable {
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol?: string;
/**
* The user self-defined order ID.
*/
clientOid?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `CancelOrderByClientOidReq` class.
* The builder pattern allows step-by-step construction of a `CancelOrderByClientOidReq` object.
*/
static builder(): CancelOrderByClientOidReqBuilder;
/**
* Creates a new instance of the `CancelOrderByClientOidReq` class with the given data.
*/
static create(data: {
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol?: string;
/**
* The user self-defined order ID.
*/
clientOid?: string;
}): CancelOrderByClientOidReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): CancelOrderByClientOidReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): CancelOrderByClientOidReq;
}
export declare class CancelOrderByClientOidReqBuilder {
readonly obj: CancelOrderByClientOidReq;
constructor(obj: CancelOrderByClientOidReq);
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
setSymbol(value: string): CancelOrderByClientOidReqBuilder;
/**
* The user self-defined order ID.
*/
setClientOid(value: string): CancelOrderByClientOidReqBuilder;
/**
* Get the final object.
*/
build(): CancelOrderByClientOidReq;
}