kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
62 lines (61 loc) • 1.85 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetBasicFeeReq implements Serializable {
/**
* Currency type: 0-crypto currency, 1-fiat currency. Default is 0-crypto currency
*/
currencyType?: GetBasicFeeReq.CurrencyTypeEnum;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `GetBasicFeeReq` class.
* The builder pattern allows step-by-step construction of a `GetBasicFeeReq` object.
*/
static builder(): GetBasicFeeReqBuilder;
/**
* Creates a new instance of the `GetBasicFeeReq` class with the given data.
*/
static create(data: {
/**
* Currency type: 0-crypto currency, 1-fiat currency. Default is 0-crypto currency
*/
currencyType?: GetBasicFeeReq.CurrencyTypeEnum;
}): GetBasicFeeReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetBasicFeeReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetBasicFeeReq;
}
export declare namespace GetBasicFeeReq {
enum CurrencyTypeEnum {
/**
* cryptocurrency
*/
_0,
/**
* fiat currency
*/
_1
}
}
export declare class GetBasicFeeReqBuilder {
readonly obj: GetBasicFeeReq;
constructor(obj: GetBasicFeeReq);
/**
* Currency type: 0-crypto currency, 1-fiat currency. Default is 0-crypto currency
*/
setCurrencyType(value: GetBasicFeeReq.CurrencyTypeEnum): GetBasicFeeReqBuilder;
/**
* Get the final object.
*/
build(): GetBasicFeeReq;
}