@hypernetlabs/objects
Version:
Objects and types shared by the Hypernet Protocol
25 lines • 1.03 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Payment = void 0;
class Payment {
constructor(id, routerPublicIdentifier, chainId, to, from, state, paymentToken, requiredStake, amountStaked, expirationDate, createdTimestamp, updatedTimestamp, collateralRecovered, gatewayUrl, details, metadata) {
this.id = id;
this.routerPublicIdentifier = routerPublicIdentifier;
this.chainId = chainId;
this.to = to;
this.from = from;
this.state = state;
this.paymentToken = paymentToken;
this.requiredStake = requiredStake;
this.amountStaked = amountStaked;
this.expirationDate = expirationDate;
this.createdTimestamp = createdTimestamp;
this.updatedTimestamp = updatedTimestamp;
this.collateralRecovered = collateralRecovered;
this.gatewayUrl = gatewayUrl;
this.details = details;
this.metadata = metadata;
}
}
exports.Payment = Payment;
//# sourceMappingURL=Payment.js.map