kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
74 lines (73 loc) • 2.43 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetDepositAddressV3Req implements Serializable {
/**
* currency
*/
currency?: string;
/**
* Deposit amount. This parameter is only used when applying for invoices on the Lightning Network. This parameter is invalid if it is not passed through the Lightning Network.
*/
amount?: string;
/**
* The chain Id of currency.
*/
chain?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `GetDepositAddressV3Req` class.
* The builder pattern allows step-by-step construction of a `GetDepositAddressV3Req` object.
*/
static builder(): GetDepositAddressV3ReqBuilder;
/**
* Creates a new instance of the `GetDepositAddressV3Req` class with the given data.
*/
static create(data: {
/**
* currency
*/
currency?: string;
/**
* Deposit amount. This parameter is only used when applying for invoices on the Lightning Network. This parameter is invalid if it is not passed through the Lightning Network.
*/
amount?: string;
/**
* The chain Id of currency.
*/
chain?: string;
}): GetDepositAddressV3Req;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetDepositAddressV3Req;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetDepositAddressV3Req;
}
export declare class GetDepositAddressV3ReqBuilder {
readonly obj: GetDepositAddressV3Req;
constructor(obj: GetDepositAddressV3Req);
/**
* currency
*/
setCurrency(value: string): GetDepositAddressV3ReqBuilder;
/**
* Deposit amount. This parameter is only used when applying for invoices on the Lightning Network. This parameter is invalid if it is not passed through the Lightning Network.
*/
setAmount(value: string): GetDepositAddressV3ReqBuilder;
/**
* The chain Id of currency.
*/
setChain(value: string): GetDepositAddressV3ReqBuilder;
/**
* Get the final object.
*/
build(): GetDepositAddressV3Req;
}