UNPKG

kucoin-universal-sdk

Version:
110 lines (109 loc) 2.96 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetDepositListReq implements Serializable { /** * currency */ currency?: string; /** * Status. Available value: PROCESSING, SUCCESS, FAILURE */ status?: string; /** * hash */ hash?: string; /** * Start time (milliseconds) */ startTimestamp?: number; /** * End time (milliseconds); default sorting in descending order */ endTimestamp?: number; /** * Maximum number of returned items, maximum 1000, default 1000 */ limit?: number; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Creates a new instance of the `GetDepositListReq` class. * The builder pattern allows step-by-step construction of a `GetDepositListReq` object. */ static builder(): GetDepositListReqBuilder; /** * Creates a new instance of the `GetDepositListReq` class with the given data. */ static create(data: { /** * currency */ currency?: string; /** * Status. Available value: PROCESSING, SUCCESS, FAILURE */ status?: string; /** * hash */ hash?: string; /** * Start time (milliseconds) */ startTimestamp?: number; /** * End time (milliseconds); default sorting in descending order */ endTimestamp?: number; /** * Maximum number of returned items, maximum 1000, default 1000 */ limit?: number; }): GetDepositListReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): GetDepositListReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetDepositListReq; } export declare class GetDepositListReqBuilder { readonly obj: GetDepositListReq; constructor(obj: GetDepositListReq); /** * currency */ setCurrency(value: string): GetDepositListReqBuilder; /** * Status. Available value: PROCESSING, SUCCESS, FAILURE */ setStatus(value: string): GetDepositListReqBuilder; /** * hash */ setHash(value: string): GetDepositListReqBuilder; /** * Start time (milliseconds) */ setStartTimestamp(value: number): GetDepositListReqBuilder; /** * End time (milliseconds); default sorting in descending order */ setEndTimestamp(value: number): GetDepositListReqBuilder; /** * Maximum number of returned items, maximum 1000, default 1000 */ setLimit(value: number): GetDepositListReqBuilder; /** * Get the final object. */ build(): GetDepositListReq; }