kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
68 lines (67 loc) • 1.44 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetRepayHistoryItems implements Serializable {
/**
* Repay order ID
*/
orderNo: string;
/**
* Isolated Margin symbol; empty for cross margin
*/
symbol: string;
/**
* currency
*/
currency: string;
/**
* Amount of initiated repay
*/
size: string;
/**
* Amount of principal paid
*/
principal: string;
/**
* Amount of interest paid
*/
interest: string;
/**
* PENDING: Processing, SUCCESS: Successful, FAILED: Failed
*/
status: GetRepayHistoryItems.StatusEnum;
/**
* Repayment time
*/
createdTime: number;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetRepayHistoryItems;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetRepayHistoryItems;
}
export declare namespace GetRepayHistoryItems {
enum StatusEnum {
/**
*
*/
PENDING,
/**
*
*/
SUCCESS,
/**
*
*/
FAILED
}
}