cecon-interfaces
Version:
Interfaces de Projetos Cecon
22 lines (21 loc) • 676 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioWebhookEntity = void 0;
var __1 = require("../../..");
var PayioWebhookEntity = /** @class */ (function () {
function PayioWebhookEntity(data) {
this.id = '';
this.method = __1.EWebhookMethod.POST;
this.type = __1.EWebhookType.SEND_ORDER;
this.url = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioWebhookEntity;
}());
exports.PayioWebhookEntity = PayioWebhookEntity;