UNPKG

mobyo-interfaces

Version:
27 lines (26 loc) 937 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PrivacySettingEntity = void 0; var PrivacySettingEntity = /** @class */ (function () { // #endregion Properties (9) // #region Constructors (1) function PrivacySettingEntity(data) { // #region Properties (9) this.orderNotifications = true; this.pushNotificationsPromo = true; this.emailNotificationsPromo = true; this.whatsAppNotificationsPromo = true; this.smsNotificationsPromo = true; this.acceptPrivayAndPolicyTerm = true; this.acceptPrivayAndPolicyTermAt = new Date(); if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PrivacySettingEntity; }()); exports.PrivacySettingEntity = PrivacySettingEntity;