UNPKG

kucoin-universal-sdk

Version:
126 lines (125 loc) 3.4 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetWithdrawalHistoryOldReq implements Serializable { /** * currency */ currency?: string; /** * Status. Available value: PROCESSING, SUCCESS, and FAILURE */ status?: GetWithdrawalHistoryOldReq.StatusEnum; /** * Start time (milliseconds) */ startAt?: number; /** * End time (milliseconds) */ endAt?: number; /** * Current request page. */ currentPage?: number; /** * Number of results per request. Minimum is 10, maximum is 500. */ pageSize?: number; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Creates a new instance of the `GetWithdrawalHistoryOldReq` class. * The builder pattern allows step-by-step construction of a `GetWithdrawalHistoryOldReq` object. */ static builder(): GetWithdrawalHistoryOldReqBuilder; /** * Creates a new instance of the `GetWithdrawalHistoryOldReq` class with the given data. */ static create(data: { /** * currency */ currency?: string; /** * Status. Available value: PROCESSING, SUCCESS, and FAILURE */ status?: GetWithdrawalHistoryOldReq.StatusEnum; /** * Start time (milliseconds) */ startAt?: number; /** * End time (milliseconds) */ endAt?: number; /** * Current request page. */ currentPage?: number; /** * Number of results per request. Minimum is 10, maximum is 500. */ pageSize?: number; }): GetWithdrawalHistoryOldReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): GetWithdrawalHistoryOldReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetWithdrawalHistoryOldReq; } export declare namespace GetWithdrawalHistoryOldReq { enum StatusEnum { /** * */ PROCESSING, /** * */ SUCCESS, /** * */ FAILURE } } export declare class GetWithdrawalHistoryOldReqBuilder { readonly obj: GetWithdrawalHistoryOldReq; constructor(obj: GetWithdrawalHistoryOldReq); /** * currency */ setCurrency(value: string): GetWithdrawalHistoryOldReqBuilder; /** * Status. Available value: PROCESSING, SUCCESS, and FAILURE */ setStatus(value: GetWithdrawalHistoryOldReq.StatusEnum): GetWithdrawalHistoryOldReqBuilder; /** * Start time (milliseconds) */ setStartAt(value: number): GetWithdrawalHistoryOldReqBuilder; /** * End time (milliseconds) */ setEndAt(value: number): GetWithdrawalHistoryOldReqBuilder; /** * Current request page. */ setCurrentPage(value: number): GetWithdrawalHistoryOldReqBuilder; /** * Number of results per request. Minimum is 10, maximum is 500. */ setPageSize(value: number): GetWithdrawalHistoryOldReqBuilder; /** * Get the final object. */ build(): GetWithdrawalHistoryOldReq; }