UNPKG

@nitin-spheron/desub-js

Version:

Typescript library for working with the decentralised subscription contracts in Spheron

14 lines (13 loc) 377 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DiscountDataClass = void 0; class DiscountDataClass { constructor(a, p) { this.amount = a; this.percent = p; } toString() { return { amount: this.amount.toString(), percent: this.percent.toString() }; } } exports.DiscountDataClass = DiscountDataClass;