code: private function getCustomerTypeId($shopwareId)
      {
          switch ($shopwareId) {
              case CustomerModel::ACCOUNT_MODE_CUSTOMER:
                  return Customer::TYPE_NORMAL;
  
              case CustomerModel::ACCOUNT_MODE_FAST_LOGIN:
                  return Customer::TYPE_GUEST;
          }
  
          throw new InvalidArgumentException('Unknown customer type ' . $shopwareId);
      }
docs: @param int $shopwareId
  
  @return int