kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
74 lines (73 loc) • 1.95 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class ModifyPurchaseReq implements Serializable {
/**
* Currency
*/
currency: string;
/**
* Modified purchase interest rate
*/
interestRate: string;
/**
* Purchase order ID
*/
purchaseOrderNo: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `ModifyPurchaseReq` class.
* The builder pattern allows step-by-step construction of a `ModifyPurchaseReq` object.
*/
static builder(): ModifyPurchaseReqBuilder;
/**
* Creates a new instance of the `ModifyPurchaseReq` class with the given data.
*/
static create(data: {
/**
* Currency
*/
currency: string;
/**
* Modified purchase interest rate
*/
interestRate: string;
/**
* Purchase order ID
*/
purchaseOrderNo: string;
}): ModifyPurchaseReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): ModifyPurchaseReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): ModifyPurchaseReq;
}
export declare class ModifyPurchaseReqBuilder {
readonly obj: ModifyPurchaseReq;
constructor(obj: ModifyPurchaseReq);
/**
* Currency
*/
setCurrency(value: string): ModifyPurchaseReqBuilder;
/**
* Modified purchase interest rate
*/
setInterestRate(value: string): ModifyPurchaseReqBuilder;
/**
* Purchase order ID
*/
setPurchaseOrderNo(value: string): ModifyPurchaseReqBuilder;
/**
* Get the final object.
*/
build(): ModifyPurchaseReq;
}