kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
46 lines • 1.41 kB
JavaScript
;
// Code generated by Kucoin Universal SDK Generator; DO NOT EDIT.
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetRedeemOrdersItems = void 0;
const class_transformer_1 = require("class-transformer");
class GetRedeemOrdersItems {
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
constructor() {
// @ts-ignore
this.currency = null;
// @ts-ignore
this.purchaseOrderNo = null;
// @ts-ignore
this.redeemOrderNo = null;
// @ts-ignore
this.redeemSize = null;
// @ts-ignore
this.receiptSize = null;
// @ts-ignore
this.applyTime = null;
// @ts-ignore
this.status = null;
}
/**
* Convert the object to a JSON string.
*/
toJson() {
return JSON.stringify((0, class_transformer_1.instanceToPlain)(this));
}
/**
* Create an object from a JSON string.
*/
static fromJson(input) {
return this.fromObject(JSON.parse(input));
}
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject) {
return (0, class_transformer_1.plainToClassFromExist)(new GetRedeemOrdersItems(), jsonObject);
}
}
exports.GetRedeemOrdersItems = GetRedeemOrdersItems;
//# sourceMappingURL=model_get_redeem_orders_items.js.map