UNPKG

kucoin-universal-sdk

Version:
87 lines (86 loc) 2.83 kB
import 'reflect-metadata'; import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetSpotSubAccountDetailReq implements Serializable { /** * the userID of a sub-account. */ subUserId?: string; /** * False: Do not display currencies with 0 assets; True: display all currencies */ includeBaseAmount?: boolean; /** * Specify the currency used to convert assets */ baseCurrency?: string; /** * The currency balance specified must be greater than or equal to the amount */ baseAmount?: string; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Creates a new instance of the `GetSpotSubAccountDetailReq` class. * The builder pattern allows step-by-step construction of a `GetSpotSubAccountDetailReq` object. */ static builder(): GetSpotSubAccountDetailReqBuilder; /** * Creates a new instance of the `GetSpotSubAccountDetailReq` class with the given data. */ static create(data: { /** * the userID of a sub-account. */ subUserId?: string; /** * False: Do not display currencies with 0 assets; True: display all currencies */ includeBaseAmount?: boolean; /** * Specify the currency used to convert assets */ baseCurrency?: string; /** * The currency balance specified must be greater than or equal to the amount */ baseAmount?: string; }): GetSpotSubAccountDetailReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): GetSpotSubAccountDetailReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetSpotSubAccountDetailReq; } export declare class GetSpotSubAccountDetailReqBuilder { readonly obj: GetSpotSubAccountDetailReq; constructor(obj: GetSpotSubAccountDetailReq); /** * the userID of a sub-account. */ setSubUserId(value: string): GetSpotSubAccountDetailReqBuilder; /** * False: Do not display currencies with 0 assets; True: display all currencies */ setIncludeBaseAmount(value: boolean): GetSpotSubAccountDetailReqBuilder; /** * Specify the currency used to convert assets */ setBaseCurrency(value: string): GetSpotSubAccountDetailReqBuilder; /** * The currency balance specified must be greater than or equal to the amount */ setBaseAmount(value: string): GetSpotSubAccountDetailReqBuilder; /** * Get the final object. */ build(): GetSpotSubAccountDetailReq; }