UNPKG

mobyo-interfaces

Version:
29 lines (28 loc) 943 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioChefConfigWebhookEntity = void 0; var PayioChefConfigWebhookEntity = /** @class */ (function () { // #endregion Properties (9) // #region Constructors (1) function PayioChefConfigWebhookEntity(data) { // #region Properties (9) this.active = true; this.authToken = null; this.locked = false; this.method = 'POST'; // Travar caso não esteja respondendo this.response = null; this.secret = null; this.type = 'SEND_ORDER'; this.url = ''; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioChefConfigWebhookEntity; }()); exports.PayioChefConfigWebhookEntity = PayioChefConfigWebhookEntity;