einvoicing
Version:
A JavaScript library for creating and parsing electronic invoices compliant with the eInvoicing Directive, EN 16931, and popular extensions
26 lines • 830 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/**
* PaymentCard.ts
*
* @copyright Vitalii Savchuk <esvit666@gmail.com>
* @package esvit/einvoicing
* @licence MIT https://opensource.org/licenses/MIT
*/
var ValueObject_1 = require("../base/ValueObject");
var PaymentCard = /** @class */ (function (_super) {
tslib_1.__extends(PaymentCard, _super);
function PaymentCard() {
return _super !== null && _super.apply(this, arguments) || this;
}
PaymentCard.create = function (props) {
return new PaymentCard(props);
};
PaymentCard.prototype.toPrimitive = function () {
return this.props;
};
return PaymentCard;
}(ValueObject_1.ValueObject));
exports.default = PaymentCard;
//# sourceMappingURL=PaymentCard.js.map