UNPKG

kucoin-universal-sdk

Version:
50 lines (49 loc) 1.79 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetRecentClosedOrdersReq implements Serializable { /** * Symbol of the contract, 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 `GetRecentClosedOrdersReq` class. * The builder pattern allows step-by-step construction of a `GetRecentClosedOrdersReq` object. */ static builder(): GetRecentClosedOrdersReqBuilder; /** * Creates a new instance of the `GetRecentClosedOrdersReq` 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; }): GetRecentClosedOrdersReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): GetRecentClosedOrdersReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetRecentClosedOrdersReq; } export declare class GetRecentClosedOrdersReqBuilder { readonly obj: GetRecentClosedOrdersReq; constructor(obj: GetRecentClosedOrdersReq); /** * Symbol of the contract, Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220) */ setSymbol(value: string): GetRecentClosedOrdersReqBuilder; /** * Get the final object. */ build(): GetRecentClosedOrdersReq; }