UNPKG

kucoin-universal-sdk

Version:
51 lines (50 loc) 1.62 kB
import { BatchAddOrdersSyncOrderList } from './model_batch_add_orders_sync_order_list'; import { Serializable } from '../../../internal/interfaces/serializable'; export declare class BatchAddOrdersSyncReq implements Serializable { /** * Order List */ orderList: Array<BatchAddOrdersSyncOrderList>; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Creates a new instance of the `BatchAddOrdersSyncReq` class. * The builder pattern allows step-by-step construction of a `BatchAddOrdersSyncReq` object. */ static builder(): BatchAddOrdersSyncReqBuilder; /** * Creates a new instance of the `BatchAddOrdersSyncReq` class with the given data. */ static create(data: { /** * Order List */ orderList: Array<BatchAddOrdersSyncOrderList>; }): BatchAddOrdersSyncReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): BatchAddOrdersSyncReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): BatchAddOrdersSyncReq; } export declare class BatchAddOrdersSyncReqBuilder { readonly obj: BatchAddOrdersSyncReq; constructor(obj: BatchAddOrdersSyncReq); /** * Order List */ setOrderList(value: Array<BatchAddOrdersSyncOrderList>): BatchAddOrdersSyncReqBuilder; /** * Get the final object. */ build(): BatchAddOrdersSyncReq; }