'use strict';

const Contact = require('./Contact');

/**
 * Represents a Business Contact on whatsapp網頁版
 * @extends {Contact}
 */
class BusinessContact extends Contact {
    _patch(data) {
        /**
         * The contact's business profile
         */
        this.businessProfile = data.businessProfile;

        return super._patch(data);
    }

}

module.exports = BusinessContact;