. */ declare(strict_types=1); namespace FireflyIII\Services\Bunq\Object; /** * Class MonetaryAccountSetting. */ class MonetaryAccountSetting extends BunqObject { /** @var string */ private $color = ''; /** @var string */ private $defaultAvatarStatus = ''; /** @var string */ private $restrictionChat = ''; /** * MonetaryAccountSetting constructor. * * @param array $data */ public function __construct(array $data) { $this->color = $data['color']; $this->defaultAvatarStatus = $data['default_avatar_status']; $this->restrictionChat = $data['restriction_chat']; return; } /** * @return string */ public function getColor(): string { return $this->color; } /** * @return string */ public function getDefaultAvatarStatus(): string { return $this->defaultAvatarStatus; } /** * @return string */ public function getRestrictionChat(): string { return $this->restrictionChat; } }