class Seatsio::Domain::Account

def initialize(data)

def initialize(data)
  @id = data['id']
  @secret_key = data['secretKey']
  @designer_key = data['designerKey']
  @public_key = data['publicKey']
  @name = data['name']
  @email = data['email']
  @is_subaccount = data['isSubaccount']
  @active = data['active']
  @settings = AccountSettings.new(data['settings']) if data['settings'] != nil
end