UNPKG

kucoin-universal-sdk

Version:
64 lines (63 loc) 1.36 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetBorrowHistoryItems implements Serializable { /** * Borrow Order ID */ orderNo: string; /** * Isolated Margin symbol; empty for cross margin */ symbol: string; /** * currency */ currency: string; /** * Initiated borrow amount */ size: string; /** * Actual borrow amount */ actualSize: string; /** * PENDING: Processing, SUCCESS: Successful, FAILED: Failed */ status: GetBorrowHistoryItems.StatusEnum; /** * Borrow 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): GetBorrowHistoryItems; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetBorrowHistoryItems; } export declare namespace GetBorrowHistoryItems { enum StatusEnum { /** * */ PENDING, /** * */ SUCCESS, /** * */ FAILED } }